content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
from mitmproxy.test import tflow, taddons
from mitmproxy.addons.comment import Comment
| [
6738,
10255,
76,
36436,
13,
9288,
1330,
256,
11125,
11,
256,
39996,
198,
6738,
10255,
76,
36436,
13,
39996,
13,
23893,
1330,
18957,
628
] | 3.666667 | 24 |
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/tools/api/generator/create_python_api.py script.
"""Home of estimator related functions.
"""
from __future__ import print_function
from tensorflow.python.estimator.estimator_lib import model_to_estimator
del print_function
| [
2,
770,
2393,
318,
337,
16219,
8881,
24700,
1137,
11617,
0,
2141,
407,
4370,
13,
198,
2,
2980,
515,
416,
25,
11192,
273,
11125,
14,
31391,
14,
15042,
14,
8612,
1352,
14,
17953,
62,
29412,
62,
15042,
13,
9078,
4226,
13,
198,
37811,
16060,
286,
3959,
1352,
3519,
5499,
13,
198,
198,
37811,
198,
198,
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
6738,
11192,
273,
11125,
13,
29412,
13,
395,
320,
1352,
13,
395,
320,
1352,
62,
8019,
1330,
2746,
62,
1462,
62,
395,
320,
1352,
198,
198,
12381,
3601,
62,
8818,
198
] | 3.135417 | 96 |
import os
import config
from sprites import *
from sprite_templates import *
import traceback
from xml.dom.minidom import parseString
import sys
LEVEL = """
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scrollmode</key>
<integer>%(scrollmode)s</integer>
<key>level</key>
<dict>
<key>name</key>
<string>level 1 test level</string>
<!--
<key>background</key>
<string>%(background)s</string>
-->
<!-- SPRITES -->
<key>compounds</key>
<array>
%(sprites)s
</array>
<!-- JOINTS -->
<key>joints</key>
<array>
%(joints)s
</array>
<!-- CONTACTS -->
<key>contacts</key>
<array>
%(contacts)s
</array>
<!-- SHEETS -->
<key>sheets</key>
<array>
%(sheets)s
</array>
<!-- CANNONS -->
<key>cannons</key>
<array>
%(cannons)s
</array>
</dict>
</dict>
</plist>
"""
SHEETS = """
<dict>
<key>atlas</key>
<string>%(texture)s</string>
<key>id</key>
<integer>5</integer>
</dict>
<dict>
<key>atlas</key>
<string>%(texture2)s</string>
<key>id</key>
<integer>6</integer>
</dict>
"""
#define SCROLLMODE_STANDARD 1
#define SCROLLMODE_BATTLE 2
#define SCROLLMODE_LEFT 3
#define SCROLLMODE_RIGHT 4
if __name__ == "__main__":
#test plain levelbuilder
if 0:
lb = LevelBuilder("level_36.plist")
lb.useTexture("level_1_texture")
lb.addObject(Rotor.RotorSprite(x=180,y=110,speed=5,torque=10000))
#lb.addObject(Rotor.RotorSprite(x=100,y=60,speed=5,torque=10000))
#lb.addObject(Rotor.RotorSprite(x=300,y=200,speed=20,torque=10000))
lb.addObject(Hero.HeroSprite(x=20,y=10))
lb.addObject(Launcher.LauncherSprite(name='__launcher__1',x=260, y=50, trigger_x=400, trigger_y=100))
lb.addObject(Launcher.LauncherSprite(name='__launcher__2',x=100, y=50, trigger_x=300, trigger_y=100))
lb.addObject(Launcher.LauncherSprite(name='__launcher__3',x=300, y=250, trigger_x=50, trigger_y=300))
#lb.addObject(Enemy.EnemySprite(x=160,y=300,width=15,height=15))
lb.addObject(Friend.FriendSprite(x=50,y=160,width=50,height=50))
lb.addObject(SpikeyBuddy.SpikeyBuddySprite(x=50,y=80,width=50,height=50))
lb.addObject(Enemy.EnemySprite(x=300,y=100,width=50,height=50))
lb.addObject(Star.StarSprite(x=100,y=100,width=20,height=20))
#lb.addObject(Wizard.WizardSprite(x=300,y=50))
lb.addObject(Wizard.WizardSprite(x=25,y=50))
lb.render()
#test XML levelBuilder
if 1:
"""
<!-- Joints -->
<joint type='Joints.DistanceJoint'
id='J6'
body1='edge_1'
body2='edge_2'
damping='0.2'
freq='20'
texture_type='image'
texture = 'rect.png'
texture_width='20'
b1_Xoffset='0'
b1_Yoffset='0'
b2_Xoffset='0'
b2_Yoffset='0'/>
<joint type='Joints.RevoluteJoint'
id='J6'
body1='edge_1'
body2='edge_2'
motor_speed='50.0'
torque='1000.0'
enable_motor='false'
lower_angle='12'
upper_angle='45'
enable_limit='false'
collide_connected='false'
/>
<joint type='Joints.PrismaticJoint'
id='J6'
body1='edge_1'
motor_speed='50.0'
torque='1000.0'
enable_motor='false'
lower_translation='-100'
upper_translation='100'
enable_limit='true'
vertical='false'
/>
<sprite type = 'Hero.HeroSprite' x='55' y='40'/>
<sprite type = 'Bullet.BulletSprite' x='0' y='0' width='10' height='10' angle='0' restitution='0.5' static='false' friction='0.5' density='3' spawnEvent='onShoot'/>
<!-- alerts -->
<sprite type = 'Alert.Alert' x='215' y='250' width='100' height='500' name='ImageAlert' msg='pickupsexplained.png'/>
<!-- enemies -->
<sprite type = 'Enemy.EnemySprite' x='387' y='56' width='102' height='101' angle='0' restitution='0.2' static='false' friction='0.5' density='5' classname='BlobSprite' firstframe='monsterblob.png'/>
<sprite type = 'Enemy.EnemySprite' x='287' y='56' width='102' height='101' angle='0' restitution='0.2' static='false' friction='0.5' density='5' classname='PumpkinSprite' firstframe='pumpkin.png'/>
<sprite type = 'Enemy.EnemySprite' x='587' y='56' width='102' height='101' angle='0' restitution='0.2' static='false' friction='0.5' density='5' classname='LoveAlienSprite' firstframe='lovable_alien.png'/>
<sprite type = 'Enemy.EnemySprite' x='687' y='56' width='102' height='101' angle='0' restitution='0.2' static='false' friction='0.5' density='5' shape='rect' classname='SquareBlobSprite' firstframe='square_monsterblob.png'/>
<sprite type = 'Enemy.EnemySprite' x='987' y='56' width='102' height='101' angle='0' restitution='0.2' static='false' friction='0.5' density='5' />
<sprite type = 'EnemyEquipedRotor.EnemyEquipedRotorSprite' x='1300' y='200' speed='200' beam_length='250' torque='1000' />
<!-- pickups -->
<sprite type = 'Crate.CrateSprite' x='718' y='16' width='32' height='32' static='false' angle='0'/>
<sprite type = 'BulletTimePickup.BulletTimePickupSprite' x='1314' y='18' width='32' height='32' static='false' angle='0' />
<sprite type = 'Pickup.PickupSprite' x='672' y='17' width='32' height='32' static='false' angle='0'/>
<!-- TODO: what about bar_long.png-->
<sprite type = 'Beam.BeamSprite' x='1538' y='68' width='128' height='80' angle='-90' restitution='0.2' static='false' friction='0.5' density='5' />
<sprite type = 'Beam.BeamSprite' x='1538' y='68' width='10' height='10' angle='-90' restitution='0.2' static='true' friction='0.5' density='5' classname='SimpleScrollStrategySprite' />
<sprite type = 'Beam.BeamSprite' x='2508' y='97' width='240' height='36' angle='0' restitution='0.2' static='false' friction='0.5' density='20' classname='Destructable' firstframe ='brittle_brick.png' setName= 'dBeam'/>
<sprite type = 'Friend.FriendSprite' x='836' y='422' width='128' height='128' angle='0' restitution='0.2' static='false' friction='0.5' density='1' firstframe ='boulder.png' setName='Friend' />
<sprite type = 'Nut.NutSprite' x='600' y='200' />
<sprite type = 'Bomb.BombSprite' x='500' y='10' width='100' height='100' /><!-- TODO:include texture in main sheet -->
<!-- conversations -->
<sprite type = 'Speach.Speach' x='650' y='250' width='200' height='20' msg='Fok jou!#jonge!*Nee, fok jou!*aargh!*#'/>
<!-- cannon -->
<sprite type = 'Friend.FriendSprite' x='836' y='422' width='128' height='128' angle='0' restitution='0.2' static='false' friction='0.5' density='1' spawnEvent = 'onCreateBoulder' firstframe ='boulder.png' setName='Friend' />
<sprite type = 'Cannon.Cannon' event='onCreateBoulder' freq='120' max='25'/>
<!-- contacts / events -->
<sprite type = 'Contacts.Contact' body1='b2' body2='b1' event_name='onCustomEvent' />
<sprite type = 'EventTrigger.EventTrigger' x='2665' y='250' width='100' height='500' msg='onLevelCleared' eventName='onEventTriggerHit' />
<!-- info sign / watchtower/ teleporter -->
<sprite type = 'Visual.VisualSprite' x='300' y='25' width='250' height='50' firstframe='sign.png' msg='Psst! Remember,#aim for the fireballs. >>'/>
<EB type = 'Watchtower' x='200'/>
<sprite type = 'Teleporter.TeleporterSprite' level_id='leveldata/test'/>
<!-- monsters -->
<EB type='Slammer' x='200' />
<EB type='MuppetMotion' x='200' />
<EB type='DefenseTower' x='200' />
<EB type='SlingerBall' x='200' />
<EB type='MotorizedBall' x='200' />
<EB type='Stepper' x='200' />
<EB type='GooBalls' x='200' />
<EB type='WobblingBlob' x='200' />
<EB type='TestMonster' x='200' />
<EB type='Elephant' x='200' />
<EB type='Piston' x='200' />
<EB type='Jumper' x='200' />
<EB type='Catapult' x='200' />
<EB type='Snail' x='200' />
<EB type='MeatGrinder' x='200' />
<EB type='BlueMonster' x='200' />
<EB type='JibberLeg' x='200' />
<EB type='SteppingFucker' x='200' />
<EB type='Caterpillar' x='200' />
<EB type='ShoveIt' x='200' />
<EB type='Snake' x='200' />
<EB type='PumpkinBomber' x='200' />
<EB type='KingofBlobs' x='200' />
<EB type='WalkingPigTail' x='200' />
<EB type='JerkyBicycle' x='200' />
<EB type='JanssenWalker' x='200' />
<EB type='Walker' x='200' />
<EB type='BlueBlob' x='200' />
<EB type='Stryder' x='200' />
<EB type='LittleCrawler' x='200' />
<EB type='Bugger' x='200' />
<EB type='CaterpillarVersion2' x='200' />
<EB type='LittleFloater' x='200' />
<EB type='MagicWalker' x='200' />
<EB type='Flunker' x='200' />
<EB type='SpaceShip' x='200' />
<EB type='RoboCod' x='200' />
"""
#lb.addObject(Beam.BeamSprite(x=600+240, y=10,width=500,height=30,angle='0',restitution=0.2,static='true',friction=0.5,density=20,classname='SimpleScrollStrategySprite').setName('Beam'))
lb = XMLLevelBuilder("test.plist",background="test.png")
xml = """<level texture="monstersheet1">
<sprite type = 'Hero.HeroSprite' x='55' y='40'/>
<sprite type = 'Bullet.BulletSprite' x='0' y='0' width='10' height='10' angle='0' restitution='0.5' static='false' friction='0.5' density='3' spawnEvent='onShoot'/>
<sprite type = 'Enemy.EnemySprite' x='687' y='56' width='102' height='101' angle='0' restitution='0.2' static='false' friction='0.5' density='5' shape='rect' classname='SquareBlobSprite' firstframe='square_monsterblob.png' setName='b1'/>
<sprite type = 'BulletTimePickup.BulletTimePickupSprite' x='1000' y='16' width='32' height='32' static='false' angle='0' setName='b2'/>
<sprite type='Joints.DistanceJoint'
id='J6'
body1='b1'
body2='b2'
damping='0.2'
freq='20'
texture_type='line'
texture = 'rect.png'
texture_width='20'
b1_Xoffset='0'
b1_Yoffset='0'
b2_Xoffset='0'
b2_Yoffset='0'/>
<sprite type = 'Alert.Alert' x='215' y='250' width='100' height='500' msg='blah
blah
blah
blah'/>
<EB type='Conversation' x='200' pass_args='1' msg='blah
blah
blah
blah'/>
<sprite type = 'Teleporter.TeleporterSprite' level_id='leveldata/test'/>
</level>"""
lb.renderWithXML(xml)
| [
11748,
28686,
198,
11748,
4566,
198,
6738,
42866,
1330,
1635,
198,
6738,
33810,
62,
11498,
17041,
1330,
1635,
198,
11748,
12854,
1891,
198,
6738,
35555,
13,
3438,
13,
1084,
312,
296,
1330,
21136,
10100,
198,
11748,
25064,
628,
198,
2538,
18697,
796,
37227,
198,
198,
47934,
19875,
2196,
2625,
16,
13,
15,
1,
21004,
2625,
48504,
12,
23,
13984,
29,
198,
27,
0,
18227,
4177,
56,
11401,
458,
396,
44731,
27444,
1003,
16108,
1003,
35,
21016,
9297,
8808,
352,
13,
15,
1003,
1677,
1,
366,
4023,
1378,
2503,
13,
18040,
13,
785,
14,
35,
21016,
82,
14,
21746,
8053,
12,
16,
13,
15,
13,
67,
8671,
5320,
198,
27,
489,
396,
2196,
2625,
16,
13,
15,
5320,
198,
27,
11600,
29,
198,
220,
220,
220,
1279,
2539,
29,
48728,
14171,
3556,
2539,
29,
198,
220,
220,
220,
1279,
41433,
29,
4,
7,
48728,
14171,
8,
82,
3556,
41433,
29,
198,
220,
220,
220,
1279,
2539,
29,
5715,
3556,
2539,
29,
198,
220,
220,
220,
1279,
11600,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
3672,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
8841,
29,
5715,
352,
1332,
1241,
3556,
8841,
29,
198,
220,
220,
220,
220,
220,
220,
220,
37922,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
25249,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
8841,
29,
4,
7,
25249,
8,
82,
3556,
8841,
29,
198,
220,
220,
220,
220,
220,
220,
220,
14610,
198,
220,
220,
220,
220,
220,
220,
220,
37922,
49068,
2043,
1546,
14610,
628,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
5589,
3733,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
18747,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
7,
2777,
23156,
8,
82,
198,
220,
220,
220,
220,
220,
220,
220,
7359,
18747,
29,
628,
220,
220,
220,
220,
220,
220,
220,
37922,
32357,
1268,
4694,
14610,
628,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
73,
1563,
82,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
18747,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
7,
73,
1563,
82,
8,
82,
198,
220,
220,
220,
220,
220,
220,
220,
7359,
18747,
29,
628,
220,
220,
220,
220,
220,
220,
220,
37922,
22904,
2246,
4694,
14610,
628,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
3642,
8656,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
18747,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
7,
3642,
8656,
8,
82,
198,
220,
220,
220,
220,
220,
220,
220,
7359,
18747,
29,
198,
220,
220,
220,
220,
220,
220,
220,
37922,
48052,
32716,
14610,
628,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
42011,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
18747,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
7,
42011,
8,
82,
198,
220,
220,
220,
220,
220,
220,
220,
7359,
18747,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
37922,
15628,
45,
19213,
14610,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
66,
1236,
684,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1279,
18747,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
7,
66,
1236,
684,
8,
82,
198,
220,
220,
220,
220,
220,
220,
220,
7359,
18747,
29,
628,
220,
220,
220,
7359,
11600,
29,
198,
3556,
11600,
29,
198,
3556,
489,
396,
29,
198,
37811,
198,
198,
9693,
36,
32716,
796,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
11600,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
265,
21921,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
8841,
29,
4,
7,
41293,
8,
82,
3556,
8841,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
312,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
41433,
29,
20,
3556,
41433,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7359,
11600,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
11600,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
265,
21921,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
8841,
29,
4,
7,
41293,
17,
8,
82,
3556,
8841,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
2539,
29,
312,
3556,
2539,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
41433,
29,
21,
3556,
41433,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7359,
11600,
29,
198,
37811,
198,
198,
2,
13086,
6374,
13252,
3069,
49058,
62,
2257,
6981,
9795,
352,
198,
2,
13086,
6374,
13252,
3069,
49058,
62,
33,
35455,
362,
198,
2,
13086,
6374,
13252,
3069,
49058,
62,
2538,
9792,
513,
198,
2,
13086,
6374,
13252,
3069,
49058,
62,
49,
9947,
604,
198,
220,
220,
220,
220,
220,
220,
220,
220,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
628,
197,
2,
9288,
8631,
1241,
38272,
198,
197,
361,
657,
25,
198,
197,
197,
23160,
796,
5684,
32875,
7203,
5715,
62,
2623,
13,
489,
396,
4943,
198,
197,
197,
23160,
13,
1904,
32742,
7203,
5715,
62,
16,
62,
41293,
4943,
198,
197,
197,
23160,
13,
2860,
10267,
7,
49,
20965,
13,
49,
20965,
38454,
578,
7,
87,
28,
15259,
11,
88,
28,
11442,
11,
12287,
28,
20,
11,
13165,
4188,
28,
49388,
4008,
198,
197,
197,
2,
23160,
13,
2860,
10267,
7,
49,
20965,
13,
49,
20965,
38454,
578,
7,
87,
28,
3064,
11,
88,
28,
1899,
11,
12287,
28,
20,
11,
13165,
4188,
28,
49388,
4008,
198,
197,
197,
2,
23160,
13,
2860,
10267,
7,
49,
20965,
13,
49,
20965,
38454,
578,
7,
87,
28,
6200,
11,
88,
28,
2167,
11,
12287,
28,
1238,
11,
13165,
4188,
28,
49388,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
30411,
13,
30411,
38454,
578,
7,
87,
28,
1238,
11,
88,
28,
940,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
46182,
2044,
13,
46182,
2044,
38454,
578,
7,
3672,
11639,
834,
38722,
2044,
834,
16,
3256,
87,
28,
21719,
11,
331,
28,
1120,
11,
7616,
62,
87,
28,
7029,
11,
7616,
62,
88,
28,
3064,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
46182,
2044,
13,
46182,
2044,
38454,
578,
7,
3672,
11639,
834,
38722,
2044,
834,
17,
3256,
87,
28,
3064,
11,
331,
28,
1120,
11,
7616,
62,
87,
28,
6200,
11,
7616,
62,
88,
28,
3064,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
46182,
2044,
13,
46182,
2044,
38454,
578,
7,
3672,
11639,
834,
38722,
2044,
834,
18,
3256,
87,
28,
6200,
11,
331,
28,
9031,
11,
7616,
62,
87,
28,
1120,
11,
7616,
62,
88,
28,
6200,
4008,
198,
197,
197,
2,
23160,
13,
2860,
10267,
7,
4834,
3065,
13,
4834,
3065,
38454,
578,
7,
87,
28,
14198,
11,
88,
28,
6200,
11,
10394,
28,
1314,
11,
17015,
28,
1314,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
23331,
13,
23331,
38454,
578,
7,
87,
28,
1120,
11,
88,
28,
14198,
11,
10394,
28,
1120,
11,
17015,
28,
1120,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
4561,
522,
88,
33,
21584,
13,
4561,
522,
88,
33,
21584,
38454,
578,
7,
87,
28,
1120,
11,
88,
28,
1795,
11,
10394,
28,
1120,
11,
17015,
28,
1120,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
4834,
3065,
13,
4834,
3065,
38454,
578,
7,
87,
28,
6200,
11,
88,
28,
3064,
11,
10394,
28,
1120,
11,
17015,
28,
1120,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
8248,
13,
8248,
38454,
578,
7,
87,
28,
3064,
11,
88,
28,
3064,
11,
10394,
28,
1238,
11,
17015,
28,
1238,
4008,
198,
197,
197,
2,
23160,
13,
2860,
10267,
7,
54,
8669,
13,
54,
8669,
38454,
578,
7,
87,
28,
6200,
11,
88,
28,
1120,
4008,
198,
197,
197,
23160,
13,
2860,
10267,
7,
54,
8669,
13,
54,
8669,
38454,
578,
7,
87,
28,
1495,
11,
88,
28,
1120,
4008,
198,
197,
197,
23160,
13,
13287,
3419,
198,
197,
197,
198,
197,
2,
9288,
23735,
1241,
32875,
197,
198,
197,
361,
352,
25,
198,
197,
198,
197,
197,
37811,
198,
197,
197,
197,
197,
197,
27,
28112,
16798,
82,
14610,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
73,
1563,
2099,
11639,
41,
1563,
82,
13,
45767,
41,
1563,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
312,
11639,
41,
21,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
2618,
16,
11639,
14907,
62,
16,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
2618,
17,
11639,
14907,
62,
17,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
67,
37843,
11639,
15,
13,
17,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
19503,
80,
11639,
1238,
6,
220,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
41293,
62,
4906,
11639,
9060,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
41293,
796,
705,
2554,
13,
11134,
6,
220,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
41293,
62,
10394,
11639,
1238,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
16,
62,
55,
28968,
11639,
15,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
16,
62,
56,
28968,
11639,
15,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
17,
62,
55,
28968,
11639,
15,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
17,
62,
56,
28968,
11639,
15,
6,
15913,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
73,
1563,
2099,
11639,
41,
1563,
82,
13,
18009,
3552,
41,
1563,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
312,
11639,
41,
21,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
2618,
16,
11639,
14907,
62,
16,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
2618,
17,
11639,
14907,
62,
17,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
76,
20965,
62,
12287,
11639,
1120,
13,
15,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
13165,
4188,
11639,
12825,
13,
15,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
21633,
62,
76,
20965,
11639,
9562,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
21037,
62,
9248,
11639,
1065,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
45828,
62,
9248,
11639,
2231,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
21633,
62,
32374,
11639,
9562,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
26000,
485,
62,
15236,
11639,
9562,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
15913,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
73,
1563,
2099,
11639,
41,
1563,
82,
13,
6836,
1042,
1512,
41,
1563,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
312,
11639,
41,
21,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
2618,
16,
11639,
14907,
62,
16,
6,
220,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
76,
20965,
62,
12287,
11639,
1120,
13,
15,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
13165,
4188,
11639,
12825,
13,
15,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
21633,
62,
76,
20965,
11639,
9562,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
21037,
62,
41519,
11639,
12,
3064,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
45828,
62,
41519,
11639,
3064,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
21633,
62,
32374,
11639,
7942,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
1851,
605,
11639,
9562,
6,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
15913,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
30411,
13,
30411,
38454,
578,
6,
2124,
11639,
2816,
6,
331,
11639,
1821,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
33481,
1616,
13,
33481,
1616,
38454,
578,
6,
2124,
11639,
15,
6,
331,
11639,
15,
6,
9647,
11639,
940,
6,
6001,
11639,
940,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
20,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
18,
6,
10922,
9237,
11639,
261,
2484,
1025,
6,
15913,
628,
197,
197,
197,
197,
197,
27,
28112,
21675,
14610,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
36420,
13,
36420,
6,
2124,
11639,
23349,
6,
331,
11639,
9031,
6,
9647,
11639,
3064,
6,
6001,
11639,
4059,
6,
1438,
11639,
5159,
36420,
6,
31456,
11639,
27729,
929,
8044,
489,
1328,
13,
11134,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
28112,
5775,
14610,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4834,
3065,
13,
4834,
3065,
38454,
578,
6,
2124,
11639,
32220,
6,
220,
331,
11639,
3980,
6,
9647,
11639,
15377,
6,
6001,
11639,
8784,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
1398,
3672,
11639,
3629,
672,
38454,
578,
6,
717,
14535,
11639,
39050,
2436,
672,
13,
11134,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4834,
3065,
13,
4834,
3065,
38454,
578,
6,
2124,
11639,
27800,
6,
220,
331,
11639,
3980,
6,
9647,
11639,
15377,
6,
6001,
11639,
8784,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
1398,
3672,
11639,
47,
931,
5116,
38454,
578,
6,
717,
14535,
11639,
79,
931,
5116,
13,
11134,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4834,
3065,
13,
4834,
3065,
38454,
578,
6,
2124,
11639,
44617,
6,
220,
331,
11639,
3980,
6,
9647,
11639,
15377,
6,
6001,
11639,
8784,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
1398,
3672,
11639,
18565,
44501,
38454,
578,
6,
717,
14535,
11639,
75,
21985,
62,
42690,
13,
11134,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4834,
3065,
13,
4834,
3065,
38454,
578,
6,
2124,
11639,
39925,
6,
220,
331,
11639,
3980,
6,
9647,
11639,
15377,
6,
6001,
11639,
8784,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
5485,
11639,
2554,
6,
220,
1398,
3672,
11639,
48011,
3629,
672,
38454,
578,
6,
717,
14535,
11639,
23415,
62,
39050,
2436,
672,
13,
11134,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4834,
3065,
13,
4834,
3065,
38454,
578,
6,
2124,
11639,
44183,
6,
220,
331,
11639,
3980,
6,
9647,
11639,
15377,
6,
6001,
11639,
8784,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4834,
3065,
23588,
46647,
49,
20965,
13,
4834,
3065,
23588,
46647,
49,
20965,
38454,
578,
6,
2124,
11639,
1485,
405,
6,
331,
11639,
2167,
6,
2866,
11639,
2167,
6,
15584,
62,
13664,
11639,
9031,
6,
26415,
11639,
12825,
6,
11037,
197,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
28112,
46462,
14610,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
34,
4873,
13,
34,
4873,
38454,
578,
6,
2124,
11639,
45720,
6,
331,
11639,
1433,
6,
9647,
11639,
2624,
6,
220,
6001,
11639,
2624,
6,
220,
9037,
11639,
9562,
6,
9848,
11639,
15,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
33481,
1616,
7575,
31686,
929,
13,
33481,
1616,
7575,
31686,
929,
38454,
578,
6,
2124,
11639,
1485,
1415,
6,
331,
11639,
1507,
6,
9647,
11639,
2624,
6,
220,
6001,
11639,
2624,
6,
220,
9037,
11639,
9562,
6,
9848,
11639,
15,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
31686,
929,
13,
31686,
929,
38454,
578,
6,
2124,
11639,
43864,
6,
331,
11639,
1558,
6,
9647,
11639,
2624,
6,
220,
6001,
11639,
2624,
6,
220,
9037,
11639,
9562,
6,
9848,
11639,
15,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
28112,
16926,
46,
25,
644,
546,
2318,
62,
6511,
13,
11134,
46904,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
3856,
321,
13,
3856,
321,
38454,
578,
6,
2124,
11639,
1314,
2548,
6,
220,
331,
11639,
3104,
6,
9647,
11639,
12762,
6,
6001,
11639,
1795,
6,
9848,
11639,
12,
3829,
6,
220,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
3856,
321,
13,
3856,
321,
38454,
578,
6,
2124,
11639,
1314,
2548,
6,
220,
331,
11639,
3104,
6,
9647,
11639,
940,
6,
6001,
11639,
940,
6,
9848,
11639,
12,
3829,
6,
220,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
7942,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
1398,
3672,
11639,
26437,
29261,
13290,
4338,
38454,
578,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
3856,
321,
13,
3856,
321,
38454,
578,
6,
2124,
11639,
9031,
23,
6,
220,
331,
11639,
5607,
6,
9647,
11639,
16102,
6,
6001,
11639,
2623,
6,
9848,
11639,
15,
6,
220,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
1238,
6,
1398,
3672,
11639,
24159,
1356,
540,
6,
717,
14535,
796,
6,
1671,
1206,
62,
1671,
624,
13,
11134,
6,
220,
900,
5376,
28,
705,
67,
3856,
321,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
23331,
13,
23331,
38454,
578,
6,
2124,
11639,
23,
2623,
6,
220,
331,
11639,
44361,
6,
9647,
11639,
12762,
6,
6001,
11639,
12762,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
16,
6,
220,
717,
14535,
796,
6,
65,
17601,
13,
11134,
6,
900,
5376,
11639,
23331,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
49004,
13,
49004,
38454,
578,
6,
220,
2124,
11639,
8054,
6,
331,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
48478,
13,
48478,
38454,
578,
6,
2124,
11639,
4059,
6,
331,
11639,
940,
6,
9647,
11639,
3064,
6,
6001,
11639,
3064,
6,
1220,
6927,
28112,
16926,
46,
25,
17256,
11743,
287,
1388,
9629,
14610,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
28112,
10275,
14610,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
5248,
620,
13,
5248,
620,
6,
2124,
11639,
17544,
6,
331,
11639,
9031,
6,
9647,
11639,
2167,
6,
6001,
11639,
1238,
6,
31456,
11639,
37,
482,
474,
280,
0,
2,
73,
14220,
0,
9,
45,
1453,
11,
277,
482,
474,
280,
0,
9,
64,
283,
456,
0,
9,
2,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
28112,
21202,
14610,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
23331,
13,
23331,
38454,
578,
6,
2124,
11639,
23,
2623,
6,
220,
331,
11639,
44361,
6,
9647,
11639,
12762,
6,
6001,
11639,
12762,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
16,
6,
220,
10922,
9237,
796,
705,
261,
16447,
33,
17601,
6,
717,
14535,
796,
6,
65,
17601,
13,
11134,
6,
900,
5376,
11639,
23331,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
34,
8825,
13,
34,
8825,
6,
1785,
11639,
261,
16447,
33,
17601,
6,
2030,
80,
11639,
10232,
6,
3509,
11639,
1495,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
28112,
13961,
1220,
2995,
14610,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4264,
8656,
13,
17829,
6,
1767,
16,
11639,
65,
17,
6,
1767,
17,
11639,
65,
16,
6,
1785,
62,
3672,
11639,
261,
15022,
9237,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
9237,
48344,
13,
9237,
48344,
6,
2124,
11639,
2075,
2996,
6,
331,
11639,
9031,
6,
9647,
11639,
3064,
6,
6001,
11639,
4059,
6,
31456,
11639,
261,
4971,
34349,
1144,
6,
1785,
5376,
11639,
261,
9237,
48344,
17889,
6,
11037,
628,
197,
197,
197,
197,
197,
27,
28112,
7508,
1051,
1220,
2342,
36170,
14,
5735,
26634,
14610,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
36259,
13,
36259,
38454,
578,
6,
2124,
11639,
6200,
6,
331,
11639,
1495,
6,
9647,
11639,
9031,
6,
6001,
11639,
1120,
6,
717,
14535,
11639,
12683,
13,
11134,
6,
31456,
11639,
12016,
301,
0,
11436,
11,
2,
1385,
329,
262,
2046,
21591,
13,
9609,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
796,
705,
10723,
36170,
6,
2124,
11639,
2167,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
31709,
26634,
13,
31709,
26634,
38454,
578,
6,
220,
1241,
62,
312,
11639,
293,
303,
335,
1045,
14,
9288,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
28112,
10963,
14610,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
50,
2543,
647,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
44,
44933,
45740,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
27300,
51,
789,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
50,
33550,
23410,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
34919,
1143,
23410,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
7447,
2848,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
38,
2238,
33,
5691,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
54,
672,
11108,
3629,
672,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
14402,
40872,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
28827,
33959,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
47,
36363,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
41,
15829,
6,
2124,
11639,
2167,
6,
11037,
197,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
21979,
41387,
6,
2124,
11639,
2167,
6,
11037,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
16501,
603,
6,
2124,
11639,
2167,
6,
11037,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
35620,
8642,
5540,
6,
2124,
11639,
2167,
6,
11037,
197,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
14573,
40872,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
41,
571,
527,
11484,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
7447,
2105,
37,
12603,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
34,
729,
41643,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
2484,
659,
1026,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
49795,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
47,
931,
5116,
33,
296,
527,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
15708,
1659,
3629,
8158,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
54,
18998,
47,
328,
51,
603,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
36134,
2584,
33,
35298,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
41,
504,
6248,
39950,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
39950,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
14573,
3629,
672,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
1273,
563,
1082,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
22253,
34,
39464,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
25624,
1362,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
34,
729,
41643,
14815,
17,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
22253,
33574,
729,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
22975,
39950,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
7414,
21705,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
14106,
25586,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
14350,
78,
43806,
6,
2124,
11639,
2167,
6,
11037,
198,
197,
197,
37811,
198,
197,
197,
198,
197,
197,
2,
23160,
13,
2860,
10267,
7,
3856,
321,
13,
3856,
321,
38454,
578,
7,
87,
28,
8054,
10,
16102,
11,
331,
28,
940,
11,
10394,
28,
4059,
11,
17015,
28,
1270,
11,
9248,
11639,
15,
3256,
2118,
2738,
28,
15,
13,
17,
11,
12708,
11639,
7942,
3256,
69,
46214,
28,
15,
13,
20,
11,
43337,
28,
1238,
11,
4871,
3672,
11639,
26437,
29261,
13290,
4338,
38454,
578,
27691,
2617,
5376,
10786,
3856,
321,
6,
4008,
198,
197,
197,
198,
197,
197,
23160,
796,
1395,
44,
3069,
68,
626,
32875,
7203,
9288,
13,
489,
396,
1600,
25249,
2625,
9288,
13,
11134,
4943,
198,
197,
197,
19875,
796,
37227,
27,
5715,
11743,
2625,
2144,
5937,
25473,
16,
5320,
198,
197,
197,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
30411,
13,
30411,
38454,
578,
6,
2124,
11639,
2816,
6,
331,
11639,
1821,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
33481,
1616,
13,
33481,
1616,
38454,
578,
6,
2124,
11639,
15,
6,
331,
11639,
15,
6,
9647,
11639,
940,
6,
6001,
11639,
940,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
20,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
18,
6,
10922,
9237,
11639,
261,
2484,
1025,
6,
15913,
197,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
4834,
3065,
13,
4834,
3065,
38454,
578,
6,
2124,
11639,
39925,
6,
220,
331,
11639,
3980,
6,
9647,
11639,
15377,
6,
6001,
11639,
8784,
6,
9848,
11639,
15,
6,
44862,
11639,
15,
13,
17,
6,
9037,
11639,
9562,
6,
23822,
11639,
15,
13,
20,
6,
12109,
11639,
20,
6,
5485,
11639,
2554,
6,
1398,
3672,
11639,
48011,
3629,
672,
38454,
578,
6,
717,
14535,
11639,
23415,
62,
39050,
2436,
672,
13,
11134,
6,
900,
5376,
11639,
65,
16,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
33481,
1616,
7575,
31686,
929,
13,
33481,
1616,
7575,
31686,
929,
38454,
578,
6,
2124,
11639,
12825,
6,
331,
11639,
1433,
6,
9647,
11639,
2624,
6,
220,
6001,
11639,
2624,
6,
220,
9037,
11639,
9562,
6,
9848,
11639,
15,
6,
900,
5376,
11639,
65,
17,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
11639,
41,
1563,
82,
13,
45767,
41,
1563,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
312,
11639,
41,
21,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
2618,
16,
11639,
65,
16,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
2618,
17,
11639,
65,
17,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
67,
37843,
11639,
15,
13,
17,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
19503,
80,
11639,
1238,
6,
220,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
41293,
62,
4906,
11639,
1370,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
41293,
796,
705,
2554,
13,
11134,
6,
220,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
41293,
62,
10394,
11639,
1238,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
16,
62,
55,
28968,
11639,
15,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
16,
62,
56,
28968,
11639,
15,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
17,
62,
55,
28968,
11639,
15,
6,
220,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
65,
17,
62,
56,
28968,
11639,
15,
6,
15913,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
36420,
13,
36420,
6,
2124,
11639,
23349,
6,
331,
11639,
9031,
6,
9647,
11639,
3064,
6,
6001,
11639,
4059,
6,
31456,
11639,
2436,
993,
5,
2,
87,
35,
26,
2436,
993,
5,
2,
87,
35,
26,
2436,
993,
5,
2,
87,
35,
26,
2436,
993,
6,
15913,
198,
197,
197,
197,
197,
197,
27,
30195,
2099,
11639,
3103,
690,
341,
6,
2124,
11639,
2167,
6,
1208,
62,
22046,
11639,
16,
6,
31456,
11639,
2436,
993,
5,
2,
87,
35,
26,
2436,
993,
5,
2,
87,
35,
26,
2436,
993,
5,
2,
87,
35,
26,
2436,
993,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
197,
27,
34975,
578,
2099,
796,
705,
31709,
26634,
13,
31709,
26634,
38454,
578,
6,
220,
1241,
62,
312,
11639,
293,
303,
335,
1045,
14,
9288,
6,
15913,
198,
197,
197,
197,
197,
197,
198,
197,
197,
197,
197,
3556,
5715,
29,
37811,
198,
197,
197,
23160,
13,
13287,
3152,
55,
5805,
7,
19875,
8,
198,
197,
197,
198,
197,
197,
198,
197,
197,
198
] | 2.048159 | 5,378 |
#!/usr/bin/python3
import io
import csv
import json
import warnings
import pickle
import operator
import time
import logging
import math
import functools
import numpy
from sklearn.preprocessing import MinMaxScaler
from threading import Thread
from random import shuffle
from sklearn.neural_network import MLPClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn.svm import SVC
from sklearn.tree import DecisionTreeClassifier
from sklearn.ensemble import RandomForestClassifier, AdaBoostClassifier
from sklearn.naive_bayes import GaussianNB
from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis
from sklearn import cluster, mixture
from sklearn.neighbors import kneighbors_graph
from s3_helper import put_file, get_file
#Librerias locindoor
import os
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from core.data_processor import DataLoader
from core.model import Model
from core.trajectories import Trajectories
from core.aps import Aps
from tensorflow.keras.models import load_model
# create logger with 'spam_application'
logger = logging.getLogger('learn')
logger.setLevel(logging.DEBUG)
fh = logging.FileHandler('learn.log')
fh.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
formatter = logging.Formatter(
'%(asctime)s - [%(name)s/%(funcName)s] - %(levelname)s - %(message)s')
fh.setFormatter(formatter)
ch.setFormatter(formatter)
logger.addHandler(fh)
logger.addHandler(ch)
| [
2,
48443,
14629,
14,
8800,
14,
29412,
18,
198,
198,
11748,
33245,
198,
11748,
269,
21370,
198,
11748,
33918,
198,
11748,
14601,
198,
11748,
2298,
293,
198,
11748,
10088,
198,
11748,
640,
198,
11748,
18931,
198,
11748,
10688,
198,
11748,
1257,
310,
10141,
198,
11748,
299,
32152,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
1855,
11518,
3351,
36213,
198,
6738,
4704,
278,
1330,
14122,
198,
6738,
4738,
1330,
36273,
198,
6738,
1341,
35720,
13,
710,
1523,
62,
27349,
1330,
10373,
47,
9487,
7483,
198,
6738,
1341,
35720,
13,
710,
394,
32289,
1330,
509,
46445,
32289,
9487,
7483,
198,
6738,
1341,
35720,
13,
82,
14761,
1330,
311,
15922,
198,
6738,
1341,
35720,
13,
21048,
1330,
26423,
27660,
9487,
7483,
198,
6738,
1341,
35720,
13,
1072,
11306,
1330,
14534,
34605,
9487,
7483,
11,
47395,
45686,
9487,
7483,
198,
6738,
1341,
35720,
13,
2616,
425,
62,
24406,
274,
1330,
12822,
31562,
32819,
198,
6738,
1341,
35720,
13,
15410,
3036,
42483,
62,
20930,
1330,
20648,
81,
1512,
15642,
3036,
42483,
32750,
198,
6738,
1341,
35720,
1330,
13946,
11,
11710,
198,
6738,
1341,
35720,
13,
710,
394,
32289,
1330,
24813,
394,
32289,
62,
34960,
198,
6738,
264,
18,
62,
2978,
525,
1330,
1234,
62,
7753,
11,
651,
62,
7753,
198,
198,
2,
25835,
260,
380,
292,
1179,
521,
2675,
198,
11748,
28686,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
4755,
13,
7890,
62,
41341,
1330,
6060,
17401,
198,
6738,
4755,
13,
19849,
1330,
9104,
198,
6738,
4755,
13,
9535,
752,
1749,
1330,
4759,
752,
1749,
198,
6738,
4755,
13,
1686,
1330,
317,
862,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
27530,
1330,
3440,
62,
19849,
198,
198,
2,
2251,
49706,
351,
705,
2777,
321,
62,
31438,
6,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
10786,
35720,
11537,
198,
6404,
1362,
13,
2617,
4971,
7,
6404,
2667,
13,
30531,
8,
198,
69,
71,
796,
18931,
13,
8979,
25060,
10786,
35720,
13,
6404,
11537,
198,
69,
71,
13,
2617,
4971,
7,
6404,
2667,
13,
30531,
8,
198,
354,
796,
18931,
13,
12124,
25060,
3419,
198,
354,
13,
2617,
4971,
7,
6404,
2667,
13,
30531,
8,
198,
687,
1436,
796,
18931,
13,
8479,
1436,
7,
198,
220,
220,
220,
705,
4,
7,
292,
310,
524,
8,
82,
532,
685,
4,
7,
3672,
8,
82,
14,
4,
7,
20786,
5376,
8,
82,
60,
532,
4064,
7,
5715,
3672,
8,
82,
532,
4064,
7,
20500,
8,
82,
11537,
198,
69,
71,
13,
2617,
8479,
1436,
7,
687,
1436,
8,
198,
354,
13,
2617,
8479,
1436,
7,
687,
1436,
8,
198,
6404,
1362,
13,
2860,
25060,
7,
69,
71,
8,
198,
6404,
1362,
13,
2860,
25060,
7,
354,
8,
628
] | 3.203024 | 463 |
import logging
from os import getenv
from flask import Flask
from flask import session # pylint: disable=unused-import
from config import DATABASE_URL, ENV
from database import database
from views import login, new_tip, register, tips, tests, like
| [
11748,
18931,
198,
6738,
28686,
1330,
651,
24330,
198,
6738,
42903,
1330,
46947,
198,
6738,
42903,
1330,
6246,
220,
1303,
279,
2645,
600,
25,
15560,
28,
403,
1484,
12,
11748,
198,
6738,
4566,
1330,
360,
1404,
6242,
11159,
62,
21886,
11,
12964,
53,
198,
6738,
6831,
1330,
6831,
198,
6738,
5009,
1330,
17594,
11,
649,
62,
22504,
11,
7881,
11,
9040,
11,
5254,
11,
588,
628
] | 3.787879 | 66 |
# Copyright 2013 10gen, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Authentication Tests."""
import os
import sys
import threading
import unittest
from urllib import quote_plus
sys.path[0:0] = [""]
from nose.plugins.skip import SkipTest
from pymongo import MongoClient, MongoReplicaSetClient
from pymongo.auth import HAVE_KERBEROS
from pymongo.errors import OperationFailure
from pymongo.read_preferences import ReadPreference
from test import version, host, port
from test.utils import is_mongos, server_started_with_auth
# YOU MUST RUN KINIT BEFORE RUNNING GSSAPI TESTS.
GSSAPI_HOST = os.environ.get('GSSAPI_HOST')
GSSAPI_PORT = int(os.environ.get('GSSAPI_PORT', '27017'))
PRINCIPAL = os.environ.get('PRINCIPAL')
SASL_HOST = os.environ.get('SASL_HOST')
SASL_PORT = int(os.environ.get('SASL_PORT', '27017'))
SASL_USER = os.environ.get('SASL_USER')
SASL_PASS = os.environ.get('SASL_PASS')
SASL_DB = os.environ.get('SASL_DB', '$external')
class AutoAuthenticateThread(threading.Thread):
"""Used in testing threaded authentication.
"""
if __name__ == "__main__":
unittest.main()
| [
2,
15069,
2211,
838,
5235,
11,
3457,
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,
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,
37811,
47649,
3299,
30307,
526,
15931,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
4704,
278,
198,
11748,
555,
715,
395,
198,
198,
6738,
2956,
297,
571,
1330,
9577,
62,
9541,
198,
198,
17597,
13,
6978,
58,
15,
25,
15,
60,
796,
14631,
8973,
198,
198,
6738,
9686,
13,
37390,
13,
48267,
1330,
32214,
14402,
198,
198,
6738,
279,
4948,
25162,
1330,
42591,
11792,
11,
42591,
39232,
3970,
7248,
11792,
198,
6738,
279,
4948,
25162,
13,
18439,
1330,
21515,
62,
42839,
13246,
2640,
198,
6738,
279,
4948,
25162,
13,
48277,
1330,
14680,
50015,
198,
6738,
279,
4948,
25162,
13,
961,
62,
3866,
69,
4972,
1330,
4149,
6719,
4288,
198,
6738,
1332,
1330,
2196,
11,
2583,
11,
2493,
198,
6738,
1332,
13,
26791,
1330,
318,
62,
31059,
418,
11,
4382,
62,
46981,
62,
4480,
62,
18439,
198,
198,
2,
7013,
17191,
32494,
509,
1268,
2043,
38331,
32494,
15871,
402,
5432,
17614,
309,
1546,
4694,
13,
198,
38,
5432,
17614,
62,
39,
10892,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
38,
5432,
17614,
62,
39,
10892,
11537,
198,
38,
5432,
17614,
62,
15490,
796,
493,
7,
418,
13,
268,
2268,
13,
1136,
10786,
38,
5432,
17614,
62,
15490,
3256,
705,
1983,
29326,
6,
4008,
198,
4805,
30158,
4061,
1847,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
4805,
30158,
4061,
1847,
11537,
198,
198,
50,
1921,
43,
62,
39,
10892,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
50,
1921,
43,
62,
39,
10892,
11537,
198,
50,
1921,
43,
62,
15490,
796,
493,
7,
418,
13,
268,
2268,
13,
1136,
10786,
50,
1921,
43,
62,
15490,
3256,
705,
1983,
29326,
6,
4008,
198,
50,
1921,
43,
62,
29904,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
50,
1921,
43,
62,
29904,
11537,
198,
50,
1921,
43,
62,
47924,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
50,
1921,
43,
62,
47924,
11537,
198,
50,
1921,
43,
62,
11012,
220,
220,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
50,
1921,
43,
62,
11012,
3256,
705,
3,
22615,
11537,
628,
198,
4871,
11160,
47649,
5344,
16818,
7,
16663,
278,
13,
16818,
2599,
198,
220,
220,
220,
37227,
38052,
287,
4856,
40945,
18239,
13,
198,
220,
220,
220,
37227,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.987037 | 540 |
# Copyright 2022 Huawei Technologies Co., Ltd
#
# 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.
# ============================================================================
"""far process RWMF."""
import os
from PIL import Image
if __name__ == '__main__':
root_path = './Real-World-Masked-Face-Dataset-master'
jpg_paths = ['RWMFD_part_1', 'RWMFD_part_2_pro']
target_txt = 'RWMF_label_train.txt'
if os.path.exists(target_txt):
os.remove(target_txt)
with open(target_txt, "w") as txt:
for jpg_path in jpg_paths:
cur_jpg_path = os.path.join(root_path, jpg_path)
for img_dir in os.listdir(cur_jpg_path):
cur_img_dir = os.path.join(cur_jpg_path, img_dir)
for img_name in os.listdir(cur_img_dir):
if not img_name.endswith('.jpg'):
continue
img_path = os.path.join(cur_img_dir, img_name)
try:
image = Image.open(img_path).convert('RGB')
except FileNotFoundError:
print('wrong img:', img_path)
continue
txt.write(img_path + ' ')
txt.write(str(-1) + ' ')
txt.write(str(-1) + ' ')
txt.write('0')
txt.write('\n')
| [
2,
15069,
33160,
43208,
21852,
1766,
1539,
12052,
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,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
2,
38093,
2559,
18604,
198,
37811,
16370,
1429,
371,
22117,
37,
526,
15931,
198,
198,
11748,
28686,
198,
6738,
350,
4146,
1330,
7412,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
6808,
62,
6978,
796,
705,
19571,
15633,
12,
10603,
12,
45195,
276,
12,
32388,
12,
27354,
292,
316,
12,
9866,
6,
198,
220,
220,
220,
474,
6024,
62,
6978,
82,
796,
37250,
49,
22117,
26009,
62,
3911,
62,
16,
3256,
705,
49,
22117,
26009,
62,
3911,
62,
17,
62,
1676,
20520,
198,
220,
220,
220,
2496,
62,
14116,
796,
705,
49,
22117,
37,
62,
18242,
62,
27432,
13,
14116,
6,
198,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
16793,
62,
14116,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28956,
7,
16793,
62,
14116,
8,
628,
220,
220,
220,
351,
1280,
7,
16793,
62,
14116,
11,
366,
86,
4943,
355,
256,
742,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
6024,
62,
6978,
287,
474,
6024,
62,
6978,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
62,
9479,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
15763,
62,
6978,
11,
474,
6024,
62,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
33705,
62,
15908,
287,
28686,
13,
4868,
15908,
7,
22019,
62,
9479,
62,
6978,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
62,
9600,
62,
15908,
796,
28686,
13,
6978,
13,
22179,
7,
22019,
62,
9479,
62,
6978,
11,
33705,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
33705,
62,
3672,
287,
28686,
13,
4868,
15908,
7,
22019,
62,
9600,
62,
15908,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
33705,
62,
3672,
13,
437,
2032,
342,
7,
4458,
9479,
6,
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,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
22019,
62,
9600,
62,
15908,
11,
33705,
62,
3672,
8,
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,
2939,
796,
7412,
13,
9654,
7,
9600,
62,
6978,
737,
1102,
1851,
10786,
36982,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
9220,
3673,
21077,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
36460,
33705,
25,
3256,
33705,
62,
6978,
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,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
13,
13564,
7,
9600,
62,
6978,
1343,
705,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
13,
13564,
7,
2536,
32590,
16,
8,
1343,
705,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
13,
13564,
7,
2536,
32590,
16,
8,
1343,
705,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
13,
13564,
10786,
15,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
13,
13564,
10786,
59,
77,
11537,
198
] | 2.181075 | 856 |
#!/usr/bin/env python3
from model_weights import *
import argparse
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='See what variables are stored in model.npy file')
parser.add_argument('load_from', metavar='LOAD_FROM', type=str,
help='the model.npy file')
args = parser.parse_args()
if args.load_from == "-":
args.load_from = "/dev/stdin"
m = Model(args.load_from)
for var, val in m.variables.items():
print(var, val.shape)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
198,
6738,
2746,
62,
43775,
1330,
1635,
198,
11748,
1822,
29572,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
11213,
11639,
6214,
644,
9633,
389,
8574,
287,
2746,
13,
77,
9078,
2393,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
2220,
62,
6738,
3256,
1138,
615,
283,
11639,
35613,
62,
10913,
2662,
3256,
2099,
28,
2536,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
1169,
2746,
13,
77,
9078,
2393,
11537,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
611,
26498,
13,
2220,
62,
6738,
6624,
27444,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
2220,
62,
6738,
796,
12813,
7959,
14,
19282,
259,
1,
198,
220,
220,
220,
285,
796,
9104,
7,
22046,
13,
2220,
62,
6738,
8,
198,
220,
220,
220,
329,
1401,
11,
1188,
287,
285,
13,
25641,
2977,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
7785,
11,
1188,
13,
43358,
8,
198
] | 2.429245 | 212 |
from czifiletools import pylibCZIrw_tools as cztrw
from pylibCZIrw import czi as pyczi
#from pylibCZIrw import Rectangle
from matplotlib import pyplot as plt
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\Z=4_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\T=3_Z=4_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\T=3_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=2_3x3_T=3_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=2_3x3_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=2_3x3_Z=4_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=1_3x3_T=1_Z=1_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=2_3x3_T=1_Z=1_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=2_3x3_T=1_Z=4_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=2_3x3_T=3_Z=1_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=1_3x3_T=3_Z=4_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=2_3x3_T=3_Z=4_CH=2.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\W96_B2+B4_S=2_T=1=Z=1_C=1_Tile=5x9.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\Multiscene_CZI_3Scenes.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\96well_S=192_2pos_CH=3.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\CellDivision_T=10_Z=20_CH=1_DCV.czi'
#filename = r'D:\Testdata_Zeiss\CZI_Testfiles\CellDivision_T=3_Z=5_CH=2_X=240_Y=170.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\S=1_HE_Slide_RGB.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\OverViewScan.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\DTScan_ID4.czi'
#filename = r'd:\Testdata_Zeiss\CZI_Testfiles\w96_A1+A2.czi'
filename = r'd:\Testdata_Zeiss\CZI_Testfiles\testwell96.czi'
#filename = r"D:\Testdata_Zeiss\Mitochondria_EM_with_DNN\original_data\mitochondria_train_01_seg_ov_small.czi"
#filename = r"/datadisk1/tuxedo/testpictures/Testdata_Zeiss/celldivision/CellDivision_T=10_Z=15_CH=2_DCV_small.czi"
#filename = r"/datadisk1/tuxedo/testpictures/Testdata_Zeiss/wellplate/testwell96_woatt_S1-5.czi"
#filename = r'/datadisk1/tuxedo/testpictures/Testdata_Zeiss/CZI_Testfiles/S=1_3x3_T=1_Z=1_CH=2.czi'
#filename = r'/datadisk1/tuxedo/testpictures/Testdata_Zeiss/CZI_Testfiles/S=2_3x3_T=3_Z=4_CH=2.czi'
#filename = r'/datadisk1/tuxedo/testpictures/Testdata_Zeiss/CZI_Testfiles/S=2_3x3_T=1_Z=4_CH=2.czi'
#filename = r'/datadisk1/tuxedo/testpictures/Testdata_Zeiss/CZI_Testfiles/S=2_3x3_T=3_Z=1_CH=2.czi'
#filename = r'/datadisk1/tuxedo/testpictures/Testdata_Zeiss/CZI_Testfiles/S=2_3x3_T=3_Z=4_CH=2.czi'
#filename = r'/datadisk1/tuxedo/testpictures/Testdata_Zeiss/CZI_Testfiles/S=1_HE_Slide_RGB.czi'
#filename = r'/datadisk1/tuxedo/testpictures/Testdata_Zeiss/CZI_Testfiles/Multiscene_CZI_3Scenes.czi'
#filename = r'c:\Users\m1srh\Downloads\Overview.czi'
#filename = r'd:\Testdata_Zeiss\LatticeLightSheet\LS_Mitosis_T=150-300.czi'
# get all the metadata as a dictionary
md, md_add = cztrw.get_metadata_czi(filename, dim2none=True, convert_scunit=True)
# open the CZI document to read the
czidoc = pyczi.open_czi(filename)
# show all dimensions
total_bbox = czidoc.total_bounding_box
for k,v in total_bbox.items():
print(k, v)
# get information about the scenes etc.
sc_bbox = czidoc.scenes_bounding_rectangle
total_rect = czidoc.total_bounding_rectangle
pixeltype_ch = czidoc.get_channel_pixel_type(0)
pixeltypes = czidoc.pixel_types
print('Real Pixeltypes in CZI file : ', pixeltypes)
# read a simple 2d image plane
roi = (300, 300, 300, 600)
image2d_C0 = czidoc.read(plane={'C': 0}, scene=0, roi=roi, pixel_type="Gray8")
image2d_C1 = czidoc.read(plane={'C': 1}, scene=0, roi=roi, pixel_type="Gray8")
print(image2d_C0.shape, image2d_C1.shape)
print('Pixeltype after conversion during reading : ', image2d_C0.dtype, image2d_C1.dtype)
# Create two subplots and unpack the output array immediately
f, (ax1, ax2) = plt.subplots(1, 2)
ax1.imshow(image2d_C0, interpolation='nearest', cmap='Reds_r')
ax2.imshow(image2d_C1, interpolation='nearest', cmap='Greens_r')
plt.show()
# store metadata inside Pandas dataframe
mdf = cztrw.md2dataframe(md)
print(mdf)
| [
6738,
24785,
361,
576,
31391,
1330,
279,
2645,
571,
34,
57,
23820,
86,
62,
31391,
355,
24785,
2213,
86,
198,
6738,
279,
2645,
571,
34,
57,
23820,
86,
1330,
269,
17027,
355,
12972,
66,
17027,
198,
2,
6738,
279,
2645,
571,
34,
57,
23820,
86,
1330,
48599,
9248,
198,
6738,
2603,
29487,
8019,
1330,
12972,
29487,
355,
458,
83,
628,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
51,
28,
18,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
51,
28,
18,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
18,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
17,
62,
18,
87,
18,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
17,
62,
18,
87,
18,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
16,
62,
18,
87,
18,
62,
51,
28,
16,
62,
57,
28,
16,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
16,
62,
57,
28,
16,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
16,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
18,
62,
57,
28,
16,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
16,
62,
18,
87,
18,
62,
51,
28,
18,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
18,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
54,
4846,
62,
33,
17,
10,
33,
19,
62,
50,
28,
17,
62,
51,
28,
16,
28,
57,
28,
16,
62,
34,
28,
16,
62,
35103,
28,
20,
87,
24,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
15205,
2304,
1734,
62,
34,
48926,
62,
18,
3351,
18719,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
4846,
4053,
62,
50,
28,
17477,
62,
17,
1930,
62,
3398,
28,
18,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
28780,
24095,
1166,
62,
51,
28,
940,
62,
57,
28,
1238,
62,
3398,
28,
16,
62,
9697,
53,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
6,
35,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
28780,
24095,
1166,
62,
51,
28,
18,
62,
57,
28,
20,
62,
3398,
28,
17,
62,
55,
28,
16102,
62,
56,
28,
17279,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
50,
28,
16,
62,
13909,
62,
11122,
485,
62,
36982,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
5886,
7680,
33351,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
24544,
33351,
62,
2389,
19,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
86,
4846,
62,
32,
16,
10,
32,
17,
13,
66,
17027,
6,
198,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
34,
48926,
62,
14402,
16624,
59,
9288,
4053,
4846,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1,
35,
7479,
14402,
7890,
62,
36056,
747,
59,
43339,
22400,
7496,
62,
3620,
62,
4480,
62,
35,
6144,
59,
14986,
62,
7890,
59,
2781,
22400,
7496,
62,
27432,
62,
486,
62,
325,
70,
62,
709,
62,
17470,
13,
66,
17027,
1,
198,
2,
34345,
796,
374,
1,
14,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
3846,
21426,
14,
28780,
24095,
1166,
62,
51,
28,
940,
62,
57,
28,
1314,
62,
3398,
28,
17,
62,
9697,
53,
62,
17470,
13,
66,
17027,
1,
198,
2,
34345,
796,
374,
1,
14,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
4053,
6816,
14,
9288,
4053,
4846,
62,
21638,
1078,
62,
50,
16,
12,
20,
13,
66,
17027,
1,
198,
2,
34345,
796,
374,
26488,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
34,
48926,
62,
14402,
16624,
14,
50,
28,
16,
62,
18,
87,
18,
62,
51,
28,
16,
62,
57,
28,
16,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
26488,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
34,
48926,
62,
14402,
16624,
14,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
18,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
26488,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
34,
48926,
62,
14402,
16624,
14,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
16,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
26488,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
34,
48926,
62,
14402,
16624,
14,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
18,
62,
57,
28,
16,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
26488,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
34,
48926,
62,
14402,
16624,
14,
50,
28,
17,
62,
18,
87,
18,
62,
51,
28,
18,
62,
57,
28,
19,
62,
3398,
28,
17,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
26488,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
34,
48926,
62,
14402,
16624,
14,
50,
28,
16,
62,
13909,
62,
11122,
485,
62,
36982,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
26488,
19608,
324,
1984,
16,
14,
83,
2821,
24757,
14,
9288,
18847,
942,
14,
14402,
7890,
62,
36056,
747,
14,
34,
48926,
62,
14402,
16624,
14,
15205,
2304,
1734,
62,
34,
48926,
62,
18,
3351,
18719,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
6,
66,
7479,
14490,
59,
76,
16,
82,
17179,
59,
10002,
82,
59,
29064,
13,
66,
17027,
6,
198,
2,
34345,
796,
374,
1549,
7479,
14402,
7890,
62,
36056,
747,
59,
43,
1078,
501,
15047,
3347,
316,
59,
6561,
62,
43339,
5958,
62,
51,
28,
8628,
12,
6200,
13,
66,
17027,
6,
198,
198,
2,
651,
477,
262,
20150,
355,
257,
22155,
198,
9132,
11,
45243,
62,
2860,
796,
24785,
2213,
86,
13,
1136,
62,
38993,
62,
66,
17027,
7,
34345,
11,
5391,
17,
23108,
28,
17821,
11,
10385,
62,
1416,
20850,
28,
17821,
8,
198,
198,
2,
1280,
262,
327,
48926,
3188,
284,
1100,
262,
198,
26691,
312,
420,
796,
12972,
66,
17027,
13,
9654,
62,
66,
17027,
7,
34345,
8,
198,
198,
2,
905,
477,
15225,
198,
23350,
62,
65,
3524,
796,
24785,
312,
420,
13,
23350,
62,
7784,
278,
62,
3524,
198,
1640,
479,
11,
85,
287,
2472,
62,
65,
3524,
13,
23814,
33529,
198,
220,
220,
220,
3601,
7,
74,
11,
410,
8,
198,
198,
2,
651,
1321,
546,
262,
8188,
3503,
13,
198,
1416,
62,
65,
3524,
796,
24785,
312,
420,
13,
28123,
62,
7784,
278,
62,
2554,
9248,
198,
23350,
62,
2554,
796,
24785,
312,
420,
13,
23350,
62,
7784,
278,
62,
2554,
9248,
198,
32515,
4906,
62,
354,
796,
24785,
312,
420,
13,
1136,
62,
17620,
62,
32515,
62,
4906,
7,
15,
8,
198,
32515,
19199,
796,
24785,
312,
420,
13,
32515,
62,
19199,
198,
4798,
10786,
15633,
11349,
19199,
287,
327,
48926,
2393,
1058,
46083,
17465,
19199,
8,
198,
198,
2,
1100,
257,
2829,
362,
67,
2939,
6614,
198,
305,
72,
796,
357,
6200,
11,
5867,
11,
5867,
11,
10053,
8,
198,
9060,
17,
67,
62,
34,
15,
796,
24785,
312,
420,
13,
961,
7,
14382,
34758,
6,
34,
10354,
657,
5512,
3715,
28,
15,
11,
686,
72,
28,
305,
72,
11,
17465,
62,
4906,
2625,
46130,
23,
4943,
198,
9060,
17,
67,
62,
34,
16,
796,
24785,
312,
420,
13,
961,
7,
14382,
34758,
6,
34,
10354,
352,
5512,
3715,
28,
15,
11,
686,
72,
28,
305,
72,
11,
17465,
62,
4906,
2625,
46130,
23,
4943,
198,
4798,
7,
9060,
17,
67,
62,
34,
15,
13,
43358,
11,
2939,
17,
67,
62,
34,
16,
13,
43358,
8,
198,
4798,
10786,
40809,
4906,
706,
11315,
1141,
3555,
1058,
46083,
2939,
17,
67,
62,
34,
15,
13,
67,
4906,
11,
2939,
17,
67,
62,
34,
16,
13,
67,
4906,
8,
198,
198,
2,
13610,
734,
850,
489,
1747,
290,
555,
8002,
262,
5072,
7177,
3393,
198,
69,
11,
357,
897,
16,
11,
7877,
17,
8,
796,
458,
83,
13,
7266,
489,
1747,
7,
16,
11,
362,
8,
198,
897,
16,
13,
320,
12860,
7,
9060,
17,
67,
62,
34,
15,
11,
39555,
341,
11639,
710,
12423,
3256,
269,
8899,
11639,
49,
5379,
62,
81,
11537,
198,
897,
17,
13,
320,
12860,
7,
9060,
17,
67,
62,
34,
16,
11,
39555,
341,
11639,
710,
12423,
3256,
269,
8899,
11639,
38,
5681,
62,
81,
11537,
198,
489,
83,
13,
12860,
3419,
198,
198,
2,
3650,
20150,
2641,
16492,
292,
1366,
14535,
198,
76,
7568,
796,
24785,
2213,
86,
13,
9132,
17,
7890,
14535,
7,
9132,
8,
198,
4798,
7,
76,
7568,
8,
198
] | 2.129436 | 1,916 |
"""Helper functions for generating panoramics."""
import logging
import os
from contextlib import redirect_stderr
from glob import glob
from shutil import copyfile
import cv2
import numpy as np
import psutil
from tqdm import tqdm
logger = logging.getLogger(__name__)
def prepare_directories_for_stitching_in_rows(input_dir):
"""Prepare images for stitching by row.
Iterates over all images in the input directory, when it sees a black 'stop' image,
the end of the row is signalled, so all the previous images are added
to a numbered directory, corresponding to that row.
Args:
input_dir (str): input directory of images
Returns: Nothing. Indexes a side effect.
"""
image_files = sorted(glob(f"{input_dir}/*JPG"))
directory_number = 0
images_in_one_row = []
debug_logs = []
for img_name in tqdm(image_files):
image_pixel_mean = int(np.mean(cv2.imread(img_name)))
# if we see a black 'end of row' image, copy all previous images to a new numbered directory.
if image_pixel_mean < 10:
debug_logs.append((img_name, round(image_pixel_mean, 2)))
new_dir = f"{input_dir}/row_{str(directory_number).zfill(2)}"
create_dir_if_needed(new_dir)
for img_in_row in images_in_one_row:
copyfile(img_in_row, f'{new_dir}/{img_in_row.split("/")[-1]}')
images_in_one_row = []
directory_number += 1
else:
images_in_one_row.append(img_name)
logger.debug(debug_logs)
def stitch_images(image_list):
"""Stitch a list of images together.
And try to supress OpenCV/MPL std err output...
Args:
image_list (list)
Returns:
np.ndarray: stitched image
"""
# stitch modes: cv2.Stitcher_PANORAMA, cv2.Stitcher_SCANS
stitcher = cv2.Stitcher.create(cv2.Stitcher_SCANS)
with redirect_stderr("") as _:
_, stitched = stitcher.stitch(image_list)
return stitched
def create_dir_if_needed(dir_name, delete=False):
"""Create directory if needed.
Args:
dir_name (str)
delete (bool): whether to delete all the files in the directory or not
"""
if not os.path.isdir(dir_name):
logger.debug(f"Creating dir: {dir_name}")
os.mkdir(dir_name)
else:
if delete:
[os.remove(os.path.join(dir_name, f)) for f in os.listdir(dir_name)]
def get_memory_usage():
"""Returns memory usage of current process in MB. Used for logging.
Returns:
float: Memory usage of current process in MB.
"""
pid = os.getpid()
return round(psutil.Process(pid).memory_info().rss / 1e6, 2)
def crop_border(img, border_x, border_y):
"""Crop the border of an image. Due to peripheral blurring.
Args:
img (np.ndarray): input image
border_x (int): number of pixels to crop on each side of x border
border_y (int): number of pixels to crop on each side of y border
Returns:
np.ndarray - cropped image
"""
return img[border_y:-border_y, border_x:-border_x, :]
def sort_jpg_files_in_dir_alpha(in_dir):
"""Alphabetically sort all the jpg files in a directory and return as a list."""
return sorted(glob(in_dir + "/*JPG"))
| [
37811,
47429,
5499,
329,
15453,
3425,
273,
321,
873,
526,
15931,
198,
11748,
18931,
198,
11748,
28686,
198,
6738,
4732,
8019,
1330,
18941,
62,
301,
1082,
81,
198,
6738,
15095,
1330,
15095,
198,
6738,
4423,
346,
1330,
4866,
7753,
198,
198,
11748,
269,
85,
17,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
26692,
22602,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
4299,
8335,
62,
12942,
1749,
62,
1640,
62,
301,
19811,
62,
259,
62,
8516,
7,
15414,
62,
15908,
2599,
198,
220,
220,
220,
37227,
37534,
533,
4263,
329,
48945,
416,
5752,
13,
628,
220,
220,
220,
40806,
689,
625,
477,
4263,
287,
262,
5128,
8619,
11,
618,
340,
7224,
257,
2042,
705,
11338,
6,
2939,
11,
198,
220,
220,
220,
262,
886,
286,
262,
5752,
318,
1051,
4262,
11,
523,
477,
262,
2180,
4263,
389,
2087,
198,
220,
220,
220,
284,
257,
25840,
8619,
11,
11188,
284,
326,
5752,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
15908,
357,
2536,
2599,
5128,
8619,
286,
4263,
198,
220,
220,
220,
16409,
25,
10528,
13,
12901,
274,
257,
1735,
1245,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2939,
62,
16624,
796,
23243,
7,
4743,
672,
7,
69,
1,
90,
15414,
62,
15908,
92,
15211,
41,
6968,
48774,
628,
220,
220,
220,
8619,
62,
17618,
796,
657,
198,
220,
220,
220,
4263,
62,
259,
62,
505,
62,
808,
796,
17635,
198,
220,
220,
220,
14257,
62,
6404,
82,
796,
17635,
198,
220,
220,
220,
329,
33705,
62,
3672,
287,
256,
80,
36020,
7,
9060,
62,
16624,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
32515,
62,
32604,
796,
493,
7,
37659,
13,
32604,
7,
33967,
17,
13,
320,
961,
7,
9600,
62,
3672,
22305,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
356,
766,
257,
2042,
705,
437,
286,
5752,
6,
2939,
11,
4866,
477,
2180,
4263,
284,
257,
649,
25840,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2939,
62,
32515,
62,
32604,
1279,
838,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14257,
62,
6404,
82,
13,
33295,
19510,
9600,
62,
3672,
11,
2835,
7,
9060,
62,
32515,
62,
32604,
11,
362,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
15908,
796,
277,
1,
90,
15414,
62,
15908,
92,
14,
808,
23330,
2536,
7,
34945,
62,
17618,
737,
89,
20797,
7,
17,
8,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15908,
62,
361,
62,
27938,
7,
3605,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
33705,
62,
259,
62,
808,
287,
4263,
62,
259,
62,
505,
62,
808,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4866,
7753,
7,
9600,
62,
259,
62,
808,
11,
277,
6,
90,
3605,
62,
15908,
92,
14,
90,
9600,
62,
259,
62,
808,
13,
35312,
7203,
14,
4943,
58,
12,
16,
48999,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4263,
62,
259,
62,
505,
62,
808,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8619,
62,
17618,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4263,
62,
259,
62,
505,
62,
808,
13,
33295,
7,
9600,
62,
3672,
8,
198,
220,
220,
220,
49706,
13,
24442,
7,
24442,
62,
6404,
82,
8,
628,
198,
4299,
24695,
62,
17566,
7,
9060,
62,
4868,
2599,
198,
220,
220,
220,
37227,
1273,
2007,
257,
1351,
286,
4263,
1978,
13,
628,
220,
220,
220,
843,
1949,
284,
7418,
601,
4946,
33538,
14,
44,
6489,
14367,
11454,
5072,
986,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
4868,
357,
4868,
8,
198,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
358,
18747,
25,
336,
10981,
2939,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
220,
24695,
12881,
25,
269,
85,
17,
13,
1273,
23640,
62,
47,
1565,
1581,
25087,
11,
269,
85,
17,
13,
1273,
23640,
62,
6173,
15037,
198,
220,
220,
220,
336,
23640,
796,
269,
85,
17,
13,
1273,
23640,
13,
17953,
7,
33967,
17,
13,
1273,
23640,
62,
6173,
15037,
8,
198,
220,
220,
220,
351,
18941,
62,
301,
1082,
81,
7203,
4943,
355,
4808,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
336,
10981,
796,
336,
23640,
13,
301,
2007,
7,
9060,
62,
4868,
8,
198,
220,
220,
220,
1441,
336,
10981,
628,
198,
4299,
2251,
62,
15908,
62,
361,
62,
27938,
7,
15908,
62,
3672,
11,
12233,
28,
25101,
2599,
198,
220,
220,
220,
37227,
16447,
8619,
611,
2622,
13,
198,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
26672,
62,
3672,
357,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12233,
357,
30388,
2599,
1771,
284,
12233,
477,
262,
3696,
287,
262,
8619,
393,
407,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
15908,
62,
3672,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7,
69,
1,
32071,
26672,
25,
1391,
15908,
62,
3672,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28015,
15908,
7,
15908,
62,
3672,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
12233,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
418,
13,
28956,
7,
418,
13,
6978,
13,
22179,
7,
15908,
62,
3672,
11,
277,
4008,
329,
277,
287,
28686,
13,
4868,
15908,
7,
15908,
62,
3672,
15437,
628,
198,
4299,
651,
62,
31673,
62,
26060,
33529,
198,
220,
220,
220,
37227,
35561,
4088,
8748,
286,
1459,
1429,
287,
10771,
13,
16718,
329,
18931,
13,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
12178,
25,
14059,
8748,
286,
1459,
1429,
287,
10771,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
46514,
796,
28686,
13,
1136,
35317,
3419,
198,
220,
220,
220,
1441,
2835,
7,
862,
22602,
13,
18709,
7,
35317,
737,
31673,
62,
10951,
22446,
42216,
1220,
352,
68,
21,
11,
362,
8,
628,
198,
4299,
13833,
62,
20192,
7,
9600,
11,
4865,
62,
87,
11,
4865,
62,
88,
2599,
198,
220,
220,
220,
37227,
34,
1773,
262,
4865,
286,
281,
2939,
13,
14444,
284,
25514,
698,
14924,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
357,
37659,
13,
358,
18747,
2599,
5128,
2939,
198,
220,
220,
220,
220,
220,
220,
220,
4865,
62,
87,
357,
600,
2599,
1271,
286,
17848,
284,
13833,
319,
1123,
1735,
286,
2124,
4865,
198,
220,
220,
220,
220,
220,
220,
220,
4865,
62,
88,
357,
600,
2599,
1271,
286,
17848,
284,
13833,
319,
1123,
1735,
286,
331,
4865,
198,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
358,
18747,
532,
48998,
2939,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
33705,
58,
20192,
62,
88,
21912,
20192,
62,
88,
11,
4865,
62,
87,
21912,
20192,
62,
87,
11,
1058,
60,
628,
198,
4299,
3297,
62,
9479,
62,
16624,
62,
259,
62,
15908,
62,
26591,
7,
259,
62,
15908,
2599,
198,
220,
220,
220,
37227,
2348,
19557,
1146,
3297,
477,
262,
474,
6024,
3696,
287,
257,
8619,
290,
1441,
355,
257,
1351,
526,
15931,
198,
220,
220,
220,
1441,
23243,
7,
4743,
672,
7,
259,
62,
15908,
1343,
12813,
9,
41,
6968,
48774,
628,
198
] | 2.466415 | 1,325 |
import dataclasses
from typing import Any, ClassVar, List, Optional, Sequence, Tuple, Type, Union
from dbdaora.keys import FallbackKey
from dbdaora.query import BaseQuery, Query, QueryMany
from .repositories import HashData, HashEntity, HashRepository
@dataclasses.dataclass(init=False)
@dataclasses.dataclass(init=False)
| [
11748,
4818,
330,
28958,
198,
6738,
19720,
1330,
4377,
11,
5016,
19852,
11,
7343,
11,
32233,
11,
45835,
11,
309,
29291,
11,
5994,
11,
4479,
198,
198,
6738,
20613,
6814,
5799,
13,
13083,
1330,
7218,
1891,
9218,
198,
6738,
20613,
6814,
5799,
13,
22766,
1330,
7308,
20746,
11,
43301,
11,
43301,
7085,
198,
198,
6738,
764,
260,
1930,
270,
1749,
1330,
21059,
6601,
11,
21059,
32398,
11,
21059,
6207,
13264,
628,
198,
31,
19608,
330,
28958,
13,
19608,
330,
31172,
7,
15003,
28,
25101,
8,
628,
198,
31,
19608,
330,
28958,
13,
19608,
330,
31172,
7,
15003,
28,
25101,
8,
628
] | 3.257426 | 101 |
# -*- coding: utf-8 -*-
from collections import defaultdict
import numpy as np
from endochrone import Base, Transformer
from endochrone.stats.measures import arg_nearest
__author__ = "nickwood"
__copyright__ = "nickwood"
__license__ = "mit"
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
6738,
17268,
1330,
4277,
11600,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
886,
5374,
33171,
1330,
7308,
11,
3602,
16354,
198,
6738,
886,
5374,
33171,
13,
34242,
13,
47336,
1330,
1822,
62,
710,
12423,
198,
198,
834,
9800,
834,
796,
366,
17172,
3822,
1,
198,
834,
22163,
4766,
834,
796,
366,
17172,
3822,
1,
198,
834,
43085,
834,
796,
366,
2781,
1,
628,
198
] | 3.0625 | 80 |
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from matplotlib.patches import Circle
import numpy as np
import time
from rtd.simulator_files.planner.planner import get_env
from rtd.simulator_files.planner.planner import astar_planning
| [
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
2603,
29487,
8019,
13,
11227,
341,
355,
11034,
198,
6738,
2603,
29487,
8019,
13,
8071,
2052,
1330,
16291,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
640,
628,
198,
6738,
374,
8671,
13,
14323,
8927,
62,
16624,
13,
11578,
1008,
13,
11578,
1008,
1330,
651,
62,
24330,
198,
6738,
374,
8671,
13,
14323,
8927,
62,
16624,
13,
11578,
1008,
13,
11578,
1008,
1330,
6468,
283,
62,
11578,
768,
628,
198
] | 3.231707 | 82 |
import json
import os
import pickle
from typing import Dict
import bibtexparser
import typer
from functional import pseq
from rich.console import Console
from rebiber.bib2json import normalize_title
console = Console()
app = typer.Typer()
@app.command()
@app.command()
if __name__ == "__main__":
app()
| [
11748,
33918,
198,
11748,
28686,
198,
11748,
2298,
293,
198,
6738,
19720,
1330,
360,
713,
198,
198,
11748,
275,
571,
16886,
48610,
198,
11748,
1259,
525,
198,
6738,
10345,
1330,
15838,
80,
198,
6738,
5527,
13,
41947,
1330,
24371,
198,
198,
6738,
3405,
1856,
13,
65,
571,
17,
17752,
1330,
3487,
1096,
62,
7839,
198,
198,
41947,
796,
24371,
3419,
198,
198,
1324,
796,
1259,
525,
13,
25492,
525,
3419,
628,
628,
628,
198,
31,
1324,
13,
21812,
3419,
628,
198,
31,
1324,
13,
21812,
3419,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
598,
3419,
198
] | 3.047619 | 105 |
import pexpect
import sys
from figcli.test.cli.actions.delete import DeleteAction
from figcli.test.cli.actions.put import PutAction
from figcli.test.cli.config import *
from figcli.test.cli.figgy import FiggyTest
from figcli.test.cli.test_utils import TestUtils
from figcli.utils.utils import *
import time
| [
11748,
613,
87,
806,
198,
11748,
25064,
198,
198,
6738,
2336,
44506,
13,
9288,
13,
44506,
13,
4658,
13,
33678,
1330,
23520,
12502,
198,
6738,
2336,
44506,
13,
9288,
13,
44506,
13,
4658,
13,
1996,
1330,
5930,
12502,
198,
6738,
2336,
44506,
13,
9288,
13,
44506,
13,
11250,
1330,
1635,
198,
6738,
2336,
44506,
13,
9288,
13,
44506,
13,
5647,
1360,
1330,
12138,
1360,
14402,
198,
6738,
2336,
44506,
13,
9288,
13,
44506,
13,
9288,
62,
26791,
1330,
6208,
18274,
4487,
198,
6738,
2336,
44506,
13,
26791,
13,
26791,
1330,
1635,
198,
11748,
640,
628
] | 3.252632 | 95 |
"""<changes description>
Revision ID: 3483e421713d
Revises: 784a82cec07a
Create Date: 2017-12-27 12:29:26.302823
"""
from alembic import op
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '3483e421713d'
down_revision = '784a82cec07a'
branch_labels = None
depends_on = None
resource_tables = ['blueprints', 'plugins', 'secrets', 'snapshots', 'events',
'executions', 'logs', 'nodes', 'node_instances',
'deployments', 'deployment_modifications',
'deployment_updates', 'deployment_update_steps']
visibility_states = ['private', 'tenant', 'global']
DEFAULT_SYSTEM_ROLE_ID = 6
| [
37811,
27,
36653,
6764,
29,
198,
198,
18009,
1166,
4522,
25,
513,
38783,
68,
3682,
1558,
1485,
67,
198,
18009,
2696,
25,
767,
5705,
64,
6469,
344,
66,
2998,
64,
198,
16447,
7536,
25,
2177,
12,
1065,
12,
1983,
1105,
25,
1959,
25,
2075,
13,
1270,
2078,
1954,
198,
198,
37811,
198,
6738,
31341,
2022,
291,
1330,
1034,
198,
6738,
44161,
282,
26599,
13,
38969,
478,
82,
1330,
1281,
34239,
13976,
198,
198,
2,
18440,
42814,
11,
973,
416,
9300,
2022,
291,
13,
198,
260,
10178,
796,
705,
2682,
5999,
68,
3682,
1558,
1485,
67,
6,
198,
2902,
62,
260,
10178,
796,
705,
37688,
64,
6469,
344,
66,
2998,
64,
6,
198,
1671,
3702,
62,
23912,
1424,
796,
6045,
198,
10378,
2412,
62,
261,
796,
6045,
198,
198,
31092,
62,
83,
2977,
796,
37250,
17585,
17190,
3256,
705,
37390,
3256,
705,
2363,
8004,
3256,
705,
45380,
20910,
3256,
705,
31534,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
18558,
3508,
3256,
705,
6404,
82,
3256,
705,
77,
4147,
3256,
705,
17440,
62,
8625,
1817,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2934,
1420,
902,
3256,
705,
2934,
1420,
434,
62,
4666,
6637,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2934,
1420,
434,
62,
929,
19581,
3256,
705,
2934,
1420,
434,
62,
19119,
62,
20214,
20520,
198,
4703,
2247,
62,
27219,
796,
37250,
19734,
3256,
705,
1452,
415,
3256,
705,
20541,
20520,
198,
7206,
38865,
62,
23060,
25361,
62,
13252,
2538,
62,
2389,
796,
718,
628,
198
] | 2.372822 | 287 |
# coding=utf-8
from django.core import validators
from django.db import models
class MoneyField(models.BigIntegerField):
"""
Stores money to nearest penny as integer. e.g. £10.22 would be 1022
"""
| [
2,
19617,
28,
40477,
12,
23,
198,
6738,
42625,
14208,
13,
7295,
1330,
4938,
2024,
198,
6738,
42625,
14208,
13,
9945,
1330,
4981,
628,
198,
4871,
12911,
15878,
7,
27530,
13,
12804,
46541,
15878,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
41835,
1637,
284,
16936,
26369,
355,
18253,
13,
304,
13,
70,
13,
4248,
940,
13,
1828,
561,
307,
838,
1828,
198,
220,
220,
220,
37227,
198
] | 3.014286 | 70 |
import logging
import json
from invokust.aws_lambda import LambdaLoadTest, results_aggregator
logging.basicConfig(level=logging.INFO)
###
# SETTINGS
###
# How long should the test run for in minutes?
# Note that Lambda invokations that are started cannot be stopped.
# Test times will actually be run in intervals of 3 minutes.
test_time = 6
# How many concurrent users to test for?
# threads x 25 = num of concurrent users
threads = 20
# What test file are we using?
test_file = 'locust_test_mail_list.py'
if __name__ == "__main__":
lambda_runtime = f"{test_time}m" if test_time < 3 else "3m"
lambda_payload = {
'locustfile': test_file,
'host': 'https://forms-staging.cdssandbox.xyz',
'num_users': 25,
'spawn_rate': 5,
'run_time': lambda_runtime
}
load_test = LambdaLoadTest(
lambda_function_name='LoadTesting',
threads=threads,
ramp_time=0,
time_limit=test_time*60,
lambda_payload=lambda_payload
)
load_test.run()
print_stats_exit(load_test)
output_file = open("threads_output.json", "w")
thread_output = {"threads": load_test.get_locust_results() }
json.dump(thread_output, output_file)
output_file.close() | [
11748,
18931,
198,
11748,
33918,
198,
6738,
800,
482,
436,
13,
8356,
62,
50033,
1330,
21114,
6814,
8912,
14402,
11,
2482,
62,
9460,
2301,
1352,
198,
198,
6404,
2667,
13,
35487,
16934,
7,
5715,
28,
6404,
2667,
13,
10778,
8,
198,
198,
21017,
198,
2,
25823,
51,
20754,
198,
21017,
198,
198,
2,
1374,
890,
815,
262,
1332,
1057,
329,
287,
2431,
30,
198,
2,
5740,
326,
21114,
6814,
800,
482,
602,
326,
389,
2067,
2314,
307,
5025,
13,
198,
2,
6208,
1661,
481,
1682,
307,
1057,
287,
20016,
286,
513,
2431,
13,
198,
9288,
62,
2435,
796,
718,
198,
2,
1374,
867,
24580,
2985,
284,
1332,
329,
30,
198,
2,
14390,
2124,
1679,
796,
997,
286,
24580,
2985,
198,
16663,
82,
796,
1160,
198,
2,
1867,
1332,
2393,
389,
356,
1262,
30,
198,
9288,
62,
7753,
796,
705,
17946,
436,
62,
9288,
62,
4529,
62,
4868,
13,
9078,
6,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
628,
220,
220,
220,
37456,
62,
43282,
796,
277,
1,
90,
9288,
62,
2435,
92,
76,
1,
611,
1332,
62,
2435,
1279,
513,
2073,
366,
18,
76,
1,
628,
198,
220,
220,
220,
37456,
62,
15577,
2220,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
17946,
436,
7753,
10354,
1332,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4774,
10354,
705,
5450,
1378,
23914,
12,
301,
3039,
13,
10210,
824,
392,
3524,
13,
5431,
89,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22510,
62,
18417,
10354,
1679,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
48183,
62,
4873,
10354,
642,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5143,
62,
2435,
10354,
37456,
62,
43282,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
3440,
62,
9288,
796,
21114,
6814,
8912,
14402,
7,
198,
220,
220,
220,
37456,
62,
8818,
62,
3672,
11639,
8912,
44154,
3256,
198,
220,
220,
220,
14390,
28,
16663,
82,
11,
198,
220,
220,
220,
10454,
62,
2435,
28,
15,
11,
198,
220,
220,
220,
640,
62,
32374,
28,
9288,
62,
2435,
9,
1899,
11,
198,
220,
220,
220,
37456,
62,
15577,
2220,
28,
50033,
62,
15577,
2220,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
3440,
62,
9288,
13,
5143,
3419,
198,
220,
220,
220,
3601,
62,
34242,
62,
37023,
7,
2220,
62,
9288,
8,
628,
220,
220,
220,
5072,
62,
7753,
796,
1280,
7203,
16663,
82,
62,
22915,
13,
17752,
1600,
366,
86,
4943,
198,
220,
220,
220,
4704,
62,
22915,
796,
19779,
16663,
82,
1298,
3440,
62,
9288,
13,
1136,
62,
17946,
436,
62,
43420,
3419,
1782,
198,
220,
220,
220,
33918,
13,
39455,
7,
16663,
62,
22915,
11,
5072,
62,
7753,
8,
198,
220,
220,
220,
5072,
62,
7753,
13,
19836,
3419
] | 2.620985 | 467 |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
# Your FindElements object will be instantiated and called as such:
# obj = FindElements(root)
# param_1 = obj.find(target)
| [
2,
30396,
329,
257,
13934,
5509,
10139,
13,
198,
2,
1398,
12200,
19667,
25,
198,
2,
220,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
1188,
28,
15,
11,
1364,
28,
14202,
11,
826,
28,
14202,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2100,
796,
1188,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9464,
796,
1364,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3506,
796,
826,
198,
198,
2,
3406,
9938,
36,
3639,
2134,
481,
307,
9113,
12931,
290,
1444,
355,
884,
25,
198,
2,
26181,
796,
9938,
36,
3639,
7,
15763,
8,
198,
2,
5772,
62,
16,
796,
26181,
13,
19796,
7,
16793,
8,
198
] | 2.556452 | 124 |
import FWCore.ParameterSet.Config as cms
from DQMOffline.Trigger.JetMonitor_cfi import hltJetMETmonitoring
### HLT_PFJet Triggers ###
# HLT_PFJet450
PFJet450_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet450/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 112 ,
xmin = 0.,
xmax = 1120.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet450_v*"])
)
# HLT_PFJet40
PFJet40_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet40/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 50 ,
xmin = 0.,
xmax = 100.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet40_v*"])
)
# HLT_PFJet60
PFJet60_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet60/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 75 ,
xmin = 0.,
xmax = 150.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet60_v*"])
)
# HLT_PFJet80
PFJet80_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet80/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100,
xmin = 0.,
xmax = 200.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet80_v*"])
)
# HLT_PFJet140
PFJet140_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet140/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 70 ,
xmin = 0.,
xmax = 350.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet140_v*"])
)
# HLT_PFJet200
PFJet200_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet200/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 50 ,
xmin = 0.,
xmax = 500.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet200_v*"])
)
# HLT_PFJet260
PFJet260_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet260/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 65,
xmin = 0.,
xmax = 650.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet260_v*"])
)
# HLT_PFJet320
PFJet320_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet320/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 80 ,
xmin = 0.,
xmax = 800.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet320_v*"])
)
# HLT_PFJet400
PFJet400_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet400/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100 ,
xmin = 0.,
xmax = 1000.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet400_v*"])
)
# HLT_PFJet500
PFJet500_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/PF/HLT_PFJet500/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 125,
xmin = 0.,
xmax = 1250)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJet500_v*"])
)
### HLT_PFJetFwd Triggers ###
# HLT_PFJetFwd450
PFJetFwd450_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd450/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 112 ,
xmin = 0.,
xmax = 1120.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd450_v*"])
)
# HLT_PFJetFwd40
PFJetFwd40_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd40/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 50 ,
xmin = 0.,
xmax = 100.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd40_v*"])
)
# HLT_PFJetFwd60
PFJetFwd60_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd60/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 75 ,
xmin = 0.,
xmax = 150.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd60_v*"])
)
# HLT_PFJetFwd80
PFJetFwd80_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd80/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100,
xmin = 0.,
xmax = 200.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd80_v*"])
)
# HLT_PFJetFwd140
PFJetFwd140_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd140/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 70 ,
xmin = 0.,
xmax = 350.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd140_v*"])
)
# HLT_PFJetFwd200
PFJetFwd200_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd200/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 50 ,
xmin = 0.,
xmax = 500.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd200_v*"])
)
# HLT_PFJetFwd260
PFJetFwd260_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd260/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 65 ,
xmin = 0.,
xmax = 650.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd260_v*"])
)
# HLT_PFJetFwd320
PFJetFwd320_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd320/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 80 ,
xmin = 0.,
xmax = 800.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd320_v*"])
)
# HLT_PFJetFwd400
PFJetFwd400_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd400/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100 ,
xmin = 0.,
xmax = 1000.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd400_v*"])
)
# HLT_PFJetFwd500
PFJetFwd500_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4Fwd/PF/HLT_PFJetFwd500/',
histoPSet = dict(jetPtThrPSet = dict(
nbins = 125,
xmin = 0.,
xmax = 1250)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFJetFwd500_v*"])
)
### HLT_AK8 Triggers ###
# HLT_AK8PFJet40
AK8PFJet40_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet40/',
jetSrc = "ak8PFJetsPuppi",
histoPSet =dict(jetPtThrPSet = dict(
nbins = 50 ,
xmin = 0.,
xmax = 100.)),
ispfjettrg = True,
iscalojettrg = False,
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet40_v*"])
)
# HLT_AK8PFJet60
AK8PFJet60_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet60/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 75 ,
xmin = 0.,
xmax = 150.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet60_v*"])
)
# HLT_AK8PFJet80
AK8PFJet80_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet80/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100 ,
xmin = 0.,
xmax = 200.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet80_v*"])
)
# HLT_AK8PFJet140
AK8PFJet140_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet140/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 70 ,
xmin = 0.,
xmax = 350.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet140_v*"])
)
# HLT_AK8PFJet200
AK8PFJet200_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet200/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 50,
xmin = 0.,
xmax = 500.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet200_v*"])
)
# HLT_AK8PFJet260
AK8PFJet260_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet260/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 65 ,
xmin = 0.,
xmax = 650.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet260_v*"])
)
# HLT_AK8PFJet320
AK8PFJet320_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet320/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 80 ,
xmin = 0.,
xmax = 800.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet320_v*"])
)
# HLT_AK8PFJet400
AK8PFJet400_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet400/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100 ,
xmin = 0.,
xmax = 1000.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet400_v*"])
)
# HLT_AK8PFJet450
AK8PFJet450_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet450/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 112 ,
xmin = 0.,
xmax = 1120.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet450_v*"])
)
# HLT_AK8PFJet500
AK8PFJet500_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8/PF/HLT_AK8PFJet500/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 125,
xmin = 0.,
xmax = 1250)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet500_v*"])
)
### HLT_AK8Fwd Triggers ###
# HLT_AK8PFJetFwd40
AK8PFJetFwd40_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd40/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 50 ,
xmin = 0.,
xmax = 100.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd40_v*"])
)
# HLT_AK8PFJetFwd60
AK8PFJetFwd60_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd60/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 75 ,
xmin = 0.,
xmax = 150.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd60_v*"])
)
# HLT_AK8PFJetFwd80
AK8PFJetFwd80_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd80/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100 ,
xmin = 0.,
xmax = 200.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd80_v*"])
)
# HLT_AK8PFJetFwd140
AK8PFJetFwd140_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd140/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 70 ,
xmin = 0.,
xmax = 350.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd140_v*"])
)
# HLT_AK8PFJetFwd200
AK8PFJetFwd200_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd200/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 50 ,
xmin = 0.,
xmax = 500.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd200_v*"])
)
# HLT_AK8PFJetFwd260
AK8PFJetFwd260_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd260/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 65 ,
xmin = 0.,
xmax = 650.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd260_v*"])
)
# HLT_AK8PFJetFwd320
AK8PFJetFwd320_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd320/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 80 ,
xmin = 0.,
xmax = 800.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd320_v*"])
)
# HLT_AK8PFJetFwd400
AK8PFJetFwd400_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd400/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 100 ,
xmin = 0.,
xmax = 1000.)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd400_v*"])
)
# HLT_AK8PFJetFwd450
AK8PFJetFwd450_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd450/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 112 ,
xmin = 0.,
xmax = 1120.)),
numGenericTriggerEventPSet = dict(hltPaths =["HLT_AK8PFJetFwd450_v*"])
)
# HLT_AK8PFJetFwd500
AK8PFJetFwd500_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK8Fwd/PF/HLT_AK8PFJetFwd500/',
jetSrc = "ak8PFJetsPuppi",
ispfjettrg = True,
iscalojettrg = False,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 125,
xmin = 0.,
xmax = 1250)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJetFwd500_v*"])
)
# HLT_CaloJet500_NoJetID
CaloJet500_NoJetID_Prommonitoring = hltJetMETmonitoring.clone(
FolderName = 'HLT/JME/Jets/AK4/Calo/HLT_CaloJet500_NoJetID/',
jetSrc = "ak4CaloJets",
ispfjettrg = False,
iscalojettrg = True,
histoPSet = dict(jetPtThrPSet = dict(
nbins = 125,
xmin = 0.,
xmax = 1250)),
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_CaloJet500_NoJetID_v*"])
)
HLTJetmonitoring = cms.Sequence(
PFJet40_Prommonitoring
*PFJet60_Prommonitoring
*PFJet80_Prommonitoring
*PFJet140_Prommonitoring
*PFJet200_Prommonitoring
*PFJet260_Prommonitoring
*PFJet320_Prommonitoring
*PFJet400_Prommonitoring
*PFJet450_Prommonitoring
*PFJet500_Prommonitoring
*PFJetFwd40_Prommonitoring
*PFJetFwd60_Prommonitoring
*PFJetFwd80_Prommonitoring
*PFJetFwd140_Prommonitoring
*PFJetFwd200_Prommonitoring
*PFJetFwd260_Prommonitoring
*PFJetFwd320_Prommonitoring
*PFJetFwd400_Prommonitoring
*PFJetFwd450_Prommonitoring
*PFJetFwd500_Prommonitoring
*AK8PFJet450_Prommonitoring
*AK8PFJet40_Prommonitoring
*AK8PFJet60_Prommonitoring
*AK8PFJet80_Prommonitoring
*AK8PFJet140_Prommonitoring
*AK8PFJet200_Prommonitoring
*AK8PFJet260_Prommonitoring
*AK8PFJet320_Prommonitoring
*AK8PFJet400_Prommonitoring
*AK8PFJet500_Prommonitoring
*AK8PFJetFwd450_Prommonitoring
*AK8PFJetFwd40_Prommonitoring
*AK8PFJetFwd60_Prommonitoring
*AK8PFJetFwd80_Prommonitoring
*AK8PFJetFwd140_Prommonitoring
*AK8PFJetFwd200_Prommonitoring
*AK8PFJetFwd260_Prommonitoring
*AK8PFJetFwd320_Prommonitoring
*AK8PFJetFwd400_Prommonitoring
*AK8PFJetFwd500_Prommonitoring
*CaloJet500_NoJetID_Prommonitoring
)
| [
11748,
48849,
14055,
13,
36301,
7248,
13,
16934,
355,
269,
907,
198,
198,
6738,
360,
48,
44,
28657,
13,
48344,
13,
42273,
35479,
62,
66,
12463,
1330,
289,
2528,
42273,
47123,
41143,
278,
198,
198,
21017,
367,
27734,
62,
42668,
42273,
833,
328,
5355,
44386,
198,
2,
367,
27734,
62,
42668,
42273,
17885,
198,
42668,
42273,
17885,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
17885,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
13539,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
352,
10232,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
17885,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
1821,
198,
42668,
42273,
1821,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
1821,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
2026,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1802,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
1821,
62,
85,
9,
8973,
8,
198,
8,
198,
198,
2,
367,
27734,
62,
42668,
42273,
1899,
198,
42668,
42273,
1899,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
1899,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
5441,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
6640,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
1899,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
1795,
198,
42668,
42273,
1795,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
1795,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
1802,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
939,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
1795,
62,
85,
9,
8973,
8,
198,
8,
198,
198,
2,
367,
27734,
62,
42668,
42273,
15187,
198,
42668,
42273,
15187,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
15187,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
4317,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
13803,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
15187,
62,
85,
9,
8973,
8,
198,
8,
198,
198,
2,
367,
27734,
62,
42668,
42273,
2167,
198,
42668,
42273,
2167,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
2167,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
2026,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
5323,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
2167,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
21719,
198,
42668,
42273,
21719,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
21719,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
6135,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
22626,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
21719,
62,
85,
9,
8973,
8,
198,
198,
8,
198,
198,
2,
367,
27734,
62,
42668,
42273,
19504,
198,
42668,
42273,
19504,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
19504,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
4019,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
10460,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
19504,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
7029,
198,
42668,
42273,
7029,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
7029,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
1802,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
8576,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
7029,
62,
85,
9,
8973,
8,
198,
198,
8,
198,
198,
2,
367,
27734,
62,
42668,
42273,
4059,
198,
42668,
42273,
4059,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
4059,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
13151,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1105,
1120,
36911,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
4059,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
21017,
367,
27734,
62,
42668,
42273,
37,
16993,
833,
328,
5355,
44386,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
17885,
198,
42668,
42273,
37,
16993,
17885,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
17885,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
13539,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
352,
10232,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
17885,
62,
85,
9,
8973,
8,
198,
8,
198,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
1821,
198,
42668,
42273,
37,
16993,
1821,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
1821,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
2026,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1802,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
1821,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
1899,
198,
42668,
42273,
37,
16993,
1899,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
1899,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
5441,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
6640,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
1899,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
1795,
198,
42668,
42273,
37,
16993,
1795,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
1795,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
1802,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
939,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
1795,
62,
85,
9,
8973,
8,
198,
198,
8,
198,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
15187,
198,
42668,
42273,
37,
16993,
15187,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
15187,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
4317,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
13803,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
15187,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
2167,
198,
42668,
42273,
37,
16993,
2167,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
2167,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
2026,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
5323,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
2167,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
21719,
198,
42668,
42273,
37,
16993,
21719,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
21719,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
6135,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
22626,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
21719,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
19504,
198,
42668,
42273,
37,
16993,
19504,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
19504,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
4019,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
10460,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
19504,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
7029,
198,
42668,
42273,
37,
16993,
7029,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
7029,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
1802,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
8576,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
7029,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
42668,
42273,
37,
16993,
4059,
198,
42668,
42273,
37,
16993,
4059,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
37,
16993,
14,
42668,
14,
6581,
51,
62,
42668,
42273,
37,
16993,
4059,
14,
3256,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
13151,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1105,
1120,
36911,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
42668,
42273,
37,
16993,
4059,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
21017,
367,
27734,
62,
10206,
23,
833,
328,
5355,
44386,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
1821,
198,
10206,
23,
42668,
42273,
1821,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
1821,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
11600,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
2026,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1802,
2014,
828,
628,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
1821,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
1899,
198,
10206,
23,
42668,
42273,
1899,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
1899,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
5441,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
6640,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
1899,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
1795,
198,
10206,
23,
42668,
42273,
1795,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
1795,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
1802,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
939,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
1795,
62,
85,
9,
8973,
8,
198,
198,
8,
198,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
15187,
198,
10206,
23,
42668,
42273,
15187,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
15187,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
4317,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
13803,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
15187,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
2167,
198,
10206,
23,
42668,
42273,
2167,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
2167,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
2026,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
5323,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
2167,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
21719,
198,
10206,
23,
42668,
42273,
21719,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
21719,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
6135,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
22626,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
21719,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
19504,
198,
10206,
23,
42668,
42273,
19504,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
19504,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
4019,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
10460,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
19504,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
7029,
198,
10206,
23,
42668,
42273,
7029,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
7029,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
1802,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
8576,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
7029,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
17885,
198,
10206,
23,
42668,
42273,
17885,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
17885,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
13539,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
352,
10232,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
17885,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
4059,
198,
10206,
23,
42668,
42273,
4059,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
4059,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
13151,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1105,
1120,
36911,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
4059,
62,
85,
9,
8973,
8,
198,
198,
8,
198,
198,
21017,
367,
27734,
62,
10206,
23,
37,
16993,
833,
328,
5355,
44386,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
1821,
198,
10206,
23,
42668,
42273,
37,
16993,
1821,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
1821,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
2026,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1802,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
1821,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
1899,
198,
10206,
23,
42668,
42273,
37,
16993,
1899,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
1899,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
5441,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
6640,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
1899,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
1795,
198,
10206,
23,
42668,
42273,
37,
16993,
1795,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
1795,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
1802,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
939,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
1795,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
15187,
198,
10206,
23,
42668,
42273,
37,
16993,
15187,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
15187,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
4317,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
13803,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
15187,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
2167,
198,
10206,
23,
42668,
42273,
37,
16993,
2167,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
2167,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
2026,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
5323,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
2167,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
21719,
198,
10206,
23,
42668,
42273,
37,
16993,
21719,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
21719,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
6135,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
22626,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
21719,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
19504,
198,
10206,
23,
42668,
42273,
37,
16993,
19504,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
19504,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
4019,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
10460,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
19504,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
7029,
198,
10206,
23,
42668,
42273,
37,
16993,
7029,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
7029,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
1802,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
220,
8576,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
7029,
62,
85,
9,
8973,
8,
198,
8,
198,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
17885,
198,
10206,
23,
42668,
42273,
37,
16993,
17885,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
17885,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
220,
13539,
837,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
352,
10232,
2014,
828,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14692,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
17885,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
2,
367,
27734,
62,
10206,
23,
42668,
42273,
37,
16993,
4059,
198,
10206,
23,
42668,
42273,
37,
16993,
4059,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
23,
37,
16993,
14,
42668,
14,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
4059,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
23,
42668,
41,
1039,
47,
7211,
72,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
13151,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1105,
1120,
36911,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
10206,
23,
42668,
42273,
37,
16993,
4059,
62,
85,
9,
8973,
8,
198,
198,
8,
198,
198,
2,
367,
27734,
62,
34,
7335,
42273,
4059,
62,
2949,
42273,
2389,
198,
34,
7335,
42273,
4059,
62,
2949,
42273,
2389,
62,
24129,
41143,
278,
796,
289,
2528,
42273,
47123,
41143,
278,
13,
21018,
7,
198,
220,
220,
220,
48107,
5376,
796,
705,
6581,
51,
14,
41,
11682,
14,
41,
1039,
14,
10206,
19,
14,
34,
7335,
14,
6581,
51,
62,
34,
7335,
42273,
4059,
62,
2949,
42273,
2389,
14,
3256,
198,
220,
220,
220,
12644,
50,
6015,
796,
366,
461,
19,
34,
7335,
41,
1039,
1600,
198,
220,
220,
220,
318,
79,
69,
31173,
2213,
70,
796,
10352,
11,
198,
220,
220,
220,
318,
66,
7335,
31173,
2213,
70,
796,
6407,
11,
198,
220,
220,
220,
1554,
78,
3705,
316,
796,
8633,
7,
31173,
47,
83,
817,
81,
3705,
316,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
65,
1040,
796,
220,
13151,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
220,
796,
220,
220,
657,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9806,
220,
796,
1105,
1120,
36911,
198,
220,
220,
220,
997,
46189,
48344,
9237,
3705,
316,
796,
8633,
7,
71,
2528,
15235,
82,
796,
14631,
6581,
51,
62,
34,
7335,
42273,
4059,
62,
2949,
42273,
2389,
62,
85,
9,
8973,
8,
198,
8,
628,
198,
6581,
51,
42273,
41143,
278,
796,
269,
907,
13,
44015,
594,
7,
198,
220,
220,
220,
28223,
42273,
1821,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
1899,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
1795,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
15187,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
2167,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
21719,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
19504,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
7029,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
42668,
42273,
17885,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
42668,
42273,
4059,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
1821,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
1899,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
1795,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
15187,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
2167,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
21719,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
19504,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
7029,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
17885,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
42668,
42273,
37,
16993,
4059,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
17885,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
1821,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
1899,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
1795,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
15187,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
2167,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
21719,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
19504,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
7029,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
4059,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
17885,
62,
24129,
41143,
278,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
1821,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
1899,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
1795,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
15187,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
2167,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
21719,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
19504,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
7029,
62,
24129,
41143,
278,
220,
220,
220,
220,
198,
220,
220,
220,
1635,
10206,
23,
42668,
42273,
37,
16993,
4059,
62,
24129,
41143,
278,
220,
198,
220,
220,
220,
1635,
34,
7335,
42273,
4059,
62,
2949,
42273,
2389,
62,
24129,
41143,
278,
198,
8,
198
] | 1.837356 | 9,487 |
import exceRNApipeline.pipeline.__main__ as pipeline
from unittest import TestCase
import sys
import os
import shutil
_FILE_DIR = os.path.dirname(__file__)
_TEMP_DIR = os.path.join(_FILE_DIR, "_test_tmp") | [
11748,
43748,
27204,
79,
541,
4470,
13,
79,
541,
4470,
13,
834,
12417,
834,
355,
11523,
198,
6738,
555,
715,
395,
1330,
6208,
20448,
198,
11748,
25064,
198,
11748,
28686,
198,
11748,
4423,
346,
628,
198,
62,
25664,
62,
34720,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
8,
198,
62,
51,
39494,
62,
34720,
796,
28686,
13,
6978,
13,
22179,
28264,
25664,
62,
34720,
11,
45434,
9288,
62,
22065,
4943
] | 2.783784 | 74 |
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from gaiatest import GaiaTestCase
from gaiatest.tests.clock import clock_object
import time
| [
2,
770,
8090,
6127,
5178,
318,
2426,
284,
262,
2846,
286,
262,
29258,
5094,
198,
2,
13789,
11,
410,
13,
362,
13,
15,
13,
1002,
257,
4866,
286,
262,
4904,
43,
373,
407,
9387,
351,
428,
198,
2,
2393,
11,
921,
460,
7330,
530,
379,
2638,
1378,
5908,
16496,
13,
2398,
14,
44,
6489,
14,
17,
13,
15,
11757,
198,
198,
6738,
308,
1872,
265,
395,
1330,
37471,
14402,
20448,
198,
6738,
308,
1872,
265,
395,
13,
41989,
13,
15750,
1330,
8801,
62,
15252,
198,
11748,
640,
628
] | 3.329545 | 88 |
import re
import shlex
import subprocess
import sys
from typing import Any, Dict, List, Optional, Set, Tuple, Union, cast
import click
from click.utils import make_default_short_help
from neuro_sdk import ConfigError
from .root import Root
from .utils import NeuroClickMixin, Option
| [
11748,
302,
198,
11748,
427,
2588,
198,
11748,
850,
14681,
198,
11748,
25064,
198,
6738,
19720,
1330,
4377,
11,
360,
713,
11,
7343,
11,
32233,
11,
5345,
11,
309,
29291,
11,
4479,
11,
3350,
198,
198,
11748,
3904,
198,
6738,
3904,
13,
26791,
1330,
787,
62,
12286,
62,
19509,
62,
16794,
198,
198,
6738,
7669,
62,
21282,
74,
1330,
17056,
12331,
198,
198,
6738,
764,
15763,
1330,
20410,
198,
6738,
764,
26791,
1330,
13782,
8164,
35608,
259,
11,
16018,
628,
628,
628,
628,
628
] | 3.511905 | 84 |
import requests, socket
import barcode
from barcode.writer import ImageWriter
c128 = barcode.get_barcode_class('CODE128')
host_name = socket.gethostname()
host_ip = socket.gethostbyname(host_name)
url = 'http://{}:5000'.format(host_ip)
res = requests.get('{}/get_all_books'.format(url))
if res.status_code == 200:
books = res.json()['books']
for book in books:
code = c128(book['barcode_id'], writer=ImageWriter())
fullname = code.save('../../Books/{}'.format(book['name']))
| [
11748,
7007,
11,
17802,
198,
11748,
2318,
8189,
198,
6738,
2318,
8189,
13,
16002,
1330,
7412,
34379,
198,
198,
66,
12762,
796,
2318,
8189,
13,
1136,
62,
65,
5605,
1098,
62,
4871,
10786,
34,
16820,
12762,
11537,
198,
198,
4774,
62,
3672,
796,
17802,
13,
1136,
4774,
3672,
3419,
198,
4774,
62,
541,
796,
17802,
13,
1136,
4774,
1525,
3672,
7,
4774,
62,
3672,
8,
198,
6371,
796,
705,
4023,
1378,
90,
38362,
27641,
4458,
18982,
7,
4774,
62,
541,
8,
198,
411,
796,
7007,
13,
1136,
10786,
90,
92,
14,
1136,
62,
439,
62,
12106,
4458,
18982,
7,
6371,
4008,
198,
198,
361,
581,
13,
13376,
62,
8189,
6624,
939,
25,
198,
197,
12106,
796,
581,
13,
17752,
3419,
17816,
12106,
20520,
198,
197,
1640,
1492,
287,
3835,
25,
198,
197,
197,
8189,
796,
269,
12762,
7,
2070,
17816,
65,
5605,
1098,
62,
312,
6,
4357,
6260,
28,
5159,
34379,
28955,
198,
197,
197,
12853,
3672,
796,
2438,
13,
21928,
10786,
40720,
40720,
30650,
14,
90,
92,
4458,
18982,
7,
2070,
17816,
3672,
20520,
4008,
628,
628
] | 2.735955 | 178 |
from django.shortcuts import render
from rest_framework import viewsets
from rest_framework.filters import BaseFilterBackend
from rest_framework.decorators import action
from rest_framework.response import Response
from .models import Album
from .serializers import AlbumSerializer
from WeebFM.permissions import IsStaffOrReadOnly
| [
6738,
42625,
14208,
13,
19509,
23779,
1330,
8543,
198,
6738,
1334,
62,
30604,
1330,
5009,
1039,
198,
6738,
1334,
62,
30604,
13,
10379,
1010,
1330,
7308,
22417,
7282,
437,
198,
6738,
1334,
62,
30604,
13,
12501,
273,
2024,
1330,
2223,
198,
6738,
1334,
62,
30604,
13,
26209,
1330,
18261,
198,
6738,
764,
27530,
1330,
23999,
198,
6738,
764,
46911,
11341,
1330,
23999,
32634,
7509,
198,
6738,
775,
1765,
23264,
13,
525,
8481,
1330,
1148,
31449,
5574,
5569,
10049,
628
] | 4.202532 | 79 |
from .models import Image,Category,Location
from django.http import HttpResponse,Http404
from django.shortcuts import render
import datetime as dt
# Create your views here.
| [
6738,
764,
27530,
1330,
7412,
11,
27313,
11,
14749,
198,
6738,
42625,
14208,
13,
4023,
220,
1330,
367,
29281,
31077,
11,
43481,
26429,
198,
6738,
42625,
14208,
13,
19509,
23779,
1330,
8543,
198,
11748,
4818,
8079,
355,
288,
83,
198,
198,
2,
13610,
534,
5009,
994,
13,
628,
628,
220,
220,
220,
220
] | 3.433962 | 53 |
import unittest
import pysal
suite = unittest.TestLoader().loadTestsFromTestCase(Test_Components)
if __name__ == '__main__':
runner = unittest.TextTestRunner()
runner.run(suite)
| [
198,
11748,
555,
715,
395,
198,
11748,
279,
893,
282,
628,
198,
198,
2385,
578,
796,
555,
715,
395,
13,
14402,
17401,
22446,
2220,
51,
3558,
4863,
14402,
20448,
7,
14402,
62,
7293,
3906,
8,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
17490,
796,
555,
715,
395,
13,
8206,
14402,
49493,
3419,
198,
220,
220,
220,
17490,
13,
5143,
7,
2385,
578,
8,
198
] | 2.616438 | 73 |
#
# Explore
# - The Adventure Interpreter
#
# Copyright (C) 2006 Joe Peterson
#
import sys
import Explore
filename = None
no_delay = False
trs_compat = False
for arg_num in range(len(sys.argv)):
if sys.argv[arg_num] == "-f":
if len(sys.argv) > (arg_num + 1) and (len(sys.argv[arg_num + 1]) == 0 or sys.argv[arg_num + 1][0] != '-'):
filename = sys.argv[arg_num + 1]
else:
print >> sys.stderr, "Error: Missing adventure filename"
sys.exit(1)
elif sys.argv[arg_num] == "-q":
quiet = True
elif sys.argv[arg_num] == "-c":
if len(sys.argv) > (arg_num + 1) and (len(sys.argv[arg_num + 1]) == 0 or sys.argv[arg_num + 1][0] != '-'):
command = sys.argv[arg_num + 1]
elif sys.argv[arg_num] == "-r":
if len(sys.argv) > (arg_num + 1) and (len(sys.argv[arg_num + 1]) == 0 or sys.argv[arg_num + 1][0] != '-'):
resume = sys.argv[arg_num + 1]
elif sys.argv[arg_num] == "-s":
if len(sys.argv) > (arg_num + 1) and (len(sys.argv[arg_num + 1]) == 0 or sys.argv[arg_num + 1][0] != '-'):
last_suspend = sys.argv[arg_num + 1]
elif sys.argv[arg_num] == "--one-shot":
one_shot = True
elif sys.argv[arg_num] == "--no-title":
show_title = False
elif sys.argv[arg_num] == "--title-only":
show_title_only = True
elif sys.argv[arg_num] == "--no-delay":
no_delay = True
elif sys.argv[arg_num] == "--trs-compat":
trs_compat = True
Explore.play(filename, no_delay, trs_compat)
| [
2,
198,
2,
41401,
198,
2,
220,
220,
220,
532,
383,
9553,
4225,
3866,
353,
198,
2,
198,
2,
15069,
357,
34,
8,
4793,
220,
5689,
18914,
198,
2,
198,
198,
11748,
25064,
198,
198,
11748,
41401,
198,
198,
34345,
796,
6045,
198,
3919,
62,
40850,
796,
10352,
198,
2213,
82,
62,
5589,
265,
796,
10352,
198,
198,
1640,
1822,
62,
22510,
287,
2837,
7,
11925,
7,
17597,
13,
853,
85,
8,
2599,
198,
220,
220,
220,
611,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
27444,
69,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
1875,
357,
853,
62,
22510,
1343,
352,
8,
290,
357,
11925,
7,
17597,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
12962,
6624,
657,
393,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
7131,
15,
60,
14512,
705,
19355,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
9609,
25064,
13,
301,
1082,
81,
11,
366,
12331,
25,
25639,
8855,
29472,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
27444,
80,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
5897,
796,
6407,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
27444,
66,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
1875,
357,
853,
62,
22510,
1343,
352,
8,
290,
357,
11925,
7,
17597,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
12962,
6624,
657,
393,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
7131,
15,
60,
14512,
705,
19355,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3141,
796,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
60,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
27444,
81,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
1875,
357,
853,
62,
22510,
1343,
352,
8,
290,
357,
11925,
7,
17597,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
12962,
6624,
657,
393,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
7131,
15,
60,
14512,
705,
19355,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15294,
796,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
60,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
27444,
82,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
1875,
357,
853,
62,
22510,
1343,
352,
8,
290,
357,
11925,
7,
17597,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
12962,
6624,
657,
393,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
7131,
15,
60,
14512,
705,
19355,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
938,
62,
40409,
437,
796,
25064,
13,
853,
85,
58,
853,
62,
22510,
1343,
352,
60,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
366,
438,
505,
12,
9442,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
530,
62,
9442,
796,
6407,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
366,
438,
3919,
12,
7839,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
905,
62,
7839,
796,
10352,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
366,
438,
7839,
12,
8807,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
905,
62,
7839,
62,
8807,
796,
6407,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
366,
438,
3919,
12,
40850,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
645,
62,
40850,
796,
6407,
198,
220,
220,
220,
1288,
361,
25064,
13,
853,
85,
58,
853,
62,
22510,
60,
6624,
366,
438,
2213,
82,
12,
5589,
265,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
491,
82,
62,
5589,
265,
796,
6407,
198,
198,
35433,
13,
1759,
7,
34345,
11,
645,
62,
40850,
11,
491,
82,
62,
5589,
265,
8,
198
] | 2.010363 | 772 |
#!/usr/bin/python
import math
import json
import random
import rospy
from geometry_msgs.msg import PoseStamped
import tf2_ros
import tf2_geometry_msgs
from utils import *
if __name__ == '__main__':
local_goal_creator = LocalGoalCreator()
try:
local_goal_creator.process()
except rospy.ROSInterruptException:
pass
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
198,
11748,
10688,
198,
11748,
33918,
198,
11748,
4738,
198,
198,
11748,
686,
2777,
88,
198,
6738,
22939,
62,
907,
14542,
13,
19662,
1330,
37557,
1273,
13322,
198,
11748,
48700,
17,
62,
4951,
198,
11748,
48700,
17,
62,
469,
15748,
62,
907,
14542,
198,
198,
6738,
3384,
4487,
1330,
1635,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1957,
62,
35231,
62,
45382,
796,
10714,
49045,
16719,
273,
3419,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1957,
62,
35231,
62,
45382,
13,
14681,
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.621212 | 132 |
# https://codeforces.com/problemset/problem/281/A
capital_Input = input("")
compare_List = list(capital_Input)
a = compare_List[0].upper()
print(a+capital_Input[1:])
| [
2,
3740,
1378,
19815,
891,
273,
728,
13,
785,
14,
1676,
22143,
316,
14,
45573,
14,
30368,
14,
32,
198,
27544,
62,
20560,
796,
5128,
7203,
4943,
198,
5589,
533,
62,
8053,
796,
1351,
7,
27544,
62,
20560,
8,
198,
64,
796,
8996,
62,
8053,
58,
15,
4083,
45828,
3419,
198,
4798,
7,
64,
10,
27544,
62,
20560,
58,
16,
25,
12962,
198
] | 2.634921 | 63 |
# coding: utf-8
# Distributed under the terms of the MIT License.
""" This submodule implements some common workflow steps for use in
more complicated workflows.
"""
import copy
import logging
__all__ = ("castep_prerelax", "castep_scf")
LOG = logging.getLogger("run3")
def castep_scf(
computer,
calc_doc,
seed,
elec_energy_tol=None,
write_checkpoint="ALL",
required_keys=None,
forbidden_keys=None,
):
""" Run a singleshot SCF calculation.
Parameters:
computer (:obj:`matador.compute.ComputeTask`): the object that will be calling CASTEP.
calc_doc (dict): the structure to run on.
seed (str): root filename of structure.
Keyword arguments:
elec_energy_tol (float or str): keyword to pass to ``elec_energy_tol``.
write_checkpoint (bool or str): keyword to pass to CASTEP's ``write_checkpoint`` parameter. If
``True`` (``False``), CASTEP parameter set to ``ALL`` (``NONE``).
required_keys (:obj:`list` of :obj:`str`): list of keys required in calc doc to perform
the calculation.
forbidden_keys (:obj:`list` of :obj:`str`): list of keys to scrub from calc doc to perform
the calculation.
Returns:
bool: whether or not the SCF was successful.
"""
LOG.info("Performing singleshot CASTEP SCF...")
scf_doc = copy.deepcopy(calc_doc)
scf_doc["write_checkpoint"] = _parse_write_checkpoint(write_checkpoint)
scf_doc["task"] = "singlepoint"
if elec_energy_tol is not None:
scf_doc["elec_energy_tol"] = elec_energy_tol
required = []
forbidden = [
"spectral_task",
"spectral_kpoints_list",
"spectral_kpoints_path",
"spectral_kpoints_mp_spacing",
"spectral_kpoints_path_spacing",
]
computer.validate_calc_doc(scf_doc, required, forbidden)
return computer.run_castep_singleshot(scf_doc, seed, keep=True, intermediate=True)
def castep_prerelax(
computer,
calc_doc,
seed,
write_checkpoint="all",
required_keys=None,
forbidden_keys=None,
):
""" Run a self-consistent (i.e. restarted) geometry optimisation.
Optionally write a check file containing the final structure and density.
Parameters:
computer (:obj:`ComputeTask`): the object that will be calling CASTEP.
calc_doc (dict): the structure to run on.
seed (str): root filename of structure.
Keyword arguments:
write_checkpoint (bool or str): keyword to pass to CASTEP's ``write_checkpoint`` parameter. If
``True`` (``False``), CASTEP parameter set to ``ALL`` (``NONE``).
required_keys (:obj:`list` of :obj:`str`): list of keys required in calc doc to perform
the calculation.
forbidden_keys (:obj:`list` of :obj:`str`): list of keys to scrub from calc doc to perform
the calculation.
Returns:
bool: whether or not the relaxation was successful.
"""
LOG.info("Performing CASTEP pre-relax...")
relax_doc = copy.deepcopy(calc_doc)
relax_doc["write_checkpoint"] = _parse_write_checkpoint(write_checkpoint)
if "geom_max_iter" not in relax_doc:
relax_doc["geom_max_iter"] = 100
relax_doc["task"] = "geometryoptimisation"
computer.validate_calc_doc(relax_doc, required_keys, forbidden_keys)
computer.calc_doc = relax_doc
return computer.run_castep_relaxation(intermediate=True)
def _parse_write_checkpoint(write_checkpoint):
""" Returns the appropriate value of ``write_checkpoint``. """
if isinstance(write_checkpoint, bool):
if not write_checkpoint:
write_checkpoint = "NONE"
else:
write_checkpoint = "ALL"
if write_checkpoint.upper() not in ("NONE", "MINIMAL", "ALL", "BOTH", "FULL"):
LOG.warning(
f"Invalid value of `write_checkpoint` provided: {write_checkpoint}, using 'ALL'"
)
write_checkpoint = "ALL"
return write_checkpoint
| [
2,
19617,
25,
3384,
69,
12,
23,
198,
2,
4307,
6169,
739,
262,
2846,
286,
262,
17168,
13789,
13,
198,
198,
37811,
770,
850,
21412,
23986,
617,
2219,
30798,
4831,
329,
779,
287,
198,
3549,
8253,
670,
44041,
13,
198,
198,
37811,
198,
198,
11748,
4866,
198,
11748,
18931,
198,
198,
834,
439,
834,
796,
5855,
2701,
538,
62,
3866,
2411,
897,
1600,
366,
2701,
538,
62,
1416,
69,
4943,
198,
198,
25294,
796,
18931,
13,
1136,
11187,
1362,
7203,
5143,
18,
4943,
628,
198,
4299,
3350,
538,
62,
1416,
69,
7,
198,
220,
220,
220,
3644,
11,
198,
220,
220,
220,
42302,
62,
15390,
11,
198,
220,
220,
220,
9403,
11,
198,
220,
220,
220,
9766,
66,
62,
22554,
62,
83,
349,
28,
14202,
11,
198,
220,
220,
220,
3551,
62,
9122,
4122,
2625,
7036,
1600,
198,
220,
220,
220,
2672,
62,
13083,
28,
14202,
11,
198,
220,
220,
220,
19467,
62,
13083,
28,
14202,
11,
198,
2599,
198,
220,
220,
220,
37227,
5660,
257,
25287,
8940,
6374,
37,
17952,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3644,
357,
25,
26801,
25,
63,
6759,
7079,
13,
5589,
1133,
13,
7293,
1133,
25714,
63,
2599,
262,
2134,
326,
481,
307,
4585,
327,
11262,
8905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
42302,
62,
15390,
357,
11600,
2599,
262,
4645,
284,
1057,
319,
13,
198,
220,
220,
220,
220,
220,
220,
220,
9403,
357,
2536,
2599,
6808,
29472,
286,
4645,
13,
628,
220,
220,
220,
7383,
4775,
7159,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9766,
66,
62,
22554,
62,
83,
349,
357,
22468,
393,
965,
2599,
21179,
284,
1208,
284,
7559,
11129,
66,
62,
22554,
62,
83,
349,
15506,
13,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
62,
9122,
4122,
357,
30388,
393,
965,
2599,
21179,
284,
1208,
284,
327,
11262,
8905,
338,
7559,
13564,
62,
9122,
4122,
15506,
11507,
13,
1002,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
17821,
15506,
357,
15506,
25101,
15506,
828,
327,
11262,
8905,
11507,
900,
284,
7559,
7036,
15506,
357,
15506,
45,
11651,
15506,
737,
198,
220,
220,
220,
220,
220,
220,
220,
2672,
62,
13083,
357,
25,
26801,
25,
63,
4868,
63,
286,
1058,
26801,
25,
63,
2536,
63,
2599,
1351,
286,
8251,
2672,
287,
42302,
2205,
284,
1620,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
17952,
13,
198,
220,
220,
220,
220,
220,
220,
220,
19467,
62,
13083,
357,
25,
26801,
25,
63,
4868,
63,
286,
1058,
26801,
25,
63,
2536,
63,
2599,
1351,
286,
8251,
284,
27268,
422,
42302,
2205,
284,
1620,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
17952,
13,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
20512,
25,
1771,
393,
407,
262,
6374,
37,
373,
4388,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
41605,
13,
10951,
7203,
5990,
15464,
25287,
8940,
327,
11262,
8905,
6374,
37,
9313,
8,
198,
220,
220,
220,
629,
69,
62,
15390,
796,
4866,
13,
22089,
30073,
7,
9948,
66,
62,
15390,
8,
628,
220,
220,
220,
629,
69,
62,
15390,
14692,
13564,
62,
9122,
4122,
8973,
796,
4808,
29572,
62,
13564,
62,
9122,
4122,
7,
13564,
62,
9122,
4122,
8,
198,
220,
220,
220,
629,
69,
62,
15390,
14692,
35943,
8973,
796,
366,
29762,
4122,
1,
198,
220,
220,
220,
611,
9766,
66,
62,
22554,
62,
83,
349,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
629,
69,
62,
15390,
14692,
11129,
66,
62,
22554,
62,
83,
349,
8973,
796,
9766,
66,
62,
22554,
62,
83,
349,
628,
220,
220,
220,
2672,
796,
17635,
198,
220,
220,
220,
19467,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4443,
1373,
62,
35943,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4443,
1373,
62,
74,
13033,
62,
4868,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4443,
1373,
62,
74,
13033,
62,
6978,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4443,
1373,
62,
74,
13033,
62,
3149,
62,
2777,
4092,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4443,
1373,
62,
74,
13033,
62,
6978,
62,
2777,
4092,
1600,
198,
220,
220,
220,
2361,
628,
220,
220,
220,
3644,
13,
12102,
378,
62,
9948,
66,
62,
15390,
7,
1416,
69,
62,
15390,
11,
2672,
11,
19467,
8,
628,
220,
220,
220,
1441,
3644,
13,
5143,
62,
2701,
538,
62,
12215,
829,
8940,
7,
1416,
69,
62,
15390,
11,
9403,
11,
1394,
28,
17821,
11,
19898,
28,
17821,
8,
628,
198,
4299,
3350,
538,
62,
3866,
2411,
897,
7,
198,
220,
220,
220,
3644,
11,
198,
220,
220,
220,
42302,
62,
15390,
11,
198,
220,
220,
220,
9403,
11,
198,
220,
220,
220,
3551,
62,
9122,
4122,
2625,
439,
1600,
198,
220,
220,
220,
2672,
62,
13083,
28,
14202,
11,
198,
220,
220,
220,
19467,
62,
13083,
28,
14202,
11,
198,
2599,
198,
220,
220,
220,
37227,
5660,
257,
2116,
12,
5936,
7609,
357,
72,
13,
68,
13,
15765,
276,
8,
22939,
6436,
5612,
13,
198,
220,
220,
220,
16018,
453,
3551,
257,
2198,
2393,
7268,
262,
2457,
4645,
290,
12109,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3644,
357,
25,
26801,
25,
63,
7293,
1133,
25714,
63,
2599,
262,
2134,
326,
481,
307,
4585,
327,
11262,
8905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
42302,
62,
15390,
357,
11600,
2599,
262,
4645,
284,
1057,
319,
13,
198,
220,
220,
220,
220,
220,
220,
220,
9403,
357,
2536,
2599,
6808,
29472,
286,
4645,
13,
628,
220,
220,
220,
7383,
4775,
7159,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
62,
9122,
4122,
357,
30388,
393,
965,
2599,
21179,
284,
1208,
284,
327,
11262,
8905,
338,
7559,
13564,
62,
9122,
4122,
15506,
11507,
13,
1002,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
17821,
15506,
357,
15506,
25101,
15506,
828,
327,
11262,
8905,
11507,
900,
284,
7559,
7036,
15506,
357,
15506,
45,
11651,
15506,
737,
198,
220,
220,
220,
220,
220,
220,
220,
2672,
62,
13083,
357,
25,
26801,
25,
63,
4868,
63,
286,
1058,
26801,
25,
63,
2536,
63,
2599,
1351,
286,
8251,
2672,
287,
42302,
2205,
284,
1620,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
17952,
13,
198,
220,
220,
220,
220,
220,
220,
220,
19467,
62,
13083,
357,
25,
26801,
25,
63,
4868,
63,
286,
1058,
26801,
25,
63,
2536,
63,
2599,
1351,
286,
8251,
284,
27268,
422,
42302,
2205,
284,
1620,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
17952,
13,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
20512,
25,
1771,
393,
407,
262,
34205,
373,
4388,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
41605,
13,
10951,
7203,
5990,
15464,
327,
11262,
8905,
662,
12,
2411,
897,
9313,
8,
628,
220,
220,
220,
8960,
62,
15390,
796,
4866,
13,
22089,
30073,
7,
9948,
66,
62,
15390,
8,
628,
220,
220,
220,
8960,
62,
15390,
14692,
13564,
62,
9122,
4122,
8973,
796,
4808,
29572,
62,
13564,
62,
9122,
4122,
7,
13564,
62,
9122,
4122,
8,
198,
220,
220,
220,
611,
366,
469,
296,
62,
9806,
62,
2676,
1,
407,
287,
8960,
62,
15390,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8960,
62,
15390,
14692,
469,
296,
62,
9806,
62,
2676,
8973,
796,
1802,
198,
220,
220,
220,
8960,
62,
15390,
14692,
35943,
8973,
796,
366,
469,
15748,
40085,
5612,
1,
628,
220,
220,
220,
3644,
13,
12102,
378,
62,
9948,
66,
62,
15390,
7,
2411,
897,
62,
15390,
11,
2672,
62,
13083,
11,
19467,
62,
13083,
8,
198,
220,
220,
220,
3644,
13,
9948,
66,
62,
15390,
796,
8960,
62,
15390,
628,
220,
220,
220,
1441,
3644,
13,
5143,
62,
2701,
538,
62,
2411,
897,
341,
7,
3849,
13857,
28,
17821,
8,
628,
198,
4299,
4808,
29572,
62,
13564,
62,
9122,
4122,
7,
13564,
62,
9122,
4122,
2599,
198,
220,
220,
220,
37227,
16409,
262,
5035,
1988,
286,
7559,
13564,
62,
9122,
4122,
15506,
13,
37227,
198,
220,
220,
220,
611,
318,
39098,
7,
13564,
62,
9122,
4122,
11,
20512,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
3551,
62,
9122,
4122,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3551,
62,
9122,
4122,
796,
366,
45,
11651,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3551,
62,
9122,
4122,
796,
366,
7036,
1,
198,
220,
220,
220,
611,
3551,
62,
9122,
4122,
13,
45828,
3419,
407,
287,
5855,
45,
11651,
1600,
366,
23678,
3955,
1847,
1600,
366,
7036,
1600,
366,
33,
26946,
1600,
366,
37,
9994,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
13,
43917,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
44651,
1988,
286,
4600,
13564,
62,
9122,
4122,
63,
2810,
25,
1391,
13564,
62,
9122,
4122,
5512,
1262,
705,
7036,
29653,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
62,
9122,
4122,
796,
366,
7036,
1,
628,
220,
220,
220,
1441,
3551,
62,
9122,
4122,
198
] | 2.535193 | 1,577 |
from Regex_To_Dfa import *
#inp = "(01*1)*1"
print("\nProject 5 : Construction of an Dfa equivalent to a Regular Expression\nBy Patrick Lenis & Paul Cvasa")
print("Regular expression examples : xy, x+y, x*, (xy*y)*y\n")
inp = input("Your regular expression : ")
nfaObj = NFAfromRegex(inp)
nfa = nfaObj.getNFA()
print ("\nNFA: ")
nfaObj.displayNFA()
# dfaObj = DFAfromNFA(nfa)
# dfa = dfaObj.getDFA()
#print ("\nDFA: ")
#dfaObj.displayDFA()
| [
6738,
797,
25636,
62,
2514,
62,
35,
13331,
1330,
1635,
201,
198,
201,
198,
2,
259,
79,
796,
30629,
486,
9,
16,
27493,
16,
1,
201,
198,
4798,
7203,
59,
77,
16775,
642,
1058,
20395,
286,
281,
360,
13331,
7548,
284,
257,
23603,
41986,
59,
77,
3886,
9925,
12592,
271,
1222,
3362,
327,
11017,
64,
4943,
201,
198,
4798,
7203,
40164,
5408,
6096,
1058,
2124,
88,
11,
2124,
10,
88,
11,
2124,
25666,
357,
5431,
9,
88,
27493,
88,
59,
77,
4943,
201,
198,
259,
79,
796,
5128,
7203,
7120,
3218,
5408,
1058,
366,
8,
201,
198,
201,
198,
77,
13331,
49201,
796,
399,
7708,
6738,
3041,
25636,
7,
259,
79,
8,
201,
198,
77,
13331,
796,
299,
13331,
49201,
13,
1136,
45,
7708,
3419,
201,
198,
201,
198,
4798,
5855,
59,
77,
45,
7708,
25,
366,
8,
201,
198,
77,
13331,
49201,
13,
13812,
45,
7708,
3419,
201,
198,
201,
198,
2,
288,
13331,
49201,
796,
360,
7708,
6738,
45,
7708,
7,
77,
13331,
8,
201,
198,
2,
288,
13331,
796,
288,
13331,
49201,
13,
1136,
35,
7708,
3419,
201,
198,
201,
198,
2,
4798,
5855,
59,
77,
35,
7708,
25,
366,
8,
201,
198,
2,
7568,
64,
49201,
13,
13812,
35,
7708,
3419,
201,
198,
201,
198
] | 2.22488 | 209 |
"""
testgen.py: simple test for a sequence generator
"""
import unittest
#from gen123 import gen123
from class123 import gen123
if __name__ == "__main__":
unittest.main() | [
37811,
198,
9288,
5235,
13,
9078,
25,
2829,
1332,
329,
257,
8379,
17301,
198,
37811,
198,
198,
11748,
555,
715,
395,
198,
2,
6738,
2429,
10163,
1330,
2429,
10163,
198,
6738,
1398,
10163,
1330,
2429,
10163,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419
] | 2.787879 | 66 |
# -*- coding: utf-8 -*-
import scrapy
from scrapy.selector import Selector
from scrapy_selenium import SeleniumRequest
from selenium.webdriver.common.keys import Keys
import time
import datetime | [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
11748,
15881,
88,
198,
6738,
15881,
88,
13,
19738,
273,
1330,
9683,
273,
198,
6738,
15881,
88,
62,
741,
47477,
1330,
15300,
47477,
18453,
198,
6738,
384,
11925,
1505,
13,
12384,
26230,
13,
11321,
13,
13083,
1330,
26363,
198,
11748,
640,
198,
11748,
4818,
8079
] | 3.288136 | 59 |
from __future__ import division
from six.moves import range
from dials.array_family import flex
import math
from rstbx.symmetry.constraints.parameter_reduction \
import symmetrize_reduce_enlarge
from scitbx.matrix import sqr, col
from xfel.merging.algorithms.error_model.error_modeler_base import error_modeler_base
from xfel.merging.algorithms.error_model.sdfac_refine_lbfgs import finite_difference
from libtbx import group_args
"""
Classes to support propagating erros after postrefinement in cxi.merge
"""
# Bucket to hold refinable error terms
| [
6738,
11593,
37443,
834,
1330,
7297,
198,
6738,
2237,
13,
76,
5241,
1330,
2837,
198,
6738,
5980,
82,
13,
18747,
62,
17989,
1330,
7059,
198,
11748,
10688,
198,
6738,
374,
301,
65,
87,
13,
1837,
3020,
11973,
13,
1102,
2536,
6003,
13,
17143,
2357,
62,
445,
8110,
3467,
198,
220,
220,
220,
1330,
23606,
316,
380,
2736,
62,
445,
7234,
62,
268,
11664,
198,
6738,
629,
270,
65,
87,
13,
6759,
8609,
1330,
19862,
81,
11,
951,
198,
198,
6738,
2124,
69,
417,
13,
647,
2667,
13,
282,
7727,
907,
13,
18224,
62,
19849,
13,
18224,
62,
19849,
263,
62,
8692,
1330,
4049,
62,
19849,
263,
62,
8692,
198,
6738,
2124,
69,
417,
13,
647,
2667,
13,
282,
7727,
907,
13,
18224,
62,
19849,
13,
82,
7568,
330,
62,
5420,
500,
62,
75,
19881,
14542,
1330,
27454,
62,
26069,
1945,
198,
198,
6738,
9195,
83,
65,
87,
1330,
1448,
62,
22046,
198,
198,
37811,
198,
9487,
274,
284,
1104,
8928,
803,
1931,
4951,
706,
1281,
5420,
21828,
287,
269,
29992,
13,
647,
469,
198,
37811,
198,
198,
2,
48353,
284,
1745,
50170,
540,
4049,
2846,
198
] | 2.994624 | 186 |
import aredis
import asyncio
import uvloop
import time
import sys
from functools import wraps
from argparse import ArgumentParser
if sys.version_info[0] == 3:
long = int
@timer
@timer
@timer
@timer
@timer
@timer
@timer
@timer
@timer
if __name__ == '__main__':
print('WITH ASYNCIO ONLY:')
loop = asyncio.get_event_loop()
loop.run_until_complete(run())
print('WITH UVLOOP:')
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
loop = asyncio.get_event_loop()
loop.run_until_complete(run())
| [
11748,
389,
6381,
198,
11748,
30351,
952,
198,
11748,
334,
85,
26268,
198,
11748,
640,
198,
11748,
25064,
198,
6738,
1257,
310,
10141,
1330,
27521,
198,
6738,
1822,
29572,
1330,
45751,
46677,
198,
198,
361,
25064,
13,
9641,
62,
10951,
58,
15,
60,
6624,
513,
25,
198,
220,
220,
220,
890,
796,
493,
628,
628,
198,
198,
31,
45016,
628,
198,
31,
45016,
628,
198,
31,
45016,
628,
198,
31,
45016,
628,
198,
31,
45016,
628,
198,
31,
45016,
628,
198,
31,
45016,
628,
198,
31,
45016,
628,
198,
31,
45016,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3601,
10786,
54,
10554,
7054,
56,
7792,
9399,
22224,
25,
11537,
198,
220,
220,
220,
9052,
796,
30351,
952,
13,
1136,
62,
15596,
62,
26268,
3419,
198,
220,
220,
220,
9052,
13,
5143,
62,
28446,
62,
20751,
7,
5143,
28955,
198,
220,
220,
220,
3601,
10786,
54,
10554,
22033,
21982,
3185,
25,
11537,
198,
220,
220,
220,
30351,
952,
13,
2617,
62,
15596,
62,
26268,
62,
30586,
7,
14795,
26268,
13,
9237,
39516,
36727,
28955,
198,
220,
220,
220,
9052,
796,
30351,
952,
13,
1136,
62,
15596,
62,
26268,
3419,
198,
220,
220,
220,
9052,
13,
5143,
62,
28446,
62,
20751,
7,
5143,
28955,
198
] | 2.580189 | 212 |
from decimal import Decimal
import json
import os
from django.test.testcases import TestCase
from custom.ilsgateway.api import Product, ILSUser, SMSUser, Location, ProductStock, StockTransaction
| [
6738,
32465,
1330,
4280,
4402,
198,
11748,
33918,
198,
11748,
28686,
198,
6738,
42625,
14208,
13,
9288,
13,
9288,
33964,
1330,
6208,
20448,
198,
6738,
2183,
13,
4487,
10494,
1014,
13,
15042,
1330,
8721,
11,
314,
6561,
12982,
11,
29287,
12982,
11,
13397,
11,
8721,
26207,
11,
10500,
48720,
628,
198
] | 3.862745 | 51 |
import pickle
import os.path
import catlas
dir_path = os.path.dirname(os.path.realpath(__file__))
| [
11748,
2298,
293,
198,
11748,
28686,
13,
6978,
198,
11748,
3797,
21921,
198,
198,
15908,
62,
6978,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
5305,
6978,
7,
834,
7753,
834,
4008,
628
] | 2.702703 | 37 |
from portfolio import Operation
from tinvest import Operation as TinkoffOperation
| [
6738,
15320,
1330,
14680,
198,
6738,
19783,
4223,
1330,
14680,
355,
309,
676,
2364,
32180,
628
] | 5.1875 | 16 |
_base_ = [
'../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'
]
model = dict(
type='MJODNet',
pretrained='open-mmlab://regnetx_400mf',
backbone=dict(
type='RegNet',
arch='regnetx_400mf',
out_indices=(3, ),
frozen_stages=1,
norm_cfg=dict(type='BN', requires_grad=True),
norm_eval=True,
style='pytorch'),
neck=dict(
type='DepthwiseSeparableDilatedEncoder',
in_channels=384,
out_channels=512,
block_mid_channels=128,
num_residual_blocks=4,
block_dilations=[1, 2, 3, 4]),
bbox_head=dict(
type='MJODNetHead',
num_classes=34,
in_channels=512,
reg_decoded_bbox=True,
anchor_generator=dict(
type='AnchorGenerator',
ratios=[1.0],
scales=[1, 2, 4, 8, 16],
strides=[32]),
bbox_coder=dict(
type='DeltaXYWHBBoxCoder',
target_means=[.0, .0, .0, .0],
target_stds=[1., 1., 1., 1.],
add_ctr_clamp=True,
ctr_clamp=32),
loss_cls=dict(
type='FocalLoss',
use_sigmoid=True,
gamma=2.0,
alpha=0.25,
loss_weight=1.0),
loss_bbox=dict(type='GIoULoss', loss_weight=1.0)),
# training and testing settings
train_cfg=dict(
assigner=dict(
type='UniformAssigner', pos_ignore_thr=0.15, neg_ignore_thr=0.7),
allowed_border=-1,
pos_weight=-1,
debug=False),
test_cfg=dict(
nms_pre=1000,
min_bbox_size=0,
score_thr=0.05,
nms=dict(type='nms', iou_threshold=0.6),
max_per_img=100))
# dataset settings
dataset_type = 'CocoDataset'
data_root = 'data/coco_mahjong/'
# use caffe img_norm
img_norm_cfg = dict(
mean=[103.530, 116.280, 123.675], std=[1.0, 1.0, 1.0], to_rgb=False)
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True),
dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
dict(type='RandomFlip', flip_ratio=0.5),
dict(type='RandomShift', shift_ratio=0.5, max_shift_px=32),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
]
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img']),
])
]
data = dict(
samples_per_gpu=8,
workers_per_gpu=2,
train=dict(
type=dataset_type,
ann_file=data_root + 'annotations/instances_train2017.json',
img_prefix=data_root + 'train2017/',
pipeline=train_pipeline),
val=dict(
type=dataset_type,
ann_file=data_root + 'annotations/instances_val2017.json',
img_prefix=data_root + 'val2017/',
pipeline=test_pipeline),
test=dict(
type=dataset_type,
ann_file=data_root + 'annotations/instances_val2017.json',
img_prefix=data_root + 'val2017/',
pipeline=test_pipeline))
evaluation = dict(interval=1, metric='bbox')
optimizer = dict(type='SGD', lr=0.02, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=None)
# learning policy
lr_config = dict(
policy='step',
warmup='linear',
warmup_iters=500,
warmup_ratio=0.001,
step=[16, 22])
runner = dict(type='EpochBasedRunner', max_epochs=24)
| [
62,
8692,
62,
796,
685,
198,
220,
220,
220,
705,
40720,
62,
8692,
62,
14,
1416,
704,
5028,
14,
15952,
5950,
62,
16,
87,
13,
9078,
3256,
705,
40720,
62,
8692,
62,
14,
12286,
62,
43282,
13,
9078,
6,
198,
60,
198,
19849,
796,
8633,
7,
198,
220,
220,
220,
2099,
11639,
43421,
3727,
7934,
3256,
198,
220,
220,
220,
2181,
13363,
11639,
9654,
12,
3020,
23912,
1378,
2301,
3262,
87,
62,
7029,
76,
69,
3256,
198,
220,
220,
220,
32774,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
8081,
7934,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
3934,
11639,
2301,
3262,
87,
62,
7029,
76,
69,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
521,
1063,
16193,
18,
11,
10612,
198,
220,
220,
220,
220,
220,
220,
220,
12912,
62,
301,
1095,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2593,
62,
37581,
28,
11600,
7,
4906,
11639,
15766,
3256,
4433,
62,
9744,
28,
17821,
828,
198,
220,
220,
220,
220,
220,
220,
220,
2593,
62,
18206,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
3918,
11639,
9078,
13165,
354,
33809,
198,
220,
220,
220,
7393,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
48791,
3083,
19117,
283,
540,
35,
40080,
27195,
12342,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
287,
62,
354,
8961,
28,
22842,
11,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
354,
8961,
28,
25836,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2512,
62,
13602,
62,
354,
8961,
28,
12762,
11,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
411,
312,
723,
62,
27372,
28,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2512,
62,
67,
346,
602,
41888,
16,
11,
362,
11,
513,
11,
604,
46570,
198,
220,
220,
220,
275,
3524,
62,
2256,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
43421,
3727,
7934,
13847,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
37724,
28,
2682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
287,
62,
354,
8961,
28,
25836,
11,
198,
220,
220,
220,
220,
220,
220,
220,
842,
62,
12501,
9043,
62,
65,
3524,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
18021,
62,
8612,
1352,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
2025,
354,
273,
8645,
1352,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22423,
41888,
16,
13,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16252,
41888,
16,
11,
362,
11,
604,
11,
807,
11,
1467,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35002,
41888,
2624,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
66,
12342,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
42430,
34278,
12418,
33,
14253,
34,
12342,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
1326,
504,
41888,
13,
15,
11,
764,
15,
11,
764,
15,
11,
764,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
301,
9310,
41888,
16,
1539,
352,
1539,
352,
1539,
352,
13,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
751,
62,
24087,
62,
565,
696,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
2213,
62,
565,
696,
28,
2624,
828,
198,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
565,
82,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
37,
4374,
43,
793,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
779,
62,
82,
17225,
1868,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34236,
28,
17,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17130,
28,
15,
13,
1495,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
6551,
28,
16,
13,
15,
828,
198,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
65,
3524,
28,
11600,
7,
4906,
11639,
18878,
78,
6239,
793,
3256,
2994,
62,
6551,
28,
16,
13,
15,
36911,
198,
220,
220,
220,
1303,
3047,
290,
4856,
6460,
198,
220,
220,
220,
4512,
62,
37581,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
8333,
263,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
3118,
6933,
8021,
570,
263,
3256,
1426,
62,
46430,
62,
400,
81,
28,
15,
13,
1314,
11,
2469,
62,
46430,
62,
400,
81,
28,
15,
13,
22,
828,
198,
220,
220,
220,
220,
220,
220,
220,
3142,
62,
20192,
10779,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1426,
62,
6551,
10779,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
14257,
28,
25101,
828,
198,
220,
220,
220,
1332,
62,
37581,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
299,
907,
62,
3866,
28,
12825,
11,
198,
220,
220,
220,
220,
220,
220,
220,
949,
62,
65,
3524,
62,
7857,
28,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4776,
62,
400,
81,
28,
15,
13,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
299,
907,
28,
11600,
7,
4906,
11639,
77,
907,
3256,
1312,
280,
62,
400,
10126,
28,
15,
13,
21,
828,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
525,
62,
9600,
28,
3064,
4008,
198,
198,
2,
27039,
6460,
198,
19608,
292,
316,
62,
4906,
796,
705,
34,
25634,
27354,
292,
316,
6,
198,
7890,
62,
15763,
796,
705,
7890,
14,
66,
25634,
62,
76,
993,
32428,
14,
6,
198,
198,
2,
779,
21121,
33705,
62,
27237,
198,
9600,
62,
27237,
62,
37581,
796,
8633,
7,
198,
220,
220,
220,
1612,
41888,
15197,
13,
38612,
11,
18693,
13,
21033,
11,
17031,
13,
42444,
4357,
14367,
41888,
16,
13,
15,
11,
352,
13,
15,
11,
352,
13,
15,
4357,
284,
62,
81,
22296,
28,
25101,
8,
198,
27432,
62,
79,
541,
4470,
796,
685,
198,
220,
220,
220,
8633,
7,
4906,
11639,
8912,
5159,
4863,
8979,
33809,
198,
220,
220,
220,
8633,
7,
4906,
11639,
8912,
2025,
30078,
3256,
351,
62,
65,
3524,
28,
17821,
828,
198,
220,
220,
220,
8633,
7,
4906,
11639,
4965,
1096,
3256,
33705,
62,
9888,
16193,
1485,
2091,
11,
10460,
828,
1394,
62,
10366,
952,
28,
17821,
828,
198,
220,
220,
220,
8633,
7,
4906,
11639,
29531,
7414,
541,
3256,
14283,
62,
10366,
952,
28,
15,
13,
20,
828,
198,
220,
220,
220,
8633,
7,
4906,
11639,
29531,
33377,
3256,
6482,
62,
10366,
952,
28,
15,
13,
20,
11,
3509,
62,
30846,
62,
8416,
28,
2624,
828,
198,
220,
220,
220,
8633,
7,
4906,
11639,
26447,
1096,
3256,
12429,
9600,
62,
27237,
62,
37581,
828,
198,
220,
220,
220,
8633,
7,
4906,
11639,
26114,
3256,
2546,
62,
7146,
271,
273,
28,
2624,
828,
198,
220,
220,
220,
8633,
7,
4906,
11639,
19463,
26227,
33,
31249,
33809,
198,
220,
220,
220,
8633,
7,
4906,
11639,
31337,
3256,
8251,
28,
17816,
9600,
3256,
705,
13655,
62,
65,
29305,
3256,
705,
13655,
62,
23912,
1424,
6,
12962,
198,
60,
198,
9288,
62,
79,
541,
4470,
796,
685,
198,
220,
220,
220,
8633,
7,
4906,
11639,
8912,
5159,
4863,
8979,
33809,
198,
220,
220,
220,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2099,
11639,
29800,
29990,
7414,
541,
12512,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
9888,
16193,
1485,
2091,
11,
10460,
828,
198,
220,
220,
220,
220,
220,
220,
220,
14283,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
31408,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7,
4906,
11639,
4965,
1096,
3256,
1394,
62,
10366,
952,
28,
17821,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7,
4906,
11639,
29531,
7414,
541,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7,
4906,
11639,
26447,
1096,
3256,
12429,
9600,
62,
27237,
62,
37581,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7,
4906,
11639,
26114,
3256,
2546,
62,
7146,
271,
273,
28,
2624,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7,
4906,
11639,
5159,
2514,
51,
22854,
3256,
8251,
28,
17816,
9600,
20520,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7,
4906,
11639,
31337,
3256,
8251,
28,
17816,
9600,
20520,
828,
198,
220,
220,
220,
220,
220,
220,
220,
33761,
198,
60,
198,
198,
7890,
796,
8633,
7,
198,
220,
220,
220,
8405,
62,
525,
62,
46999,
28,
23,
11,
198,
220,
220,
220,
3259,
62,
525,
62,
46999,
28,
17,
11,
198,
220,
220,
220,
4512,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
19608,
292,
316,
62,
4906,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1529,
62,
7753,
28,
7890,
62,
15763,
1343,
705,
34574,
602,
14,
8625,
1817,
62,
27432,
5539,
13,
17752,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
40290,
28,
7890,
62,
15763,
1343,
705,
27432,
5539,
14,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
11523,
28,
27432,
62,
79,
541,
4470,
828,
198,
220,
220,
220,
1188,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
19608,
292,
316,
62,
4906,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1529,
62,
7753,
28,
7890,
62,
15763,
1343,
705,
34574,
602,
14,
8625,
1817,
62,
2100,
5539,
13,
17752,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
40290,
28,
7890,
62,
15763,
1343,
705,
2100,
5539,
14,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
11523,
28,
9288,
62,
79,
541,
4470,
828,
198,
220,
220,
220,
1332,
28,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
19608,
292,
316,
62,
4906,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1529,
62,
7753,
28,
7890,
62,
15763,
1343,
705,
34574,
602,
14,
8625,
1817,
62,
2100,
5539,
13,
17752,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
40290,
28,
7890,
62,
15763,
1343,
705,
2100,
5539,
14,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
11523,
28,
9288,
62,
79,
541,
4470,
4008,
198,
18206,
2288,
796,
8633,
7,
3849,
2100,
28,
16,
11,
18663,
11639,
65,
3524,
11537,
198,
198,
40085,
7509,
796,
8633,
7,
4906,
11639,
38475,
35,
3256,
300,
81,
28,
15,
13,
2999,
11,
12858,
28,
15,
13,
24,
11,
3463,
62,
12501,
323,
28,
15,
13,
18005,
8,
198,
40085,
7509,
62,
11250,
796,
8633,
7,
9744,
62,
15036,
28,
14202,
8,
198,
2,
4673,
2450,
198,
14050,
62,
11250,
796,
8633,
7,
198,
220,
220,
220,
2450,
11639,
9662,
3256,
198,
220,
220,
220,
5814,
929,
11639,
29127,
3256,
198,
220,
220,
220,
5814,
929,
62,
270,
364,
28,
4059,
11,
198,
220,
220,
220,
5814,
929,
62,
10366,
952,
28,
15,
13,
8298,
11,
198,
220,
220,
220,
2239,
41888,
1433,
11,
2534,
12962,
198,
16737,
796,
8633,
7,
4906,
11639,
13807,
5374,
15001,
49493,
3256,
3509,
62,
538,
5374,
82,
28,
1731,
8,
198
] | 1.968107 | 1,944 |
from types import GeneratorType
import httpx
import pytest
from fintoc.client import Client
| [
6738,
3858,
1330,
35986,
6030,
198,
198,
11748,
2638,
87,
198,
11748,
12972,
9288,
198,
198,
6738,
277,
600,
420,
13,
16366,
1330,
20985,
628,
198
] | 3.692308 | 26 |
# django imports
from django.contrib import admin
# app imports
from .models import Article, Author
admin.site.register(Article)
admin.site.register(Author)
| [
2,
42625,
14208,
17944,
198,
6738,
42625,
14208,
13,
3642,
822,
1330,
13169,
198,
198,
2,
598,
17944,
198,
6738,
764,
27530,
1330,
10172,
11,
6434,
628,
198,
28482,
13,
15654,
13,
30238,
7,
14906,
8,
198,
28482,
13,
15654,
13,
30238,
7,
13838,
8,
198
] | 3.478261 | 46 |
import torch
from torch.autograd import Variable
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import numpy as np
import random
# from configure import args
from load_data import find_node
# Hierarchical Memory Extractor 分层记忆抽取器
class HME(nn.Module):
'''
分层记忆抽取器:输入一个bag embedding,和分层关系,输出对应的标签
'''
| [
11748,
28034,
201,
198,
6738,
28034,
13,
2306,
519,
6335,
1330,
35748,
201,
198,
11748,
28034,
13,
20471,
355,
299,
77,
201,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
201,
198,
11748,
28034,
13,
40085,
355,
6436,
201,
198,
11748,
299,
32152,
355,
45941,
201,
198,
11748,
4738,
201,
198,
2,
422,
17425,
1330,
26498,
201,
198,
6738,
3440,
62,
7890,
1330,
1064,
62,
17440,
201,
198,
201,
198,
2,
36496,
998,
605,
14059,
29677,
273,
10263,
230,
228,
161,
109,
224,
164,
106,
108,
33232,
228,
162,
232,
121,
20998,
244,
161,
247,
101,
201,
198,
4871,
367,
11682,
7,
20471,
13,
26796,
2599,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
220,
220,
220,
10263,
230,
228,
161,
109,
224,
164,
106,
108,
33232,
228,
162,
232,
121,
20998,
244,
161,
247,
101,
171,
120,
248,
164,
122,
241,
17739,
98,
31660,
10310,
103,
21454,
11525,
12083,
171,
120,
234,
161,
240,
234,
26344,
228,
161,
109,
224,
17739,
111,
163,
111,
119,
171,
120,
234,
164,
122,
241,
49035,
118,
43380,
117,
41753,
242,
21410,
43718,
229,
163,
255,
122,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
201,
198,
201,
198,
201
] | 1.815534 | 206 |
from bs4 import BeautifulSoup
from urllib.request import urlopen
url = "https://coinmarketcap.com"
html = urlopen(url)
soup = BeautifulSoup(html, 'lxml')
| [
6738,
275,
82,
19,
1330,
23762,
50,
10486,
198,
6738,
2956,
297,
571,
13,
25927,
1330,
19016,
9654,
628,
198,
6371,
796,
366,
5450,
1378,
3630,
10728,
11128,
13,
785,
1,
198,
6494,
796,
19016,
9654,
7,
6371,
8,
198,
82,
10486,
796,
23762,
50,
10486,
7,
6494,
11,
705,
75,
19875,
11537,
628
] | 2.907407 | 54 |
import tkinter as tk
from tkinter import ttk
from copy import copy
| [
11748,
256,
74,
3849,
355,
256,
74,
198,
6738,
256,
74,
3849,
1330,
256,
30488,
198,
198,
6738,
4866,
1330,
4866,
628
] | 3.136364 | 22 |
from sklearn_pandas import DataFrameMapper
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import LabelBinarizer
from sklearn2pmml.decoration import Alias, CategoricalDomain, ContinuousDomain
from sklearn2pmml.preprocessing import ExpressionTransformer
import pandas
df = pandas.read_csv("audit.csv")
cat_columns = ["Education", "Employment", "Marital", "Occupation"]
cont_columns = ["Age", "Hours", "Income"]
X = df[cat_columns + cont_columns]
y = df["Adjusted"]
mapper = DataFrameMapper(
[([cat_column], [CategoricalDomain(), LabelBinarizer()]) for cat_column in cat_columns] +
[(cont_columns, ContinuousDomain())] +
[(["Income", "Hours"], Alias(ExpressionTransformer("X[0] / (X[1] * 52.0)"), "Hourly_Income", prefit = True))]
)
feature_eng_pipeline = Pipeline([
("mapper", mapper)
])
Xt = feature_eng_pipeline.fit_transform(X)
Xt = Xt.astype(float)
from sklearn2pmml import make_tpot_pmml_config
from tpot.config import classifier_config_dict
# Classes supported by TPOT
tpot_config = classifier_config_dict
# Union between classes supported by TPOT and SkLearn2PMML
tpot_pmml_config = make_tpot_pmml_config(tpot_config)
# Exclude ensemble model types
tpot_pmml_config = { key: value for key, value in tpot_pmml_config.items() if not (key.startswith("sklearn.ensemble.") or key.startswith("xgboost.")) }
# Exclude some more undesirable elementary model types
del tpot_pmml_config["sklearn.neighbors.KNeighborsClassifier"]
from tpot import TPOTClassifier
classifier = TPOTClassifier(generations = 7, population_size = 11, scoring = "roc_auc", config_dict = tpot_pmml_config, random_state = 13, verbosity = 2)
classifier.fit(Xt, y)
tpot_pipeline = classifier.fitted_pipeline_
from sklearn2pmml import make_pmml_pipeline, sklearn2pmml
# Combine fitted sub-pipelines to a fitted pipeline
pipeline = Pipeline(feature_eng_pipeline.steps + tpot_pipeline.steps)
pmml_pipeline = make_pmml_pipeline(pipeline, active_fields = X.columns.values, target_fields = [y.name])
#pmml_pipeline.verify(X.sample(50, random_state = 13, replace = False), precision = 1e-11, zeroThreshold = 1e-11)
sklearn2pmml(pmml_pipeline, "TPOTAudit.pmml", with_repr = True) | [
6738,
1341,
35720,
62,
79,
392,
292,
1330,
6060,
19778,
44,
11463,
198,
6738,
1341,
35720,
13,
79,
541,
4470,
1330,
37709,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
36052,
33,
22050,
7509,
198,
6738,
1341,
35720,
17,
79,
3020,
75,
13,
12501,
6944,
1330,
978,
4448,
11,
327,
2397,
12409,
43961,
11,
45012,
43961,
198,
6738,
1341,
35720,
17,
79,
3020,
75,
13,
3866,
36948,
1330,
41986,
8291,
16354,
198,
198,
11748,
19798,
292,
198,
198,
7568,
796,
19798,
292,
13,
961,
62,
40664,
7203,
3885,
270,
13,
40664,
4943,
198,
198,
9246,
62,
28665,
82,
796,
14631,
41183,
1600,
366,
29733,
434,
1600,
366,
7676,
1287,
1600,
366,
47658,
341,
8973,
198,
3642,
62,
28665,
82,
796,
14631,
23396,
1600,
366,
39792,
1600,
366,
818,
2958,
8973,
198,
198,
55,
796,
47764,
58,
9246,
62,
28665,
82,
1343,
542,
62,
28665,
82,
60,
198,
88,
796,
47764,
14692,
39668,
276,
8973,
198,
198,
76,
11463,
796,
6060,
19778,
44,
11463,
7,
198,
197,
58,
26933,
9246,
62,
28665,
4357,
685,
34,
2397,
12409,
43961,
22784,
36052,
33,
22050,
7509,
3419,
12962,
329,
3797,
62,
28665,
287,
3797,
62,
28665,
82,
60,
1343,
198,
197,
58,
7,
3642,
62,
28665,
82,
11,
45012,
43961,
3419,
15437,
1343,
198,
197,
58,
7,
14692,
818,
2958,
1600,
366,
39792,
33116,
978,
4448,
7,
16870,
2234,
8291,
16354,
7203,
55,
58,
15,
60,
1220,
357,
55,
58,
16,
60,
1635,
6740,
13,
15,
8,
12340,
366,
43223,
306,
62,
818,
2958,
1600,
7694,
270,
796,
6407,
4008,
60,
198,
8,
198,
198,
30053,
62,
1516,
62,
79,
541,
4470,
796,
37709,
26933,
198,
197,
7203,
76,
11463,
1600,
285,
11463,
8,
198,
12962,
198,
198,
55,
83,
796,
3895,
62,
1516,
62,
79,
541,
4470,
13,
11147,
62,
35636,
7,
55,
8,
198,
55,
83,
796,
1395,
83,
13,
459,
2981,
7,
22468,
8,
198,
198,
6738,
1341,
35720,
17,
79,
3020,
75,
1330,
787,
62,
83,
13059,
62,
79,
3020,
75,
62,
11250,
198,
6738,
256,
13059,
13,
11250,
1330,
1398,
7483,
62,
11250,
62,
11600,
198,
198,
2,
38884,
4855,
416,
24525,
2394,
198,
83,
13059,
62,
11250,
796,
1398,
7483,
62,
11250,
62,
11600,
198,
198,
2,
4479,
1022,
6097,
4855,
416,
24525,
2394,
290,
3661,
20238,
17,
5868,
5805,
198,
83,
13059,
62,
79,
3020,
75,
62,
11250,
796,
787,
62,
83,
13059,
62,
79,
3020,
75,
62,
11250,
7,
83,
13059,
62,
11250,
8,
198,
198,
2,
1475,
9152,
34549,
2746,
3858,
198,
83,
13059,
62,
79,
3020,
75,
62,
11250,
796,
1391,
1994,
25,
1988,
329,
1994,
11,
1988,
287,
256,
13059,
62,
79,
3020,
75,
62,
11250,
13,
23814,
3419,
611,
407,
357,
2539,
13,
9688,
2032,
342,
7203,
8135,
35720,
13,
1072,
11306,
19570,
393,
1994,
13,
9688,
2032,
342,
7203,
87,
70,
39521,
526,
4008,
1782,
198,
198,
2,
1475,
9152,
617,
517,
38117,
19823,
2746,
3858,
198,
12381,
256,
13059,
62,
79,
3020,
75,
62,
11250,
14692,
8135,
35720,
13,
710,
394,
32289,
13,
42,
46445,
32289,
9487,
7483,
8973,
198,
198,
6738,
256,
13059,
1330,
24525,
2394,
9487,
7483,
198,
198,
4871,
7483,
796,
24525,
2394,
9487,
7483,
7,
8612,
602,
796,
767,
11,
3265,
62,
7857,
796,
1367,
11,
9689,
796,
366,
12204,
62,
14272,
1600,
4566,
62,
11600,
796,
256,
13059,
62,
79,
3020,
75,
62,
11250,
11,
4738,
62,
5219,
796,
1511,
11,
15942,
16579,
796,
362,
8,
198,
4871,
7483,
13,
11147,
7,
55,
83,
11,
331,
8,
198,
198,
83,
13059,
62,
79,
541,
4470,
796,
1398,
7483,
13,
38631,
62,
79,
541,
4470,
62,
198,
198,
6738,
1341,
35720,
17,
79,
3020,
75,
1330,
787,
62,
79,
3020,
75,
62,
79,
541,
4470,
11,
1341,
35720,
17,
79,
3020,
75,
198,
198,
2,
29176,
18235,
850,
12,
79,
541,
20655,
284,
257,
18235,
11523,
198,
79,
541,
4470,
796,
37709,
7,
30053,
62,
1516,
62,
79,
541,
4470,
13,
20214,
1343,
256,
13059,
62,
79,
541,
4470,
13,
20214,
8,
198,
198,
79,
3020,
75,
62,
79,
541,
4470,
796,
787,
62,
79,
3020,
75,
62,
79,
541,
4470,
7,
79,
541,
4470,
11,
4075,
62,
25747,
796,
1395,
13,
28665,
82,
13,
27160,
11,
2496,
62,
25747,
796,
685,
88,
13,
3672,
12962,
198,
2,
79,
3020,
75,
62,
79,
541,
4470,
13,
332,
1958,
7,
55,
13,
39873,
7,
1120,
11,
4738,
62,
5219,
796,
1511,
11,
6330,
796,
10352,
828,
15440,
796,
352,
68,
12,
1157,
11,
6632,
817,
10126,
796,
352,
68,
12,
1157,
8,
198,
198,
8135,
35720,
17,
79,
3020,
75,
7,
79,
3020,
75,
62,
79,
541,
4470,
11,
366,
7250,
2394,
16353,
270,
13,
79,
3020,
75,
1600,
351,
62,
260,
1050,
796,
6407,
8
] | 2.761724 | 789 |
import sys
import subprocess
import pandas as pd
import os
from pathlib import Path
import time
import datetime
import ast
from configparser import ConfigParser
'''Reading the Config file from command line argument'''
parser = ConfigParser()
pd.set_option('display.max_columns', None)
config_file = sys.argv[1]
parser.read(config_file)
'''Printing the variables '''
data_path = parser.get('paths', 'data_path')
action_path = data_path + "/" + "action"
print("action_path is " + str(action_path))
apps_home_path = parser.get('paths', 'apps_home')
print("apps_home_path is " + str(apps_home_path))
'''Creating DF for apps to be tracked from config file'''
all_apps = parser.get('yarn_apps', 'appname')
list_apps = ast.literal_eval(all_apps)
# print("List of Apps are : " + str(list_apps))
df_apps = pd.DataFrame(list_apps, columns=['app_name', 'app_schedule', 'app_user', 'app_submit_file', 'app_type'])
print("df_apps are " + str(df_apps))
filename = sys.argv[2]
a_path = Path(action_path)
modTimeEpoc = os.path.getmtime(action_path + "/" + filename)
currTimeEpoc = ts = datetime.datetime.now().timestamp()
td = round(round(currTimeEpoc - modTimeEpoc) / 60)
if td <= 5:
print("Input config file is fresh ( " + str(td) + " minutes old ). Proceed to Action !!")
app_home = Path(apps_home_path)
a_path = Path(action_path)
print("changing to the action_path directory" )
os.chdir(a_path)
print("current directory is " + str(Path.cwd()))
with open(filename) as f:
Line = f.readline().strip('\n').split(' ')[1].replace('[', '').replace(']', '').split(', ')
grepstrng = '.+?(?=bin)'
for x in Line:
''' preparing the bash commands for yarn '''
print("Working on app name : " + x)
''' Finding the spark-submit file for current appname'''
app_submit_file = df_apps.loc[df_apps['app_name'] == x]['app_submit_file'].values[0]
print("app_submit_file for " + str(x) + "is :" + str(app_submit_file))
# yarn_cmd = ['find', app_home, '-type', 'f', '-name', '*.sh']
# grep_cmd_exe = ['xargs', 'grep', '-ril', str(x)]
echo_cmd = ['echo', app_submit_file]
grep_cmd_home = ['grep', '-oP', grepstrng]
o1 = subprocess.run(echo_cmd, stdout=subprocess.PIPE)
o2 = subprocess.run(grep_cmd_home, input=o1.stdout, stdout=subprocess.PIPE)
# o3 = subprocess.run(grep_cmd_home, input=o2.stdout, stdout=subprocess.PIPE)
# exe_file = str(o2.stdout).split("'")[1].strip('\\n')
# print("Spark-submit file for appname " + str(x) + " is " + str(exe_file))
exe_file_home = str(o2.stdout).split("'")[1].strip('\\n')
print("Home directory for appname " + str(x) + " is " + str(exe_file_home))
print("*******************************************************")
print("Running the Spark Submit script for App name : " + str(x))
print("*******************************************************")
os.chdir(exe_file_home)
subprocess.call(app_submit_file)
else:
print("Looks like input config is too old( " + str(td) + " minutes old ) Aborting action !!")
| [
11748,
25064,
198,
11748,
850,
14681,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
28686,
198,
6738,
3108,
8019,
1330,
10644,
198,
11748,
640,
198,
11748,
4818,
8079,
198,
11748,
6468,
198,
6738,
4566,
48610,
1330,
17056,
46677,
198,
198,
7061,
6,
36120,
262,
17056,
220,
2393,
422,
3141,
1627,
4578,
7061,
6,
198,
48610,
796,
17056,
46677,
3419,
198,
30094,
13,
2617,
62,
18076,
10786,
13812,
13,
9806,
62,
28665,
82,
3256,
6045,
8,
198,
11250,
62,
7753,
796,
25064,
13,
853,
85,
58,
16,
60,
198,
48610,
13,
961,
7,
11250,
62,
7753,
8,
198,
7061,
6,
18557,
278,
262,
9633,
705,
7061,
198,
198,
7890,
62,
6978,
796,
30751,
13,
1136,
10786,
6978,
82,
3256,
705,
7890,
62,
6978,
11537,
198,
2673,
62,
6978,
796,
1366,
62,
6978,
1343,
12813,
1,
1343,
366,
2673,
1,
198,
4798,
7203,
2673,
62,
6978,
318,
366,
1343,
965,
7,
2673,
62,
6978,
4008,
198,
18211,
62,
11195,
62,
6978,
796,
30751,
13,
1136,
10786,
6978,
82,
3256,
705,
18211,
62,
11195,
11537,
198,
4798,
7203,
18211,
62,
11195,
62,
6978,
318,
366,
1343,
965,
7,
18211,
62,
11195,
62,
6978,
4008,
198,
198,
7061,
6,
32071,
36323,
329,
6725,
284,
307,
18283,
422,
4566,
2393,
7061,
6,
198,
439,
62,
18211,
796,
30751,
13,
1136,
10786,
88,
1501,
62,
18211,
3256,
705,
1324,
3672,
11537,
198,
4868,
62,
18211,
796,
6468,
13,
18250,
1691,
62,
18206,
7,
439,
62,
18211,
8,
198,
2,
3601,
7203,
8053,
286,
27710,
389,
1058,
366,
1343,
965,
7,
4868,
62,
18211,
4008,
198,
7568,
62,
18211,
796,
279,
67,
13,
6601,
19778,
7,
4868,
62,
18211,
11,
15180,
28,
17816,
1324,
62,
3672,
3256,
705,
1324,
62,
15952,
5950,
3256,
705,
1324,
62,
7220,
3256,
705,
1324,
62,
46002,
62,
7753,
3256,
705,
1324,
62,
4906,
6,
12962,
198,
4798,
7203,
7568,
62,
18211,
389,
220,
366,
1343,
965,
7,
7568,
62,
18211,
4008,
198,
198,
34345,
796,
25064,
13,
853,
85,
58,
17,
60,
198,
64,
62,
6978,
796,
10644,
7,
2673,
62,
6978,
8,
198,
4666,
7575,
13807,
420,
796,
28686,
13,
6978,
13,
1136,
76,
2435,
7,
2673,
62,
6978,
1343,
12813,
1,
1343,
29472,
8,
198,
22019,
81,
7575,
13807,
420,
796,
40379,
796,
4818,
8079,
13,
19608,
8079,
13,
2197,
22446,
16514,
27823,
3419,
198,
8671,
796,
2835,
7,
744,
7,
22019,
81,
7575,
13807,
420,
532,
953,
7575,
13807,
420,
8,
1220,
3126,
8,
198,
198,
361,
41560,
19841,
642,
25,
198,
220,
220,
220,
3601,
7203,
20560,
4566,
2393,
318,
4713,
357,
366,
1343,
965,
7,
8671,
8,
1343,
366,
2431,
1468,
6739,
24889,
284,
7561,
5145,
2474,
8,
198,
220,
220,
220,
598,
62,
11195,
796,
10644,
7,
18211,
62,
11195,
62,
6978,
8,
198,
220,
220,
220,
257,
62,
6978,
796,
10644,
7,
2673,
62,
6978,
8,
198,
220,
220,
220,
3601,
7203,
22954,
284,
262,
2223,
62,
6978,
8619,
1,
1267,
198,
220,
220,
220,
28686,
13,
354,
15908,
7,
64,
62,
6978,
8,
198,
220,
220,
220,
3601,
7203,
14421,
8619,
318,
366,
1343,
965,
7,
15235,
13,
66,
16993,
3419,
4008,
198,
220,
220,
220,
351,
1280,
7,
34345,
8,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6910,
796,
277,
13,
961,
1370,
22446,
36311,
10786,
59,
77,
27691,
35312,
10786,
220,
220,
220,
705,
38381,
16,
4083,
33491,
10786,
58,
3256,
10148,
737,
33491,
10786,
60,
3256,
10148,
737,
35312,
7,
3256,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
42717,
2536,
782,
796,
45302,
10,
30,
7,
30,
28,
8800,
33047,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2124,
287,
6910,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
10629,
262,
27334,
9729,
329,
21181,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
28516,
319,
598,
1438,
1058,
366,
1343,
2124,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
27063,
262,
9009,
12,
46002,
2393,
329,
1459,
598,
3672,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
598,
62,
46002,
62,
7753,
796,
47764,
62,
18211,
13,
17946,
58,
7568,
62,
18211,
17816,
1324,
62,
3672,
20520,
6624,
2124,
7131,
6,
1324,
62,
46002,
62,
7753,
6,
4083,
27160,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1324,
62,
46002,
62,
7753,
329,
366,
1343,
965,
7,
87,
8,
1343,
366,
271,
1058,
1,
1343,
965,
7,
1324,
62,
46002,
62,
7753,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21181,
62,
28758,
796,
37250,
19796,
3256,
598,
62,
11195,
11,
705,
12,
4906,
3256,
705,
69,
3256,
705,
12,
3672,
3256,
705,
24620,
1477,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
42717,
62,
28758,
62,
13499,
796,
37250,
87,
22046,
3256,
705,
70,
7856,
3256,
705,
12,
22379,
3256,
965,
7,
87,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9809,
62,
28758,
796,
37250,
30328,
3256,
598,
62,
46002,
62,
7753,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42717,
62,
28758,
62,
11195,
796,
37250,
70,
7856,
3256,
705,
12,
78,
47,
3256,
42717,
2536,
782,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
16,
796,
850,
14681,
13,
5143,
7,
30328,
62,
28758,
11,
14367,
448,
28,
7266,
14681,
13,
47,
4061,
36,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
17,
796,
850,
14681,
13,
5143,
7,
70,
7856,
62,
28758,
62,
11195,
11,
5128,
28,
78,
16,
13,
19282,
448,
11,
14367,
448,
28,
7266,
14681,
13,
47,
4061,
36,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
267,
18,
796,
850,
14681,
13,
5143,
7,
70,
7856,
62,
28758,
62,
11195,
11,
5128,
28,
78,
17,
13,
19282,
448,
11,
14367,
448,
28,
7266,
14681,
13,
47,
4061,
36,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
409,
68,
62,
7753,
796,
965,
7,
78,
17,
13,
19282,
448,
737,
35312,
7203,
6,
4943,
58,
16,
4083,
36311,
10786,
6852,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
7203,
4561,
668,
12,
46002,
2393,
329,
598,
3672,
366,
1343,
965,
7,
87,
8,
1343,
366,
318,
366,
1343,
965,
7,
13499,
62,
7753,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
409,
68,
62,
7753,
62,
11195,
796,
965,
7,
78,
17,
13,
19282,
448,
737,
35312,
7203,
6,
4943,
58,
16,
4083,
36311,
10786,
6852,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
16060,
8619,
329,
598,
3672,
366,
1343,
965,
7,
87,
8,
1343,
366,
318,
366,
1343,
965,
7,
13499,
62,
7753,
62,
11195,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
17174,
8412,
2466,
8162,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
28768,
262,
17732,
39900,
4226,
329,
2034,
1438,
1058,
366,
1343,
965,
7,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
17174,
8412,
2466,
8162,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
354,
15908,
7,
13499,
62,
7753,
62,
11195,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
14681,
13,
13345,
7,
1324,
62,
46002,
62,
7753,
8,
198,
17772,
25,
198,
220,
220,
220,
3601,
7203,
41102,
588,
5128,
4566,
318,
1165,
1468,
7,
366,
1343,
965,
7,
8671,
8,
1343,
366,
2431,
1468,
1267,
220,
2275,
24707,
2223,
5145,
2474,
8,
198
] | 2.426958 | 1,328 |
from cube2common.constants import weapon_types
from spyd.registry_manager import register
from spyd.utils.constrain import constrain_range
@register('room_player_event_handler')
| [
6738,
23441,
17,
11321,
13,
9979,
1187,
1330,
4282,
62,
19199,
198,
6738,
599,
5173,
13,
2301,
4592,
62,
37153,
1330,
7881,
198,
6738,
599,
5173,
13,
26791,
13,
1102,
2536,
391,
1330,
1500,
3201,
62,
9521,
628,
198,
31,
30238,
10786,
3823,
62,
7829,
62,
15596,
62,
30281,
11537,
198
] | 3.529412 | 51 |
from pymodbus.interfaces import IModbusFramer
import struct
# Unit ID, Function Code
BYTE_ORDER = '>'
FRAME_HEADER = 'BB'
# Transaction Id, Protocol ID, Length, Unit ID, Function Code
SOCKET_FRAME_HEADER = BYTE_ORDER + 'HHH' + FRAME_HEADER
# Function Code
TLS_FRAME_HEADER = BYTE_ORDER + 'B'
class ModbusFramer(IModbusFramer):
"""
Base Framer class
"""
def _validate_unit_id(self, units, single):
"""
Validates if the received data is valid for the client
:param units: list of unit id for which the transaction is valid
:param single: Set to true to treat this as a single context
:return: """
if single:
return True
else:
if 0 in units or 0xFF in units:
# Handle Modbus TCP unit identifier (0x00 0r 0xFF)
# in asynchronous requests
return True
return self._header['uid'] in units
def sendPacket(self, message):
"""
Sends packets on the bus with 3.5char delay between frames
:param message: Message to be sent over the bus
:return:
"""
return self.client.send(message)
def recvPacket(self, size):
"""
Receives packet from the bus with specified len
:param size: Number of bytes to read
:return:
"""
return self.client.recv(size)
| [
6738,
12972,
4666,
10885,
13,
3849,
32186,
1330,
314,
5841,
10885,
21055,
263,
198,
11748,
2878,
198,
198,
2,
11801,
4522,
11,
15553,
6127,
198,
17513,
9328,
62,
12532,
1137,
796,
705,
29,
6,
198,
10913,
10067,
62,
37682,
1137,
796,
705,
15199,
6,
198,
198,
2,
45389,
5121,
11,
20497,
4522,
11,
22313,
11,
11801,
4522,
11,
15553,
6127,
198,
50,
11290,
2767,
62,
10913,
10067,
62,
37682,
1137,
796,
11050,
9328,
62,
12532,
1137,
1343,
705,
16768,
39,
6,
1343,
8782,
10067,
62,
37682,
1137,
198,
198,
2,
15553,
6127,
198,
51,
6561,
62,
10913,
10067,
62,
37682,
1137,
796,
11050,
9328,
62,
12532,
1137,
1343,
705,
33,
6,
198,
198,
4871,
3401,
10885,
21055,
263,
7,
3955,
375,
10885,
21055,
263,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7308,
15183,
263,
1398,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
4808,
12102,
378,
62,
20850,
62,
312,
7,
944,
11,
4991,
11,
2060,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3254,
37051,
611,
262,
2722,
1366,
318,
4938,
329,
262,
5456,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
4991,
25,
1351,
286,
4326,
4686,
329,
543,
262,
8611,
318,
4938,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2060,
25,
5345,
284,
2081,
284,
2190,
428,
355,
257,
2060,
4732,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2060,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
657,
287,
4991,
393,
657,
87,
5777,
287,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33141,
3401,
10885,
23633,
4326,
27421,
357,
15,
87,
405,
657,
81,
657,
87,
5777,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
287,
39354,
7007,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
25677,
17816,
27112,
20520,
287,
4991,
628,
220,
220,
220,
825,
3758,
47,
8317,
7,
944,
11,
3275,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
311,
2412,
24624,
319,
262,
1323,
351,
513,
13,
20,
10641,
5711,
1022,
13431,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
3275,
25,
16000,
284,
307,
1908,
625,
262,
1323,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
16366,
13,
21280,
7,
20500,
8,
628,
220,
220,
220,
825,
664,
47322,
8317,
7,
944,
11,
2546,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19520,
1083,
19638,
422,
262,
1323,
351,
7368,
18896,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2546,
25,
7913,
286,
9881,
284,
1100,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
16366,
13,
8344,
85,
7,
7857,
8,
198
] | 2.347245 | 599 |
# -*- coding:utf-8 -*-
# !/usr/bin/env python3
"""
download tie from Baidu Tieba
"""
import http.client
import os
import re
import urllib.error
import urllib.parse
import urllib.request
from minghu6.http.request import headers
from color import color
from minghu6.text.encoding import get_decode_html
# 处理页面标签类
# 百度贴吧爬虫类
if __name__ == '__main__':
cli()
| [
2,
532,
9,
12,
19617,
25,
40477,
12,
23,
532,
9,
12,
201,
198,
2,
5145,
14,
14629,
14,
8800,
14,
24330,
21015,
18,
201,
198,
201,
198,
37811,
201,
198,
15002,
9839,
422,
347,
1698,
84,
36286,
7012,
201,
198,
37811,
201,
198,
201,
198,
11748,
2638,
13,
16366,
201,
198,
11748,
28686,
201,
198,
11748,
302,
201,
198,
11748,
2956,
297,
571,
13,
18224,
201,
198,
11748,
2956,
297,
571,
13,
29572,
201,
198,
11748,
2956,
297,
571,
13,
25927,
201,
198,
201,
198,
6738,
42434,
13415,
21,
13,
4023,
13,
25927,
1330,
24697,
201,
198,
6738,
3124,
1330,
3124,
201,
198,
6738,
42434,
13415,
21,
13,
5239,
13,
12685,
7656,
1330,
651,
62,
12501,
1098,
62,
6494,
201,
198,
201,
198,
2,
36469,
226,
49426,
228,
165,
94,
113,
165,
251,
95,
43718,
229,
163,
255,
122,
163,
109,
119,
201,
198,
201,
198,
201,
198,
2,
13328,
247,
122,
41753,
99,
164,
112,
112,
28938,
100,
163,
230,
105,
164,
247,
104,
163,
109,
119,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
220,
220,
220,
537,
72,
3419,
201,
198
] | 1.98995 | 199 |
from __future__ import print_function
# Standard Library Imports
from typing import List, Iterator, NamedTuple, NoReturn
from functools import partial
from copy import deepcopy
import binascii
import argparse
import pickle
import json
import abc
import re
# Package imports
from kodi_addon_dev.repo import LocalRepo
from kodi_addon_dev.support import logger
from kodi_addon_dev.utils import ensure_native_str, urlparse, real_input
import xbmcgui
try:
from shutil import get_terminal_size
except ImportError:
# noinspection PyUnresolvedReferences
from backports.shutil_get_terminal_size import get_terminal_size
# The Processed Listitem Named tuple, Make listitems easier to work with
Listitem = NamedTuple("Listitem", (("count", int), ("isfolder", bool), ("size_of_name", int), ("item", dict)))
__all__ = ["BaseDisplay", "CMDisplay"]
class BaseDisplay(object):
"""Base Class to for Displaying Kodi Listitems."""
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
@abc.abstractmethod
@abc.abstractmethod
# noinspection PyTypeChecker
def _formatter(self, text):
"""Convert kodi formating into real text"""
text = ensure_native_str(text)
# Search & replace localization strings
text = re.sub(r"\$LOCALIZE\[(\d+)\]", self._localize, text)
text = re.sub(r"\$ADDON\[(\S+?)\s(\d+)\]", self._localize_addon, text)
text = re.sub(r"\[COLOR\s\w+\](.+?)\[/COLOR\]", partial(self.formatter, "COLOR"), text)
# Common formatting
for common in ("I", "B", "UPPERCASE", "LOWERCASE", "CAPITALIZE", "LIGHT"):
text = re.sub(r"\[{0}\](.+?)\[/{0}\]".format(common), partial(self.formatter, common), text)
return text.replace("[CR]", "\n")
@staticmethod
def formatter(name, match):
"""
Convert a kodi formating.
:param str name: The name of the formatting e.g. UPPERCASE, B, COLOR
:param match: A re.Match object with the matching text located at group(1), group(0) for the full text.
:returns: The formatted string
:rtype: str
"""
# Strip out formating and reutrn text untouched
if name in ("B", "I", "LIGHT", "COLOR"):
return match.group(1)
elif name == "UPPERCASE":
return match.group(1).upper()
elif name == "LOWERCASE":
return match.group(1).lower()
elif name == "CAPITALIZE":
return match.group(1).capitalize()
else:
return match.group(0)
def _localize(self, match):
"""$LOCALIZE[12345] - for specifying a localized string."""
string_id = int(match.group(1))
text = match.group(0)
return self.__localize(text, string_id, "resource.language.en_gb")
def _localize_addon(self, match):
"""$ADDON[script.music.foobar 12345] - for specifying a string provided by an addon."""
text = match.group(0)
addon_id = match.group(1)
string_id = int(match.group(2))
return self.__localize(text, string_id, addon_id)
def __localize(self, text, string_id, addon_id): # type: (str, int, str) -> str
"""Return the localized string if available else leave string untouched"""
strings = self.cached.request_addon(addon_id).strings
return strings[string_id] if string_id in strings else text
@staticmethod
class CMDisplay(BaseDisplay):
"""Display manager that will display kodi listitem in a basic non tty terminal window."""
def input(self, msg): # type: (str) -> str
"""Ask for user input."""
try:
return real_input(msg)
except KeyboardInterrupt:
return ""
@staticmethod
def notify(*msg, **kwargs):
"""
Notify the user with givin message.
If skip is set to True then the user will be asked if they want to continue, returning True if so.
Else False will be returned.
"""
skip = kwargs.get("skip", True)
print(*msg)
if skip:
try:
real_input("Press enter to continue, or Ctrl+C to Quit:")
except KeyboardInterrupt:
return False
else:
print()
return True
else:
return False
def show(self, items, current_path): # type: (List[Listitem], str) -> Listitem
"""Show a list of all the avilable listitems and allow user to make there selection."""
# Process all listitems into a Tuple of [count, isfolder, len label, listitem]
lines = self._detailed_view(items) if self.settings.detailed else self._compact_view(items)
lines = lines if self.settings.no_crop else map(self._line_limiter, lines)
terminal_width = self._terminal_width
# Construct the full list of line to display
output = ["=" * terminal_width, current_path, "=" * terminal_width]
output.extend(lines)
output.append("=" * terminal_width)
print("\n".join(output))
# Return the full list of listitems
return self._user_choice(items)
@staticmethod
def _compact_view(items): # type: (List[Listitem]) -> Iterator[str]
"""Display listitems in a compact view, one line per listitem."""
# Calculate the max length of required lines
title_len = max(item.size_of_name for item in items)
num_len = len(str(len(items)))
title_len += num_len + 4
# Create a line output for each listitem entry
for count, isfolder, _, item in items:
# Folder/Video icon, + for Folder, - for Video
label = ("{}. + {}" if isfolder else "{}. - {}").format(str(count).rjust(num_len), item.pop("label"))
yield "{} Listitem({})".format(label.ljust(title_len), item)
def _detailed_view(self, items): # type: (List[Listitem]) -> Iterator[str]
"""Display listitems in a detailed view, each component of a listitem will be on it's own line."""
terminal_width = self._terminal_width
# Create a line output for each component of a listitem
for count, _, size_of_name, item in items:
# Show the title in it's own area
yield "{}. {}".format(count, item.pop("label"))
yield "#" * terminal_width
# Show all the rest of the listitem
for key, value in item.items():
if isinstance(value, dict):
yield ("{}:".format(key.title())).ljust(size_of_name)
for name, sub in value.items():
yield "- {}{}".format(name.ljust(size_of_name), sub)
else:
yield "{}{}".format(key.title().ljust(size_of_name), value)
yield ""
@staticmethod
def _user_choice(items): # type: (List[Listitem]) -> Listitem
"""Ask user to select an item, returning selection as an integer."""
while True:
try:
# Ask user for selection, Returning None if user entered nothing
choice = real_input("Choose an item: ")
except KeyboardInterrupt:
break
if choice:
try:
# Convert choice to an integer
choice = int(choice)
except ValueError:
print("You entered a non-numerical value, Plean enter a numerical value or leave black to exit.")
else:
try:
return items[choice]
except IndexError:
print("Choise is out of range, Please choose from above list.")
else:
break
@property
def _terminal_width(self):
"""Ensures a line minimum of 80."""
return max(get_terminal_size((300, 25)).columns, 80)
def _line_limiter(self, line): # type: (str) -> str
"""Limit the length of a output line to fit within the terminal window."""
terminal_width = self._terminal_width
return "%s..." % (line[:terminal_width-3]) if len(line) > terminal_width else line
| [
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
2,
8997,
10074,
1846,
3742,
198,
6738,
19720,
1330,
7343,
11,
40806,
1352,
11,
34441,
51,
29291,
11,
1400,
13615,
198,
6738,
1257,
310,
10141,
1330,
13027,
198,
6738,
4866,
1330,
2769,
30073,
198,
11748,
9874,
292,
979,
72,
198,
11748,
1822,
29572,
198,
11748,
2298,
293,
198,
11748,
33918,
198,
11748,
450,
66,
198,
11748,
302,
198,
198,
2,
15717,
17944,
198,
6738,
479,
23130,
62,
48078,
62,
7959,
13,
260,
7501,
1330,
10714,
6207,
78,
198,
6738,
479,
23130,
62,
48078,
62,
7959,
13,
11284,
1330,
49706,
198,
6738,
479,
23130,
62,
48078,
62,
7959,
13,
26791,
1330,
4155,
62,
30191,
62,
2536,
11,
19016,
29572,
11,
1103,
62,
15414,
198,
11748,
2124,
20475,
66,
48317,
198,
198,
28311,
25,
198,
220,
220,
220,
422,
4423,
346,
1330,
651,
62,
23705,
282,
62,
7857,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
1303,
645,
1040,
14978,
9485,
3118,
411,
5634,
19927,
198,
220,
220,
220,
422,
736,
3742,
13,
1477,
22602,
62,
1136,
62,
23705,
282,
62,
7857,
1330,
651,
62,
23705,
282,
62,
7857,
198,
198,
2,
383,
10854,
276,
7343,
9186,
34441,
46545,
11,
6889,
1351,
23814,
4577,
284,
670,
351,
198,
8053,
9186,
796,
34441,
51,
29291,
7203,
8053,
9186,
1600,
357,
7203,
9127,
1600,
493,
828,
5855,
4468,
19892,
1600,
20512,
828,
5855,
7857,
62,
1659,
62,
3672,
1600,
493,
828,
5855,
9186,
1600,
8633,
22305,
198,
198,
834,
439,
834,
796,
14631,
14881,
23114,
1600,
366,
24187,
23114,
8973,
628,
198,
4871,
7308,
23114,
7,
15252,
2599,
198,
220,
220,
220,
37227,
14881,
5016,
284,
329,
16531,
278,
44129,
7343,
23814,
526,
15931,
198,
220,
220,
220,
11593,
4164,
330,
31172,
834,
796,
450,
66,
13,
24694,
48526,
628,
220,
220,
220,
2488,
39305,
13,
397,
8709,
24396,
628,
220,
220,
220,
2488,
39305,
13,
397,
8709,
24396,
628,
220,
220,
220,
2488,
39305,
13,
397,
8709,
24396,
628,
220,
220,
220,
1303,
645,
1040,
14978,
9485,
6030,
9787,
263,
198,
220,
220,
220,
825,
4808,
687,
1436,
7,
944,
11,
2420,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3103,
1851,
479,
23130,
1296,
803,
656,
1103,
2420,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
4155,
62,
30191,
62,
2536,
7,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
11140,
1222,
6330,
42842,
13042,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
302,
13,
7266,
7,
81,
1,
59,
3,
29701,
1847,
35400,
59,
58,
38016,
67,
10,
19415,
60,
1600,
2116,
13557,
12001,
1096,
11,
2420,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
302,
13,
7266,
7,
81,
1,
59,
3,
29266,
1340,
59,
58,
38016,
50,
10,
10091,
59,
82,
38016,
67,
10,
19415,
60,
1600,
2116,
13557,
12001,
1096,
62,
48078,
11,
2420,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
302,
13,
7266,
7,
81,
1,
59,
58,
46786,
59,
82,
59,
86,
10,
59,
16151,
13,
10,
10091,
59,
13412,
46786,
59,
60,
1600,
13027,
7,
944,
13,
687,
1436,
11,
366,
46786,
12340,
2420,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
8070,
33313,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2219,
287,
5855,
40,
1600,
366,
33,
1600,
366,
8577,
18973,
34,
11159,
1600,
366,
43,
36048,
34,
11159,
1600,
366,
33177,
40579,
35400,
1600,
366,
43,
9947,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
302,
13,
7266,
7,
81,
1,
59,
58,
90,
15,
32239,
16151,
13,
10,
10091,
59,
13412,
90,
15,
32239,
60,
1911,
18982,
7,
11321,
828,
13027,
7,
944,
13,
687,
1436,
11,
2219,
828,
2420,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2420,
13,
33491,
7203,
58,
9419,
60,
1600,
37082,
77,
4943,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
1296,
1436,
7,
3672,
11,
2872,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
38240,
257,
479,
23130,
1296,
803,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
965,
1438,
25,
383,
1438,
286,
262,
33313,
304,
13,
70,
13,
471,
10246,
47691,
11159,
11,
347,
11,
20444,
1581,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2872,
25,
317,
302,
13,
23850,
2134,
351,
262,
12336,
2420,
5140,
379,
1448,
7,
16,
828,
1448,
7,
15,
8,
329,
262,
1336,
2420,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
82,
25,
383,
39559,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
18508,
503,
1296,
803,
290,
302,
315,
35906,
2420,
36519,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1438,
287,
5855,
33,
1600,
366,
40,
1600,
366,
43,
9947,
1600,
366,
46786,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2872,
13,
8094,
7,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1438,
6624,
366,
8577,
18973,
34,
11159,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2872,
13,
8094,
7,
16,
737,
45828,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1438,
6624,
366,
43,
36048,
34,
11159,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2872,
13,
8094,
7,
16,
737,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1438,
6624,
366,
33177,
40579,
35400,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2872,
13,
8094,
7,
16,
737,
27544,
1096,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2872,
13,
8094,
7,
15,
8,
628,
220,
220,
220,
825,
4808,
12001,
1096,
7,
944,
11,
2872,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3,
29701,
1847,
35400,
58,
10163,
2231,
60,
532,
329,
31577,
257,
36618,
4731,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
62,
312,
796,
493,
7,
15699,
13,
8094,
7,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
2872,
13,
8094,
7,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
834,
12001,
1096,
7,
5239,
11,
4731,
62,
312,
11,
366,
31092,
13,
16129,
13,
268,
62,
22296,
4943,
628,
220,
220,
220,
825,
4808,
12001,
1096,
62,
48078,
7,
944,
11,
2872,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3,
29266,
1340,
58,
12048,
13,
28965,
13,
6513,
30973,
17031,
2231,
60,
532,
329,
31577,
257,
4731,
2810,
416,
281,
48557,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
2872,
13,
8094,
7,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
48557,
62,
312,
796,
2872,
13,
8094,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
62,
312,
796,
493,
7,
15699,
13,
8094,
7,
17,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
834,
12001,
1096,
7,
5239,
11,
4731,
62,
312,
11,
48557,
62,
312,
8,
628,
220,
220,
220,
825,
11593,
12001,
1096,
7,
944,
11,
2420,
11,
4731,
62,
312,
11,
48557,
62,
312,
2599,
220,
1303,
2099,
25,
357,
2536,
11,
493,
11,
965,
8,
4613,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
36618,
4731,
611,
1695,
2073,
2666,
4731,
36519,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
13042,
796,
2116,
13,
66,
2317,
13,
25927,
62,
48078,
7,
48078,
62,
312,
737,
37336,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
13042,
58,
8841,
62,
312,
60,
611,
4731,
62,
312,
287,
13042,
2073,
2420,
628,
220,
220,
220,
2488,
12708,
24396,
628,
198,
4871,
16477,
23114,
7,
14881,
23114,
2599,
198,
220,
220,
220,
37227,
23114,
4706,
326,
481,
3359,
479,
23130,
1351,
9186,
287,
257,
4096,
1729,
256,
774,
12094,
4324,
526,
15931,
628,
220,
220,
220,
825,
5128,
7,
944,
11,
31456,
2599,
220,
1303,
2099,
25,
357,
2536,
8,
4613,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25214,
329,
2836,
5128,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1103,
62,
15414,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
31973,
9492,
3622,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
13538,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
19361,
46491,
19662,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1892,
1958,
262,
2836,
351,
308,
452,
259,
3275,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1002,
14267,
318,
900,
284,
6407,
788,
262,
2836,
481,
307,
1965,
611,
484,
765,
284,
2555,
11,
8024,
6407,
611,
523,
13,
198,
220,
220,
220,
220,
220,
220,
220,
25974,
10352,
481,
307,
4504,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
14267,
796,
479,
86,
22046,
13,
1136,
7203,
48267,
1600,
6407,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
46491,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
14267,
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,
1103,
62,
15414,
7203,
13800,
3802,
284,
2555,
11,
393,
19212,
10,
34,
284,
48887,
25,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
31973,
9492,
3622,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
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,
3601,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
825,
905,
7,
944,
11,
3709,
11,
1459,
62,
6978,
2599,
220,
1303,
2099,
25,
357,
8053,
58,
8053,
9186,
4357,
965,
8,
4613,
7343,
9186,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
15307,
257,
1351,
286,
477,
262,
1196,
346,
540,
1351,
23814,
290,
1249,
2836,
284,
787,
612,
6356,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10854,
477,
1351,
23814,
656,
257,
309,
29291,
286,
685,
9127,
11,
318,
43551,
11,
18896,
6167,
11,
1351,
9186,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
796,
2116,
13557,
15255,
6255,
62,
1177,
7,
23814,
8,
611,
2116,
13,
33692,
13,
15255,
6255,
2073,
2116,
13557,
5589,
529,
62,
1177,
7,
23814,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
796,
3951,
611,
2116,
13,
33692,
13,
3919,
62,
31476,
2073,
3975,
7,
944,
13557,
1370,
62,
2475,
2676,
11,
3951,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12094,
62,
10394,
796,
2116,
13557,
23705,
282,
62,
10394,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
28407,
262,
1336,
1351,
286,
1627,
284,
3359,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
14631,
2625,
1635,
12094,
62,
10394,
11,
1459,
62,
6978,
11,
366,
2625,
1635,
12094,
62,
10394,
60,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
13,
2302,
437,
7,
6615,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
13,
33295,
7203,
2625,
1635,
12094,
62,
10394,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
59,
77,
1911,
22179,
7,
22915,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
8229,
262,
1336,
1351,
286,
1351,
23814,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
7220,
62,
25541,
7,
23814,
8,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
4808,
5589,
529,
62,
1177,
7,
23814,
2599,
220,
1303,
2099,
25,
357,
8053,
58,
8053,
9186,
12962,
4613,
40806,
1352,
58,
2536,
60,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
23114,
1351,
23814,
287,
257,
16001,
1570,
11,
530,
1627,
583,
1351,
9186,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
27131,
378,
262,
3509,
4129,
286,
2672,
3951,
198,
220,
220,
220,
220,
220,
220,
220,
3670,
62,
11925,
796,
3509,
7,
9186,
13,
7857,
62,
1659,
62,
3672,
329,
2378,
287,
3709,
8,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
11925,
796,
18896,
7,
2536,
7,
11925,
7,
23814,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
3670,
62,
11925,
15853,
997,
62,
11925,
1343,
604,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
257,
1627,
5072,
329,
1123,
1351,
9186,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
329,
954,
11,
318,
43551,
11,
4808,
11,
2378,
287,
3709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
48107,
14,
10798,
7196,
11,
1343,
329,
48107,
11,
532,
329,
7623,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
5855,
90,
27422,
1343,
23884,
1,
611,
318,
43551,
2073,
45144,
27422,
532,
23884,
11074,
18982,
7,
2536,
7,
9127,
737,
81,
3137,
7,
22510,
62,
11925,
828,
2378,
13,
12924,
7203,
18242,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
45144,
92,
7343,
9186,
15090,
30072,
1911,
18982,
7,
18242,
13,
75,
3137,
7,
7839,
62,
11925,
828,
2378,
8,
628,
220,
220,
220,
825,
4808,
15255,
6255,
62,
1177,
7,
944,
11,
3709,
2599,
220,
1303,
2099,
25,
357,
8053,
58,
8053,
9186,
12962,
4613,
40806,
1352,
58,
2536,
60,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
23114,
1351,
23814,
287,
257,
6496,
1570,
11,
1123,
7515,
286,
257,
1351,
9186,
481,
307,
319,
340,
338,
898,
1627,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
12094,
62,
10394,
796,
2116,
13557,
23705,
282,
62,
10394,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
257,
1627,
5072,
329,
1123,
7515,
286,
257,
1351,
9186,
198,
220,
220,
220,
220,
220,
220,
220,
329,
954,
11,
4808,
11,
2546,
62,
1659,
62,
3672,
11,
2378,
287,
3709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5438,
262,
3670,
287,
340,
338,
898,
1989,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
45144,
27422,
23884,
1911,
18982,
7,
9127,
11,
2378,
13,
12924,
7203,
18242,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
25113,
1,
1635,
12094,
62,
10394,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5438,
477,
262,
1334,
286,
262,
1351,
9186,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
11,
1988,
287,
2378,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
8367,
11,
8633,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
5855,
90,
38362,
1911,
18982,
7,
2539,
13,
7839,
28955,
737,
75,
3137,
7,
7857,
62,
1659,
62,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1438,
11,
850,
287,
1988,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
27444,
1391,
18477,
92,
1911,
18982,
7,
3672,
13,
75,
3137,
7,
7857,
62,
1659,
62,
3672,
828,
850,
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,
7800,
45144,
18477,
92,
1911,
18982,
7,
2539,
13,
7839,
22446,
75,
3137,
7,
7857,
62,
1659,
62,
3672,
828,
1988,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
13538,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
4808,
7220,
62,
25541,
7,
23814,
2599,
220,
1303,
2099,
25,
357,
8053,
58,
8053,
9186,
12962,
4613,
7343,
9186,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25214,
2836,
284,
2922,
281,
2378,
11,
8024,
6356,
355,
281,
18253,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
981,
6407,
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,
16981,
2836,
329,
6356,
11,
42882,
6045,
611,
2836,
5982,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3572,
796,
1103,
62,
15414,
7203,
31851,
281,
2378,
25,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
31973,
9492,
3622,
25,
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,
220,
220,
220,
220,
611,
3572,
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,
1303,
38240,
3572,
284,
281,
18253,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3572,
796,
493,
7,
25541,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
5982,
257,
1729,
12,
77,
6975,
605,
1988,
11,
350,
13087,
3802,
257,
29052,
1988,
393,
2666,
2042,
284,
8420,
19570,
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,
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,
1441,
3709,
58,
25541,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
12901,
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,
3601,
7203,
22164,
786,
318,
503,
286,
2837,
11,
4222,
3853,
422,
2029,
1351,
19570,
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,
2270,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
4808,
23705,
282,
62,
10394,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4834,
82,
942,
257,
1627,
5288,
286,
4019,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3509,
7,
1136,
62,
23705,
282,
62,
7857,
19510,
6200,
11,
1679,
29720,
28665,
82,
11,
4019,
8,
628,
220,
220,
220,
825,
4808,
1370,
62,
2475,
2676,
7,
944,
11,
1627,
2599,
220,
1303,
2099,
25,
357,
2536,
8,
4613,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
39184,
262,
4129,
286,
257,
5072,
1627,
284,
4197,
1626,
262,
12094,
4324,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
12094,
62,
10394,
796,
2116,
13557,
23705,
282,
62,
10394,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
36521,
82,
9313,
4064,
357,
1370,
58,
25,
23705,
282,
62,
10394,
12,
18,
12962,
611,
18896,
7,
1370,
8,
1875,
12094,
62,
10394,
2073,
1627,
198
] | 2.368223 | 3,449 |
#
# This file is subject to the terms and conditions defined in the
# file 'LICENSE', which is part of this source code package.
#
import json
import unittest
from tests.helpers.unittest_base import BaseTestCase
# -- BQ model imports
from rdr_service.model import (
bq_code, bq_genomics, bq_hpo, bq_organization, bq_participant_summary, bq_pdr_participant_summary,
# bq_questionnaires <-- to do: add tests for schemas in these files?
bq_site, bq_workbench_workspace, bq_workbench_researcher
)
from rdr_service.resource import schemas as rschemas
# Common fields from all the BQ schemas which should be excluded from comparison. If the resource schema contains these
# field names, the names will be translated automatically by the pipeline to add an 'orig_' prefix for the
# BigQuery or PostgreSQL tables
_default_exclusions = ['id', 'created', 'modified']
# Any additional "per schema" exclusions that may not be present in the corresponding resource schema
bq_field_exclusions = {
'CodeSchema': ['bq_field_name'],
# Genomic schemas that have orig_* fields already and also id/created/modified
'GenomicManifestFileSchema': ['orig_id'],
'GenomicManifestFeedbackSchema': ['orig_id'],
'GenomicGCValidationMetricsSchema': ['orig_id', 'orig_created', 'orig_modified'],
'ParticipantSchema': ['addr_state', 'addr_zip', 'biospec', 'consents']
}
# Fields from the resource schemas that do not exist in the BQ schema
rsc_field_exclusions = {
'HPOSchema': list(rschemas.HPOSchema.Meta.pii_fields),
'PatientStatusSchema': list(rschemas.participant.PatientStatusSchema.Meta.pii_fields),
'GenomicManifestFileSchema': _default_exclusions,
'GenomicManifestFeedbackSchema': _default_exclusions,
'GenomicGCValidationMetricsSchema': _default_exclusions,
'WorkbenchResearcherSchema': list(rschemas.WorkbenchResearcherSchema.Meta.pii_fields),
'ParticipantSchema': list(rschemas.ParticipantSchema.Meta.pii_fields) +
['addresses']
}
# For field name translations that have been vetted after verifying the differences between BQ schemas
# and the resource schemas
bq_field_name_mappings = {
# Each item is a dict where key is the bq field name and value is the related resource schema field name
'ModuleStatusSchema': {
'mod_created': 'module_created',
'mod_authored': 'module_authored',
},
}
class ResourceSchemaTest(BaseTestCase):
"""
Test that the resource schema definitions/fields align with the BigQuery schemas
NOTE: These tests may be deprecated if use of BigQuery PDR is discontinued
TODO: Add more detail about implementing test cases that include handling field name prefixes, exclusions, etc.
"""
@staticmethod
def _get_bq_field_list(bq_schema, rsc_name, bq_prefix='', exclusions=[]):
""" Return a filtered BQ schema column/field name list, with any specified prefix stripped """
fields = []
# If the schemas have pre-identified diffs in their field naming conventions, automatically translate the
# bq schema field name to its resource schema field name
mapped_fields = bq_field_name_mappings[rsc_name] if rsc_name in bq_field_name_mappings.keys() else None
for field in json.loads(bq_schema.to_json()):
name = field['name']
if name not in exclusions:
if mapped_fields and name in mapped_fields.keys():
fields.append(mapped_fields.get(name))
else:
fields.append(name[len(bq_prefix):] if name.startswith(bq_prefix) else name)
return fields
# -- Create a test for each schema defined in the rdr_service/resource/schemas directory (including sub-schemas)
# Participant data schemas
# Consent schema is depreciated in Resources, but not BigQuery.
# def test_consent_resource_schema(self):
# self._verify_resource_schema('ConsentSchema',
# rschemas.participant.ConsentSchema(),
# bq_participant_summary.BQConsentSchema())
# TODO: Questionnaire-related schemas
# Genomic-related schemas
# TODO: Confirm relationship of the id and orig_id fields (and/or similar created, modified) in genomic schemas
# Researcher workbench related schemas
@unittest.skip('Confirm if WorkspaceAgeSchema needs a SchemaID defined')
@unittest.skip('Confirm if WorkspaceRaceEthnicitySchema needs a SchemaID defined')
| [
2,
198,
2,
770,
2393,
318,
2426,
284,
262,
2846,
290,
3403,
5447,
287,
262,
198,
2,
2393,
705,
43,
2149,
24290,
3256,
543,
318,
636,
286,
428,
2723,
2438,
5301,
13,
198,
2,
198,
11748,
33918,
198,
11748,
555,
715,
395,
198,
198,
6738,
5254,
13,
16794,
364,
13,
403,
715,
395,
62,
8692,
1330,
7308,
14402,
20448,
198,
198,
2,
1377,
347,
48,
2746,
17944,
198,
6738,
374,
7109,
62,
15271,
13,
19849,
1330,
357,
198,
220,
220,
220,
275,
80,
62,
8189,
11,
275,
80,
62,
5235,
31994,
11,
275,
80,
62,
71,
7501,
11,
275,
80,
62,
9971,
1634,
11,
275,
80,
62,
48013,
415,
62,
49736,
11,
275,
80,
62,
79,
7109,
62,
48013,
415,
62,
49736,
11,
198,
220,
220,
220,
1303,
275,
80,
62,
25652,
43317,
220,
1279,
438,
284,
466,
25,
220,
751,
5254,
329,
3897,
5356,
287,
777,
3696,
30,
198,
220,
220,
220,
275,
80,
62,
15654,
11,
275,
80,
62,
1818,
26968,
62,
5225,
10223,
11,
275,
80,
62,
1818,
26968,
62,
260,
325,
283,
2044,
198,
8,
198,
198,
6738,
374,
7109,
62,
15271,
13,
31092,
1330,
3897,
5356,
355,
374,
1416,
4411,
292,
198,
198,
2,
8070,
7032,
422,
477,
262,
347,
48,
3897,
5356,
543,
815,
307,
15009,
422,
7208,
13,
220,
1002,
262,
8271,
32815,
4909,
777,
198,
2,
2214,
3891,
11,
262,
3891,
481,
307,
14251,
6338,
416,
262,
11523,
284,
751,
281,
705,
11612,
62,
6,
21231,
329,
262,
198,
2,
4403,
20746,
393,
2947,
47701,
8893,
198,
62,
12286,
62,
1069,
11539,
796,
37250,
312,
3256,
705,
25598,
3256,
705,
41771,
20520,
198,
198,
2,
4377,
3224,
366,
525,
32815,
1,
10293,
507,
326,
743,
407,
307,
1944,
287,
262,
11188,
8271,
32815,
198,
65,
80,
62,
3245,
62,
1069,
11539,
796,
1391,
198,
220,
220,
220,
705,
10669,
27054,
2611,
10354,
37250,
65,
80,
62,
3245,
62,
3672,
6,
4357,
198,
220,
220,
220,
1303,
5215,
10179,
3897,
5356,
326,
423,
1796,
62,
9,
7032,
1541,
290,
635,
4686,
14,
25598,
14,
41771,
198,
220,
220,
220,
705,
13746,
10179,
5124,
8409,
8979,
27054,
2611,
10354,
37250,
11612,
62,
312,
6,
4357,
198,
220,
220,
220,
705,
13746,
10179,
5124,
8409,
18332,
1891,
27054,
2611,
10354,
37250,
11612,
62,
312,
6,
4357,
198,
220,
220,
220,
705,
13746,
10179,
15916,
7762,
24765,
9171,
10466,
27054,
2611,
10354,
37250,
11612,
62,
312,
3256,
705,
11612,
62,
25598,
3256,
705,
11612,
62,
41771,
6,
4357,
198,
220,
220,
220,
705,
34363,
415,
27054,
2611,
10354,
37250,
29851,
62,
5219,
3256,
705,
29851,
62,
13344,
3256,
705,
65,
4267,
43106,
3256,
705,
5936,
658,
20520,
198,
92,
198,
198,
2,
23948,
422,
262,
8271,
3897,
5356,
326,
466,
407,
2152,
287,
262,
347,
48,
32815,
198,
81,
1416,
62,
3245,
62,
1069,
11539,
796,
1391,
198,
220,
220,
220,
705,
14082,
2640,
2395,
2611,
10354,
1351,
7,
81,
1416,
4411,
292,
13,
14082,
2640,
2395,
2611,
13,
48526,
13,
79,
4178,
62,
25747,
828,
198,
220,
220,
220,
705,
12130,
1153,
19580,
27054,
2611,
10354,
1351,
7,
81,
1416,
4411,
292,
13,
48013,
415,
13,
12130,
1153,
19580,
27054,
2611,
13,
48526,
13,
79,
4178,
62,
25747,
828,
198,
220,
220,
220,
705,
13746,
10179,
5124,
8409,
8979,
27054,
2611,
10354,
4808,
12286,
62,
1069,
11539,
11,
198,
220,
220,
220,
705,
13746,
10179,
5124,
8409,
18332,
1891,
27054,
2611,
10354,
4808,
12286,
62,
1069,
11539,
11,
198,
220,
220,
220,
705,
13746,
10179,
15916,
7762,
24765,
9171,
10466,
27054,
2611,
10354,
4808,
12286,
62,
1069,
11539,
11,
198,
220,
220,
220,
705,
12468,
26968,
4965,
50194,
27054,
2611,
10354,
1351,
7,
81,
1416,
4411,
292,
13,
12468,
26968,
4965,
50194,
27054,
2611,
13,
48526,
13,
79,
4178,
62,
25747,
828,
198,
220,
220,
220,
705,
34363,
415,
27054,
2611,
10354,
1351,
7,
81,
1416,
4411,
292,
13,
34363,
415,
27054,
2611,
13,
48526,
13,
79,
4178,
62,
25747,
8,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37250,
2860,
16746,
20520,
198,
92,
198,
198,
2,
1114,
2214,
1438,
25231,
326,
423,
587,
48383,
706,
45505,
262,
5400,
1022,
347,
48,
3897,
5356,
198,
2,
290,
262,
8271,
3897,
5356,
198,
65,
80,
62,
3245,
62,
3672,
62,
76,
39242,
796,
1391,
198,
220,
220,
220,
1303,
5501,
2378,
318,
257,
8633,
810,
1994,
318,
262,
275,
80,
2214,
1438,
290,
1988,
318,
262,
3519,
8271,
32815,
2214,
1438,
198,
220,
220,
220,
705,
26796,
19580,
27054,
2611,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4666,
62,
25598,
10354,
705,
21412,
62,
25598,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4666,
62,
39351,
10354,
705,
21412,
62,
39351,
3256,
198,
220,
220,
220,
8964,
198,
92,
628,
198,
4871,
20857,
27054,
2611,
14402,
7,
14881,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
6208,
326,
262,
8271,
32815,
17336,
14,
25747,
10548,
351,
262,
4403,
20746,
3897,
5356,
198,
220,
220,
220,
24550,
25,
220,
2312,
5254,
743,
307,
39224,
611,
779,
286,
4403,
20746,
350,
7707,
318,
31349,
198,
220,
220,
220,
16926,
46,
25,
220,
3060,
517,
3703,
546,
15427,
1332,
2663,
326,
2291,
9041,
2214,
1438,
21231,
274,
11,
10293,
507,
11,
3503,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
4808,
1136,
62,
65,
80,
62,
3245,
62,
4868,
7,
65,
80,
62,
15952,
2611,
11,
374,
1416,
62,
3672,
11,
275,
80,
62,
40290,
11639,
3256,
10293,
507,
28,
21737,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
8229,
257,
29083,
347,
48,
32815,
5721,
14,
3245,
1438,
1351,
11,
351,
597,
7368,
21231,
18818,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
7032,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
262,
3897,
5356,
423,
662,
12,
19107,
814,
82,
287,
511,
2214,
19264,
21396,
11,
6338,
15772,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
275,
80,
32815,
2214,
1438,
284,
663,
8271,
32815,
2214,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
27661,
62,
25747,
796,
275,
80,
62,
3245,
62,
3672,
62,
76,
39242,
58,
81,
1416,
62,
3672,
60,
611,
374,
1416,
62,
3672,
287,
275,
80,
62,
3245,
62,
3672,
62,
76,
39242,
13,
13083,
3419,
2073,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2214,
287,
33918,
13,
46030,
7,
65,
80,
62,
15952,
2611,
13,
1462,
62,
17752,
3419,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
2214,
17816,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1438,
407,
287,
10293,
507,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
27661,
62,
25747,
290,
1438,
287,
27661,
62,
25747,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
13,
33295,
7,
76,
6320,
62,
25747,
13,
1136,
7,
3672,
4008,
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,
7032,
13,
33295,
7,
3672,
58,
11925,
7,
65,
80,
62,
40290,
2599,
60,
611,
1438,
13,
9688,
2032,
342,
7,
65,
80,
62,
40290,
8,
2073,
1438,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
7032,
628,
220,
220,
220,
1303,
1377,
13610,
257,
1332,
329,
1123,
32815,
5447,
287,
262,
374,
7109,
62,
15271,
14,
31092,
14,
1416,
4411,
292,
8619,
357,
8201,
850,
12,
1416,
4411,
292,
8,
628,
220,
220,
220,
1303,
29880,
1366,
3897,
5356,
628,
220,
220,
220,
1303,
46869,
32815,
318,
1207,
29102,
515,
287,
13864,
11,
475,
407,
4403,
20746,
13,
198,
220,
220,
220,
1303,
825,
1332,
62,
5936,
298,
62,
31092,
62,
15952,
2611,
7,
944,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
2116,
13557,
332,
1958,
62,
31092,
62,
15952,
2611,
10786,
9444,
298,
27054,
2611,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
1416,
4411,
292,
13,
48013,
415,
13,
9444,
298,
27054,
2611,
22784,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
80,
62,
48013,
415,
62,
49736,
13,
33,
48,
9444,
298,
27054,
2611,
28955,
628,
198,
220,
220,
220,
1303,
16926,
46,
25,
220,
18233,
24042,
12,
5363,
3897,
5356,
628,
220,
220,
220,
1303,
5215,
10179,
12,
5363,
3897,
5356,
628,
220,
220,
220,
1303,
16926,
46,
25,
220,
7326,
2533,
2776,
286,
262,
4686,
290,
1796,
62,
312,
7032,
357,
392,
14,
273,
2092,
2727,
11,
9518,
8,
287,
45752,
3897,
5356,
628,
220,
220,
220,
1303,
1874,
50194,
670,
26968,
3519,
3897,
5356,
628,
220,
220,
220,
2488,
403,
715,
395,
13,
48267,
10786,
18546,
2533,
611,
10933,
10223,
23396,
27054,
2611,
2476,
257,
10011,
2611,
2389,
5447,
11537,
628,
220,
220,
220,
2488,
403,
715,
395,
13,
48267,
10786,
18546,
2533,
611,
10933,
10223,
35157,
40226,
6988,
414,
27054,
2611,
2476,
257,
10011,
2611,
2389,
5447,
11537,
198
] | 2.804833 | 1,614 |
n = int(input())
result = 0
for num in range(1, n+1) :
result += num
print(result) | [
77,
796,
493,
7,
15414,
28955,
198,
20274,
796,
657,
198,
1640,
997,
287,
2837,
7,
16,
11,
299,
10,
16,
8,
1058,
198,
220,
220,
220,
1255,
15853,
997,
198,
4798,
7,
20274,
8
] | 2.457143 | 35 |
import struct
import socket
import select
## This module provides library to send and receive messages to NOX's messenger
#
# This is a rewrite of noxmsg.py from OpenRoads (OpenFlow Wireless)
#
# @author ykk (Stanford University)
# @date January, 2010
# @see messenger
def stringarray(string):
"""Output array of binary values in string.
"""
arrstr = ""
if (len(string) != 0):
for i in range(0,len(string)):
arrstr += "%x " % struct.unpack("=B",string[i])[0]
return arrstr
def printarray(string):
"""Print array of binary values
"""
print "Array of length "+str(len(string))
print stringarray(string)
class channel:
"""TCP channel to communicate to NOX with.
"""
def __init__(self,ipAddr,portNo=2603,debug=False):
"""Initialize with socket
"""
##Socket reference for channel
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.sock.connect((ipAddr,portNo))
self.debug = debug
##Internal buffer for receiving
self.__buffer = ""
##Internal reference to header
self.__header = messenger_msg()
def baresend(self, msg):
"""Send bare message"""
self.sock.send(msg)
def send(self,msg):
"""Send message
"""
msgh = messenger_msg()
remaining = msgh.unpack(msg)
if (msgh.length != len(msg)):
msgh.length = len(msg)
msg = msgh.pack()+remaining
self.baresend(msg)
if (self.debug):
printarray(msg)
def receive(self, recvLen=0,timeout=0):
"""Receive command
If length == None, nonblocking receive (return None or message)
With nonblocking receive, timeout is used for select statement
If length is zero, return single message
"""
if (recvLen==0):
#Receive full message
msg=""
length=len(self.__header)
while (len(msg) < length):
msg+=self.sock.recv(1)
#Get length
if (len(msg) == length):
self.__header.unpack(msg)
length=self.__header.length
return msg
elif (recvLen==None):
#Non-blocking receive
ready_to_read = select.select([self.sock],[],[],timeout)[0]
if (ready_to_read):
self.__buffer += self.sock.recv(1)
if (len(self.__buffer) >= len(self.__header)):
self.__header.unpack(self.__buffer)
if (self.__header.length == len(self.__buffer)):
msg = self.__buffer
self.__buffer = ""
return msg
return None
else:
#Fixed length blocking receive
return self.sock.recv(recvLen)
def __del__(self):
"""Terminate connection
"""
emsg = messenger_msg()
emsg.type = MSG_DISCONNECT
emsg.length = len(emsg)
self.send(emsg.pack())
self.sock.shutdown(1)
self.sock.close()
class sslChannel(channel):
"""SSL channel to communicate to NOX with.
"""
def __init__(self, ipAddr, portNo=1304,debug=False):
"""Initialize with SSL sock
"""
NOXChannel.__init__(self, ipAddr, portNo,debug)
##Reference to SSL socket for channel
self.sslsock = socket.ssl(self.sock)
def baresend(self, msg):
"""Send bare message"""
self.sslsock.write(msg)
class messenger_msg:
"""Automatically generated Python class for messenger_msg
Date 2010-01-20
Created by lavi.pythonize.msgpythonizer
"""
def __init__(self):
"""Initialize
Declare members and default values
"""
self.length = 0
self.type = 0
self.body= []
def __assert(self):
"""Sanity check
"""
if (not (self.type in msg_type_values)):
return (False, "type must have values from msg_type")
return (True, None)
def pack(self, assertstruct=True):
"""Pack message
Packs empty array used as placeholder
"""
if(assertstruct):
if(not self.__assert()[0]):
return None
packed = ""
packed += struct.pack("!HB", self.length, self.type)
for i in self.body:
packed += struct.pack("!B",i)
return packed
def unpack(self, binaryString):
"""Unpack message
Do not unpack empty array used as placeholder
since they can contain heterogeneous type
"""
if (len(binaryString) < 3):
return binaryString
(self.length, self.type) = struct.unpack_from("!HB", binaryString, 0)
return binaryString[3:]
def __len__(self):
"""Return length of message
"""
l = 3
l += len(self.body)*1
return l
msg_type = ['MSG_DISCONNECT', 'MSG_ECHO', 'MSG_ECHO_RESPONSE', 'MSG_AUTH', 'MSG_AUTH_RESPONSE', 'MSG_AUTH_STATUS', 'MSG_NOX_STR_CMD']
MSG_DISCONNECT = 0
MSG_ECHO = 1
MSG_ECHO_RESPONSE = 2
MSG_AUTH = 3
MSG_AUTH_RESPONSE = 4
MSG_AUTH_STATUS = 5
MSG_NOX_STR_CMD = 10
msg_type_values = [0, 1, 2, 3, 4, 5, 10]
| [
11748,
2878,
198,
198,
11748,
17802,
198,
11748,
2922,
198,
198,
2235,
770,
8265,
3769,
5888,
284,
3758,
290,
3328,
6218,
284,
8005,
55,
338,
31228,
198,
2,
198,
2,
770,
318,
257,
28183,
286,
645,
87,
19662,
13,
9078,
422,
4946,
29197,
82,
357,
11505,
37535,
24365,
8,
198,
2,
198,
2,
2488,
9800,
331,
28747,
357,
32140,
3841,
2059,
8,
198,
2,
2488,
4475,
3269,
11,
3050,
198,
2,
2488,
3826,
31228,
198,
198,
4299,
4731,
18747,
7,
8841,
2599,
198,
220,
220,
220,
37227,
26410,
7177,
286,
13934,
3815,
287,
4731,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5240,
2536,
796,
13538,
198,
220,
220,
220,
611,
357,
11925,
7,
8841,
8,
14512,
657,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
15,
11,
11925,
7,
8841,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5240,
2536,
15853,
36521,
87,
366,
4064,
2878,
13,
403,
8002,
7203,
28,
33,
1600,
8841,
58,
72,
12962,
58,
15,
60,
198,
220,
220,
220,
1441,
5240,
2536,
198,
198,
4299,
3601,
18747,
7,
8841,
2599,
198,
220,
220,
220,
37227,
18557,
7177,
286,
13934,
3815,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3601,
366,
19182,
286,
4129,
43825,
2536,
7,
11925,
7,
8841,
4008,
198,
220,
220,
220,
3601,
4731,
18747,
7,
8841,
8,
198,
198,
4871,
6518,
25,
198,
220,
220,
220,
37227,
4825,
47,
6518,
284,
10996,
284,
8005,
55,
351,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
541,
4550,
81,
11,
634,
2949,
28,
21719,
18,
11,
24442,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
351,
17802,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
22492,
39105,
4941,
329,
6518,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
82,
735,
796,
17802,
13,
44971,
7,
44971,
13,
8579,
62,
1268,
2767,
11,
17802,
13,
50,
11290,
62,
2257,
32235,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
82,
735,
13,
8443,
19510,
541,
4550,
81,
11,
634,
2949,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
24442,
796,
14257,
198,
220,
220,
220,
220,
220,
220,
220,
22492,
37693,
11876,
329,
6464,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
22252,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
22492,
37693,
4941,
284,
13639,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
25677,
796,
31228,
62,
19662,
3419,
628,
220,
220,
220,
825,
275,
3565,
437,
7,
944,
11,
31456,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25206,
6247,
3275,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
82,
735,
13,
21280,
7,
19662,
8,
628,
220,
220,
220,
825,
3758,
7,
944,
11,
19662,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25206,
3275,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
456,
796,
31228,
62,
19662,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
5637,
796,
13845,
456,
13,
403,
8002,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
907,
456,
13,
13664,
14512,
18896,
7,
19662,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13845,
456,
13,
13664,
796,
18896,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
13845,
456,
13,
8002,
3419,
10,
2787,
1397,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
65,
3565,
437,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
944,
13,
24442,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
18747,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
3328,
7,
944,
11,
664,
85,
30659,
28,
15,
11,
48678,
28,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3041,
15164,
3141,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
4129,
6624,
6045,
11,
1729,
41938,
3328,
357,
7783,
6045,
393,
3275,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2080,
1729,
41938,
3328,
11,
26827,
318,
973,
329,
2922,
2643,
628,
220,
220,
220,
220,
220,
220,
220,
1002,
4129,
318,
6632,
11,
1441,
2060,
3275,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
8344,
85,
30659,
855,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3041,
15164,
1336,
3275,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
33151,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4129,
28,
11925,
7,
944,
13,
834,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
357,
11925,
7,
19662,
8,
1279,
4129,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
47932,
944,
13,
82,
735,
13,
8344,
85,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3855,
4129,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
11925,
7,
19662,
8,
6624,
4129,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
25677,
13,
403,
8002,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4129,
28,
944,
13,
834,
25677,
13,
13664,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
31456,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
357,
8344,
85,
30659,
855,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
15419,
12,
41938,
3328,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3492,
62,
1462,
62,
961,
796,
2922,
13,
19738,
26933,
944,
13,
82,
735,
38430,
38430,
4357,
48678,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
1493,
62,
1462,
62,
961,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
22252,
15853,
2116,
13,
82,
735,
13,
8344,
85,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
11925,
7,
944,
13,
834,
22252,
8,
18189,
18896,
7,
944,
13,
834,
25677,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
25677,
13,
403,
8002,
7,
944,
13,
834,
22252,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
944,
13,
834,
25677,
13,
13664,
6624,
18896,
7,
944,
13,
834,
22252,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
2116,
13,
834,
22252,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
22252,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
31456,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13715,
4129,
12013,
3328,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
82,
735,
13,
8344,
85,
7,
8344,
85,
30659,
8,
628,
220,
220,
220,
825,
11593,
12381,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
44798,
378,
4637,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
795,
45213,
796,
31228,
62,
19662,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
795,
45213,
13,
4906,
796,
49064,
62,
26288,
10943,
48842,
198,
220,
220,
220,
220,
220,
220,
220,
795,
45213,
13,
13664,
796,
18896,
7,
5232,
70,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21280,
7,
5232,
70,
13,
8002,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
82,
735,
13,
49625,
2902,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
82,
735,
13,
19836,
3419,
198,
198,
4871,
264,
6649,
29239,
7,
17620,
2599,
198,
220,
220,
220,
37227,
31127,
6518,
284,
10996,
284,
8005,
55,
351,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
20966,
4550,
81,
11,
2493,
2949,
28,
12952,
19,
11,
24442,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
351,
25952,
32263,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8005,
55,
29239,
13,
834,
15003,
834,
7,
944,
11,
20966,
4550,
81,
11,
2493,
2949,
11,
24442,
8,
198,
220,
220,
220,
220,
220,
220,
220,
22492,
26687,
284,
25952,
17802,
329,
6518,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
824,
7278,
735,
796,
17802,
13,
45163,
7,
944,
13,
82,
735,
8,
628,
220,
220,
220,
825,
275,
3565,
437,
7,
944,
11,
31456,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25206,
6247,
3275,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
824,
7278,
735,
13,
13564,
7,
19662,
8,
198,
198,
4871,
31228,
62,
19662,
25,
198,
197,
37811,
38062,
4142,
7560,
11361,
1398,
329,
31228,
62,
19662,
628,
197,
10430,
3050,
12,
486,
12,
1238,
198,
197,
41972,
416,
300,
15820,
13,
29412,
1096,
13,
19662,
29412,
7509,
198,
197,
37811,
198,
197,
4299,
11593,
15003,
834,
7,
944,
2599,
198,
197,
197,
37811,
24243,
1096,
198,
197,
197,
37835,
533,
1866,
290,
4277,
3815,
198,
197,
197,
37811,
198,
197,
197,
944,
13,
13664,
796,
657,
198,
197,
197,
944,
13,
4906,
796,
657,
198,
197,
197,
944,
13,
2618,
28,
17635,
628,
197,
4299,
11593,
30493,
7,
944,
2599,
198,
197,
197,
37811,
15017,
414,
2198,
198,
197,
197,
37811,
198,
197,
197,
361,
357,
1662,
357,
944,
13,
4906,
287,
31456,
62,
4906,
62,
27160,
8,
2599,
198,
197,
197,
197,
7783,
357,
25101,
11,
366,
4906,
1276,
423,
3815,
422,
31456,
62,
4906,
4943,
198,
197,
197,
7783,
357,
17821,
11,
6045,
8,
628,
197,
4299,
2353,
7,
944,
11,
6818,
7249,
28,
17821,
2599,
198,
197,
197,
37811,
11869,
3275,
198,
197,
197,
47,
4595,
6565,
7177,
973,
355,
46076,
198,
197,
197,
37811,
198,
197,
197,
361,
7,
30493,
7249,
2599,
198,
197,
197,
197,
361,
7,
1662,
2116,
13,
834,
30493,
3419,
58,
15,
60,
2599,
198,
197,
197,
197,
197,
7783,
6045,
198,
197,
197,
34860,
796,
13538,
198,
197,
197,
34860,
15853,
2878,
13,
8002,
7203,
0,
32886,
1600,
2116,
13,
13664,
11,
2116,
13,
4906,
8,
198,
197,
197,
1640,
1312,
287,
2116,
13,
2618,
25,
198,
197,
197,
197,
34860,
15853,
2878,
13,
8002,
7203,
0,
33,
1600,
72,
8,
198,
197,
197,
7783,
11856,
628,
197,
4299,
555,
8002,
7,
944,
11,
13934,
10100,
2599,
198,
197,
197,
37811,
3118,
8002,
3275,
198,
197,
197,
5211,
407,
555,
8002,
6565,
7177,
973,
355,
46076,
198,
197,
197,
20777,
484,
460,
3994,
14445,
32269,
2099,
198,
197,
197,
37811,
198,
197,
197,
361,
357,
11925,
7,
39491,
10100,
8,
1279,
513,
2599,
198,
197,
197,
197,
7783,
13934,
10100,
198,
197,
197,
7,
944,
13,
13664,
11,
2116,
13,
4906,
8,
796,
2878,
13,
403,
8002,
62,
6738,
7203,
0,
32886,
1600,
13934,
10100,
11,
657,
8,
198,
197,
197,
7783,
13934,
10100,
58,
18,
47715,
628,
197,
4299,
11593,
11925,
834,
7,
944,
2599,
198,
197,
197,
37811,
13615,
4129,
286,
3275,
198,
197,
197,
37811,
198,
197,
197,
75,
796,
513,
198,
197,
197,
75,
15853,
18896,
7,
944,
13,
2618,
27493,
16,
198,
197,
197,
7783,
300,
198,
198,
19662,
62,
4906,
796,
37250,
5653,
38,
62,
26288,
10943,
48842,
3256,
705,
5653,
38,
62,
25994,
46,
3256,
705,
5653,
38,
62,
25994,
46,
62,
19535,
47,
1340,
5188,
3256,
705,
5653,
38,
62,
32,
24318,
3256,
705,
5653,
38,
62,
32,
24318,
62,
19535,
47,
1340,
5188,
3256,
705,
5653,
38,
62,
32,
24318,
62,
35744,
2937,
3256,
705,
5653,
38,
62,
15285,
55,
62,
18601,
62,
34,
12740,
20520,
198,
5653,
38,
62,
26288,
10943,
48842,
796,
657,
198,
5653,
38,
62,
25994,
46,
796,
352,
198,
5653,
38,
62,
25994,
46,
62,
19535,
47,
1340,
5188,
796,
362,
198,
5653,
38,
62,
32,
24318,
796,
513,
198,
5653,
38,
62,
32,
24318,
62,
19535,
47,
1340,
5188,
796,
604,
198,
5653,
38,
62,
32,
24318,
62,
35744,
2937,
796,
642,
198,
5653,
38,
62,
15285,
55,
62,
18601,
62,
34,
12740,
796,
838,
198,
19662,
62,
4906,
62,
27160,
796,
685,
15,
11,
352,
11,
362,
11,
513,
11,
604,
11,
642,
11,
838,
60,
628,
628
] | 2.209947 | 2,272 |
import os
import shutil
import tarfile
import tempfile
import zipfile
import traceback
import requests
import apkutils2
from logzero import logger
from adbutils import device as get_device
device = get_device()
atx_agent_version = "0.10.0"
__all__ = ["get_atx_agent_bundle", "get_whatsinput_apk"]
def get_atx_agent_bundle() -> str:
"""
bundle all platform atx-agent binary into one zip file
"""
version = atx_agent_version
target_zip = f"vendor/atx-agent-{version}.zip"
if not os.path.isfile(target_zip):
os.makedirs("vendor", exist_ok=True)
create_atx_agent_bundle(version, target_zip)
return target_zip
def get_stf_binaries() -> str:
"""
Download from https://github.com/openatx/stf-binaries
Tag 0.2, support to Android P
Tag 0.3.0 use stf/@devicefarmer
"""
version = "0.3.0"
target_path = f"vendor/stf-binaries-{version}.zip"
mirror_download(
f"https://github.com/openatx/stf-binaries/archive/{version}.zip", target_path
)
return target_path
def push_stf(path: str, dest: str, zipfile_path: str, mode=0o755):
"""push minicap and minitouch from zip"""
with zipfile.ZipFile(zipfile_path) as z:
if path not in z.namelist():
logger.warning("stf stuff %s not found", path)
return
src_info = z.getinfo(path)
dest_info = device.sync.stat(dest)
if dest_info.size == src_info.file_size and dest_info.mode & mode == mode:
logger.debug("already pushed %s", path)
return
with z.open(path) as f:
device.sync.push(f, dest, mode)
| [
11748,
28686,
198,
11748,
4423,
346,
198,
11748,
13422,
7753,
198,
11748,
20218,
7753,
198,
11748,
19974,
7753,
198,
11748,
12854,
1891,
198,
11748,
7007,
198,
11748,
2471,
74,
26791,
17,
198,
6738,
2604,
22570,
1330,
49706,
198,
6738,
512,
4360,
4487,
1330,
3335,
355,
651,
62,
25202,
198,
198,
25202,
796,
651,
62,
25202,
3419,
198,
265,
87,
62,
25781,
62,
9641,
796,
366,
15,
13,
940,
13,
15,
1,
198,
198,
834,
439,
834,
796,
14631,
1136,
62,
265,
87,
62,
25781,
62,
65,
31249,
1600,
366,
1136,
62,
1929,
1381,
15414,
62,
499,
74,
8973,
628,
198,
4299,
651,
62,
265,
87,
62,
25781,
62,
65,
31249,
3419,
4613,
965,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
18537,
477,
3859,
379,
87,
12,
25781,
13934,
656,
530,
19974,
2393,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2196,
796,
379,
87,
62,
25781,
62,
9641,
198,
220,
220,
220,
2496,
62,
13344,
796,
277,
1,
85,
18738,
14,
265,
87,
12,
25781,
12,
90,
9641,
27422,
13344,
1,
198,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
4468,
576,
7,
16793,
62,
13344,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
76,
4335,
17062,
7203,
85,
18738,
1600,
2152,
62,
482,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
265,
87,
62,
25781,
62,
65,
31249,
7,
9641,
11,
2496,
62,
13344,
8,
198,
220,
220,
220,
1441,
2496,
62,
13344,
628,
198,
198,
4299,
651,
62,
301,
69,
62,
8800,
3166,
3419,
4613,
965,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10472,
422,
3740,
1378,
12567,
13,
785,
14,
9654,
265,
87,
14,
301,
69,
12,
8800,
3166,
628,
220,
220,
220,
17467,
657,
13,
17,
11,
1104,
284,
5565,
350,
198,
220,
220,
220,
17467,
657,
13,
18,
13,
15,
779,
336,
69,
14,
31,
25202,
16370,
647,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2196,
796,
366,
15,
13,
18,
13,
15,
1,
198,
220,
220,
220,
2496,
62,
6978,
796,
277,
1,
85,
18738,
14,
301,
69,
12,
8800,
3166,
12,
90,
9641,
27422,
13344,
1,
198,
220,
220,
220,
10162,
62,
15002,
7,
198,
220,
220,
220,
220,
220,
220,
220,
277,
1,
5450,
1378,
12567,
13,
785,
14,
9654,
265,
87,
14,
301,
69,
12,
8800,
3166,
14,
17474,
14,
90,
9641,
27422,
13344,
1600,
2496,
62,
6978,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
1441,
2496,
62,
6978,
628,
628,
198,
198,
4299,
4574,
62,
301,
69,
7,
6978,
25,
965,
11,
2244,
25,
965,
11,
19974,
7753,
62,
6978,
25,
965,
11,
4235,
28,
15,
78,
38172,
2599,
198,
220,
220,
220,
37227,
14689,
949,
291,
499,
290,
949,
270,
7673,
422,
19974,
37811,
198,
220,
220,
220,
351,
19974,
7753,
13,
41729,
8979,
7,
13344,
7753,
62,
6978,
8,
355,
1976,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3108,
407,
287,
1976,
13,
7402,
46331,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
43917,
7203,
301,
69,
3404,
4064,
82,
407,
1043,
1600,
3108,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
12351,
62,
10951,
796,
1976,
13,
1136,
10951,
7,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2244,
62,
10951,
796,
3335,
13,
27261,
13,
14269,
7,
16520,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2244,
62,
10951,
13,
7857,
6624,
12351,
62,
10951,
13,
7753,
62,
7857,
290,
2244,
62,
10951,
13,
14171,
1222,
4235,
6624,
4235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
282,
1493,
7121,
4064,
82,
1600,
3108,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1976,
13,
9654,
7,
6978,
8,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3335,
13,
27261,
13,
14689,
7,
69,
11,
2244,
11,
4235,
8,
198
] | 2.356936 | 692 |
test = { 'name': 'q1.3',
'points': 1,
'suites': [ { 'cases': [ { 'code': '>>> assert np.abs(v_direct_forward - 1280) / 1280 < 0.1;\n'
'>>> assert v_head_forward > 7000;\n'
'>>> assert v_direct_reverse < 2000;\n'
'>>> assert v_head_reverse > 2000\n',
'hidden': False,
'locked': False}],
'scored': True,
'setup': '',
'teardown': '',
'type': 'doctest'}]}
| [
9288,
796,
1391,
220,
220,
705,
3672,
10354,
705,
80,
16,
13,
18,
3256,
198,
220,
220,
220,
705,
13033,
10354,
352,
11,
198,
220,
220,
220,
705,
2385,
2737,
10354,
685,
220,
220,
1391,
220,
220,
705,
33964,
10354,
685,
220,
220,
1391,
220,
220,
705,
8189,
10354,
705,
33409,
6818,
45941,
13,
8937,
7,
85,
62,
12942,
62,
11813,
532,
37674,
8,
1220,
37674,
1279,
657,
13,
16,
26,
59,
77,
6,
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,
705,
33409,
6818,
410,
62,
2256,
62,
11813,
1875,
50205,
26,
59,
77,
6,
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,
705,
33409,
6818,
410,
62,
12942,
62,
50188,
1279,
4751,
26,
59,
77,
6,
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,
705,
33409,
6818,
410,
62,
2256,
62,
50188,
1875,
4751,
59,
77,
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,
30342,
10354,
10352,
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,
705,
24162,
10354,
10352,
92,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1416,
1850,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
40406,
10354,
705,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
660,
446,
593,
10354,
705,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4906,
10354,
705,
4598,
310,
395,
6,
92,
48999,
198
] | 1.465368 | 462 |
# -*- coding: utf-8 -*-
from django.db import models, migrations
from django.utils import timezone
ABOUT_PAGE = {
'title': 'About',
'slug': 'about',
'content': 'About placeholder text',
'publish_date': timezone.now(),
'created': timezone.now(),
'modified': timezone.now()
}
FAQ_PAGE = {
'title': 'Frequently Asked Questions',
'slug': 'faq',
'content': 'FAQ placeholder text',
'publish_date': timezone.now(),
'created': timezone.now(),
'modified': timezone.now()
}
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
628,
198,
6738,
42625,
14208,
13,
9945,
1330,
4981,
11,
15720,
602,
198,
6738,
42625,
14208,
13,
26791,
1330,
640,
11340,
628,
198,
6242,
12425,
62,
4537,
8264,
796,
1391,
198,
220,
220,
220,
705,
7839,
10354,
705,
8585,
3256,
198,
220,
220,
220,
705,
6649,
1018,
10354,
705,
10755,
3256,
198,
220,
220,
220,
705,
11299,
10354,
705,
8585,
46076,
2420,
3256,
198,
220,
220,
220,
705,
12984,
1836,
62,
4475,
10354,
640,
11340,
13,
2197,
22784,
198,
220,
220,
220,
705,
25598,
10354,
640,
11340,
13,
2197,
22784,
198,
220,
220,
220,
705,
41771,
10354,
640,
11340,
13,
2197,
3419,
198,
92,
198,
198,
42680,
62,
4537,
8264,
796,
1391,
198,
220,
220,
220,
705,
7839,
10354,
705,
37,
37971,
26220,
20396,
3256,
198,
220,
220,
220,
705,
6649,
1018,
10354,
705,
13331,
80,
3256,
198,
220,
220,
220,
705,
11299,
10354,
705,
42680,
46076,
2420,
3256,
198,
220,
220,
220,
705,
12984,
1836,
62,
4475,
10354,
640,
11340,
13,
2197,
22784,
198,
220,
220,
220,
705,
25598,
10354,
640,
11340,
13,
2197,
22784,
198,
220,
220,
220,
705,
41771,
10354,
640,
11340,
13,
2197,
3419,
198,
92,
628,
628
] | 2.536585 | 205 |
# Copyright 2015 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Self-extracting binary.
Generate a binary suitable for self-extraction:
self_extract_binary(
name = "install.sh",
launcher = "launcher.sh",
resources = ["path1/file1", "path2/file2"],
flatten_ressources = ["path3/file3"],
)
will generate a file 'install.sh' with a header (launcher.sh)
and a ZIP footer with the following entries:
path1/
path1/file1
path2/
path2/file2
file3
"""
def _self_extract_binary(ctx):
"""Implementation for the self_extract_binary rule."""
# This is a bit complex for stripping out timestamps
zip_artifact = ctx.new_file(ctx.label.name + ".zip")
touch_empty_files = [
"mkdir -p $(dirname ${tmpdir}/%s); touch ${tmpdir}/%s" % (f, f)
for f in ctx.attr.empty_files
]
cp_resources = [
("mkdir -p $(dirname ${tmpdir}/%s)\n" % r.short_path +
"cp %s ${tmpdir}/%s" % (r.path, r.short_path))
for r in ctx.files.resources
]
cp_flatten_resources = [
"cp %s ${tmpdir}/%s" % (r.path, r.basename)
for r in ctx.files.flatten_resources
]
ctx.action(
inputs = ctx.files.resources + ctx.files.flatten_resources,
outputs = [zip_artifact],
command = "\n".join([
"tmpdir=$(mktemp -d ${TMPDIR:-/tmp}/tmp.XXXXXXXX)",
"trap \"rm -fr ${tmpdir}\" EXIT"
] + touch_empty_files + cp_resources + cp_flatten_resources + [
"find ${tmpdir} -exec touch -t 198001010000.00 '{}' ';'",
"(d=${PWD}; cd ${tmpdir}; zip -rq ${d}/%s *)" % zip_artifact.path,
]),
mnemonic = "ZipBin",
)
ctx.action(
inputs = [ctx.file.launcher, zip_artifact],
outputs = [ctx.outputs.executable],
command = "\n".join([
"cat %s %s > %s" % (ctx.file.launcher.path,
zip_artifact.path,
ctx.outputs.executable.path),
"zip -qA %s" % ctx.outputs.executable.path
]),
mnemonic = "BuildSelfExtractable",
)
self_extract_binary = rule(
_self_extract_binary,
executable = True,
attrs = {
"launcher": attr.label(
mandatory=True,
allow_files=True,
single_file=True),
"empty_files": attr.string_list(default=[]),
"resources": attr.label_list(
default=[],
allow_files=True),
"flatten_resources": attr.label_list(
default=[],
allow_files=True),
},
)
| [
2,
15069,
1853,
383,
347,
41319,
46665,
13,
1439,
2489,
10395,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
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,
24704,
12,
2302,
974,
278,
13934,
13,
198,
8645,
378,
257,
13934,
11080,
329,
2116,
12,
2302,
7861,
25,
198,
944,
62,
2302,
974,
62,
39491,
7,
198,
220,
1438,
796,
366,
17350,
13,
1477,
1600,
198,
220,
24008,
796,
366,
38722,
2044,
13,
1477,
1600,
198,
220,
4133,
796,
14631,
6978,
16,
14,
7753,
16,
1600,
366,
6978,
17,
14,
7753,
17,
33116,
198,
220,
27172,
268,
62,
601,
2203,
796,
14631,
6978,
18,
14,
7753,
18,
33116,
198,
8,
198,
10594,
7716,
257,
2393,
705,
17350,
13,
1477,
6,
351,
257,
13639,
357,
38722,
2044,
13,
1477,
8,
198,
392,
257,
42977,
2366,
263,
351,
262,
1708,
12784,
25,
198,
220,
3108,
16,
14,
198,
220,
3108,
16,
14,
7753,
16,
198,
220,
3108,
17,
14,
198,
220,
3108,
17,
14,
7753,
17,
198,
220,
2393,
18,
198,
37811,
198,
198,
4299,
4808,
944,
62,
2302,
974,
62,
39491,
7,
49464,
2599,
198,
220,
37227,
3546,
32851,
329,
262,
2116,
62,
2302,
974,
62,
39491,
3896,
526,
15931,
198,
220,
1303,
770,
318,
257,
1643,
3716,
329,
37727,
503,
4628,
395,
9430,
198,
220,
19974,
62,
433,
29660,
796,
269,
17602,
13,
3605,
62,
7753,
7,
49464,
13,
18242,
13,
3672,
1343,
27071,
13344,
4943,
198,
220,
3638,
62,
28920,
62,
16624,
796,
685,
198,
220,
220,
220,
220,
220,
366,
28015,
15908,
532,
79,
29568,
15908,
3672,
25597,
22065,
15908,
92,
14,
4,
82,
1776,
3638,
25597,
22065,
15908,
92,
14,
4,
82,
1,
4064,
357,
69,
11,
277,
8,
198,
220,
220,
220,
220,
220,
329,
277,
287,
269,
17602,
13,
35226,
13,
28920,
62,
16624,
198,
220,
220,
220,
220,
220,
2361,
198,
220,
31396,
62,
37540,
796,
685,
198,
220,
220,
220,
220,
220,
5855,
28015,
15908,
532,
79,
29568,
15908,
3672,
25597,
22065,
15908,
92,
14,
4,
82,
19415,
77,
1,
4064,
374,
13,
19509,
62,
6978,
1343,
198,
220,
220,
220,
220,
220,
220,
366,
13155,
4064,
82,
25597,
22065,
15908,
92,
14,
4,
82,
1,
4064,
357,
81,
13,
6978,
11,
374,
13,
19509,
62,
6978,
4008,
198,
220,
220,
220,
220,
220,
329,
374,
287,
269,
17602,
13,
16624,
13,
37540,
198,
220,
220,
220,
220,
220,
2361,
198,
220,
31396,
62,
2704,
41769,
62,
37540,
796,
685,
198,
220,
220,
220,
220,
220,
366,
13155,
4064,
82,
25597,
22065,
15908,
92,
14,
4,
82,
1,
4064,
357,
81,
13,
6978,
11,
374,
13,
12093,
12453,
8,
198,
220,
220,
220,
220,
220,
329,
374,
287,
269,
17602,
13,
16624,
13,
2704,
41769,
62,
37540,
198,
220,
220,
220,
220,
220,
2361,
198,
220,
269,
17602,
13,
2673,
7,
198,
220,
220,
220,
220,
220,
17311,
796,
269,
17602,
13,
16624,
13,
37540,
1343,
269,
17602,
13,
16624,
13,
2704,
41769,
62,
37540,
11,
198,
220,
220,
220,
220,
220,
23862,
796,
685,
13344,
62,
433,
29660,
4357,
198,
220,
220,
220,
220,
220,
3141,
796,
37082,
77,
1911,
22179,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
22065,
15908,
43641,
7,
28015,
29510,
532,
67,
25597,
15972,
5760,
4663,
21912,
14,
22065,
92,
14,
22065,
13,
24376,
24376,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
46670,
19990,
26224,
532,
8310,
25597,
22065,
15908,
92,
7879,
7788,
2043,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
1343,
3638,
62,
28920,
62,
16624,
1343,
31396,
62,
37540,
1343,
31396,
62,
2704,
41769,
62,
37540,
1343,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
19796,
25597,
22065,
15908,
92,
532,
18558,
3638,
532,
83,
2757,
8298,
486,
2388,
13,
405,
705,
90,
92,
6,
705,
26,
6,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30629,
67,
28,
38892,
47,
22332,
19629,
22927,
25597,
22065,
15908,
19629,
19974,
532,
81,
80,
25597,
67,
92,
14,
4,
82,
1635,
16725,
4064,
19974,
62,
433,
29660,
13,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
828,
198,
220,
220,
220,
220,
220,
285,
77,
50016,
796,
366,
41729,
33,
259,
1600,
198,
220,
1267,
198,
220,
269,
17602,
13,
2673,
7,
198,
220,
220,
220,
220,
220,
17311,
796,
685,
49464,
13,
7753,
13,
38722,
2044,
11,
19974,
62,
433,
29660,
4357,
198,
220,
220,
220,
220,
220,
23862,
796,
685,
49464,
13,
22915,
82,
13,
18558,
18187,
4357,
198,
220,
220,
220,
220,
220,
3141,
796,
37082,
77,
1911,
22179,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
9246,
4064,
82,
4064,
82,
1875,
4064,
82,
1,
4064,
357,
49464,
13,
7753,
13,
38722,
2044,
13,
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,
19974,
62,
433,
29660,
13,
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,
269,
17602,
13,
22915,
82,
13,
18558,
18187,
13,
6978,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
13344,
532,
80,
32,
4064,
82,
1,
4064,
269,
17602,
13,
22915,
82,
13,
18558,
18187,
13,
6978,
198,
220,
220,
220,
220,
220,
2361,
828,
198,
220,
220,
220,
220,
220,
285,
77,
50016,
796,
366,
15580,
24704,
11627,
974,
540,
1600,
198,
220,
1267,
198,
198,
944,
62,
2302,
974,
62,
39491,
796,
3896,
7,
198,
220,
220,
220,
4808,
944,
62,
2302,
974,
62,
39491,
11,
198,
220,
220,
220,
28883,
796,
6407,
11,
198,
220,
220,
220,
708,
3808,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
38722,
2044,
1298,
708,
81,
13,
18242,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13677,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1249,
62,
16624,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2060,
62,
7753,
28,
17821,
828,
198,
220,
220,
220,
220,
220,
220,
220,
366,
28920,
62,
16624,
1298,
708,
81,
13,
8841,
62,
4868,
7,
12286,
28,
21737,
828,
198,
220,
220,
220,
220,
220,
220,
220,
366,
37540,
1298,
708,
81,
13,
18242,
62,
4868,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1249,
62,
16624,
28,
17821,
828,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2704,
41769,
62,
37540,
1298,
708,
81,
13,
18242,
62,
4868,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1249,
62,
16624,
28,
17821,
828,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
1267,
198
] | 2.294428 | 1,328 |
#!/usr/local/bin/python3
'''
libradius(3) wrapper
'''
import socket
from ctypes import *
from ctypes import util
from collections import namedtuple
from enum import IntEnum, unique
RadiusAttribute = namedtuple('RadiusAttribute', ['type', 'data', 'datalen', 'vendor'])
# allow unknown attributes as pure integers
@unique
@unique
@unique
@unique
@unique
@unique
@unique
@unique
@unique
radlib = CDLL(util.find_library("radius"))
libc = CDLL(util.find_library("c"))
libc.free.argtypes = [c_void_p]
radlib.rad_acct_open.restype = c_void_p
radlib.rad_auth_open.restype = c_void_p
radlib.rad_close.argtypes = [ c_void_p ]
radlib.rad_add_server.argtypes = [ c_void_p, c_char_p, c_int, c_char_p, c_int, c_int ]
radlib.rad_add_server_ex.argtypes = [ c_void_p, c_char_p, c_int, c_char_p, c_int, c_int, c_int, c_void_p ]
radlib.rad_config.argtypes = [ c_void_p, c_char_p ]
radlib.rad_init_send_request.argtypes = [ c_void_p, POINTER(c_int), POINTER(timeval) ]
radlib.rad_continue_send_request.argtypes = [ c_void_p, c_int, POINTER(c_int), POINTER(timeval) ]
radlib.rad_create_request.argtypes = [ c_void_p, c_int ]
radlib.rad_create_response.argtypes = [ c_void_p, c_int ]
radlib.rad_cvt_addr.restype = c_uint
radlib.rad_cvt_addr.argtypes = [ c_void_p ]
radlib.rad_cvt_int.restype = c_uint
radlib.rad_cvt_int.argtypes = [ c_void_p ]
radlib.rad_cvt_string.restype = POINTER(c_char)
radlib.rad_cvt_string.argtypes = [ c_void_p, c_size_t ]
radlib.rad_get_attr.argtypes = [ c_void_p, c_void_p, c_void_p ]
radlib.rad_get_vendor_attr.artgtypes = [ POINTER(c_uint), c_void_p, POINTER(c_size_t) ]
radlib.rad_put_addr.argtypes = [ c_void_p, c_int, c_uint ]
radlib.rad_put_attr.argtypes = [ c_void_p, c_int, c_void_p, c_size_t ]
radlib.rad_put_int.argtypes = [ c_void_p, c_int, c_uint ]
radlib.rad_put_string.argtypes = [ c_void_p, c_int, c_char_p ]
radlib.rad_put_message_authentic.argtypes = [ c_void_p ]
radlib.rad_put_vendor_addr.argtypes = [ c_void_p, c_int, c_int, c_uint ]
radlib.rad_put_vendor_attr.argtypes = [ c_void_p, c_int, c_int, c_void_p, c_size_t ]
radlib.rad_put_vendor_int.argtypes = [ c_void_p, c_int, c_int, c_uint ]
radlib.rad_put_vendor_string.argtypes = [ c_void_p, c_int, c_int, c_char_p ]
radlib.rad_request_authenticator.restype = c_ssize_t
radlib.rad_request_authenticator.argtypes = [ c_void_p, POINTER(c_char), c_size_t ]
radlib.rad_receive_request.argtypes = [ c_void_p ]
radlib.rad_send_request.argtypes = [ c_void_p ]
radlib.rad_send_response.argtypes = [ c_void_p ]
radlib.rad_server_open.restype = c_void_p
radlib.rad_server_open.argtypes = [ c_int ]
radlib.rad_server_secret.restype = c_char_p
radlib.rad_server_secret.argtypes = [ c_void_p ]
radlib.rad_bind_to.argtypes = [ c_void_p, c_uint ]
radlib.rad_demangle.restype = POINTER(c_char)
radlib.rad_demangle.argtypes = [ c_void_p, c_void_p, c_size_t ]
radlib.rad_demangle_mppe_key.restype = POINTER(c_char)
radlib.rad_demangle_mppe_key.argtypes = [ c_void_p, c_void_p, c_size_t, c_void_p ]
radlib.rad_strerror.restype = c_char_p
radlib.rad_strerror.argtypes = [ c_void_p ]
| [
2,
48443,
14629,
14,
12001,
14,
8800,
14,
29412,
18,
198,
198,
7061,
6,
198,
75,
2889,
324,
3754,
7,
18,
8,
29908,
198,
7061,
6,
198,
198,
11748,
17802,
198,
6738,
269,
19199,
1330,
1635,
198,
6738,
269,
19199,
1330,
7736,
198,
6738,
17268,
1330,
3706,
83,
29291,
198,
6738,
33829,
1330,
2558,
4834,
388,
11,
3748,
198,
198,
15546,
3754,
33682,
796,
3706,
83,
29291,
10786,
15546,
3754,
33682,
3256,
37250,
4906,
3256,
705,
7890,
3256,
705,
67,
10254,
268,
3256,
705,
85,
18738,
6,
12962,
198,
220,
220,
220,
1303,
1249,
6439,
12608,
355,
5899,
37014,
198,
198,
31,
34642,
198,
198,
31,
34642,
198,
198,
31,
34642,
198,
198,
31,
34642,
198,
198,
31,
34642,
198,
198,
31,
34642,
198,
198,
31,
34642,
198,
198,
31,
34642,
198,
198,
31,
34642,
628,
198,
6335,
8019,
796,
6458,
3069,
7,
22602,
13,
19796,
62,
32016,
7203,
42172,
48774,
198,
8019,
66,
796,
6458,
3069,
7,
22602,
13,
19796,
62,
32016,
7203,
66,
48774,
198,
198,
8019,
66,
13,
5787,
13,
853,
19199,
796,
685,
66,
62,
19382,
62,
79,
60,
198,
198,
6335,
8019,
13,
6335,
62,
330,
310,
62,
9654,
13,
2118,
2981,
796,
269,
62,
19382,
62,
79,
198,
198,
6335,
8019,
13,
6335,
62,
18439,
62,
9654,
13,
2118,
2981,
796,
269,
62,
19382,
62,
79,
198,
198,
6335,
8019,
13,
6335,
62,
19836,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
2860,
62,
15388,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
10641,
62,
79,
11,
269,
62,
600,
11,
269,
62,
10641,
62,
79,
11,
269,
62,
600,
11,
269,
62,
600,
2361,
198,
220,
220,
220,
220,
198,
6335,
8019,
13,
6335,
62,
2860,
62,
15388,
62,
1069,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
10641,
62,
79,
11,
269,
62,
600,
11,
269,
62,
10641,
62,
79,
11,
269,
62,
600,
11,
269,
62,
600,
11,
269,
62,
600,
11,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
11250,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
10641,
62,
79,
2361,
198,
220,
220,
220,
220,
198,
6335,
8019,
13,
6335,
62,
15003,
62,
21280,
62,
25927,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
19922,
41358,
7,
66,
62,
600,
828,
19922,
41358,
7,
2435,
2100,
8,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
43043,
62,
21280,
62,
25927,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
19922,
41358,
7,
66,
62,
600,
828,
19922,
41358,
7,
2435,
2100,
8,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
17953,
62,
25927,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
17953,
62,
26209,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
33967,
83,
62,
29851,
13,
2118,
2981,
796,
269,
62,
28611,
198,
6335,
8019,
13,
6335,
62,
33967,
83,
62,
29851,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
33967,
83,
62,
600,
13,
2118,
2981,
796,
269,
62,
28611,
198,
6335,
8019,
13,
6335,
62,
33967,
83,
62,
600,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
33967,
83,
62,
8841,
13,
2118,
2981,
796,
19922,
41358,
7,
66,
62,
10641,
8,
198,
6335,
8019,
13,
6335,
62,
33967,
83,
62,
8841,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
7857,
62,
83,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1136,
62,
35226,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
19382,
62,
79,
11,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1136,
62,
85,
18738,
62,
35226,
13,
433,
70,
19199,
796,
685,
19922,
41358,
7,
66,
62,
28611,
828,
269,
62,
19382,
62,
79,
11,
19922,
41358,
7,
66,
62,
7857,
62,
83,
8,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
29851,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
28611,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
35226,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
19382,
62,
79,
11,
269,
62,
7857,
62,
83,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
600,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
28611,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
8841,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
10641,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
20500,
62,
41299,
291,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
85,
18738,
62,
29851,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
600,
11,
269,
62,
28611,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
85,
18738,
62,
35226,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
600,
11,
269,
62,
19382,
62,
79,
11,
269,
62,
7857,
62,
83,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
85,
18738,
62,
600,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
600,
11,
269,
62,
28611,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
1996,
62,
85,
18738,
62,
8841,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
600,
11,
269,
62,
600,
11,
269,
62,
10641,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
25927,
62,
41299,
26407,
13,
2118,
2981,
796,
269,
62,
824,
1096,
62,
83,
198,
6335,
8019,
13,
6335,
62,
25927,
62,
41299,
26407,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
19922,
41358,
7,
66,
62,
10641,
828,
269,
62,
7857,
62,
83,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
260,
15164,
62,
25927,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
21280,
62,
25927,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
21280,
62,
26209,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
15388,
62,
9654,
13,
2118,
2981,
796,
269,
62,
19382,
62,
79,
198,
6335,
8019,
13,
6335,
62,
15388,
62,
9654,
13,
853,
19199,
796,
685,
269,
62,
600,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
15388,
62,
21078,
13,
2118,
2981,
796,
269,
62,
10641,
62,
79,
198,
6335,
8019,
13,
6335,
62,
15388,
62,
21078,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
21653,
62,
1462,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
28611,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
9536,
9248,
13,
2118,
2981,
796,
19922,
41358,
7,
66,
62,
10641,
8,
198,
6335,
8019,
13,
6335,
62,
9536,
9248,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
19382,
62,
79,
11,
269,
62,
7857,
62,
83,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
9536,
9248,
62,
76,
27768,
62,
2539,
13,
2118,
2981,
796,
19922,
41358,
7,
66,
62,
10641,
8,
198,
6335,
8019,
13,
6335,
62,
9536,
9248,
62,
76,
27768,
62,
2539,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
11,
269,
62,
19382,
62,
79,
11,
269,
62,
7857,
62,
83,
11,
269,
62,
19382,
62,
79,
2361,
198,
198,
6335,
8019,
13,
6335,
62,
301,
11751,
1472,
13,
2118,
2981,
796,
269,
62,
10641,
62,
79,
198,
6335,
8019,
13,
6335,
62,
301,
11751,
1472,
13,
853,
19199,
796,
685,
269,
62,
19382,
62,
79,
2361,
198
] | 2.233429 | 1,388 |
import torch
from models.resnet import ResNet
from shapley.dshap import DShap
from utils.dataset import FashionMNISTDataModule
from shapley.knn_shapley import KNNShapley
if __name__ == "__main__":
save_dir = "fmnist_shapley.pt"
scores = main()
print(scores)
torch.save(scores, save_dir) | [
11748,
28034,
220,
198,
198,
6738,
4981,
13,
411,
3262,
1330,
1874,
7934,
220,
198,
6738,
427,
499,
1636,
13,
67,
1477,
499,
1330,
360,
2484,
499,
220,
198,
6738,
3384,
4487,
13,
19608,
292,
316,
1330,
30958,
39764,
8808,
6601,
26796,
198,
6738,
427,
499,
1636,
13,
15418,
77,
62,
1477,
499,
1636,
1330,
509,
6144,
2484,
499,
1636,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
3613,
62,
15908,
796,
366,
69,
10295,
396,
62,
1477,
499,
1636,
13,
457,
1,
198,
220,
220,
220,
8198,
796,
1388,
3419,
198,
220,
220,
220,
3601,
7,
1416,
2850,
8,
198,
220,
220,
220,
28034,
13,
21928,
7,
1416,
2850,
11,
3613,
62,
15908,
8
] | 2.504065 | 123 |
import yaml
from unittest import TestCase, main
from dynamic_yaml import load, dump
if __name__ == '__main__':
import sys
sys.exit(main())
| [
11748,
331,
43695,
198,
198,
6738,
555,
715,
395,
1330,
6208,
20448,
11,
1388,
198,
198,
6738,
8925,
62,
88,
43695,
1330,
3440,
11,
10285,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1330,
25064,
628,
220,
220,
220,
25064,
13,
37023,
7,
12417,
28955,
198
] | 2.781818 | 55 |
from flask_cors import CORS
if __name__ == "__main__":
app = Flask(__name__)
app.secret_key = "averysecretkey" # secret key for encoding and decoding session data
#app.permanent_session_lifetime = datetime.timedelta(hours=12)
CORS(app, supports_credentials=True)
app.run() # for development
#app.run(debug=True,host='0.0.0.0',port=int(os.environ.get('PORT', 8080))) # for production
| [
6738,
42903,
62,
66,
669,
1330,
327,
20673,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
598,
796,
46947,
7,
834,
3672,
834,
8,
198,
220,
220,
220,
598,
13,
21078,
62,
2539,
796,
366,
12447,
21078,
2539,
1,
1303,
3200,
1994,
329,
21004,
290,
39938,
6246,
1366,
198,
220,
220,
220,
1303,
1324,
13,
525,
44172,
62,
29891,
62,
36195,
8079,
796,
4818,
8079,
13,
16514,
276,
12514,
7,
24425,
28,
1065,
8,
198,
220,
220,
220,
327,
20673,
7,
1324,
11,
6971,
62,
66,
445,
14817,
28,
17821,
8,
628,
198,
220,
220,
220,
598,
13,
5143,
3419,
1303,
329,
2478,
198,
220,
220,
220,
1303,
1324,
13,
5143,
7,
24442,
28,
17821,
11,
4774,
11639,
15,
13,
15,
13,
15,
13,
15,
3256,
634,
28,
600,
7,
418,
13,
268,
2268,
13,
1136,
10786,
15490,
3256,
4019,
1795,
22305,
1303,
329,
3227,
198
] | 2.668831 | 154 |
#
# ISC License
#
# Copyright (C) 2021-present DS-Homebrew
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
import os
import json
IS_DOCKER = os.environ.get('IS_DOCKER', '')
# Load config
settingsf = open('settings.json')
settings = json.load(settingsf)
TOKEN = settings['DEFAULT']['TOKEN']
PREFIX = [x for x in settings['DEFAULT']['PREFIX']]
STATUS = settings['DEFAULT']['STATUS']
staff_roles = [x for x in settings['MODERATOR']]
NINUPDATE = settings['CHANNEL']['NINUPDATES']
GUILD = settings.get('GUILD')
| [
2,
198,
2,
3180,
34,
13789,
198,
2,
198,
2,
15069,
357,
34,
8,
33448,
12,
25579,
17400,
12,
16060,
11269,
198,
2,
198,
2,
2448,
3411,
284,
779,
11,
4866,
11,
13096,
11,
290,
14,
273,
14983,
428,
3788,
329,
597,
198,
2,
4007,
351,
393,
1231,
6838,
318,
29376,
7520,
11,
2810,
326,
262,
2029,
198,
2,
6634,
4003,
290,
428,
7170,
4003,
1656,
287,
477,
9088,
13,
198,
2,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1,
5357,
3336,
44746,
13954,
48778,
50,
11096,
34764,
11015,
198,
2,
13315,
23337,
9795,
5390,
12680,
47466,
47783,
2751,
11096,
8959,
49094,
34764,
11015,
3963,
198,
2,
34482,
3398,
1565,
5603,
25382,
5357,
376,
46144,
13,
3268,
8005,
49261,
50163,
3336,
44746,
9348,
43031,
19146,
7473,
198,
2,
15529,
38846,
11,
42242,
11,
3268,
17931,
23988,
11,
6375,
7102,
5188,
10917,
3525,
12576,
29506,
25552,
6375,
15529,
29506,
25552,
198,
2,
25003,
15821,
36,
5959,
15731,
16724,
2751,
16034,
406,
18420,
3963,
23210,
11,
42865,
6375,
4810,
19238,
29722,
11,
7655,
2767,
16879,
3268,
3537,
198,
2,
40282,
3963,
27342,
10659,
11,
399,
7156,
43,
3528,
18310,
6375,
25401,
309,
9863,
40,
20958,
40282,
11,
5923,
1797,
2751,
16289,
3963,
198,
2,
6375,
3268,
7102,
45,
24565,
13315,
3336,
23210,
6375,
19878,
13775,
10725,
5222,
3963,
12680,
47466,
13,
198,
2,
198,
198,
11748,
28686,
198,
11748,
33918,
198,
198,
1797,
62,
35,
11290,
1137,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
1797,
62,
35,
11290,
1137,
3256,
10148,
8,
198,
198,
2,
8778,
4566,
198,
33692,
69,
796,
1280,
10786,
33692,
13,
17752,
11537,
198,
33692,
796,
33918,
13,
2220,
7,
33692,
69,
8,
198,
198,
10468,
43959,
796,
6460,
17816,
7206,
38865,
6,
7131,
6,
10468,
43959,
20520,
198,
47,
31688,
10426,
796,
685,
87,
329,
2124,
287,
6460,
17816,
7206,
38865,
6,
7131,
6,
47,
31688,
10426,
6,
11907,
198,
35744,
2937,
796,
6460,
17816,
7206,
38865,
6,
7131,
6,
35744,
2937,
20520,
198,
28120,
62,
305,
829,
796,
685,
87,
329,
2124,
287,
6460,
17816,
33365,
1137,
25633,
6,
11907,
198,
45,
1268,
16977,
796,
6460,
17816,
3398,
22846,
3698,
6,
7131,
6,
45,
1268,
52,
5760,
29462,
20520,
198,
38022,
26761,
796,
6460,
13,
1136,
10786,
38022,
26761,
11537,
198
] | 3.115789 | 380 |
# Copyright (c) 2018-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import absolute_import, division, print_function, unicode_literals
from distutils.core import setup
from Cython.Build import cythonize
import numpy
from distutils.extension import Extension
from subprocess import check_output
from distutils import sysconfig
import re
extra_compile_args = ['-std=c++11']
# Super hacky way of determining if clang or gcc is being used
CC = sysconfig.get_config_vars().get('CC', 'gcc').split(' ')[0]
out = check_output([CC, '--version'])
if re.search('apple *llvm', str(out.lower())):
extra_compile_args.append('-stdlib=libc++')
extensions = [
Extension(
"hype.graph_dataset",
["hype/graph_dataset.pyx"],
include_dirs=[numpy.get_include()],
extra_compile_args=extra_compile_args,
language='c++',
),
]
setup(
ext_modules=cythonize(extensions),
)
| [
2,
15069,
357,
66,
8,
2864,
12,
25579,
11,
3203,
11,
3457,
13,
198,
2,
1439,
2489,
10395,
13,
198,
2,
198,
2,
770,
2723,
2438,
318,
11971,
739,
262,
5964,
1043,
287,
262,
198,
2,
38559,
24290,
2393,
287,
262,
6808,
8619,
286,
428,
2723,
5509,
13,
198,
198,
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
11,
7297,
11,
3601,
62,
8818,
11,
28000,
1098,
62,
17201,
874,
198,
6738,
1233,
26791,
13,
7295,
1330,
9058,
198,
6738,
327,
7535,
13,
15580,
1330,
3075,
400,
261,
1096,
198,
11748,
299,
32152,
198,
6738,
1233,
26791,
13,
2302,
3004,
1330,
27995,
198,
6738,
850,
14681,
1330,
2198,
62,
22915,
198,
6738,
1233,
26791,
1330,
25064,
11250,
198,
11748,
302,
198,
198,
26086,
62,
5589,
576,
62,
22046,
796,
685,
29001,
19282,
28,
66,
4880,
1157,
20520,
198,
198,
2,
3115,
8156,
88,
835,
286,
13213,
611,
537,
648,
393,
49582,
318,
852,
973,
198,
4093,
796,
25064,
11250,
13,
1136,
62,
11250,
62,
85,
945,
22446,
1136,
10786,
4093,
3256,
705,
70,
535,
27691,
35312,
10786,
705,
38381,
15,
60,
198,
448,
796,
2198,
62,
22915,
26933,
4093,
11,
705,
438,
9641,
6,
12962,
198,
361,
302,
13,
12947,
10786,
18040,
1635,
297,
14761,
3256,
965,
7,
448,
13,
21037,
28955,
2599,
198,
220,
220,
220,
3131,
62,
5589,
576,
62,
22046,
13,
33295,
10786,
12,
19282,
8019,
28,
8019,
66,
4880,
11537,
198,
198,
2302,
5736,
796,
685,
198,
220,
220,
220,
27995,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
71,
2981,
13,
34960,
62,
19608,
292,
316,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
14631,
71,
2981,
14,
34960,
62,
19608,
292,
316,
13,
9078,
87,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
2291,
62,
15908,
82,
41888,
77,
32152,
13,
1136,
62,
17256,
3419,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
3131,
62,
5589,
576,
62,
22046,
28,
26086,
62,
5589,
576,
62,
22046,
11,
198,
220,
220,
220,
220,
220,
220,
220,
3303,
11639,
66,
4880,
3256,
198,
220,
220,
220,
10612,
198,
60,
628,
198,
40406,
7,
198,
220,
220,
220,
1070,
62,
18170,
28,
948,
400,
261,
1096,
7,
2302,
5736,
828,
198,
8,
198
] | 2.814016 | 371 |
#!/usr/bin/python3
import sys
import argparse
import time
import json
import requests
import socketio
from utils import create_hmac_sig
URL_BASE = "http://localhost:5000/"
WS_URL = "ws://localhost:5000/"
EXIT_NO_COMMAND = 1
if __name__ == "__main__":
# parse arguments
parser = construct_parser()
args = parser.parse_args()
# set appropriate function
function = None
if args.command == "websocket":
function = websocket
elif args.command == "watch":
function = watch
elif args.command == "register":
function = register
elif args.command == "check":
function = check
elif args.command == "claim":
function = claim
elif args.command == "merchanttx":
function = merchanttx
elif args.command == "rates":
function = rates
elif args.command == "wallet_address":
function = wallet_address
elif args.command == "banks":
function = banks
elif args.command == "settlement":
function = settlement
elif args.command == "settlement_set_txid":
function = settlement_set_txid
else:
parser.print_help()
sys.exit(EXIT_NO_COMMAND)
if function:
function(args)
| [
2,
48443,
14629,
14,
8800,
14,
29412,
18,
198,
198,
11748,
25064,
198,
11748,
1822,
29572,
198,
11748,
640,
198,
11748,
33918,
198,
198,
11748,
7007,
198,
11748,
17802,
952,
198,
198,
6738,
3384,
4487,
1330,
2251,
62,
71,
20285,
62,
82,
328,
198,
198,
21886,
62,
33,
11159,
796,
366,
4023,
1378,
36750,
25,
27641,
30487,
198,
19416,
62,
21886,
796,
366,
18504,
1378,
36750,
25,
27641,
30487,
198,
198,
6369,
2043,
62,
15285,
62,
9858,
44,
6981,
796,
352,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1303,
21136,
7159,
198,
220,
220,
220,
30751,
796,
5678,
62,
48610,
3419,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
628,
220,
220,
220,
1303,
900,
5035,
2163,
198,
220,
220,
220,
2163,
796,
6045,
198,
220,
220,
220,
611,
26498,
13,
21812,
6624,
366,
732,
1443,
5459,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
2639,
5459,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
8340,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
2342,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
30238,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
7881,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
9122,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
2198,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
6604,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
1624,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
647,
8907,
17602,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
20729,
17602,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
9700,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
3965,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
44623,
62,
21975,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
13008,
62,
21975,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
43558,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
6341,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
17744,
1732,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
9443,
198,
220,
220,
220,
1288,
361,
26498,
13,
21812,
6624,
366,
17744,
1732,
62,
2617,
62,
17602,
312,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
796,
9443,
62,
2617,
62,
17602,
312,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
30751,
13,
4798,
62,
16794,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
6369,
2043,
62,
15285,
62,
9858,
44,
6981,
8,
628,
220,
220,
220,
611,
2163,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
7,
22046,
8,
198
] | 2.554865 | 483 |
import pygame
import pymunk
class Bullet:
"""Class for making a bullet
Arguments:
pos {tuple} -- Starting position of the bullet.
vel {tuple} -- Starting velocity of the bullet.
radius {int} -- Radius of bullet (to make relative to tank size).
"""
| [
11748,
12972,
6057,
198,
11748,
279,
4948,
2954,
628,
198,
4871,
18003,
25,
198,
220,
220,
220,
37227,
9487,
329,
1642,
257,
10492,
628,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1426,
1391,
83,
29291,
92,
1377,
17962,
2292,
286,
262,
10492,
13,
198,
220,
220,
220,
220,
220,
220,
220,
11555,
1391,
83,
29291,
92,
1377,
17962,
15432,
286,
262,
10492,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16874,
1391,
600,
92,
1377,
48838,
286,
10492,
357,
1462,
787,
3585,
284,
6873,
2546,
737,
198,
220,
220,
220,
37227,
198
] | 2.87 | 100 |
"""
Lift Curve Widget
-----------------
"""
from collections import namedtuple
import numpy as np
import sklearn.metrics as skl_metrics
from AnyQt import QtWidgets
from AnyQt.QtGui import QColor, QPen, QPalette, QFont
from AnyQt.QtCore import Qt
import pyqtgraph as pg
import Orange
from Orange.widgets import widget, gui, settings
from Orange.widgets.evaluate.utils import check_results_adequacy
from Orange.widgets.utils import colorpalette, colorbrewer
from Orange.widgets.evaluate.owrocanalysis import convex_hull
from Orange.widgets.widget import Input
from Orange.widgets import report
CurvePoints = namedtuple("CurvePoints", ["cases", "tpr", "thresholds"])
CurvePoints.is_valid = property(lambda self: self.cases.size > 0)
LiftCurve = namedtuple("LiftCurve", ["points", "hull"])
LiftCurve.is_valid = property(lambda self: self.points.is_valid)
PlotCurve = namedtuple("PlotCurve", ["curve", "curve_item", "hull_item"])
if __name__ == "__main__":
main()
| [
37811,
198,
43,
2135,
46300,
370,
17484,
198,
1783,
12,
198,
198,
37811,
198,
6738,
17268,
1330,
3706,
83,
29291,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
1341,
35720,
13,
4164,
10466,
355,
1341,
75,
62,
4164,
10466,
198,
198,
6738,
4377,
48,
83,
1330,
33734,
54,
312,
11407,
198,
6738,
4377,
48,
83,
13,
48,
83,
8205,
72,
1330,
1195,
10258,
11,
1195,
25553,
11,
1195,
11531,
5857,
11,
1195,
23252,
198,
6738,
4377,
48,
83,
13,
48,
83,
14055,
1330,
33734,
198,
198,
11748,
12972,
80,
25297,
1470,
355,
23241,
198,
198,
11748,
11942,
198,
6738,
11942,
13,
28029,
11407,
1330,
26295,
11,
11774,
11,
6460,
198,
6738,
11942,
13,
28029,
11407,
13,
49786,
13,
26791,
1330,
2198,
62,
43420,
62,
16515,
1590,
198,
6738,
11942,
13,
28029,
11407,
13,
26791,
1330,
3124,
18596,
5857,
11,
3124,
11269,
263,
198,
6738,
11942,
13,
28029,
11407,
13,
49786,
13,
322,
305,
5171,
8767,
1330,
24748,
87,
62,
71,
724,
198,
6738,
11942,
13,
28029,
11407,
13,
42655,
1330,
23412,
198,
6738,
11942,
13,
28029,
11407,
1330,
989,
628,
198,
26628,
303,
40710,
796,
3706,
83,
29291,
7203,
26628,
303,
40710,
1600,
14631,
33964,
1600,
366,
83,
1050,
1600,
366,
400,
10126,
82,
8973,
8,
198,
26628,
303,
40710,
13,
271,
62,
12102,
796,
3119,
7,
50033,
2116,
25,
2116,
13,
33964,
13,
7857,
1875,
657,
8,
198,
198,
43,
2135,
26628,
303,
796,
3706,
83,
29291,
7203,
43,
2135,
26628,
303,
1600,
14631,
13033,
1600,
366,
71,
724,
8973,
8,
198,
43,
2135,
26628,
303,
13,
271,
62,
12102,
796,
3119,
7,
50033,
2116,
25,
2116,
13,
13033,
13,
271,
62,
12102,
8,
628,
198,
198,
43328,
26628,
303,
796,
3706,
83,
29291,
7203,
43328,
26628,
303,
1600,
14631,
22019,
303,
1600,
366,
22019,
303,
62,
9186,
1600,
366,
71,
724,
62,
9186,
8973,
8,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 2.978723 | 329 |
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# ##### END GPL LICENSE BLOCK #####
# <pep8 compliant>
import bpy
from bpy.types import Header, Menu
if __name__ == "__main__": # only for live edit.
bpy.utils.register_module(__name__)
| [
2,
46424,
347,
43312,
38644,
38559,
24290,
9878,
11290,
46424,
198,
2,
198,
2,
220,
770,
1430,
318,
1479,
3788,
26,
345,
460,
17678,
4163,
340,
290,
14,
273,
198,
2,
220,
13096,
340,
739,
262,
2846,
286,
262,
22961,
3611,
5094,
13789,
198,
2,
220,
355,
3199,
416,
262,
3232,
10442,
5693,
26,
2035,
2196,
362,
198,
2,
220,
286,
262,
13789,
11,
393,
357,
265,
534,
3038,
8,
597,
1568,
2196,
13,
198,
2,
198,
2,
220,
770,
1430,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
198,
2,
220,
475,
42881,
15529,
34764,
56,
26,
1231,
772,
262,
17142,
18215,
286,
198,
2,
220,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
220,
4091,
262,
198,
2,
220,
22961,
3611,
5094,
13789,
329,
517,
3307,
13,
198,
2,
198,
2,
220,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
3611,
5094,
13789,
198,
2,
220,
1863,
351,
428,
1430,
26,
611,
407,
11,
3551,
284,
262,
3232,
10442,
5693,
11,
198,
2,
220,
3457,
1539,
6885,
14021,
3530,
11,
19383,
22343,
11,
6182,
11,
8779,
657,
2481,
940,
12,
1485,
486,
11,
4916,
13,
198,
2,
198,
2,
46424,
23578,
38644,
38559,
24290,
9878,
11290,
46424,
198,
198,
2,
1279,
431,
79,
23,
31332,
29,
198,
11748,
275,
9078,
198,
6738,
275,
9078,
13,
19199,
1330,
48900,
11,
21860,
628,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
220,
1303,
691,
329,
2107,
4370,
13,
198,
220,
220,
220,
275,
9078,
13,
26791,
13,
30238,
62,
21412,
7,
834,
3672,
834,
8,
198
] | 3.492701 | 274 |
import re
from collections import defaultdict
import discord
from discord import app_commands
from discord.ext import commands
from utils import (GIRContext, cfg, get_ios_cfw, transform_context,
transform_groups)
from utils.framework import (DeviceTransformer, VersionOnDevice,
always_whisper,
ensure_invokee_role_lower_than_bot, whisper)
from utils.views import (Confirm, device_autocomplete,
ios_on_device_autocomplete)
| [
11748,
302,
198,
6738,
17268,
1330,
4277,
11600,
198,
198,
11748,
36446,
198,
6738,
36446,
1330,
598,
62,
9503,
1746,
198,
6738,
36446,
13,
2302,
1330,
9729,
198,
6738,
3384,
4487,
1330,
357,
38,
4663,
21947,
11,
30218,
70,
11,
651,
62,
4267,
62,
12993,
86,
11,
6121,
62,
22866,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6121,
62,
24432,
8,
198,
6738,
3384,
4487,
13,
30604,
1330,
357,
24728,
8291,
16354,
11,
10628,
2202,
24728,
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,
1464,
62,
1929,
271,
525,
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,
4155,
62,
37669,
68,
62,
18090,
62,
21037,
62,
14813,
62,
13645,
11,
31992,
8,
198,
6738,
3384,
4487,
13,
33571,
1330,
357,
18546,
2533,
11,
3335,
62,
2306,
42829,
6677,
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,
1312,
418,
62,
261,
62,
25202,
62,
2306,
42829,
6677,
8,
628,
198
] | 2.352679 | 224 |
import numpy as np
import pytest
from gcm_filters.kernels import ALL_KERNELS, GridType
@pytest.fixture(scope="module", params=list(GridType))
| [
11748,
299,
32152,
355,
45941,
198,
11748,
12972,
9288,
198,
198,
6738,
308,
11215,
62,
10379,
1010,
13,
74,
44930,
1330,
11096,
62,
42,
28778,
37142,
11,
24846,
6030,
628,
198,
31,
9078,
9288,
13,
69,
9602,
7,
29982,
2625,
21412,
1600,
42287,
28,
4868,
7,
41339,
6030,
4008,
628
] | 2.92 | 50 |
def pressure_ensemble(val):
"""
:param val: string, Name of the ensemble
:return: boolean, returns True if pressure should be specified
"""
if val=='NPE_F' or val=='NPE_I' or val=='NPT_F' or val=='NPT_I' or val=='NPT_GEMC':
return True
else:
return False
def temperature_ensemble(val):
"""
:param val: string, Name of the ensemble
:return: boolean, returns True if temperature should be specified
"""
if val=='MSST' or val=='MSST_DAMPED' or val=='NPT_F' or val=='NPT_I' or val=='NVT' or val=='NVT_ADIABATIC' or val=='NVT_GEMC' or val=='NPT_GEMC':
return True
else:
return False
| [
4299,
3833,
62,
1072,
11306,
7,
2100,
2599,
201,
198,
220,
220,
220,
37227,
201,
198,
201,
198,
220,
220,
220,
1058,
17143,
1188,
25,
4731,
11,
6530,
286,
262,
34549,
201,
198,
220,
220,
220,
1058,
7783,
25,
25131,
11,
5860,
6407,
611,
3833,
815,
307,
7368,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
611,
1188,
855,
6,
45,
11401,
62,
37,
6,
393,
1188,
855,
6,
45,
11401,
62,
40,
6,
393,
1188,
855,
6,
45,
11571,
62,
37,
6,
393,
1188,
855,
6,
45,
11571,
62,
40,
6,
393,
1188,
855,
6,
45,
11571,
62,
38,
3620,
34,
10354,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
201,
198,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
201,
198,
201,
198,
4299,
5951,
62,
1072,
11306,
7,
2100,
2599,
201,
198,
220,
220,
220,
37227,
201,
198,
201,
198,
220,
220,
220,
1058,
17143,
1188,
25,
4731,
11,
6530,
286,
262,
34549,
201,
198,
220,
220,
220,
1058,
7783,
25,
25131,
11,
5860,
6407,
611,
5951,
815,
307,
7368,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
611,
1188,
855,
6,
5653,
2257,
6,
393,
1188,
855,
6,
5653,
2257,
62,
35,
23518,
1961,
6,
393,
1188,
855,
6,
45,
11571,
62,
37,
6,
393,
1188,
855,
6,
45,
11571,
62,
40,
6,
393,
1188,
855,
6,
27159,
51,
6,
393,
1188,
855,
6,
27159,
51,
62,
2885,
3539,
47379,
2149,
6,
393,
1188,
855,
6,
27159,
51,
62,
38,
3620,
34,
6,
393,
1188,
855,
6,
45,
11571,
62,
38,
3620,
34,
10354,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
201,
198,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
201,
198
] | 2.228758 | 306 |
import Tkinter as tk
from Tkinter import *
import BeautifulSoup
from BeautifulSoup import BeautifulSoup
import re
import config
import os
| [
11748,
309,
74,
3849,
355,
256,
74,
201,
198,
6738,
309,
74,
3849,
1330,
1635,
201,
198,
11748,
23762,
50,
10486,
201,
198,
6738,
23762,
50,
10486,
1330,
23762,
50,
10486,
201,
198,
11748,
302,
201,
198,
11748,
4566,
201,
198,
11748,
28686,
201,
198,
201,
198
] | 3.12766 | 47 |
"""Module for generating test messages for the new APEL system.
It will currently generate job messages or summary messages, depending on
command-line arguments, but shouldn't be difficult to extend to other types of
message. Create a subclass of RecordGenerator for each message type.
"""
import getopt
import os
import random
import sys
import datetime
from time import mktime
# Arbitrary strings for filling messages.
sample_strings = '''Site Navigation
Home
Latest Information
Email Hoaxes
Internet Scams
Previous Issues
Site FAQ's
Hoax-Slayer Social
HS About
Privacy Policy
HS Site Map
True Emails
Virus Hoaxes
Giveaway Hoaxes
Charity Hoaxes
Bogus Warnings
Email Petitions
Chain Letters
Unsubstantiated
Missing Child Hoaxes'''.splitlines()
# Some example DNs
dns = ['/C=UK/O=eScience/OU=CLRC/L=RAL/CN=apel-dev.esc.rl.ac.uk/[email protected]',
'/C=UK/O=eScience/OU=CLRC/L=RAL/CN=apel-consumer2.esc.rl.ac.uk/[email protected]',
'/c=cy/o=cygrid/o=hpcl/cn=mon101.grid.ucy.ac.cy',
'/c=hu/o=niif ca/ou=grid/ou=niif/cn=host/egi1.grid.niif.hu',
'/dc=org/dc=balticgrid/ou=mif.vu.lt/cn=host/grid9.mif.vu.lt',
'/dc=es/dc=irisgrid/o=pic/cn=mon01.pic.es',
'/dc=ro/dc=romaniangrid/o=ifin-hh/cn=tbit03.nipne.ro']
# Possible acceptable values representing null
null_values = ['NULL', 'Null', 'null', 'NONE', 'None', 'none', '']
class RecordGenerator(object):
"""Don't create a RecordGenerator object - create a subclass
which defines the appropriate header, mandatory and optional
fields etc."""
def _get_record(self, keys, job_id):
"""Get a record with all of the keys listed in keys."""
record = {}
for key in keys:
if key in self._int_fields:
record[key] = str(get_random_int())
elif key in self._float_fields:
record[key] = str(get_random_float())
else:
record[key] = get_random_string(sample_strings)
record['job_id'] = job_id
return record
def _get_full_record(self, job_id):
"""Get a record string with all possible fields."""
return self._get_record(self._all_fields, job_id)
def _get_minimal_record(self, job_id):
"""Get a record string with only the necessary fields."""
return self._get_record(self._mandatory_fields, job_id)
def _get_incomplete_record(self, job_id):
"""Get a record without one of the mandatory fields."""
# copy the list
all_keys = [s for s in self._all_fields]
# remove a mandatory item
to_remove = get_random_string(self._mandatory_fields)
all_keys.remove(to_remove)
return self._get_record(all_keys, job_id)
def _get_valid_none_record(self, job_id):
"""Get a record giving one of the optional fields null values."""
rec_dict = self._get_record(self._all_fields, job_id)
to_edit = get_random_string(self._optional_fields)
rec_dict[to_edit] = get_random_string(null_values)
return rec_dict
def get_message(self, prefix):
"""Get a valid message string."""
message = self._header + "\n"
for i in range(self._recs_per_msg):
dict = self._get_valid_none_record(prefix + str(i))
for key in dict.keys():
message += key
message += ": "
message += dict[key]
message += "\n"
message += "%%\n"
return message
def get_message_ordered(self, prefix):
"""Get a valid message string, with its fields in the correct order."""
message = self._header + "\n"
for i in range(self._recs_per_msg):
dict = self._get_valid_none_record(prefix + str(i))
# go through in the order of all_fields
for key in self._all_fields:
if key in dict.keys():
message += key
message += ": "
message += dict[key]
message += "\n"
message += "%%\n"
return message
def get_message_lowercase(self, prefix):
"""Get a message with its keys in lower-case."""
message = self._header + "\n"
for i in range(self._recs_per_msg):
dict = self._get_valid_none_record(prefix + str(i))
for key in dict.keys():
message += key.lower()
message += ": "
message += dict[key].lower()
message += "\n"
message += "%%\n"
return message
def write_messages(self):
"""Write the specified number of messages to the specified directory."""
if not os.path.exists(self._msg_path):
print "Creating directory: " + self._msg_path + "..."
os.makedirs(self._msg_path)
print "Writing to directory " + self._msg_path + "..."
for i in range(self._no_msgs):
prefix = get_prefix(i)
filepath = os.path.join(self._msg_path, str(i).zfill(14))
f = open(filepath, 'w')
f.write(self.get_message_ordered(prefix))
f.close()
print "Done."
class JobRecordGenerator(RecordGenerator):
"""Generates job record messages for testing the new APEL system."""
def __init__(self, recs_per_msg, no_msgs, dir):
"""Call the parent constructor, then set up specific variables."""
super(JobRecordGenerator, self).__init__(recs_per_msg, no_msgs)
# Variables which control the operation of the generator.
if msg_dir is None:
self._msg_path = "job-msgs"
else:
self._msg_path = msg_dir
self._msg_path = os.path.abspath(self._msg_path)
print "Creating " + str(self._no_msgs) + " messages of " + str(self._recs_per_msg) + " records each."
self._header = "APEL-individual-job-message: v0.2"
# Fields which are required by the message format.
self._mandatory_fields = ["Site", "SubmitHost", "LocalJobId", "WallDuration",
"CpuDuration", "StartTime", "EndTime", "ServiceLevelType",
"ServiceLevel"]
# All fields in the standard order
self._all_fields = ["Site", "SubmitHost", "LocalJobId", "LocalUserId",
"GlobalUserName", "FQAN", "WallDuration", "CpuDuration",
"Processors", "NodeCount", "StartTime", "EndTime",
"MemoryReal", "MemoryVirtual", "ServiceLevelType",
"ServiceLevel"]
# Fields whose values should be integers
self._int_fields = ["WallDuration", "CpuDuration",
"Processors", "NodeCount", "StartTime", "EndTime",
"MemoryReal", "MemoryVirtual"]
# Fields whose values should be integers
self._float_fields = ["ServiceLevel"]
# Some example FQANs, some of which aren't actual FQANs.
self._fqans = ['/atlas/higgs/Role=NULL/Capability=NULL',
'/cms/uscms/Role=cmsphedex',
'/cms/uscms',
'/not a real fqan',
'junk']
self._factors = ['HEPSPEC', 'Si2k']
RecordGenerator._get_optional_fields(self)
def _get_record(self, keys, job_id):
"""Add job-specific items to the record after calling the generic get_record() method."""
# Call parent class method
record = RecordGenerator._get_record(self, keys, job_id)
record['GlobalUserName'] = get_random_string(dns)
record['FQAN'] = get_random_string(self._fqans)
record['LocalJobId'] = job_id
record['ServiceLevelType'] = get_random_string(self._factors)
if int(record['StartTime']) > int(record['EndTime']):
record['EndTime'] = record['StartTime'] + str(get_random_int(1, 1000))
return record
class SummaryRecordGenerator(RecordGenerator):
"""Generator for summary messages, defining parts specific to these."""
def __init__(self, recs_per_msg, no_msgs, msg_path):
"""Define constants used by the summary records."""
super(SummaryRecordGenerator, self).__init__(recs_per_msg, no_msgs)
if msg_dir is None:
self._msg_path = "summary-msgs"
else:
self._msg_path = msg_dir
self._msg_path = os.path.abspath(self._msg_path)
self._header = "APEL-summary-job-message: v0.2"
# Fields which are required by the message format.
self._mandatory_fields = ["Site", "Month", "Year", "WallDuration",
"CpuDuration", "NormalisedWallDuration", "NormalisedCpuDuration",
"NumberOfJobs"]
# All fields in the standard order
self._all_fields = ["Site", "Month", "Year", "GlobalUserName", "Group", "VOGroup",
"VORole", "EarliestEndTime", "LatestEndTime", "WallDuration", "CpuDuration", "NormalisedWallDuration",
"NormalisedCpuDuration", "NumberOfJobs"]
# Fields whose values should be integers, except EarliestEndTime and LatestEndTime
self._int_fields = ["Month", "Year", "WallDuration", "CpuDuration",
"NormalisedWallDuration", "NormalisedCpuDuration",
"NumberOfJobs"]
# Fields whose values should be integers
self._float_fields = []
RecordGenerator._get_optional_fields(self)
def _get_record(self, keys, job_id):
"""Get a record, then add summary-specific items."""
record = RecordGenerator._get_record(self, keys, job_id)
record['GlobalUserName'] = get_random_string(dns)
record['Month'] = str(get_random_int(end=12))
record['Year'] = str(get_random_int(2000, 2010))
# The rest of this method is to get EarliestEndTime and
# LatestEndTime to fall within the correct month.
month_start = datetime.datetime(int(record['Year']),
int(record['Month']), 1)
month_end = month_start + datetime.timedelta(28)
start_epoch = mktime(month_start.timetuple())
end_epoch = mktime(month_end.timetuple())
rnd_epoch1 = get_random_int(start_epoch, end_epoch)
rnd_epoch2 = get_random_int(start_epoch, end_epoch)
if rnd_epoch1 > rnd_epoch2:
record['EarliestEndTime'] = str(rnd_epoch2)
record['LatestEndTime'] = str(rnd_epoch1)
else:
record['EarliestEndTime'] = str(rnd_epoch1)
record['LatestEndTime'] = str(rnd_epoch2)
return record
def get_random_int(start=1, end=1000000):
"""Get an random integer between start and end inclusive."""
x = random.random()
i = int(x*(end + 1 - start) + start)
return i
def get_random_float():
"""Get a random float."""
x = random.random()
return x * 1000
def get_random_string(strings):
"""Get one of a list of strings at random."""
x = random.random()
i = int(x * len(strings))
return strings[i]
def usage():
"""Print a usage message."""
print "Usage: " + sys.argv[0] + \
""" [-r <recs-per-msg> -m <no-msgs> -d <directory>] jobs|summaries
Defaults: recs-per-msg: 1000
no-msgs: 100
directory: ./job-msgs | ./sum-msgs
"""
if __name__ == '__main__':
"""Parse the command-line arguments and create the appropriate type of
message."""
recs_per_msg = None
no_msgs = None
msg_dir = None
opts = None
args = None
try:
opts, args = getopt.getopt(sys.argv[1:], "r:m:d:")
except getopt.GetoptError, e:
print "Invalid arguments."
usage()
sys.exit()
try:
for o, a in opts:
if o == "-r":
recs_per_msg = int(a)
elif o == "-m":
no_msgs = int(a)
elif o == "-d":
msg_dir = a
except ValueError:
print "Invalid arguments."
usage()
sys.exit()
if "jobs" in args:
jrg = JobRecordGenerator(recs_per_msg, no_msgs, msg_dir)
jrg.write_messages()
elif "summaries" in args:
srg = SummaryRecordGenerator(recs_per_msg, no_msgs, msg_dir)
srg.write_messages()
else:
print "Neither job nor summary records specified."
usage()
sys.exit()
| [
37811,
26796,
329,
15453,
1332,
6218,
329,
262,
649,
3486,
3698,
1080,
13,
198,
198,
1026,
481,
3058,
7716,
1693,
6218,
393,
10638,
6218,
11,
6906,
319,
198,
21812,
12,
1370,
7159,
11,
475,
6584,
470,
307,
2408,
284,
9117,
284,
584,
3858,
286,
198,
20500,
13,
220,
13610,
257,
47611,
286,
13266,
8645,
1352,
329,
1123,
3275,
2099,
13,
198,
37811,
198,
198,
11748,
651,
8738,
198,
11748,
28686,
198,
11748,
4738,
198,
11748,
25064,
198,
11748,
4818,
8079,
198,
6738,
640,
1330,
33480,
2435,
198,
198,
2,
33619,
11619,
13042,
329,
12591,
6218,
13,
198,
39873,
62,
37336,
796,
705,
7061,
29123,
42115,
198,
16060,
198,
39478,
6188,
198,
15333,
9544,
897,
274,
198,
28566,
1446,
4105,
198,
21448,
22852,
198,
29123,
18749,
338,
198,
28900,
897,
12,
11122,
2794,
5483,
198,
7998,
7994,
198,
48948,
7820,
198,
7998,
14413,
9347,
198,
17821,
39617,
198,
53,
19397,
9544,
897,
274,
198,
23318,
8272,
9544,
897,
274,
198,
1925,
6806,
9544,
897,
274,
198,
33,
519,
385,
39567,
654,
198,
15333,
4767,
1756,
198,
35491,
24501,
198,
3118,
7266,
18797,
12931,
198,
43730,
5932,
9544,
897,
274,
7061,
4458,
35312,
6615,
3419,
198,
198,
2,
2773,
1672,
45080,
82,
198,
67,
5907,
796,
685,
26488,
34,
28,
15039,
14,
46,
28,
68,
26959,
14,
2606,
28,
5097,
7397,
14,
43,
28,
35296,
14,
44175,
28,
499,
417,
12,
7959,
13,
3798,
13,
45895,
13,
330,
13,
2724,
14,
12888,
20231,
28,
82,
310,
12,
22583,
811,
689,
31,
301,
16072,
13,
330,
13,
2724,
3256,
198,
220,
220,
220,
220,
220,
220,
31051,
34,
28,
15039,
14,
46,
28,
68,
26959,
14,
2606,
28,
5097,
7397,
14,
43,
28,
35296,
14,
44175,
28,
499,
417,
12,
49827,
17,
13,
3798,
13,
45895,
13,
330,
13,
2724,
14,
12888,
20231,
28,
82,
310,
12,
22583,
811,
689,
31,
301,
16072,
13,
330,
13,
2724,
3256,
198,
220,
220,
220,
220,
220,
220,
31051,
66,
28,
948,
14,
78,
28,
948,
25928,
14,
78,
28,
24831,
565,
14,
31522,
28,
2144,
8784,
13,
25928,
13,
84,
948,
13,
330,
13,
948,
3256,
198,
220,
220,
220,
220,
220,
220,
31051,
66,
28,
13415,
14,
78,
28,
8461,
361,
1275,
14,
280,
28,
25928,
14,
280,
28,
8461,
361,
14,
31522,
28,
4774,
14,
1533,
72,
16,
13,
25928,
13,
8461,
361,
13,
13415,
3256,
198,
220,
220,
220,
220,
220,
220,
31051,
17896,
28,
2398,
14,
17896,
28,
65,
2501,
291,
25928,
14,
280,
28,
76,
361,
13,
40939,
13,
2528,
14,
31522,
28,
4774,
14,
25928,
24,
13,
76,
361,
13,
40939,
13,
2528,
3256,
198,
220,
220,
220,
220,
220,
220,
31051,
17896,
28,
274,
14,
17896,
28,
29616,
25928,
14,
78,
28,
16564,
14,
31522,
28,
2144,
486,
13,
16564,
13,
274,
3256,
198,
220,
220,
220,
220,
220,
220,
31051,
17896,
28,
305,
14,
17896,
28,
398,
3216,
648,
6058,
14,
78,
28,
361,
259,
12,
12337,
14,
31522,
28,
83,
2545,
3070,
13,
77,
541,
710,
13,
305,
20520,
198,
198,
2,
33671,
10909,
3815,
10200,
9242,
198,
8423,
62,
27160,
796,
37250,
33991,
3256,
705,
35067,
3256,
705,
8423,
3256,
705,
45,
11651,
3256,
705,
14202,
3256,
705,
23108,
3256,
10148,
60,
628,
198,
4871,
13266,
8645,
1352,
7,
15252,
2599,
198,
220,
220,
220,
37227,
3987,
470,
2251,
257,
13266,
8645,
1352,
2134,
532,
2251,
257,
47611,
198,
220,
220,
220,
543,
15738,
262,
5035,
13639,
11,
13677,
290,
11902,
198,
220,
220,
220,
7032,
3503,
526,
15931,
628,
220,
220,
220,
825,
4808,
1136,
62,
22105,
7,
944,
11,
8251,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1700,
351,
477,
286,
262,
8251,
5610,
287,
8251,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
8251,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
287,
2116,
13557,
600,
62,
25747,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
58,
2539,
60,
796,
965,
7,
1136,
62,
25120,
62,
600,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1994,
287,
2116,
13557,
22468,
62,
25747,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
58,
2539,
60,
796,
965,
7,
1136,
62,
25120,
62,
22468,
28955,
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,
1700,
58,
2539,
60,
796,
651,
62,
25120,
62,
8841,
7,
39873,
62,
37336,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
21858,
62,
312,
20520,
796,
1693,
62,
312,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1700,
628,
220,
220,
220,
825,
4808,
1136,
62,
12853,
62,
22105,
7,
944,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1700,
4731,
351,
477,
1744,
7032,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1136,
62,
22105,
7,
944,
13557,
439,
62,
25747,
11,
1693,
62,
312,
8,
628,
220,
220,
220,
825,
4808,
1136,
62,
1084,
4402,
62,
22105,
7,
944,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1700,
4731,
351,
691,
262,
3306,
7032,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1136,
62,
22105,
7,
944,
13557,
22249,
2870,
62,
25747,
11,
1693,
62,
312,
8,
628,
220,
220,
220,
825,
4808,
1136,
62,
259,
20751,
62,
22105,
7,
944,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1700,
1231,
530,
286,
262,
13677,
7032,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4866,
262,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
477,
62,
13083,
796,
685,
82,
329,
264,
287,
2116,
13557,
439,
62,
25747,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4781,
257,
13677,
2378,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
28956,
796,
651,
62,
25120,
62,
8841,
7,
944,
13557,
22249,
2870,
62,
25747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
477,
62,
13083,
13,
28956,
7,
1462,
62,
28956,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1136,
62,
22105,
7,
439,
62,
13083,
11,
1693,
62,
312,
8,
628,
220,
220,
220,
825,
4808,
1136,
62,
12102,
62,
23108,
62,
22105,
7,
944,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1700,
3501,
530,
286,
262,
11902,
7032,
9242,
3815,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
664,
62,
11600,
796,
2116,
13557,
1136,
62,
22105,
7,
944,
13557,
439,
62,
25747,
11,
1693,
62,
312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
284,
62,
19312,
796,
651,
62,
25120,
62,
8841,
7,
944,
13557,
25968,
62,
25747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
664,
62,
11600,
58,
1462,
62,
19312,
60,
796,
651,
62,
25120,
62,
8841,
7,
8423,
62,
27160,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
664,
62,
11600,
628,
220,
220,
220,
825,
651,
62,
20500,
7,
944,
11,
21231,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
4938,
3275,
4731,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
796,
2116,
13557,
25677,
1343,
37082,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
944,
13557,
260,
6359,
62,
525,
62,
19662,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
796,
2116,
13557,
1136,
62,
12102,
62,
23108,
62,
22105,
7,
40290,
1343,
965,
7,
72,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
8633,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
1994,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
366,
25,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
8633,
58,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
37082,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
366,
16626,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3275,
628,
220,
220,
220,
825,
651,
62,
20500,
62,
24071,
7,
944,
11,
21231,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
4938,
3275,
4731,
11,
351,
663,
7032,
287,
262,
3376,
1502,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
796,
2116,
13557,
25677,
1343,
37082,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
944,
13557,
260,
6359,
62,
525,
62,
19662,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
796,
2116,
13557,
1136,
62,
12102,
62,
23108,
62,
22105,
7,
40290,
1343,
965,
7,
72,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
467,
832,
287,
262,
1502,
286,
477,
62,
25747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
2116,
13557,
439,
62,
25747,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
287,
8633,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
1994,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
366,
25,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
8633,
58,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
37082,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
366,
16626,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3275,
628,
220,
220,
220,
825,
651,
62,
20500,
62,
21037,
7442,
7,
944,
11,
21231,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
3275,
351,
663,
8251,
287,
2793,
12,
7442,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
796,
2116,
13557,
25677,
1343,
37082,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
944,
13557,
260,
6359,
62,
525,
62,
19662,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
796,
2116,
13557,
1136,
62,
12102,
62,
23108,
62,
22105,
7,
40290,
1343,
965,
7,
72,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
8633,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
1994,
13,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
366,
25,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
8633,
58,
2539,
4083,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
37082,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
15853,
366,
16626,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3275,
628,
220,
220,
220,
825,
3551,
62,
37348,
1095,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16594,
262,
7368,
1271,
286,
6218,
284,
262,
7368,
8619,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
1069,
1023,
7,
944,
13557,
19662,
62,
6978,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
32071,
8619,
25,
366,
1343,
2116,
13557,
19662,
62,
6978,
1343,
366,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
76,
4335,
17062,
7,
944,
13557,
19662,
62,
6978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
33874,
284,
8619,
366,
1343,
2116,
13557,
19662,
62,
6978,
1343,
366,
9313,
628,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
944,
13557,
3919,
62,
907,
14542,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21231,
796,
651,
62,
40290,
7,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
944,
13557,
19662,
62,
6978,
11,
965,
7,
72,
737,
89,
20797,
7,
1415,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1280,
7,
7753,
6978,
11,
705,
86,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
13564,
7,
944,
13,
1136,
62,
20500,
62,
24071,
7,
40290,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
45677,
526,
628,
198,
4871,
15768,
23739,
8645,
1352,
7,
23739,
8645,
1352,
2599,
198,
220,
220,
220,
37227,
8645,
689,
1693,
1700,
6218,
329,
4856,
262,
649,
3486,
3698,
1080,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
664,
82,
62,
525,
62,
19662,
11,
645,
62,
907,
14542,
11,
26672,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14134,
262,
2560,
23772,
11,
788,
900,
510,
2176,
9633,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
7,
33308,
23739,
8645,
1352,
11,
2116,
737,
834,
15003,
834,
7,
260,
6359,
62,
525,
62,
19662,
11,
645,
62,
907,
14542,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15965,
2977,
543,
1630,
262,
4905,
286,
262,
17301,
13,
628,
220,
220,
220,
220,
220,
220,
220,
611,
31456,
62,
15908,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19662,
62,
6978,
796,
366,
21858,
12,
907,
14542,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19662,
62,
6978,
796,
31456,
62,
15908,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19662,
62,
6978,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
944,
13557,
19662,
62,
6978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
32071,
366,
1343,
965,
7,
944,
13557,
3919,
62,
907,
14542,
8,
1343,
366,
6218,
286,
366,
1343,
965,
7,
944,
13557,
260,
6359,
62,
525,
62,
19662,
8,
1343,
366,
4406,
1123,
526,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
25677,
796,
366,
2969,
3698,
12,
43129,
12,
21858,
12,
20500,
25,
410,
15,
13,
17,
1,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
23948,
543,
389,
2672,
416,
262,
3275,
5794,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22249,
2870,
62,
25747,
796,
14631,
29123,
1600,
366,
45135,
17932,
1600,
366,
14565,
33308,
7390,
1600,
366,
22401,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
34,
19944,
26054,
1600,
366,
10434,
7575,
1600,
366,
12915,
7575,
1600,
366,
16177,
4971,
6030,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
16177,
4971,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1439,
7032,
287,
262,
3210,
1502,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
439,
62,
25747,
220,
796,
14631,
29123,
1600,
366,
45135,
17932,
1600,
366,
14565,
33308,
7390,
1600,
366,
14565,
12982,
7390,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
22289,
12982,
5376,
1600,
366,
37,
48,
1565,
1600,
366,
22401,
26054,
1600,
366,
34,
19944,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18709,
669,
1600,
366,
19667,
12332,
1600,
366,
10434,
7575,
1600,
366,
12915,
7575,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30871,
15633,
1600,
366,
30871,
37725,
1600,
366,
16177,
4971,
6030,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
16177,
4971,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
23948,
3025,
3815,
815,
307,
37014,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
600,
62,
25747,
796,
14631,
22401,
26054,
1600,
366,
34,
19944,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18709,
669,
1600,
366,
19667,
12332,
1600,
366,
10434,
7575,
1600,
366,
12915,
7575,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30871,
15633,
1600,
366,
30871,
37725,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
23948,
3025,
3815,
815,
307,
37014,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22468,
62,
25747,
796,
14631,
16177,
4971,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
2773,
1672,
376,
48,
1565,
82,
11,
617,
286,
543,
3588,
470,
4036,
376,
48,
1565,
82,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
69,
80,
504,
796,
685,
26488,
265,
21921,
14,
71,
20340,
14,
47445,
28,
33991,
14,
15610,
1799,
28,
33991,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31051,
46406,
14,
16241,
907,
14,
47445,
28,
46406,
79,
704,
1069,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31051,
46406,
14,
16241,
907,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31051,
1662,
257,
1103,
277,
80,
272,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
73,
2954,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22584,
669,
796,
37250,
13909,
3705,
47,
2943,
3256,
705,
42801,
17,
74,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
13266,
8645,
1352,
13557,
1136,
62,
25968,
62,
25747,
7,
944,
8,
628,
220,
220,
220,
825,
4808,
1136,
62,
22105,
7,
944,
11,
8251,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4550,
1693,
12,
11423,
3709,
284,
262,
1700,
706,
4585,
262,
14276,
651,
62,
22105,
3419,
2446,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4889,
2560,
1398,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
796,
13266,
8645,
1352,
13557,
1136,
62,
22105,
7,
944,
11,
8251,
11,
1693,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
22289,
12982,
5376,
20520,
796,
651,
62,
25120,
62,
8841,
7,
67,
5907,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
37,
48,
1565,
20520,
796,
651,
62,
25120,
62,
8841,
7,
944,
13557,
69,
80,
504,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
14565,
33308,
7390,
20520,
796,
1693,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
16177,
4971,
6030,
20520,
796,
651,
62,
25120,
62,
8841,
7,
944,
13557,
22584,
669,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
493,
7,
22105,
17816,
10434,
7575,
6,
12962,
1875,
493,
7,
22105,
17816,
12915,
7575,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
12915,
7575,
20520,
796,
1700,
17816,
10434,
7575,
20520,
1343,
965,
7,
1136,
62,
25120,
62,
600,
7,
16,
11,
8576,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1700,
628,
198,
4871,
21293,
23739,
8645,
1352,
7,
23739,
8645,
1352,
2599,
198,
220,
220,
220,
37227,
8645,
1352,
329,
10638,
6218,
11,
16215,
3354,
2176,
284,
777,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
664,
82,
62,
525,
62,
19662,
11,
645,
62,
907,
14542,
11,
31456,
62,
6978,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7469,
500,
38491,
973,
416,
262,
10638,
4406,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2208,
7,
22093,
23739,
8645,
1352,
11,
2116,
737,
834,
15003,
834,
7,
260,
6359,
62,
525,
62,
19662,
11,
645,
62,
907,
14542,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
31456,
62,
15908,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19662,
62,
6978,
796,
366,
49736,
12,
907,
14542,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19662,
62,
6978,
796,
31456,
62,
15908,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19662,
62,
6978,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
944,
13557,
19662,
62,
6978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
25677,
796,
366,
2969,
3698,
12,
49736,
12,
21858,
12,
20500,
25,
410,
15,
13,
17,
1,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
23948,
543,
389,
2672,
416,
262,
3275,
5794,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22249,
2870,
62,
25747,
796,
14631,
29123,
1600,
366,
31948,
1600,
366,
17688,
1600,
366,
22401,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
34,
19944,
26054,
1600,
366,
26447,
1417,
22401,
26054,
1600,
366,
26447,
1417,
34,
19944,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15057,
5189,
41,
8158,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1439,
7032,
287,
262,
3210,
1502,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
439,
62,
25747,
796,
14631,
29123,
1600,
366,
31948,
1600,
366,
17688,
1600,
366,
22289,
12982,
5376,
1600,
366,
13247,
1600,
366,
53,
7730,
3233,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
53,
1581,
2305,
1600,
366,
8419,
11318,
12915,
7575,
1600,
366,
39478,
12915,
7575,
1600,
366,
22401,
26054,
1600,
366,
34,
19944,
26054,
1600,
366,
26447,
1417,
22401,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
26447,
1417,
34,
19944,
26054,
1600,
366,
15057,
5189,
41,
8158,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
23948,
3025,
3815,
815,
307,
37014,
11,
2845,
2905,
11318,
12915,
7575,
290,
26603,
12915,
7575,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
600,
62,
25747,
796,
14631,
31948,
1600,
366,
17688,
1600,
366,
22401,
26054,
1600,
366,
34,
19944,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
26447,
1417,
22401,
26054,
1600,
366,
26447,
1417,
34,
19944,
26054,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15057,
5189,
41,
8158,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
23948,
3025,
3815,
815,
307,
37014,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22468,
62,
25747,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
13266,
8645,
1352,
13557,
1136,
62,
25968,
62,
25747,
7,
944,
8,
628,
220,
220,
220,
825,
4808,
1136,
62,
22105,
7,
944,
11,
8251,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1700,
11,
788,
751,
10638,
12,
11423,
3709,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
796,
13266,
8645,
1352,
13557,
1136,
62,
22105,
7,
944,
11,
8251,
11,
1693,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
22289,
12982,
5376,
20520,
796,
651,
62,
25120,
62,
8841,
7,
67,
5907,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
31948,
20520,
796,
965,
7,
1136,
62,
25120,
62,
600,
7,
437,
28,
1065,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
17688,
20520,
796,
965,
7,
1136,
62,
25120,
62,
600,
7,
11024,
11,
3050,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
1334,
286,
428,
2446,
318,
284,
651,
2905,
11318,
12915,
7575,
290,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
26603,
12915,
7575,
284,
2121,
1626,
262,
3376,
1227,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1227,
62,
9688,
796,
4818,
8079,
13,
19608,
8079,
7,
600,
7,
22105,
17816,
17688,
20520,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
7,
22105,
17816,
31948,
20520,
828,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1227,
62,
437,
796,
1227,
62,
9688,
1343,
4818,
8079,
13,
16514,
276,
12514,
7,
2078,
8,
628,
220,
220,
220,
220,
220,
220,
220,
923,
62,
538,
5374,
796,
33480,
2435,
7,
8424,
62,
9688,
13,
16514,
316,
29291,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
886,
62,
538,
5374,
796,
33480,
2435,
7,
8424,
62,
437,
13,
16514,
316,
29291,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
374,
358,
62,
538,
5374,
16,
796,
651,
62,
25120,
62,
600,
7,
9688,
62,
538,
5374,
11,
886,
62,
538,
5374,
8,
198,
220,
220,
220,
220,
220,
220,
220,
374,
358,
62,
538,
5374,
17,
796,
651,
62,
25120,
62,
600,
7,
9688,
62,
538,
5374,
11,
886,
62,
538,
5374,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
374,
358,
62,
538,
5374,
16,
1875,
374,
358,
62,
538,
5374,
17,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
8419,
11318,
12915,
7575,
20520,
796,
965,
7,
81,
358,
62,
538,
5374,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
39478,
12915,
7575,
20520,
796,
965,
7,
81,
358,
62,
538,
5374,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
8419,
11318,
12915,
7575,
20520,
796,
965,
7,
81,
358,
62,
538,
5374,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
17816,
39478,
12915,
7575,
20520,
796,
965,
7,
81,
358,
62,
538,
5374,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1700,
628,
198,
4299,
651,
62,
25120,
62,
600,
7,
9688,
28,
16,
11,
886,
28,
16,
10535,
2599,
198,
220,
220,
220,
37227,
3855,
281,
4738,
18253,
1022,
923,
290,
886,
19889,
526,
15931,
198,
220,
220,
220,
2124,
796,
4738,
13,
25120,
3419,
198,
220,
220,
220,
1312,
796,
493,
7,
87,
9,
7,
437,
1343,
352,
532,
923,
8,
1343,
923,
8,
198,
220,
220,
220,
1441,
1312,
628,
198,
4299,
651,
62,
25120,
62,
22468,
33529,
198,
220,
220,
220,
37227,
3855,
257,
4738,
12178,
526,
15931,
198,
220,
220,
220,
2124,
796,
4738,
13,
25120,
3419,
198,
220,
220,
220,
1441,
2124,
1635,
8576,
628,
198,
4299,
651,
62,
25120,
62,
8841,
7,
37336,
2599,
198,
220,
220,
220,
37227,
3855,
530,
286,
257,
1351,
286,
13042,
379,
4738,
526,
15931,
198,
220,
220,
220,
2124,
796,
4738,
13,
25120,
3419,
198,
220,
220,
220,
1312,
796,
493,
7,
87,
1635,
18896,
7,
37336,
4008,
198,
220,
220,
220,
1441,
13042,
58,
72,
60,
628,
198,
198,
4299,
8748,
33529,
198,
220,
220,
220,
37227,
18557,
257,
8748,
3275,
526,
15931,
198,
220,
220,
220,
3601,
366,
28350,
25,
366,
1343,
25064,
13,
853,
85,
58,
15,
60,
1343,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25915,
81,
1279,
260,
6359,
12,
525,
12,
19662,
29,
532,
76,
1279,
3919,
12,
907,
14542,
29,
532,
67,
1279,
34945,
37981,
3946,
91,
82,
13929,
3166,
628,
220,
220,
220,
220,
220,
220,
220,
220,
2896,
13185,
25,
664,
82,
12,
525,
12,
19662,
25,
8576,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
645,
12,
907,
14542,
25,
220,
220,
220,
220,
220,
1802,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8619,
25,
220,
220,
220,
24457,
21858,
12,
907,
14542,
930,
24457,
16345,
12,
907,
14542,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
37227,
10044,
325,
262,
3141,
12,
1370,
7159,
290,
2251,
262,
5035,
2099,
286,
198,
220,
220,
220,
3275,
526,
15931,
628,
220,
220,
220,
664,
82,
62,
525,
62,
19662,
796,
6045,
198,
220,
220,
220,
645,
62,
907,
14542,
796,
6045,
198,
220,
220,
220,
31456,
62,
15908,
796,
6045,
628,
220,
220,
220,
2172,
82,
796,
6045,
198,
220,
220,
220,
26498,
796,
6045,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2172,
82,
11,
26498,
796,
651,
8738,
13,
1136,
8738,
7,
17597,
13,
853,
85,
58,
16,
25,
4357,
366,
81,
25,
76,
25,
67,
25,
4943,
628,
220,
220,
220,
2845,
651,
8738,
13,
3855,
8738,
12331,
11,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
44651,
7159,
526,
198,
220,
220,
220,
220,
220,
220,
220,
8748,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
267,
11,
257,
287,
2172,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
267,
6624,
27444,
81,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
664,
82,
62,
525,
62,
19662,
796,
493,
7,
64,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
267,
6624,
27444,
76,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
645,
62,
907,
14542,
796,
493,
7,
64,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
267,
6624,
27444,
67,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
62,
15908,
796,
257,
198,
220,
220,
220,
2845,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
44651,
7159,
526,
198,
220,
220,
220,
220,
220,
220,
220,
8748,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
220,
220,
220,
611,
366,
43863,
1,
287,
26498,
25,
198,
220,
220,
220,
220,
220,
220,
220,
474,
41345,
796,
15768,
23739,
8645,
1352,
7,
260,
6359,
62,
525,
62,
19662,
11,
645,
62,
907,
14542,
11,
31456,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
474,
41345,
13,
13564,
62,
37348,
1095,
3419,
198,
220,
220,
220,
1288,
361,
366,
82,
13929,
3166,
1,
287,
26498,
25,
198,
220,
220,
220,
220,
220,
220,
220,
19677,
70,
796,
21293,
23739,
8645,
1352,
7,
260,
6359,
62,
525,
62,
19662,
11,
645,
62,
907,
14542,
11,
31456,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19677,
70,
13,
13564,
62,
37348,
1095,
3419,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
27270,
1693,
4249,
10638,
4406,
7368,
526,
198,
220,
220,
220,
220,
220,
220,
220,
8748,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
198
] | 2.244385 | 5,565 |
from .defs import *
from .enums import *
from .models import *
HOMEPAGE_URL = "https://warframe.market"
API_BASE_URL = "https://api.warframe.market/v1"
WSS_BASE_URL = "wss://warframe.market/socket"
| [
6738,
764,
4299,
82,
1330,
1635,
198,
6738,
764,
268,
5700,
1330,
1635,
198,
6738,
764,
27530,
1330,
1635,
198,
198,
39069,
4537,
8264,
62,
21886,
796,
366,
5450,
1378,
5767,
14535,
13,
10728,
1,
198,
17614,
62,
33,
11159,
62,
21886,
796,
366,
5450,
1378,
15042,
13,
5767,
14535,
13,
10728,
14,
85,
16,
1,
198,
54,
5432,
62,
33,
11159,
62,
21886,
796,
366,
86,
824,
1378,
5767,
14535,
13,
10728,
14,
44971,
1,
198
] | 2.584416 | 77 |
# ProDy: A Python Package for Protein Dynamics Analysis
#
# Copyright (C) 2010-2012 Ahmet Bakan
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
"""Extract a selection of atoms from a PDB file."""
__author__ = 'Ahmet Bakan'
__copyright__ = 'Copyright (C) 2010-2012 Ahmet Bakan'
from actions import *
def prody_select(opt):
"""Write selected atoms from a PDB file in PDB format."""
import prody
LOGGER = prody.LOGGER
pdb = prody.parsePDB(opt.pdb)
prefix = opt.output
if not prefix:
prefix = pdb.getTitle() + '_selected'
pdbselect = pdb.select(opt.selstr)
if pdbselect is None:
opt.subparser.error('Selection {0:s} do not match any atoms.'
.format(repr(opt.selstr)))
LOGGER.info('{0:d} atoms are selected.'.format(len(pdbselect)))
LOGGER.info('Writing ' + prefix + '.pdb')
prody.writePDB(prefix + '.pdb', pdbselect)
| [
2,
1041,
35,
88,
25,
317,
11361,
15717,
329,
31702,
33806,
14691,
198,
2,
220,
198,
2,
15069,
357,
34,
8,
3050,
12,
6999,
7900,
4164,
17466,
272,
198,
2,
220,
198,
2,
770,
1430,
318,
1479,
3788,
25,
345,
460,
17678,
4163,
340,
290,
14,
273,
13096,
198,
2,
340,
739,
262,
2846,
286,
262,
22961,
3611,
5094,
13789,
355,
3199,
416,
198,
2,
262,
3232,
10442,
5693,
11,
2035,
2196,
513,
286,
262,
13789,
11,
393,
198,
2,
357,
265,
534,
3038,
8,
597,
1568,
2196,
13,
198,
2,
220,
198,
2,
770,
1430,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
198,
2,
475,
42881,
15529,
34764,
56,
26,
1231,
772,
262,
17142,
18215,
286,
198,
2,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
220,
4091,
262,
198,
2,
22961,
3611,
5094,
13789,
329,
517,
3307,
13,
198,
2,
220,
220,
198,
2,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
3611,
5094,
13789,
198,
2,
1863,
351,
428,
1430,
13,
220,
1002,
407,
11,
766,
1279,
4023,
1378,
2503,
13,
41791,
13,
2398,
14,
677,
4541,
15913,
198,
198,
37811,
11627,
974,
257,
6356,
286,
23235,
422,
257,
350,
11012,
2393,
526,
15931,
198,
198,
834,
9800,
834,
796,
705,
10910,
4164,
17466,
272,
6,
198,
834,
22163,
4766,
834,
796,
705,
15269,
357,
34,
8,
3050,
12,
6999,
7900,
4164,
17466,
272,
6,
198,
198,
6738,
4028,
1330,
1635,
198,
198,
4299,
386,
9892,
62,
19738,
7,
8738,
2599,
198,
220,
220,
220,
37227,
16594,
6163,
23235,
422,
257,
350,
11012,
2393,
287,
350,
11012,
5794,
526,
15931,
628,
220,
220,
220,
1330,
386,
9892,
198,
220,
220,
220,
41605,
30373,
796,
386,
9892,
13,
25294,
30373,
198,
220,
220,
220,
279,
9945,
796,
386,
9892,
13,
29572,
5760,
33,
7,
8738,
13,
79,
9945,
8,
198,
220,
220,
220,
21231,
796,
2172,
13,
22915,
198,
220,
220,
220,
611,
407,
21231,
25,
198,
220,
220,
220,
220,
220,
220,
220,
21231,
796,
279,
9945,
13,
1136,
19160,
3419,
1343,
705,
62,
34213,
6,
198,
220,
220,
220,
279,
9945,
19738,
796,
279,
9945,
13,
19738,
7,
8738,
13,
741,
2536,
8,
198,
220,
220,
220,
611,
279,
9945,
19738,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2172,
13,
7266,
48610,
13,
18224,
10786,
4653,
1564,
1391,
15,
25,
82,
92,
466,
407,
2872,
597,
23235,
2637,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
18982,
7,
260,
1050,
7,
8738,
13,
741,
2536,
22305,
198,
220,
220,
220,
41605,
30373,
13,
10951,
10786,
90,
15,
25,
67,
92,
23235,
389,
6163,
2637,
13,
18982,
7,
11925,
7,
79,
9945,
19738,
22305,
198,
220,
220,
220,
41605,
30373,
13,
10951,
10786,
33874,
705,
1343,
21231,
1343,
45302,
79,
9945,
11537,
198,
220,
220,
220,
386,
9892,
13,
13564,
5760,
33,
7,
40290,
1343,
45302,
79,
9945,
3256,
279,
9945,
19738,
8,
628
] | 2.933202 | 509 |
import pycryptonight
import ecdsa
from Crypto.Hash import RIPEMD160
import hashlib
from log import Logger
import base58
import os
import time
import string
from merklelib import MerkleTree
string
def fast_hash(data: bytes):
"""
Hashing function used for Corner hashes.
:param data: bytes
:return: str
"""
return pycryptonight.cn_fast_hash(data).hex()
def get_hash(data: bytes, hash_func=hashlib.sha256):
"""
Hashing function used in key pairs.
:param hash_func: function
:param data: bytes
:return: bytes
"""
h = hash_func()
h.update(data)
return h.digest()
class Address:
"""Address object"""
@property
class SK:
"""Signing Key object"""
def __init__(self, sk: ecdsa.SigningKey = None):
"""
Generates a new Signing Key if sk is None.
:type sk: ecdsa.SigningKey
"""
self._sk = sk
if self._sk is None:
self._sk = ecdsa.SigningKey.generate(curve=ecdsa.SECP256k1,
hashfunc=hashlib.sha256)
self._vk = self._sk.verifying_key
self.vk = VK(self._vk)
self.address = self.vk.address
self.b58 = self.vk.b58
def sign(self, data: bytes):
"""
Generates a Signature for the given data.
:param data: bytes
:return: Signature
"""
return Signature(self._sk.sign(pycryptonight.cn_fast_hash(data)),
self.vk)
@property
def raw(self):
"""
Raw representation of SK based on the Discorn Protocol.
:return: bytes
"""
return self._sk.to_string()
def from_raw(raw: bytes):
"""
Decodes a raw Signing Key.
:param raw: bytes
:return: SK
"""
return SK(ecdsa.SigningKey.from_string(raw))
class VK:
"""Verifying Key object"""
def __init__(self, vk: ecdsa.VerifyingKey):
"""
Initialise a Verifying Key instance.
:param vk: ecdsa.VerifyingKey
"""
self._vk = vk
address = get_hash(pycryptonight.cn_fast_hash(self._vk.to_string()),
RIPEMD160.new)
self.address = address + pycryptonight.cn_fast_hash(address)[:8]
self.b58 = base58.b58encode(self.address, base58.BITCOIN_ALPHABET)
def verify(self, signature: bytes, data: bytes):
"""
Verifies raw signature.
:param signature: bytes
:param data: bytes
:return: bool
"""
try:
return self._vk.verify(signature, pycryptonight.cn_fast_hash(data))
except ecdsa.keys.BadSignatureError:
return False
@property
def from_raw(raw):
"""
Decodes a raw Verifying key
:param raw: bytes
:return: VK
"""
return VK(ecdsa.VerifyingKey.from_string(raw,
curve=ecdsa.SECP256k1,
hashfunc=hashlib.sha256))
class Signature:
"""Signature object"""
def __init__(self, signature: bytes, vk: VK):
"""
Initialises a Signature instance.
:param signature: bytes
:param vk: VK
"""
self.signature = signature
self.vk = vk
@property
def raw(self):
"""
Raw signature representation based on the Discorn Protocol.
:return: bytes
"""
return self.vk.raw + self.signature
def verify(self, data: bytes):
"""
Verifies the Signature against data.
:param data: bytes
:return: bool
"""
return self.vk.verify(self.signature, data)
def from_raw(raw):
"""
Decodes a raw Signature.
:param raw: bytes
:return: Signature
"""
return Signature(raw[64:], VK.from_raw(raw[:64]))
def decode_Tx(raw):
"""
Decodes a raw Tx
:param raw: bytes
:returns: Tx
"""
pass
class Block(Logger):
"""Block and header definition."""
NONCE_SIZE = 4
def __init__(self,
blockchain=None,
name: str = 'block',
height: int = 0,
version: int = 0,
coinbase: Corner = None,
corners: list = None,
timestamp=0,
previous_hash=pycryptonight.cn_slow_hash(b''),
nonce=(0).to_bytes(NONCE_SIZE, 'big')):
"""
Initialises a Block instance.
:param blockchain: Blockchain
:param name: str
:param height: int
:param version: int
:param coinbase: Corner
:param corners: Corner list
:param timestamp: int
:param previous_hash: bytes
:param nonce: bytes
"""
super().__init__(f"{name} - {height} :")
self.blockchain = blockchain
self.version = version
self.timestamp = timestamp
self.previous_hash = previous_hash
self.nonce = nonce
self.coinbase = coinbase
self._corners = [] if corners is None else corners
self.merkle_tree = MerkleTree(self.corners, fast_hash)
self.hash = self.get_hash()
self.difficulty = 4
@property
def corners(self):
"""
list of coinbase and other corners.
:return: Corner list
"""
return [self.coinbase] + self._corners
def compute_tree(self, new_data=None):
"""
Computes the Merkle Tree associated with the corners in the block.
:param new_data: Corner list
:return: None
"""
if new_data is None:
self.merkle_tree = MerkleTree(self.corners, fast_hash)
else:
self.merkle_tree.extend(new_data)
@property
def header(self):
"""
Raw representation of block header based on the Discorn Protocol.
:return: bytes
"""
res = self.version.to_bytes(2, 'big')
res += self.timestamp.to_bytes(8, 'big')
res += len(self.corners).to_bytes(3, 'big')
res += bytes.fromhex(self.merkle_tree.merkle_root)
res += self.previous_hash
res += self.nonce
return res
def random_nonce(self):
"""
Generates a random nonce for this block. (Mining OP)
:return: None
"""
self.timestamp = time.time_ns()
self.nonce = os.urandom(self.NONCE_SIZE)
def mine(self, difficulty=None):
"""
Mines the given block for the given difficulty.
:param difficulty: int
:return: None
"""
difficulty = self.difficulty if difficulty is None else difficulty
while int.from_bytes(self.get_hash(), 'big') >= (1 << (256 - difficulty)):
self.log(f"new hash : {self.hash.hex()}")
self.random_nonce()
self.log(f"Mined !! : {self.hash.hex()}")
def get_hash(self):
"""
Calculates the block's hash.
:return: bytes
"""
self.hash = pycryptonight.cn_slow_hash(self.header, 4)
return self.hash
class BlockChain(Logger):
"""BlockChain data model."""
def __init__(self, name: str = 'Main'):
"""
Initialises a Blockchain instance.
:param name: str | Used in logs
:return: None
"""
super().__init__(name)
self.block_hashes = []
self.blocks = {}
self.corners = {}
self.unconfirmed_corners = {}
def new_head(self, block: Block):
"""
Sets the given block as the new Blockchain head.
:param block: Block
:return: None
"""
self.block_hashes.append(block.hash)
self.blocks.update({block.hash: block})
self.log(f"New head : [{len(self.blocks)}] - {block.hash.hex()}")
def get_block_template(self):
"""
Get a Block instance to be mined based on the current chainstate.
:returns: Block
"""
block = Block(self,
corners=[
corner for corner in self.unconfirmed_corners.items()],
timestamp=time.time_ns(),
previous_hash=self.block_hashes[-1])
return block
class Guild(Logger):
"""Guild object"""
def __init__(self,
vk=None,
sk=None,
genesis=None,
chain=None,
name='Main-Guild'):
"""
Initialises a Guild instance with a chain and private key.(new if None)
"""
super().__init__(name)
if vk is None:
if sk is None:
self.sk = SK()
self.vk = self.sk.vk
else:
self.vk = self.sk.vk
else:
self.vk = vk
if chain is None:
self.chain = BlockChain()
if genesis is None:
genesis = Block(self.chain)
self.chain.new_head(genesis)
else:
self.chain = chain
@property
# TODO : Guilds are hosted on chains otherwise chains won't have enough participants to be viable.
| [
11748,
12972,
29609,
261,
432,
198,
11748,
9940,
9310,
64,
198,
6738,
36579,
13,
26257,
1330,
44967,
3620,
35,
14198,
198,
11748,
12234,
8019,
198,
6738,
2604,
1330,
5972,
1362,
198,
11748,
2779,
3365,
198,
11748,
28686,
198,
11748,
640,
198,
11748,
4731,
198,
6738,
4017,
74,
293,
8019,
1330,
4638,
74,
293,
27660,
198,
198,
8841,
628,
198,
4299,
3049,
62,
17831,
7,
7890,
25,
9881,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
367,
2140,
2163,
973,
329,
26212,
46621,
13,
628,
220,
220,
220,
1058,
17143,
1366,
25,
9881,
198,
220,
220,
220,
1058,
7783,
25,
965,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
12972,
29609,
261,
432,
13,
31522,
62,
7217,
62,
17831,
7,
7890,
737,
33095,
3419,
628,
198,
4299,
651,
62,
17831,
7,
7890,
25,
9881,
11,
12234,
62,
20786,
28,
17831,
8019,
13,
26270,
11645,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
367,
2140,
2163,
973,
287,
1994,
14729,
13,
628,
220,
220,
220,
1058,
17143,
12234,
62,
20786,
25,
2163,
198,
220,
220,
220,
1058,
17143,
1366,
25,
9881,
198,
220,
220,
220,
1058,
7783,
25,
9881,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
289,
796,
12234,
62,
20786,
3419,
198,
220,
220,
220,
289,
13,
19119,
7,
7890,
8,
198,
220,
220,
220,
1441,
289,
13,
12894,
395,
3419,
628,
198,
4871,
17917,
25,
198,
220,
220,
220,
37227,
20231,
2134,
37811,
628,
220,
220,
220,
2488,
26745,
628,
198,
4871,
14277,
25,
198,
220,
220,
220,
37227,
11712,
278,
7383,
2134,
37811,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
1341,
25,
9940,
9310,
64,
13,
11712,
278,
9218,
796,
6045,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2980,
689,
257,
649,
5865,
278,
7383,
611,
1341,
318,
6045,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
1341,
25,
9940,
9310,
64,
13,
11712,
278,
9218,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
8135,
796,
1341,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
8135,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
8135,
796,
9940,
9310,
64,
13,
11712,
278,
9218,
13,
8612,
378,
7,
22019,
303,
28,
721,
9310,
64,
13,
23683,
47,
11645,
74,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12234,
20786,
28,
17831,
8019,
13,
26270,
11645,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
85,
74,
796,
2116,
13557,
8135,
13,
332,
4035,
62,
2539,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
85,
74,
796,
45917,
7,
944,
13557,
85,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21975,
796,
2116,
13,
85,
74,
13,
21975,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
65,
3365,
796,
2116,
13,
85,
74,
13,
65,
3365,
628,
220,
220,
220,
825,
1051,
7,
944,
11,
1366,
25,
9881,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2980,
689,
257,
34894,
329,
262,
1813,
1366,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1366,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
34894,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
34894,
7,
944,
13557,
8135,
13,
12683,
7,
9078,
29609,
261,
432,
13,
31522,
62,
7217,
62,
17831,
7,
7890,
36911,
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,
2116,
13,
85,
74,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
8246,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16089,
10552,
286,
14277,
1912,
319,
262,
8444,
1211,
20497,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
8135,
13,
1462,
62,
8841,
3419,
628,
220,
220,
220,
825,
422,
62,
1831,
7,
1831,
25,
9881,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4280,
4147,
257,
8246,
5865,
278,
7383,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
8246,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
14277,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
14277,
7,
721,
9310,
64,
13,
11712,
278,
9218,
13,
6738,
62,
8841,
7,
1831,
4008,
628,
198,
4871,
45917,
25,
198,
220,
220,
220,
37227,
13414,
4035,
7383,
2134,
37811,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
410,
74,
25,
9940,
9310,
64,
13,
13414,
4035,
9218,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
786,
257,
4643,
4035,
7383,
4554,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
410,
74,
25,
9940,
9310,
64,
13,
13414,
4035,
9218,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
85,
74,
796,
410,
74,
198,
220,
220,
220,
220,
220,
220,
220,
2209,
796,
651,
62,
17831,
7,
9078,
29609,
261,
432,
13,
31522,
62,
7217,
62,
17831,
7,
944,
13557,
85,
74,
13,
1462,
62,
8841,
3419,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44967,
3620,
35,
14198,
13,
3605,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21975,
796,
2209,
1343,
12972,
29609,
261,
432,
13,
31522,
62,
7217,
62,
17831,
7,
21975,
38381,
25,
23,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
65,
3365,
796,
2779,
3365,
13,
65,
3365,
268,
8189,
7,
944,
13,
21975,
11,
2779,
3365,
13,
26094,
8220,
1268,
62,
1847,
11909,
6242,
2767,
8,
628,
220,
220,
220,
825,
11767,
7,
944,
11,
9877,
25,
9881,
11,
1366,
25,
9881,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4643,
6945,
8246,
9877,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
9877,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1366,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
20512,
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,
13557,
85,
74,
13,
332,
1958,
7,
12683,
1300,
11,
12972,
29609,
261,
432,
13,
31522,
62,
7217,
62,
17831,
7,
7890,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
9940,
9310,
64,
13,
13083,
13,
22069,
11712,
1300,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
825,
422,
62,
1831,
7,
1831,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4280,
4147,
257,
8246,
4643,
4035,
1994,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
8246,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
45917,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
45917,
7,
721,
9310,
64,
13,
13414,
4035,
9218,
13,
6738,
62,
8841,
7,
1831,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12133,
28,
721,
9310,
64,
13,
23683,
47,
11645,
74,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12234,
20786,
28,
17831,
8019,
13,
26270,
11645,
4008,
628,
198,
4871,
34894,
25,
198,
220,
220,
220,
37227,
11712,
1300,
2134,
37811,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
9877,
25,
9881,
11,
410,
74,
25,
45917,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
2696,
257,
34894,
4554,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
9877,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
410,
74,
25,
45917,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
12683,
1300,
796,
9877,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
85,
74,
796,
410,
74,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
8246,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16089,
9877,
10552,
1912,
319,
262,
8444,
1211,
20497,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
85,
74,
13,
1831,
1343,
2116,
13,
12683,
1300,
628,
220,
220,
220,
825,
11767,
7,
944,
11,
1366,
25,
9881,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4643,
6945,
262,
34894,
1028,
1366,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1366,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
20512,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
85,
74,
13,
332,
1958,
7,
944,
13,
12683,
1300,
11,
1366,
8,
628,
220,
220,
220,
825,
422,
62,
1831,
7,
1831,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4280,
4147,
257,
8246,
34894,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
8246,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
34894,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
34894,
7,
1831,
58,
2414,
25,
4357,
45917,
13,
6738,
62,
1831,
7,
1831,
58,
25,
2414,
60,
4008,
628,
628,
198,
198,
4299,
36899,
62,
46047,
7,
1831,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4280,
4147,
257,
8246,
309,
87,
628,
220,
220,
220,
1058,
17143,
8246,
25,
9881,
198,
220,
220,
220,
1058,
7783,
82,
25,
309,
87,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1208,
628,
198,
4871,
9726,
7,
11187,
1362,
2599,
198,
220,
220,
220,
37227,
12235,
290,
13639,
6770,
526,
15931,
628,
220,
220,
220,
44521,
5222,
62,
33489,
796,
604,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11779,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
25,
965,
796,
705,
9967,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6001,
25,
493,
796,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2196,
25,
493,
796,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10752,
8692,
25,
26212,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14371,
25,
1351,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41033,
28,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2180,
62,
17831,
28,
9078,
29609,
261,
432,
13,
31522,
62,
38246,
62,
17831,
7,
65,
7061,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1729,
344,
16193,
15,
737,
1462,
62,
33661,
7,
45,
1340,
5222,
62,
33489,
11,
705,
14261,
11537,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
2696,
257,
9726,
4554,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
11779,
25,
29724,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1438,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
6001,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2196,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
10752,
8692,
25,
26212,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
14371,
25,
26212,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
41033,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2180,
62,
17831,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1729,
344,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
69,
1,
90,
3672,
92,
532,
1391,
17015,
92,
1058,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9967,
7983,
796,
11779,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9641,
796,
2196,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16514,
27823,
796,
41033,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3866,
1442,
62,
17831,
796,
2180,
62,
17831,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
13159,
344,
796,
1729,
344,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3630,
8692,
796,
10752,
8692,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20772,
364,
796,
17635,
611,
14371,
318,
6045,
2073,
14371,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
647,
74,
293,
62,
21048,
796,
4638,
74,
293,
27660,
7,
944,
13,
20772,
364,
11,
3049,
62,
17831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17831,
796,
2116,
13,
1136,
62,
17831,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26069,
22402,
796,
604,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
14371,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
286,
10752,
8692,
290,
584,
14371,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
26212,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
944,
13,
3630,
8692,
60,
1343,
2116,
13557,
20772,
364,
628,
220,
220,
220,
825,
24061,
62,
21048,
7,
944,
11,
649,
62,
7890,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3082,
1769,
262,
4638,
74,
293,
12200,
3917,
351,
262,
14371,
287,
262,
2512,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
649,
62,
7890,
25,
26212,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
7890,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
647,
74,
293,
62,
21048,
796,
4638,
74,
293,
27660,
7,
944,
13,
20772,
364,
11,
3049,
62,
17831,
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,
647,
74,
293,
62,
21048,
13,
2302,
437,
7,
3605,
62,
7890,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
13639,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16089,
10552,
286,
2512,
13639,
1912,
319,
262,
8444,
1211,
20497,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
2116,
13,
9641,
13,
1462,
62,
33661,
7,
17,
11,
705,
14261,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
2116,
13,
16514,
27823,
13,
1462,
62,
33661,
7,
23,
11,
705,
14261,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
18896,
7,
944,
13,
20772,
364,
737,
1462,
62,
33661,
7,
18,
11,
705,
14261,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
9881,
13,
6738,
33095,
7,
944,
13,
647,
74,
293,
62,
21048,
13,
647,
74,
293,
62,
15763,
8,
198,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
2116,
13,
3866,
1442,
62,
17831,
198,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
2116,
13,
13159,
344,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
581,
628,
220,
220,
220,
825,
4738,
62,
13159,
344,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2980,
689,
257,
4738,
1729,
344,
329,
428,
2512,
13,
357,
44,
3191,
13349,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16514,
27823,
796,
640,
13,
2435,
62,
5907,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
13159,
344,
796,
28686,
13,
333,
3749,
7,
944,
13,
45,
1340,
5222,
62,
33489,
8,
628,
220,
220,
220,
825,
6164,
7,
944,
11,
8722,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
33466,
262,
1813,
2512,
329,
262,
1813,
8722,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
8722,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8722,
796,
2116,
13,
26069,
22402,
611,
8722,
318,
6045,
2073,
8722,
198,
220,
220,
220,
220,
220,
220,
220,
981,
493,
13,
6738,
62,
33661,
7,
944,
13,
1136,
62,
17831,
22784,
705,
14261,
11537,
18189,
357,
16,
9959,
357,
11645,
532,
8722,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
7,
69,
1,
3605,
12234,
1058,
1391,
944,
13,
17831,
13,
33095,
3419,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25120,
62,
13159,
344,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
7,
69,
1,
44,
1389,
37867,
1058,
1391,
944,
13,
17831,
13,
33095,
3419,
92,
4943,
628,
220,
220,
220,
825,
651,
62,
17831,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
27131,
689,
262,
2512,
338,
12234,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17831,
796,
12972,
29609,
261,
432,
13,
31522,
62,
38246,
62,
17831,
7,
944,
13,
25677,
11,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
17831,
628,
198,
4871,
9726,
35491,
7,
11187,
1362,
2599,
198,
220,
220,
220,
37227,
12235,
35491,
1366,
2746,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
1438,
25,
965,
796,
705,
13383,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
2696,
257,
29724,
4554,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1438,
25,
965,
930,
16718,
287,
17259,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9967,
62,
71,
7465,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
27372,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20772,
364,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
403,
36349,
62,
20772,
364,
796,
23884,
628,
220,
220,
220,
825,
649,
62,
2256,
7,
944,
11,
2512,
25,
9726,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
1813,
2512,
355,
262,
649,
29724,
1182,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2512,
25,
9726,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9967,
62,
71,
7465,
13,
33295,
7,
9967,
13,
17831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
27372,
13,
19119,
15090,
9967,
13,
17831,
25,
2512,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
7,
69,
1,
3791,
1182,
1058,
685,
90,
11925,
7,
944,
13,
27372,
38165,
60,
532,
1391,
9967,
13,
17831,
13,
33095,
3419,
92,
4943,
628,
220,
220,
220,
825,
651,
62,
9967,
62,
28243,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
257,
9726,
4554,
284,
307,
35959,
1912,
319,
262,
1459,
6333,
5219,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
82,
25,
9726,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2512,
796,
9726,
7,
944,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14371,
41888,
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,
5228,
329,
5228,
287,
2116,
13,
403,
36349,
62,
20772,
364,
13,
23814,
3419,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41033,
28,
2435,
13,
2435,
62,
5907,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2180,
62,
17831,
28,
944,
13,
9967,
62,
71,
7465,
58,
12,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2512,
628,
198,
4871,
16446,
7,
11187,
1362,
2599,
198,
220,
220,
220,
37227,
38,
3547,
2134,
37811,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
74,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1341,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48861,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6333,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
11639,
13383,
12,
38,
3547,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
2696,
257,
16446,
4554,
351,
257,
6333,
290,
2839,
1994,
12195,
3605,
611,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
410,
74,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1341,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8135,
796,
14277,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
85,
74,
796,
2116,
13,
8135,
13,
85,
74,
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,
85,
74,
796,
2116,
13,
8135,
13,
85,
74,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
85,
74,
796,
410,
74,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6333,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7983,
796,
9726,
35491,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
48861,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48861,
796,
9726,
7,
944,
13,
7983,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7983,
13,
3605,
62,
2256,
7,
5235,
9339,
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,
7983,
796,
6333,
628,
220,
220,
220,
2488,
26745,
628,
198,
2,
16926,
46,
1058,
16446,
82,
389,
12007,
319,
14659,
4306,
14659,
1839,
470,
423,
1576,
6809,
284,
307,
13971,
13,
198
] | 2.064105 | 4,477 |
import pathlib
import re
OCR_AP = {
'dir': 'ap',
'last': '問80'
}
OCR_KOUDO = {
'dir': 'koudo',
'last': '問30',
}
# 最後の問題が終わったと判断するための正規表現
AFTER_LAST_QUESTION = re.compile(r'[0-9]|-')
if __name__ == '__main__':
main()
| [
11748,
3108,
8019,
198,
11748,
302,
198,
198,
4503,
49,
62,
2969,
796,
1391,
198,
220,
220,
220,
705,
15908,
10354,
705,
499,
3256,
198,
220,
220,
220,
705,
12957,
10354,
705,
161,
243,
237,
1795,
6,
198,
92,
198,
4503,
49,
62,
42,
2606,
18227,
796,
1391,
198,
220,
220,
220,
705,
15908,
10354,
705,
74,
2778,
78,
3256,
198,
220,
220,
220,
705,
12957,
10354,
705,
161,
243,
237,
1270,
3256,
198,
92,
198,
198,
2,
42164,
222,
36181,
234,
15474,
243,
237,
165,
94,
234,
35585,
163,
113,
224,
1792,
237,
33180,
25224,
30201,
26344,
97,
23877,
255,
33623,
25748,
25224,
1792,
223,
27032,
255,
96,
17358,
237,
26193,
101,
163,
237,
122,
198,
8579,
5781,
62,
43,
11262,
62,
35780,
2849,
796,
302,
13,
5589,
576,
7,
81,
6,
58,
15,
12,
24,
60,
91,
12,
11537,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 1.506173 | 162 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Dec 30 09:15:23 2019
Modified from the cornstover biorefinery constructed in Cortes-Peña et al., 2020,
with modification of fermentation system for organic acids instead of the original ethanol
[1] Cortes-Peña et al., BioSTEAM: A Fast and Flexible Platform for the Design,
Simulation, and Techno-Economic Analysis of Biorefineries under Uncertainty.
ACS Sustainable Chem. Eng. 2020, 8 (8), 3302–3310.
https://doi.org/10.1021/acssuschemeng.9b07040.
Naming conventions:
D = Distillation column
F = Flash tank
H = Heat exchange
M = Mixer
P = Pump (including conveying belt)
R = Reactor
S = Splitter (including solid/liquid separator)
T = Tank or bin for storage
U = Other units
PS = Process specificiation, not physical units, but for adjusting streams
Processes:
100: Feedstock preprocessing
200: Pretreatment
300: Conversion
400: Separation
500: Wastewater treatment
600: Facilities
@author: yalinli_cabbi
"""
# %% Setup
import biosteam as bst
import thermosteam as tmo
import flexsolve as flx
import numpy as np
from biosteam import main_flowsheet as F
from biorefineries import BST222
from biosteam import System
from thermosteam import Stream
from biorefineries.BDO import units, facilities
from biorefineries.BDO._process_specification import ProcessSpecification
from biorefineries.BDO.process_settings import price
from biorefineries.BDO.utils import find_split, splits_df, baseline_feedflow
from biorefineries.BDO.chemicals_data import BDO_chemicals, chemical_groups, \
soluble_organics, combustibles
from biorefineries.BDO.tea import BDOTEA
bst.speed_up()
flowsheet = bst.Flowsheet('BDO')
bst.main_flowsheet.set_flowsheet(flowsheet)
# Speeds up ShortcutDistillation
bst.units.ShortcutColumn.minimum_guess_distillate_recovery = 0
# Chemical Engineering Plant Cost Index from Chemical Engineering Magzine
# (https://www.chemengonline.com/the-magazine/)
# Year 1997 1998 2009 2010 2016
# CE 386.5 389.5 521.9 550.8 541.7
# Baseline cost year is 2016
bst.CE = 541.7
_labor_2007to2016 = 22.71 / 19.55
# Set default thermo object for the system
tmo.settings.set_thermo(BDO_chemicals)
# %%
# =============================================================================
# Feedstock
# =============================================================================
feedstock = Stream('feedstock',
baseline_feedflow.copy(),
units='kg/hr',
price=price['Feedstock'])
U101 = units.FeedstockPreprocessing('U101', ins=feedstock)
# Handling costs/utilities included in feedstock cost thus not considered here
U101.cost_items['System'].cost = 0
U101.cost_items['System'].kW = 0
# %%
# =============================================================================
# Pretreatment streams
# =============================================================================
# To be used for feedstock conditioning, flow is adjusted in PretreatmentMixer
pretreatment_feedstock_water = Stream('pretreatment_feedstock_water',
T=95+273.15, units='kg/hr')
# For pretreatment, baseline is (18+4.1) mg/g dry biomass
# based on P21 in Humbird et al., 93% purity
feedstock_dry_mass = feedstock.F_mass - feedstock.imass['H2O']
pretreatment_sulfuric_acid = Stream('pretreatment_sulfuric_acid',
H2SO4=feedstock_dry_mass*22.1/1000*0.93,
H2O=feedstock_dry_mass*22.1/1000*0.07,
units='kg/hr')
# Flow adjusted in SulfuricAcidMixer, stream 516 in Humbird et al.
pretreatment_acid_water = Stream('pretreatment_acid_water', T=114+273.15)
# To be added to the feedstock/sulfuric acid mixture,
# will be adjusted by the SteamMixer
pretreatment_steam = Stream('pretreatment_steam', phase='g',
T=268+273.15, P=13*101325,
Water=(3490+24534)*U101.feedstock_flow_rate/2205,
units='kg/hr')
# For neutralization of pretreatment hydrolysate
ammonia = Stream('ammonia', units='kg/hr', phase='l')
# To be used for ammonia addition, will be updated by AmmoniaMixer
pretreatment_ammonia_water = Stream('pretreatment_ammonia_water', units='kg/hr')
# =============================================================================
# Pretreatment units
# =============================================================================
# Prepare sulfuric acid
T201 = units.SulfuricAcidAdditionTank('T201', ins=pretreatment_sulfuric_acid)
M201 = units.SulfuricAcidMixer('M201', ins=(T201-0, pretreatment_acid_water))
# Mix sulfuric acid and feedstock, adjust water loading
M202 = units.PretreatmentMixer('M202', ins=(U101-0, M201-0,
pretreatment_feedstock_water))
# Mix feedstock/sulfuric acid mixture and steam
M203 = units.SteamMixer('M203', ins=(M202-0, pretreatment_steam), P=5.5*101325)
R201 = units.PretreatmentReactorSystem('R201', ins=M203-0,
outs=('R201_g', 'R201_l'))
R201_H = bst.units.HXutility('R201_H', ins=R201-0, V=0, rigorous=True)
# Pump bottom of the pretreatment products to the oligomer conversion tank
T202 = units.BlowdownTank('T202', ins=R201-1)
T203 = units.OligomerConversionTank('T203', ins=T202-0)
F201 = units.PretreatmentFlash('F201', ins=T203-0, outs=('F201_g', 'F201_l'),
P=101325, Q=0)
F201_H = bst.units.HXutility('F201_H', ins=F201-0, V=0, rigorous=True)
# Neutralize pretreatment hydrolysate
M204 = units.AmmoniaMixer('M204', ins=(ammonia, pretreatment_ammonia_water))
M204.specification = update_ammonia_and_mix
T204 = units.AmmoniaAdditionTank('T204', ins=(F201-1, M204-0))
T204_P = units.HydrolysatePump('T204_P', ins=T204-0)
M205 = bst.units.Mixer('M205', ins=(R201_H-0, F201_H-0))
M205_P = units.BDOPump('M205_P', ins=M205-0, outs='condensed_pretreatment_waste_vapor')
# %%
# =============================================================================
# Conversion streams
# =============================================================================
# Flow and price will be updated in EnzymeHydrolysateMixer
enzyme = Stream('enzyme', units='kg/hr', price=price['Enzyme'])
# Used to adjust enzymatic hydrolysis solid loading, will be updated in EnzymeHydrolysateMixer
enzyme_water = Stream('enzyme_water', units='kg/hr')
# Corn steep liquor as nitrogen nutrient for microbes, flow updated in R301
CSL = Stream('CSL', units='kg/hr')
# Lime for neutralization of produced acid
# fermentation_lime = Stream('fermentation_lime', units='kg/hr')
# For diluting concentrated, inhibitor-reduced hydrolysate
dilution_water = Stream('dilution_water', units='kg/hr')
# =============================================================================
# Conversion units
# =============================================================================
# Cool hydrolysate down to fermentation temperature at 50°C
H301 = bst.units.HXutility('H301', ins=T204_P-0, T=50+273.15)
# Mix enzyme with the cooled pretreatment hydrolysate
M301 = units.EnzymeHydrolysateMixer('M301', ins=(H301-0, enzyme, enzyme_water))
# Mix pretreatment hydrolysate/enzyme mixture with fermentation seed
M302 = bst.units.Mixer('M302', ins=(M301-0, ''))
# Saccharification and Cofermentation
# R301 = units.SaccharificationAndCoFermentation('R301',
# ins=(M302-0, CSL),
# outs=('fermentation_effluent',
# 'sidedraw'))
# Saccharification
R301 = units.Saccharification('R301',
ins=M302-0,
outs=('saccharification_effluent',
'sidedraw'))
# Remove solids from fermentation broth, modified from the pressure filter in Humbird et al.
S301_index = [splits_df.index[0]] + splits_df.index[2:].to_list()
S301_cell_mass_split = [splits_df['stream_571'][0]] + splits_df['stream_571'][2:].to_list()
S301_filtrate_split = [splits_df['stream_535'][0]] + splits_df['stream_535'][2:].to_list()
S301 = units.CellMassFilter('S301', ins=R301-0, outs=('solids', ''),
moisture_content=0.35,
split=find_split(S301_index,
S301_cell_mass_split,
S301_filtrate_split,
chemical_groups))
# S302 = bst.units.Splitter('S302', ins=S301-1, outs=('to_cofermentation',
# 'to_evaporator'),
# split=0.2)
# def adjust_M303_water():
# M303.ins[1].imol['Water'] = (M303.water_multiplier - 1) * M303.ins[0].imol['Water']
# M303._run()
# M303 = bst.units.Mixer('M303', ins=(S302-1, ''))
# M303.water_multiplier = 6.5
# M303.specification = adjust_M303_water
# F301 = bst.units.MultiEffectEvaporator('F301', ins=M303-0, outs=('F301_l', 'F301_g'),
# P = (101325, 73581, 50892, 32777, 20000), V = 0.9695)
# F301_H = bst.units.HXutility('F301_H', ins=F301-0, T=30+273.15)
# F301_H_P = units.BDOPump('F301_H_P', ins=F301_H-0)
F301 = bst.units.MultiEffectEvaporator('F301', ins=S301-1, outs=('F301_l', 'F301_g'),
P = (101325, 73581, 50892, 32777, 20000), V = 0.797)
# F301.V = 0.797 for sugars concentration of 591.25 g/L (599.73 g/L after cooling to 30 C)
F301_P = units.BDOPump('F301_P', ins=F301-0)
M303 = bst.units.Mixer('M303', ins=(F301_P-0, dilution_water))
M303.water_multiplier = 1.001
M303.specification = adjust_M303_water
M303_H = bst.units.HXutility('M303_H', ins=M303-0, T=30+273.15)
M303_H_P = units.BDOPump('M303_H_P', ins=M303_H-0)
# Cofermentation
R302 = units.CoFermentation('R302',
ins=('', M303_H_P-0, CSL),
outs=('fermentation_effluent', 'CO2'))
# ferm_ratio is the ratio of conversion relative to the fermenter
R303 = units.SeedTrain('R303', ins=R301-1, outs=('seed',), ferm_ratio=0.9)
T301 = units.SeedHoldTank('T301', ins=R303-0, outs=1-M302)
# %%
# =============================================================================
# Separation streams
# =============================================================================
# This flow will be automatically updated in CellMassFilter
# separation_sulfuric_acid = Stream('separation_sulfuric_acid', units='kg/hr')
# # # To be mixed with sulfuric acid, will be updated in SulfuricAdditionTank
# # separation_acid_water = Stream('separation_acid_water', units='kg/hr')
# separation_DPHP = Stream('DPHP', DPHP =feedstock_dry_mass*22.1/1000*0.93,
# H2O=feedstock_dry_mass*22.1/1000*0.07, units='kg/hr')
# # Ethanol for esterification reaction, will be updated in the EsterificationReactor
# separation_ethanol = Stream('separation_ethanol', Ethanol=feedstock_dry_mass*22.1/1000*0.93,
# H2O=feedstock_dry_mass*22.1/1000*0.07, units='kg/hr')
# For ester hydrolysis
# separation_hydrolysis_water = Stream('separation_hydrolysis_water', units='kg/hr')
# =============================================================================
# Separation units
# =============================================================================
# Remove solids from fermentation broth, modified from the pressure filter in Humbird et al.
S401_index = [splits_df.index[0]] + splits_df.index[2:].to_list()
S401_cell_mass_split = [splits_df['stream_571'][0]] + splits_df['stream_571'][2:].to_list()
S401_filtrate_split = [splits_df['stream_535'][0]] + splits_df['stream_535'][2:].to_list()
S401 = bst.units.SolidsCentrifuge('S401', ins=R302-0, outs=('cell_mass', ''),
# moisture_content=0.50,
split=find_split(S401_index,
S401_cell_mass_split,
S401_filtrate_split,
chemical_groups), solids =\
['Xylan', 'Glucan', 'Lignin', 'FermMicrobe',\
'Ash', 'Arabinan', 'Galactan', 'Mannan'])
M401 = bst.units.Mixer('M401', ins=(S401-1, '', '', '', ''))
M401.specification = adjust_M401_ethanol_and_DPHP
M401_P = units.BDOPump('M401_P', ins=M401-0, outs='mixed_stream')
# k_23bdo = 28.34
# k_glucose = 0.046
# k_etoh = 1
# k_h2o = 0
split = [0.001 for i in range(len(BDO_chemicals))]
# split[BDO_chemicals.index('Dipotassium hydrogen phosphate')] = 0
S402 = bst.units.LiquidsSplitSettler('S402', ins = M401_P-0, split=split)
S402.specification = adjust_S402_split
# Separate out the majority of water,
# no need to include agitator thus using biosteam Flash
# F401 = bst.units.Flash('F401', ins=S402-1, outs=('F401_g', 'F401_l'),
# # LHK=('AceticAcid', '2,3-Butanediol'),
# # is_divided=True,
# # product_specification_format='Recovery',
# # Lr=0.8, Hr=0.8, k=1.2,
# T = 379, P = 101325,
# vessel_material = 'Stainless steel 316')
F401 = bst.units.Flash('F401', ins=S402-1, outs=('F401_g', 'F401_l'),
# LHK=('AceticAcid', '2,3-Butanediol'),
# is_divided=True,
# product_specification_format='Recovery',
# Lr=0.8, Hr=0.8, k=1.2,
T = 379, P = 101325,
vessel_material = 'Stainless steel 316')
# def adjust_F401_V():
# F401.V = F401.ins[0].imol['H2O']/F401.ins[0].F_mol
# F401._run()
# F401.specification = adjust_F401_V
# # Condense waste vapor for recycling
F401_H = bst.units.HXutility('F401_H', ins=F401-0, V=0, rigorous=True)
F401_P = units.BDOPump('F401_P', ins=F401-1)
# Placeholder separation operation for DPHP recovery; consider gravimetric separation
# (rho_DPHP ~= 2.5 g/cm3, rho_Glucose ~= 1.5 g/cm3)
S403 = units.DPHP_Separation('S403', ins = F401_P-0, outs = ('separated_DPHP', 'impurities'))
S403_DPHP_recovery = 0.90 # w/w
S403_power_utility = 136850 # kW
S403.specification = adjust_S403_streams
# DPHP recycle
S403-0-4-M401
# D401 = bst.units.BinaryDistillation('D401', ins=F401_H-0, outs=('D401_g', 'D401_l'),
# LHK=('Ethanol', 'Water'),
# is_divided=True,
# product_specification_format='Recovery',
# Lr=0.99, Hr=0.99, k=1.2,
# vessel_material = 'Stainless steel 316')
# D401_H = bst.units.HXutility('D401_H', ins=D401-0, V=0, rigorous=True)
# D401_P = units.BDOPump('D401_P', ins=D401-1)
# Separate out ethanol
# H_D401 = bst.units.HXutility('H_D401', ins=S402-0, V=0.75, rigorous=True)
D401 = bst.units.ShortcutColumn('D401', ins=S402-0,
outs=('D401_g', 'D401_l'),
LHK=('Ethanol', 'BDO'),
is_divided=True,
product_specification_format='Recovery',
Lr=0.999, Hr=0.999, k=1.2,
vessel_material = 'Stainless steel 316')
# def adjust_D401_V():
# D401_ins_0 = D401.ins[0]
# D401.V = D401_ins_0.imol['Ethanol']/ (D401_ins_0.F_mol*.95)
# D401._run()
# D401 = bst.units.Flash('D401', ins=S402-0,
# outs=('D401_g', 'D401_l'),
# V=0.79, P = 101325,
# vessel_material = 'Stainless steel 316')
# D401.process_specification = adjust_D401_V
D401_H = bst.units.HXutility('D401_H', ins=D401-0, V=0, rigorous=True)
D401_P = units.BDOPump('D401_P', ins=D401-1)
# M402 = bst.units.Mixer('M402', ins=(D401_H-0))
M402_P = units.BDOPump('M402_P', ins=D401_H-0, outs='ethanol_recycle')
# Ethanol recycle
M402_P-0-3-M401
# Separate out Acetoin
D402 = bst.units.ShortcutColumn('D402', ins=D401_P-0,
outs=('D402_g', 'D402_l'),
LHK=('Acetoin', 'BDO'),
is_divided=True,
product_specification_format='Recovery',
Lr=0.9995, Hr=0.9995, k=1.2,
vessel_material = 'Stainless steel 316')
D402.specification = adjust_D402_streams
D402_H = bst.units.HXutility('D402_H', ins=D402-0, V=0, rigorous=True)
D402_P = units.BDOPump('D402_P', ins=D402-1)
# %%
# =============================================================================
# Wastewater treatment streams
# =============================================================================
# For aerobic digestion, flow will be updated in AerobicDigestion
air_lagoon = Stream('air_lagoon', phase='g', units='kg/hr')
# To neutralize nitric acid formed by nitrification in aerobic digestion
# flow will be updated in AerobicDigestion
# The active chemical is modeled as NaOH, but the price is cheaper than that of NaOH
aerobic_caustic = Stream('aerobic_caustic', units='kg/hr', T=20+273.15, P=2*101325,
price=price['Caustics'])
# =============================================================================
# Wastewater treatment units
# =============================================================================
# Mix waste liquids for treatment
M501 = bst.units.Mixer('M501', ins=(F401_H-0, F301-1, M205_P-0))
# This represents the total cost of wastewater treatment system
WWT_cost = units.WastewaterSystemCost('WWT_cost', ins=M501-0)
R501 = units.AnaerobicDigestion('R501', ins=WWT_cost-0,
outs=('biogas', 'anaerobic_treated_water',
'anaerobic_sludge'),
reactants=soluble_organics,
split=find_split(splits_df.index,
splits_df['stream_611'],
splits_df['stream_612'],
chemical_groups),
T=35+273.15)
# Mix recycled stream and wastewater after R501
M502 = bst.units.Mixer('M502', ins=(R501-1, ''))
R502 = units.AerobicDigestion('R502', ins=(M502-0, air_lagoon, aerobic_caustic),
outs=('aerobic_vent', 'aerobic_treated_water'),
reactants=soluble_organics,
ratio=U101.feedstock_flow_rate/2205)
# Membrane bioreactor to split treated wastewater from R502
S501 = bst.units.Splitter('S501', ins=R502-1, outs=('membrane_treated_water',
'membrane_sludge'),
split=find_split(splits_df.index,
splits_df['stream_624'],
splits_df['stream_625'],
chemical_groups))
S501.line = 'Membrane bioreactor'
# Recycled sludge stream of memberane bioreactor, the majority of it (96%)
# goes to aerobic digestion and the rest to sludge holding tank then to BT
S502 = bst.units.Splitter('S502', ins=S501-1, outs=('to_aerobic_digestion',
'to_boiler_turbogenerator'),
split=0.96)
M503 = bst.units.Mixer('M503', ins=(S502-0, 'centrate'), outs=1-M502)
# Mix anaerobic and 4% of membrane bioreactor sludge
M504 = bst.units.Mixer('M504', ins=(R501-2, S502-1))
# Sludge centrifuge to separate water (centrate) from sludge
S503 = bst.units.Splitter('S503', ins=M504-0, outs=(1-M503, 'sludge'),
split=find_split(splits_df.index,
splits_df['stream_616'],
splits_df['stream_623'],
chemical_groups))
S503.line = 'Sludge centrifuge'
# Reverse osmosis to treat membrane separated water
S504 = bst.units.Splitter('S504', ins=S501-0, outs=('discharged_water', 'waste_brine'),
split=find_split(splits_df.index,
splits_df['stream_626'],
splits_df['stream_627'],
chemical_groups))
S504.line = 'Reverse osmosis'
# Mix solid wastes to boiler turbogeneration
M505 = bst.units.Mixer('M505', ins=(S503-1, S401-0),
outs='wastes_to_boiler_turbogenerator')
# %%
# =============================================================================
# Facilities streams
# =============================================================================
sulfuric_acid_fresh = Stream('sulfuric_acid_fresh', price=price['Sulfuric acid'])
ammonia_fresh = Stream('ammonia_fresh', price=price['AmmoniumHydroxide'])
CSL_fresh = Stream('CSL_fresh', price=price['CSL'])
# lime_fresh = Stream('lime_fresh', price=price['Lime'])
# S401_out1_F_mass = S401.outs[1].F_mass
# if not (S401_out1_F_mass == 0):
# ethanol_fresh = Stream('ethanol_fresh', Ethanol = 0.24 * S401_out1_F_mass, units='kg/hr', price=price['Ethanol']) - M401.ins[3].imass['Ethanol']
# DPHP_fresh = Stream('DPHP_fresh', DPHP = 0.25 * S401_out1_F_mass, units='kg/hr', price=price['DPHP']) - M401.ins[3].imass['Dipotassium hydrogen phosphate']
# else:
ethanol_fresh = Stream('ethanol_fresh', Ethanol = feedstock_dry_mass*48*22.1/1000*0.93, units='kg/hr', price=price['Ethanol'])
DPHP_fresh = Stream('DPHP_fresh', DPHP = feedstock_dry_mass*50*22.1/1000*0.93, units='kg/hr', price=price['DPHP'])
# Water used to keep system water usage balanced
system_makeup_water = Stream('system_makeup_water', price=price['Makeup water'])
# Final product, not pure acid (which should be the case in reality)
BDO = Stream('BDO', units='kg/hr', price=price['BDO'])
# Acetoin product
Acetoin = Stream('Acetoin', units='kg/hr', price=price['Acetoin'])
# Chemicals used/generated in BT
FGD_lime = Stream('FGD_lime')
ash = Stream('ash', price=price['Ash disposal'])
boiler_chems = Stream('boiler_chems', price=price['Boiler chems'])
baghouse_bag = Stream('baghouse_bag', price=price['Baghouse bag'])
# Supplementary natural gas for BT if produced steam not enough for regenerating
# all steam streams required by the system
natural_gas = Stream('natural_gas', price=price['Natural gas'])
# Cooling tower chemicals
cooling_tower_chems = Stream('cooling_tower_chems', price=price['Cooling tower chems'])
# 145 based on equipment M-910 (clean-in-place system) in Humbird et al.
CIP_chems_in = Stream('CIP_chems_in', Water=145*U101.feedstock_flow_rate/2205,
units='kg/hr')
CIP_chems_out = Stream('CIP_chems_out')
CIP_chems_out.copy_like(CIP_chems_in)
# 1372608 based on stream 950 in Humbird et al.
# Air needed for multiple processes (including enzyme production that was not included here),
# not rigorously modeled, only scaled based on plant size
plant_air_in = Stream('plant_air_in', phase='g', units='kg/hr',
N2=0.79*1372608*U101.feedstock_flow_rate/2205,
O2=0.21*1372608*U101.feedstock_flow_rate/2205)
# 8021 based on stream 713 in Humbird et al.
fire_water_in = Stream('fire_water_in',
Water=8021*U101.feedstock_flow_rate/2205, units='kg/hr')
# =============================================================================
# Facilities units
# =============================================================================
T601 = units.SulfuricAcidStorageTank('T601', ins=sulfuric_acid_fresh)
T601.line = 'Sulfuric acid storage tank'
S601 = bst.units.ReversedSplitter('S601', ins=T601-0,
outs=(pretreatment_sulfuric_acid,
''))
T602 = units.AmmoniaStorageTank('T602', ins=ammonia_fresh, outs=ammonia)
T602.line = 'Ammonia storage tank'
T603 = units.CSLstorageTank('T603', ins=CSL_fresh, outs=CSL)
T603.line = 'CSL storage tank'
# DPHP storage
T604 = units.DPHPStorageTank('T604', ins=DPHP_fresh)
T604.line = 'DPHP storage tank'
T604_P = bst.units.ConveyingBelt('T604_P', ins=T604-0)
# 7-day storage time, similar to ethanol's in Humbird et al.
T605 = units.EthanolStorageTank('T605', ins=ethanol_fresh,
tau=7*24, V_wf=0.9,
vessel_type='Floating roof',
vessel_material='Carbon steel')
T605.line = 'Ethanol storage tank'
T605_P = units.BDOPump('T605_P', ins=T605-0)
# Connections to ATPE Mixer
T604_P-0-1-M401
T605_P-0-2-M401
# 7-day storage time, similar to ethanol's in Humbird et al.
T606 = units.BDOStorageTank('T606', ins=D402_P-0, tau=7*24, V_wf=0.9,
vessel_type='Floating roof',
vessel_material='Stainless steel')
T606.line = 'BDOStorageTank'
T606_P = units.BDOPump('T606_P', ins=T606-0, outs=BDO)
# 7-day storage time, similar to ethanol's in Humbird et al.
T607 = units.BDOStorageTank('T607', ins=D402_H-0, tau=7*24, V_wf=0.9,
vessel_type='Floating roof',
vessel_material='Stainless steel')
T607.line = 'AcetoinStorageTank'
T607_P = units.BDOPump('T607_P', ins=T607-0, outs=Acetoin)
CIP = facilities.OrganicAcidsCIP('CIP', ins=CIP_chems_in, outs=CIP_chems_out)
ADP = facilities.OrganicAcidsADP('ADP', ins=plant_air_in, outs='plant_air_out')
FWT = units.FireWaterTank('FWT', ins=fire_water_in, outs='fire_water_out')
# M505-0 is the liquid/solid mixture, R501-0 is the biogas, blowdown is discharged
BT = facilities.OrganicAcidsBT('BT', ins=(M505-0, R501-0,
FGD_lime, boiler_chems,
baghouse_bag, natural_gas,
'BT_makeup_water'),
B_eff=0.8, TG_eff=0.85,
combustibles=combustibles,
side_streams_to_heat=(pretreatment_feedstock_water,
pretreatment_acid_water,
pretreatment_steam),
outs=('gas_emission', ash, 'boiler_blowdown_water'))
# BT = bst.BDunits.BoilerTurbogenerator('BT',
# ins=(M505-0, R501-0, 'boiler_makeup_water', 'natural_gas', FGD_lime, boiler_chems),
# boiler_efficiency=0.80,
# turbogenerator_efficiency=0.85)
# Blowdown is discharged
CT = facilities.OrganicAcidsCT('CT',
ins=('return_cooling_water',
'CT_makeup_water',
cooling_tower_chems),
outs=('process_cooling_water',
'cooling_tower_blowdown'))
# All water used in the system, here only consider water usage,
# if heating needed, then heeating duty required is considered in BT
process_water_streams = (pretreatment_feedstock_water, pretreatment_acid_water,
pretreatment_steam, pretreatment_ammonia_water,
enzyme_water,
aerobic_caustic,
CIP.ins[-1], BT.ins[-1], CT.ins[-1])
PWC = facilities.OrganicAcidsPWC('PWC', ins=system_makeup_water,
process_water_streams=process_water_streams,
outs='process_water')
# Heat exchange network
HXN = bst.facilities.HeatExchangerNetwork('HXN')
# %%
# =============================================================================
# Complete system
# =============================================================================
# BDO_sys = System('BDO_sys',
# [
# # Feedstock preprocessing
# U101,
# # Pretreatment
# T201, M201, # sulfuric acid mixing and addition
# M202, # feedstock mixing
# M203, R201, R201_H, # pretreatment
# T202, T203,# blowdown and oligomer conversion
# F201, F201_H, # pretreatment flash and waste vapor condensation
# M204, T204, T204_P, # ammonia addition
# M205, M205_P, # waste vapor mixing and pumping
# # Conversion
# H301, # hydrolysate cooler
# M301, # enzyme addition
# System('fermentation_recycle',
# [M302, R301, # simultaneous saccharification and co-fermentation
# R302, T301], # seed train and seed holding tank
# recycle=T301-0), # recycle seed
# # Separation
# S401, # cell mass filter
# R401, R401_P, # acidulation
# T401, T401_P, # sulfuric acid addition
# S402, # gypsum filter
# F401, F401_H, F401_P, # separate water
# D401, D401_H, D401_P, # separate other volatiles
# System('esterification_recycle',
# [System('outer_loop_acid_and_ester_recycle',
# [System('inner_loop_ethanol_cycle',
# [R402, R402_P, # esterification of lactic acid
# D401, D401_H, D401_P], # separate out ethanol
# recycle=D401_H-0), # recycle ethanol
# D401, D401_H, D401_P, S403], # separate out acid and ester
# recycle=S403-0), # recycle acid and ester
# System('hydrolysis_recycle',
# [R403, R403_P, # hydrolysis of ester
# D404, D404_H, D404_P, # separate out ethanol for recylcing
# F402, F402_H, F402_P], # separate out volatiles
# recycle=F402_H-0), # recycle ester
# ],
# recycle=D404_H-0), # recycle ethanol
# D405, D405_H1, D405_H2, D405_P, # final purification of the acid product
# # Wastewater treatment
# M501, # mix all wastewater streams
# WWT_cost, # total cost of wastewater treatment process
# R501, # anaerobic digestion
# System('wastewater_treatment_recycle',
# [M502, R502, # aerobic digestion
# S501, # membrane bioreactor
# S502, M503], # sludge centrifuge
# recycle=M503-0), # recycle sludge
# M504, S503, # sludge centrifuge
# S504, # reverse osmosis
# M505, # sludge mixer
# # Facilities
# S601, T601, # sulfuric acid storage
# T602, # ammonia storage
# T603, # CSL storage
# T604, T604_P, # lime storage
# T605, T605_P, # ethanol storage
# T606, T606_P], # lactic acid product storage
# # facilities=(BT, CT, PWC, CIP, ADP, FWT))
# facilities=(HXN, BT, CT, PWC, CIP, ADP, FWT))
BDO_sys = bst.main_flowsheet.create_system(
'BDO_sys', feeds=[i for i in bst.main_flowsheet.stream
if i.sink and not i.source])
BT_sys = System('BT_sys', path=(BT,))
# =============================================================================
# TEA
# =============================================================================
BDO_no_BT_tea = BDOTEA(
system=BDO_sys, IRR=0.10, duration=(2016, 2046),
depreciation='MACRS7', income_tax=0.35, operating_days=350.4,
lang_factor=None, construction_schedule=(0.08, 0.60, 0.32),
startup_months=3, startup_FOCfrac=1, startup_salesfrac=0.5,
startup_VOCfrac=0.75, WC_over_FCI=0.05,
finance_interest=0.08, finance_years=10, finance_fraction=0.4,
# biosteam Splitters and Mixers have no cost,
# cost of all wastewater treatment units are included in WWT_cost,
# BT is not included in this TEA
OSBL_units=(U101, WWT_cost,
T601, T602, T603, T604, T604_P, T605, T605_P, T606, T606_P,
CT, PWC, CIP, ADP, FWT),
warehouse=0.04, site_development=0.09, additional_piping=0.045,
proratable_costs=0.10, field_expenses=0.10, construction=0.20,
contingency=0.10, other_indirect_costs=0.10,
labor_cost=2.5e6*_labor_2007to2016*U101.feedstock_flow_rate/2205,
labor_burden=0.90, property_insurance=0.007, maintenance=0.03)
BDO_no_BT_tea.units.remove(BT)
# # Removed because there is not double counting anyways.
# # Removes feeds/products of BT_sys from BDO_sys to avoid double-counting
# for i in BT_sys.feeds:
# BDO_sys.feeds.remove(i)
# for i in BT_sys.products:
# BDO_sys.products.remove(i)
# Boiler turbogenerator potentially has different depreciation schedule
BT_tea = bst.TEA.like(BT_sys, BDO_no_BT_tea)
BT_tea.labor_cost = 0
# Changed to MACRS 20 to be consistent with Humbird
BT_tea.depreciation = 'MACRS20'
BT_tea.OSBL_units = (BT,)
BDO_tea = bst.CombinedTEA([BDO_no_BT_tea, BT_tea], IRR=0.10)
BDO_sys._TEA = BDO_tea
# =============================================================================
# Simulate system and get results
# =============================================================================
get_BDO_MPSP()
# R301 = F('R301') # Fermentor
yearly_production = 125000 # ton/yr
spec = ProcessSpecification(
evaporator = F301,
mixer = M303,
reactor=R302,
reaction_name='fermentation_reaction',
substrates=('Xylose', 'Glucose'),
products=('BDO',),
yield_=0.909,
titer=100,
productivity=18.5,
path = (M303_H, M303_H_P),
xylose_utilization_fraction = 0.80)
path = (F301, R302)
@np.vectorize
@np.vectorize
# vapor_fractions = np.linspace(0.20, 0.80)
# titers = calculate_titer(vapor_fractions)
# MPSPs = calculate_MPSP(vapor_fractions)
# import matplotlib.pyplot as plt
# plt.plot(vapor_fractions, titers)
# plt.show()
# plt.plot(titers, MPSPs)
# plt.show()
# %%
# =============================================================================
# For Monte Carlo and analyses
# =============================================================================
BDO_sub_sys = {
# 'feedstock_sys': (U101,),
# 'pretreatment_sys': (T201, M201, M202, M203,
# R201, R201_H, T202, T203,
# F201, F201_H,
# M204, T204, T204_P,
# M205, M205_P),
# 'conversion_sys': (H301, M301, M302, R301, R302, T301),
'separation_sys': (S401, M401, M401_P,
S402,
F401, F401_H, F401_P,
D401, D401_H, D401_P, S403,
M402_P, S403,
D402, D402_H, D402_P,
M501,
T606, T606_P, T607, T607_P)
# F402, F402_H, F402_P,
# D405, D405_H1, D405_H2, D405_P,
# M401, M401_P)
# 'wastewater_sys': (M501, WWT_cost, R501,
# M502, R502, S501, S502, M503,
# M504, S503, S504, M505),
# 'HXN': (HXN,),
# 'BT': (BT,),
# 'CT': (CT,),
# 'other_facilities': (T601, S601,
# T602, T603,
# T604, T604_P,
# T605, T605_P,
# T606, T606_P,
# PWC, CIP, ADP, FWT)
}
# for unit in sum(BDO_sub_sys.values(), ()):
# if not unit in BDO_sys.units:
# print(f'{unit.ID} not in BDO_sys.units')
# for unit in BDO_sys.units:
# if not unit in sum(BDO_sub_sys.values(), ()):
# print(f'{unit.ID} not in BDO_sub_sys')
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
41972,
319,
2892,
4280,
1542,
7769,
25,
1314,
25,
1954,
13130,
198,
198,
5841,
1431,
422,
262,
11676,
301,
2502,
3182,
382,
69,
15451,
12006,
287,
18418,
274,
12,
6435,
30644,
2123,
435,
1539,
12131,
11,
198,
4480,
17613,
286,
35115,
1080,
329,
10469,
17045,
2427,
286,
262,
2656,
28829,
198,
198,
58,
16,
60,
18418,
274,
12,
6435,
30644,
2123,
435,
1539,
16024,
30516,
2390,
25,
317,
12549,
290,
26719,
856,
19193,
329,
262,
8495,
11,
220,
198,
220,
220,
220,
41798,
11,
290,
5429,
78,
12,
48307,
14691,
286,
8436,
382,
69,
48858,
739,
28304,
1425,
774,
13,
220,
198,
220,
220,
220,
48264,
45276,
12870,
13,
1985,
13,
12131,
11,
807,
357,
23,
828,
513,
22709,
1906,
2091,
940,
13,
220,
198,
220,
220,
220,
3740,
1378,
34023,
13,
2398,
14,
940,
13,
940,
2481,
14,
330,
824,
385,
15245,
1516,
13,
24,
65,
43509,
1821,
13,
198,
198,
45,
3723,
21396,
25,
198,
220,
220,
220,
360,
796,
4307,
40903,
5721,
198,
220,
220,
220,
376,
796,
9973,
6873,
198,
220,
220,
220,
367,
796,
12308,
5163,
198,
220,
220,
220,
337,
796,
15561,
263,
198,
220,
220,
220,
350,
796,
23220,
357,
8201,
24748,
1112,
10999,
8,
198,
220,
220,
220,
371,
796,
797,
11218,
198,
220,
220,
220,
311,
796,
13341,
1967,
357,
8201,
4735,
14,
39250,
2880,
1352,
8,
198,
220,
220,
220,
309,
796,
15447,
393,
9874,
329,
6143,
198,
220,
220,
220,
471,
796,
3819,
4991,
198,
220,
220,
220,
6599,
796,
10854,
2176,
3920,
11,
407,
3518,
4991,
11,
475,
329,
22000,
15190,
198,
198,
18709,
274,
25,
198,
220,
220,
220,
1802,
25,
18272,
13578,
662,
36948,
198,
220,
220,
220,
939,
25,
37123,
21731,
198,
220,
220,
220,
5867,
25,
44101,
198,
220,
220,
220,
7337,
25,
8621,
10186,
198,
220,
220,
220,
5323,
25,
32929,
21422,
3513,
198,
220,
220,
220,
10053,
25,
48939,
198,
198,
31,
9800,
25,
331,
14414,
4528,
62,
66,
6485,
72,
198,
37811,
628,
198,
2,
43313,
31122,
198,
198,
11748,
3182,
455,
68,
321,
355,
275,
301,
198,
11748,
10811,
1712,
68,
321,
355,
256,
5908,
198,
11748,
7059,
82,
6442,
355,
781,
87,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
3182,
455,
68,
321,
1330,
1388,
62,
44041,
25473,
355,
376,
198,
6738,
3182,
382,
69,
48858,
1330,
44992,
23148,
198,
6738,
3182,
455,
68,
321,
1330,
4482,
198,
6738,
10811,
1712,
68,
321,
1330,
13860,
198,
6738,
3182,
382,
69,
48858,
13,
14529,
46,
1330,
4991,
11,
7291,
198,
6738,
3182,
382,
69,
48858,
13,
14529,
46,
13557,
14681,
62,
16684,
2649,
1330,
10854,
22882,
2649,
198,
6738,
3182,
382,
69,
48858,
13,
14529,
46,
13,
14681,
62,
33692,
1330,
2756,
198,
6738,
3182,
382,
69,
48858,
13,
14529,
46,
13,
26791,
1330,
1064,
62,
35312,
11,
30778,
62,
7568,
11,
14805,
62,
12363,
11125,
198,
6738,
3182,
382,
69,
48858,
13,
14529,
46,
13,
15245,
20155,
62,
7890,
1330,
347,
18227,
62,
15245,
20155,
11,
5931,
62,
24432,
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,
49467,
62,
9971,
873,
11,
27500,
18764,
198,
6738,
3182,
382,
69,
48858,
13,
14529,
46,
13,
660,
64,
1330,
28023,
2394,
16412,
198,
198,
65,
301,
13,
12287,
62,
929,
3419,
198,
44041,
25473,
796,
275,
301,
13,
7414,
1666,
25473,
10786,
14529,
46,
11537,
198,
65,
301,
13,
12417,
62,
44041,
25473,
13,
2617,
62,
44041,
25473,
7,
44041,
25473,
8,
198,
198,
2,
2531,
5379,
510,
10073,
8968,
20344,
40903,
198,
65,
301,
13,
41667,
13,
16438,
8968,
39470,
13,
39504,
62,
5162,
408,
62,
17080,
359,
378,
62,
260,
1073,
548,
796,
657,
198,
2,
24872,
14044,
16561,
6446,
12901,
422,
24872,
14044,
2944,
89,
500,
198,
2,
357,
5450,
1378,
2503,
13,
15245,
1516,
25119,
13,
785,
14,
1169,
12,
19726,
4994,
34729,
198,
2,
6280,
220,
8309,
220,
220,
220,
7795,
220,
220,
220,
3717,
220,
220,
220,
3050,
220,
220,
220,
1584,
198,
2,
18671,
220,
220,
220,
48340,
13,
20,
220,
220,
49633,
13,
20,
220,
220,
642,
2481,
13,
24,
220,
220,
25240,
13,
23,
220,
220,
642,
3901,
13,
22,
198,
2,
6455,
4470,
1575,
614,
318,
1584,
198,
65,
301,
13,
5222,
796,
642,
3901,
13,
22,
198,
62,
75,
4820,
62,
12726,
1462,
5304,
796,
2534,
13,
4869,
1220,
678,
13,
2816,
198,
198,
2,
5345,
4277,
10811,
5908,
2134,
329,
262,
1080,
198,
83,
5908,
13,
33692,
13,
2617,
62,
490,
5908,
7,
14529,
46,
62,
15245,
20155,
8,
628,
198,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
18272,
13578,
198,
2,
38093,
25609,
198,
198,
12363,
13578,
796,
13860,
10786,
12363,
13578,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14805,
62,
12363,
11125,
13,
30073,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
11639,
10025,
14,
11840,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2756,
28,
20888,
17816,
18332,
13578,
6,
12962,
198,
198,
52,
8784,
796,
4991,
13,
18332,
13578,
6719,
36948,
10786,
52,
8784,
3256,
1035,
28,
12363,
13578,
8,
198,
198,
2,
49500,
3484,
14,
315,
2410,
3017,
287,
3745,
13578,
1575,
4145,
407,
3177,
994,
198,
52,
8784,
13,
15805,
62,
23814,
17816,
11964,
6,
4083,
15805,
796,
657,
198,
52,
8784,
13,
15805,
62,
23814,
17816,
11964,
6,
4083,
74,
54,
796,
657,
628,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
37123,
21731,
15190,
198,
2,
38093,
25609,
198,
198,
2,
1675,
307,
973,
329,
3745,
13578,
21143,
11,
5202,
318,
12328,
287,
37123,
21731,
35608,
263,
198,
5310,
21731,
62,
12363,
13578,
62,
7050,
796,
13860,
10786,
5310,
21731,
62,
12363,
13578,
62,
7050,
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,
309,
28,
3865,
10,
27367,
13,
1314,
11,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
1114,
2181,
21731,
11,
14805,
318,
357,
1507,
10,
19,
13,
16,
8,
10527,
14,
70,
5894,
42584,
198,
2,
1912,
319,
350,
2481,
287,
367,
2178,
1447,
2123,
435,
1539,
10261,
4,
25590,
198,
12363,
13578,
62,
39140,
62,
22208,
796,
3745,
13578,
13,
37,
62,
22208,
532,
3745,
13578,
13,
320,
562,
17816,
39,
17,
46,
20520,
198,
5310,
21731,
62,
82,
4754,
333,
291,
62,
46309,
796,
13860,
10786,
5310,
21731,
62,
82,
4754,
333,
291,
62,
46309,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
17,
15821,
19,
28,
12363,
13578,
62,
39140,
62,
22208,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
6052,
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,
367,
17,
46,
28,
12363,
13578,
62,
39140,
62,
22208,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
2998,
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,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
27782,
12328,
287,
311,
4754,
333,
291,
12832,
312,
35608,
263,
11,
4269,
642,
1433,
287,
367,
2178,
1447,
2123,
435,
13,
198,
5310,
21731,
62,
46309,
62,
7050,
796,
13860,
10786,
5310,
21731,
62,
46309,
62,
7050,
3256,
309,
28,
16562,
10,
27367,
13,
1314,
8,
198,
198,
2,
1675,
307,
2087,
284,
262,
3745,
13578,
14,
82,
4754,
333,
291,
7408,
11710,
11,
198,
2,
481,
307,
12328,
416,
262,
9094,
35608,
263,
198,
5310,
21731,
62,
21465,
796,
13860,
10786,
5310,
21731,
62,
21465,
3256,
7108,
11639,
70,
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,
309,
28,
25022,
10,
27367,
13,
1314,
11,
350,
28,
1485,
9,
8784,
26582,
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,
5638,
16193,
2682,
3829,
10,
22995,
2682,
27493,
52,
8784,
13,
12363,
13578,
62,
11125,
62,
4873,
14,
17572,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
1114,
8500,
1634,
286,
2181,
21731,
17173,
27385,
378,
198,
321,
2144,
544,
796,
13860,
10786,
321,
2144,
544,
3256,
4991,
11639,
10025,
14,
11840,
3256,
7108,
11639,
75,
11537,
198,
2,
1675,
307,
973,
329,
44957,
3090,
11,
481,
307,
6153,
416,
1703,
2144,
544,
35608,
263,
198,
5310,
21731,
62,
321,
2144,
544,
62,
7050,
796,
13860,
10786,
5310,
21731,
62,
321,
2144,
544,
62,
7050,
3256,
4991,
11639,
10025,
14,
11840,
11537,
628,
198,
2,
38093,
25609,
198,
2,
37123,
21731,
4991,
198,
2,
38093,
25609,
198,
198,
2,
43426,
37402,
291,
7408,
198,
51,
1264,
796,
4991,
13,
50,
4754,
333,
291,
12832,
312,
4550,
653,
32978,
10786,
51,
1264,
3256,
1035,
28,
5310,
21731,
62,
82,
4754,
333,
291,
62,
46309,
8,
198,
44,
1264,
796,
4991,
13,
50,
4754,
333,
291,
12832,
312,
35608,
263,
10786,
44,
1264,
3256,
1035,
16193,
51,
1264,
12,
15,
11,
2181,
21731,
62,
46309,
62,
7050,
4008,
198,
198,
2,
15561,
37402,
291,
7408,
290,
3745,
13578,
11,
4532,
1660,
11046,
198,
44,
19004,
796,
4991,
13,
47,
1186,
21731,
35608,
263,
10786,
44,
19004,
3256,
1035,
16193,
52,
8784,
12,
15,
11,
337,
1264,
12,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2181,
21731,
62,
12363,
13578,
62,
7050,
4008,
198,
198,
2,
15561,
3745,
13578,
14,
82,
4754,
333,
291,
7408,
11710,
290,
13324,
198,
44,
22416,
796,
4991,
13,
19109,
35608,
263,
10786,
44,
22416,
3256,
1035,
16193,
44,
19004,
12,
15,
11,
2181,
21731,
62,
21465,
828,
350,
28,
20,
13,
20,
9,
8784,
26582,
8,
198,
49,
1264,
796,
4991,
13,
47,
1186,
21731,
3041,
11218,
11964,
10786,
49,
1264,
3256,
1035,
28,
44,
22416,
12,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
49,
1264,
62,
70,
3256,
705,
49,
1264,
62,
75,
6,
4008,
198,
49,
1264,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
49,
1264,
62,
39,
3256,
1035,
28,
49,
1264,
12,
15,
11,
569,
28,
15,
11,
22888,
28,
17821,
8,
198,
198,
2,
23220,
4220,
286,
262,
2181,
21731,
3186,
284,
262,
24869,
12057,
11315,
6873,
198,
51,
19004,
796,
4991,
13,
3629,
322,
2902,
32978,
10786,
51,
19004,
3256,
1035,
28,
49,
1264,
12,
16,
8,
198,
51,
22416,
796,
4991,
13,
46,
4604,
12057,
3103,
9641,
32978,
10786,
51,
22416,
3256,
1035,
28,
51,
19004,
12,
15,
8,
198,
37,
1264,
796,
4991,
13,
47,
1186,
21731,
30670,
10786,
37,
1264,
3256,
1035,
28,
51,
22416,
12,
15,
11,
12198,
28,
10786,
37,
1264,
62,
70,
3256,
705,
37,
1264,
62,
75,
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,
350,
28,
8784,
26582,
11,
1195,
28,
15,
8,
198,
37,
1264,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
37,
1264,
62,
39,
3256,
1035,
28,
37,
1264,
12,
15,
11,
569,
28,
15,
11,
22888,
28,
17821,
8,
198,
198,
2,
25627,
1096,
2181,
21731,
17173,
27385,
378,
198,
220,
220,
220,
220,
198,
44,
18638,
796,
4991,
13,
5840,
2144,
544,
35608,
263,
10786,
44,
18638,
3256,
1035,
16193,
321,
2144,
544,
11,
2181,
21731,
62,
321,
2144,
544,
62,
7050,
4008,
198,
44,
18638,
13,
16684,
2649,
796,
4296,
62,
321,
2144,
544,
62,
392,
62,
19816,
198,
198,
51,
18638,
796,
4991,
13,
5840,
2144,
544,
4550,
653,
32978,
10786,
51,
18638,
3256,
1035,
16193,
37,
1264,
12,
16,
11,
337,
18638,
12,
15,
4008,
198,
51,
18638,
62,
47,
796,
4991,
13,
40436,
305,
27385,
378,
47,
931,
10786,
51,
18638,
62,
47,
3256,
1035,
28,
51,
18638,
12,
15,
8,
628,
628,
198,
44,
21261,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
21261,
3256,
1035,
16193,
49,
1264,
62,
39,
12,
15,
11,
376,
1264,
62,
39,
12,
15,
4008,
198,
44,
21261,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
44,
21261,
62,
47,
3256,
1035,
28,
44,
21261,
12,
15,
11,
12198,
11639,
17561,
15385,
62,
5310,
21731,
62,
86,
4594,
62,
85,
12687,
11537,
628,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
44101,
15190,
198,
2,
38093,
25609,
198,
198,
2,
27782,
290,
2756,
481,
307,
6153,
287,
2039,
24266,
40436,
305,
27385,
378,
35608,
263,
198,
268,
24266,
796,
13860,
10786,
268,
24266,
3256,
4991,
11639,
10025,
14,
11840,
3256,
2756,
28,
20888,
17816,
4834,
24266,
6,
12962,
198,
2,
16718,
284,
4532,
26365,
4948,
1512,
17173,
306,
13429,
4735,
11046,
11,
481,
307,
6153,
287,
2039,
24266,
40436,
305,
27385,
378,
35608,
263,
198,
268,
24266,
62,
7050,
796,
13860,
10786,
268,
24266,
62,
7050,
3256,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
11424,
14559,
20030,
355,
23417,
27560,
329,
33712,
11,
5202,
6153,
287,
371,
18938,
198,
7902,
43,
796,
13860,
10786,
7902,
43,
3256,
4991,
11639,
10025,
14,
11840,
11537,
198,
2,
43503,
329,
8500,
1634,
286,
4635,
7408,
198,
2,
35115,
62,
27299,
796,
13860,
10786,
2232,
14374,
62,
27299,
3256,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
1114,
11844,
15129,
17298,
11,
41704,
12,
445,
19513,
17173,
27385,
378,
198,
67,
346,
1009,
62,
7050,
796,
13860,
10786,
67,
346,
1009,
62,
7050,
3256,
4991,
11639,
10025,
14,
11840,
11537,
628,
198,
2,
38093,
25609,
198,
2,
44101,
4991,
198,
2,
38093,
25609,
198,
198,
2,
15226,
17173,
27385,
378,
866,
284,
35115,
5951,
379,
2026,
7200,
34,
198,
39,
18938,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
39,
18938,
3256,
1035,
28,
51,
18638,
62,
47,
12,
15,
11,
309,
28,
1120,
10,
27367,
13,
1314,
8,
198,
198,
2,
15561,
27679,
351,
262,
32162,
2181,
21731,
17173,
27385,
378,
198,
44,
18938,
796,
4991,
13,
4834,
24266,
40436,
305,
27385,
378,
35608,
263,
10786,
44,
18938,
3256,
1035,
16193,
39,
18938,
12,
15,
11,
27679,
11,
27679,
62,
7050,
4008,
198,
198,
2,
15561,
2181,
21731,
17173,
27385,
378,
14,
268,
24266,
11710,
351,
35115,
9403,
198,
44,
22709,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
22709,
3256,
1035,
16193,
44,
18938,
12,
15,
11,
10148,
4008,
628,
198,
2,
9295,
10641,
2649,
290,
327,
30288,
14374,
198,
2,
371,
18938,
796,
4991,
13,
38318,
10641,
2649,
1870,
7222,
43362,
14374,
10786,
49,
18938,
3256,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1035,
16193,
44,
22709,
12,
15,
11,
327,
8634,
828,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
2232,
14374,
62,
14822,
28216,
3256,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22339,
1831,
6,
4008,
198,
198,
2,
9295,
10641,
2649,
198,
49,
18938,
796,
4991,
13,
38318,
10641,
2649,
10786,
49,
18938,
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,
220,
220,
220,
220,
220,
220,
220,
220,
1035,
28,
44,
22709,
12,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
30584,
10641,
2649,
62,
14822,
28216,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22339,
1831,
6,
4008,
198,
198,
2,
17220,
1540,
2340,
422,
35115,
32051,
11,
9518,
422,
262,
3833,
8106,
287,
367,
2178,
1447,
2123,
435,
13,
198,
50,
18938,
62,
9630,
796,
685,
22018,
896,
62,
7568,
13,
9630,
58,
15,
11907,
1343,
30778,
62,
7568,
13,
9630,
58,
17,
25,
4083,
1462,
62,
4868,
3419,
198,
50,
18938,
62,
3846,
62,
22208,
62,
35312,
796,
685,
22018,
896,
62,
7568,
17816,
5532,
62,
42875,
6,
7131,
15,
11907,
1343,
30778,
62,
7568,
17816,
5532,
62,
42875,
6,
7131,
17,
25,
4083,
1462,
62,
4868,
3419,
198,
50,
18938,
62,
10379,
2213,
378,
62,
35312,
796,
685,
22018,
896,
62,
7568,
17816,
5532,
62,
44465,
6,
7131,
15,
11907,
1343,
30778,
62,
7568,
17816,
5532,
62,
44465,
6,
7131,
17,
25,
4083,
1462,
62,
4868,
3419,
198,
50,
18938,
796,
4991,
13,
28780,
20273,
22417,
10786,
50,
18938,
3256,
1035,
28,
49,
18938,
12,
15,
11,
12198,
28,
10786,
34453,
2340,
3256,
10148,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20160,
62,
11299,
28,
15,
13,
2327,
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,
6626,
28,
19796,
62,
35312,
7,
50,
18938,
62,
9630,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
311,
18938,
62,
3846,
62,
22208,
62,
35312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
311,
18938,
62,
10379,
2213,
378,
62,
35312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5931,
62,
24432,
4008,
198,
198,
2,
311,
22709,
796,
275,
301,
13,
41667,
13,
26568,
1967,
10786,
50,
22709,
3256,
1035,
28,
50,
18938,
12,
16,
11,
12198,
28,
10786,
1462,
62,
1073,
2232,
14374,
3256,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1462,
62,
1990,
12687,
1352,
33809,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6626,
28,
15,
13,
17,
8,
198,
198,
2,
825,
4532,
62,
44,
22572,
62,
7050,
33529,
198,
2,
220,
220,
220,
220,
337,
22572,
13,
1040,
58,
16,
4083,
320,
349,
17816,
19184,
20520,
796,
357,
44,
22572,
13,
7050,
62,
47945,
959,
532,
352,
8,
1635,
337,
22572,
13,
1040,
58,
15,
4083,
320,
349,
17816,
19184,
20520,
198,
2,
220,
220,
220,
220,
337,
22572,
13557,
5143,
3419,
198,
220,
220,
220,
220,
198,
2,
337,
22572,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
22572,
3256,
1035,
16193,
50,
22709,
12,
16,
11,
10148,
4008,
198,
2,
337,
22572,
13,
7050,
62,
47945,
959,
796,
718,
13,
20,
198,
2,
337,
22572,
13,
16684,
2649,
796,
4532,
62,
44,
22572,
62,
7050,
628,
198,
2,
376,
18938,
796,
275,
301,
13,
41667,
13,
29800,
18610,
15200,
12687,
1352,
10786,
37,
18938,
3256,
1035,
28,
44,
22572,
12,
15,
11,
12198,
28,
10786,
37,
18938,
62,
75,
3256,
705,
37,
18938,
62,
70,
33809,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
350,
796,
357,
8784,
26582,
11,
767,
2327,
6659,
11,
2026,
4531,
17,
11,
36203,
3324,
11,
939,
405,
828,
569,
796,
657,
13,
24,
37381,
8,
198,
2,
376,
18938,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
37,
18938,
62,
39,
3256,
1035,
28,
37,
18938,
12,
15,
11,
309,
28,
1270,
10,
27367,
13,
1314,
8,
198,
2,
376,
18938,
62,
39,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
37,
18938,
62,
39,
62,
47,
3256,
1035,
28,
37,
18938,
62,
39,
12,
15,
8,
198,
198,
37,
18938,
796,
275,
301,
13,
41667,
13,
29800,
18610,
15200,
12687,
1352,
10786,
37,
18938,
3256,
1035,
28,
50,
18938,
12,
16,
11,
12198,
28,
10786,
37,
18938,
62,
75,
3256,
705,
37,
18938,
62,
70,
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,
220,
220,
220,
220,
220,
350,
796,
357,
8784,
26582,
11,
767,
2327,
6659,
11,
2026,
4531,
17,
11,
36203,
3324,
11,
939,
405,
828,
569,
796,
657,
13,
44673,
8,
198,
2,
376,
18938,
13,
53,
796,
657,
13,
44673,
329,
34476,
10368,
286,
642,
6420,
13,
1495,
308,
14,
43,
357,
43452,
13,
4790,
308,
14,
43,
706,
15134,
284,
1542,
327,
8,
628,
198,
37,
18938,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
37,
18938,
62,
47,
3256,
1035,
28,
37,
18938,
12,
15,
8,
628,
220,
220,
220,
220,
198,
44,
22572,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
22572,
3256,
1035,
16193,
37,
18938,
62,
47,
12,
15,
11,
11844,
1009,
62,
7050,
4008,
198,
44,
22572,
13,
7050,
62,
47945,
959,
796,
352,
13,
8298,
198,
44,
22572,
13,
16684,
2649,
796,
4532,
62,
44,
22572,
62,
7050,
198,
44,
22572,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
44,
22572,
62,
39,
3256,
1035,
28,
44,
22572,
12,
15,
11,
309,
28,
1270,
10,
27367,
13,
1314,
8,
198,
44,
22572,
62,
39,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
44,
22572,
62,
39,
62,
47,
3256,
1035,
28,
44,
22572,
62,
39,
12,
15,
8,
628,
198,
198,
2,
327,
30288,
14374,
198,
49,
22709,
796,
4991,
13,
7222,
43362,
14374,
10786,
49,
22709,
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,
220,
220,
220,
220,
220,
220,
220,
220,
1035,
28,
10786,
3256,
337,
22572,
62,
39,
62,
47,
12,
15,
11,
327,
8634,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
2232,
14374,
62,
14822,
28216,
3256,
705,
8220,
17,
6,
4008,
628,
198,
2,
277,
7780,
62,
10366,
952,
318,
262,
8064,
286,
11315,
3585,
284,
262,
38797,
263,
198,
49,
22572,
796,
4991,
13,
50,
2308,
44077,
10786,
49,
22572,
3256,
1035,
28,
49,
18938,
12,
16,
11,
12198,
28,
10786,
28826,
3256,
828,
277,
7780,
62,
10366,
952,
28,
15,
13,
24,
8,
198,
198,
51,
18938,
796,
4991,
13,
50,
2308,
26807,
32978,
10786,
51,
18938,
3256,
1035,
28,
49,
22572,
12,
15,
11,
12198,
28,
16,
12,
44,
22709,
8,
628,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
8621,
10186,
15190,
198,
2,
38093,
25609,
198,
198,
2,
770,
5202,
481,
307,
6338,
6153,
287,
12440,
20273,
22417,
198,
2,
14139,
62,
82,
4754,
333,
291,
62,
46309,
796,
13860,
10786,
25512,
341,
62,
82,
4754,
333,
291,
62,
46309,
3256,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
1303,
1303,
1675,
307,
7668,
351,
37402,
291,
7408,
11,
481,
307,
6153,
287,
311,
4754,
333,
291,
4550,
653,
32978,
198,
2,
1303,
14139,
62,
46309,
62,
7050,
796,
13860,
10786,
25512,
341,
62,
46309,
62,
7050,
3256,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
14139,
62,
6322,
14082,
796,
13860,
10786,
6322,
14082,
3256,
360,
11909,
47,
796,
12363,
13578,
62,
39140,
62,
22208,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
6052,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
17,
46,
28,
12363,
13578,
62,
39140,
62,
22208,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
2998,
11,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
1303,
9956,
22012,
329,
1658,
353,
2649,
6317,
11,
481,
307,
6153,
287,
262,
412,
1706,
2649,
3041,
11218,
198,
2,
14139,
62,
2788,
22012,
796,
13860,
10786,
25512,
341,
62,
2788,
22012,
3256,
9956,
22012,
28,
12363,
13578,
62,
39140,
62,
22208,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
6052,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
17,
46,
28,
12363,
13578,
62,
39140,
62,
22208,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
2998,
11,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
1114,
1658,
353,
17173,
306,
13429,
198,
2,
14139,
62,
15511,
305,
306,
13429,
62,
7050,
796,
13860,
10786,
25512,
341,
62,
15511,
305,
306,
13429,
62,
7050,
3256,
4991,
11639,
10025,
14,
11840,
11537,
628,
198,
2,
38093,
25609,
198,
2,
8621,
10186,
4991,
198,
2,
38093,
25609,
198,
198,
2,
17220,
1540,
2340,
422,
35115,
32051,
11,
9518,
422,
262,
3833,
8106,
287,
367,
2178,
1447,
2123,
435,
13,
198,
50,
21844,
62,
9630,
796,
685,
22018,
896,
62,
7568,
13,
9630,
58,
15,
11907,
1343,
30778,
62,
7568,
13,
9630,
58,
17,
25,
4083,
1462,
62,
4868,
3419,
198,
50,
21844,
62,
3846,
62,
22208,
62,
35312,
796,
685,
22018,
896,
62,
7568,
17816,
5532,
62,
42875,
6,
7131,
15,
11907,
1343,
30778,
62,
7568,
17816,
5532,
62,
42875,
6,
7131,
17,
25,
4083,
1462,
62,
4868,
3419,
198,
50,
21844,
62,
10379,
2213,
378,
62,
35312,
796,
685,
22018,
896,
62,
7568,
17816,
5532,
62,
44465,
6,
7131,
15,
11907,
1343,
30778,
62,
7568,
17816,
5532,
62,
44465,
6,
7131,
17,
25,
4083,
1462,
62,
4868,
3419,
198,
50,
21844,
796,
275,
301,
13,
41667,
13,
36949,
2340,
19085,
81,
361,
2217,
10786,
50,
21844,
3256,
1035,
28,
49,
22709,
12,
15,
11,
12198,
28,
10786,
3846,
62,
22208,
3256,
10148,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
20160,
62,
11299,
28,
15,
13,
1120,
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,
6626,
28,
19796,
62,
35312,
7,
50,
21844,
62,
9630,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
311,
21844,
62,
3846,
62,
22208,
62,
35312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
311,
21844,
62,
10379,
2213,
378,
62,
35312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5931,
62,
24432,
828,
1540,
2340,
796,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37250,
55,
18554,
3256,
705,
9861,
1229,
272,
3256,
705,
43,
570,
259,
3256,
705,
37,
7780,
13031,
1350,
3256,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26754,
3256,
705,
3163,
6014,
272,
3256,
705,
26552,
529,
272,
3256,
705,
44,
1236,
272,
6,
12962,
628,
198,
198,
44,
21844,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
21844,
3256,
1035,
16193,
50,
21844,
12,
16,
11,
705,
3256,
705,
3256,
705,
3256,
10148,
4008,
628,
198,
44,
21844,
13,
16684,
2649,
796,
4532,
62,
44,
21844,
62,
2788,
22012,
62,
392,
62,
6322,
14082,
198,
44,
21844,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
44,
21844,
62,
47,
3256,
1035,
28,
44,
21844,
12,
15,
11,
12198,
11639,
76,
2966,
62,
5532,
11537,
198,
198,
2,
479,
62,
1954,
65,
4598,
796,
2579,
13,
2682,
198,
2,
479,
62,
4743,
1229,
577,
796,
657,
13,
45438,
198,
2,
479,
62,
316,
1219,
796,
352,
198,
2,
479,
62,
71,
17,
78,
796,
657,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
198,
35312,
796,
685,
15,
13,
8298,
329,
1312,
287,
2837,
7,
11925,
7,
14529,
46,
62,
15245,
20155,
4008,
60,
198,
2,
6626,
58,
14529,
46,
62,
15245,
20155,
13,
9630,
10786,
35,
541,
313,
26663,
17669,
46926,
11537,
60,
796,
657,
198,
198,
50,
32531,
796,
275,
301,
13,
41667,
13,
43,
1557,
2340,
41205,
50,
3087,
1754,
10786,
50,
32531,
3256,
1035,
796,
337,
21844,
62,
47,
12,
15,
11,
6626,
28,
35312,
8,
198,
50,
32531,
13,
16684,
2649,
796,
4532,
62,
50,
32531,
62,
35312,
628,
198,
2,
8621,
30748,
503,
262,
3741,
286,
1660,
11,
198,
2,
645,
761,
284,
2291,
556,
270,
1352,
4145,
1262,
3182,
455,
68,
321,
9973,
198,
2,
376,
21844,
796,
275,
301,
13,
41667,
13,
30670,
10786,
37,
21844,
3256,
1035,
28,
50,
32531,
12,
16,
11,
12198,
28,
10786,
37,
21844,
62,
70,
3256,
705,
37,
21844,
62,
75,
33809,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
406,
38730,
28,
10786,
12832,
5139,
12832,
312,
3256,
705,
17,
11,
18,
12,
1537,
22739,
1669,
33809,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
318,
62,
7146,
1384,
28,
17821,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1720,
62,
16684,
2649,
62,
18982,
11639,
6690,
6560,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
406,
81,
28,
15,
13,
23,
11,
367,
81,
28,
15,
13,
23,
11,
479,
28,
16,
13,
17,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
796,
45937,
11,
350,
796,
8949,
26582,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8837,
62,
33665,
796,
705,
1273,
391,
1203,
7771,
34131,
11537,
628,
198,
37,
21844,
796,
275,
301,
13,
41667,
13,
30670,
10786,
37,
21844,
3256,
1035,
28,
50,
32531,
12,
16,
11,
12198,
28,
10786,
37,
21844,
62,
70,
3256,
705,
37,
21844,
62,
75,
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,
220,
220,
1303,
406,
38730,
28,
10786,
12832,
5139,
12832,
312,
3256,
705,
17,
11,
18,
12,
1537,
22739,
1669,
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,
220,
220,
1303,
318,
62,
7146,
1384,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1720,
62,
16684,
2649,
62,
18982,
11639,
6690,
6560,
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,
1303,
406,
81,
28,
15,
13,
23,
11,
367,
81,
28,
15,
13,
23,
11,
479,
28,
16,
13,
17,
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,
309,
796,
45937,
11,
350,
796,
8949,
26582,
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,
8837,
62,
33665,
796,
705,
1273,
391,
1203,
7771,
34131,
11537,
628,
198,
2,
825,
4532,
62,
37,
21844,
62,
53,
33529,
198,
2,
220,
220,
220,
220,
376,
21844,
13,
53,
796,
376,
21844,
13,
1040,
58,
15,
4083,
320,
349,
17816,
39,
17,
46,
20520,
14,
37,
21844,
13,
1040,
58,
15,
4083,
37,
62,
43132,
198,
2,
220,
220,
220,
220,
376,
21844,
13557,
5143,
3419,
198,
220,
220,
220,
220,
198,
2,
376,
21844,
13,
16684,
2649,
796,
4532,
62,
37,
21844,
62,
53,
198,
198,
2,
1303,
9724,
1072,
7030,
20199,
329,
25914,
198,
37,
21844,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
37,
21844,
62,
39,
3256,
1035,
28,
37,
21844,
12,
15,
11,
569,
28,
15,
11,
22888,
28,
17821,
8,
198,
37,
21844,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
37,
21844,
62,
47,
3256,
1035,
28,
37,
21844,
12,
16,
8,
628,
198,
198,
2,
8474,
13829,
14139,
4905,
329,
360,
11909,
47,
7628,
26,
2074,
9067,
320,
19482,
14139,
198,
2,
357,
81,
8873,
62,
6322,
14082,
5299,
28,
362,
13,
20,
308,
14,
11215,
18,
11,
374,
8873,
62,
9861,
1229,
577,
5299,
28,
352,
13,
20,
308,
14,
11215,
18,
8,
198,
50,
31552,
796,
4991,
13,
6322,
14082,
62,
19117,
10186,
10786,
50,
31552,
3256,
1035,
796,
376,
21844,
62,
47,
12,
15,
11,
12198,
796,
19203,
25512,
515,
62,
6322,
14082,
3256,
705,
11011,
10886,
6,
4008,
198,
50,
31552,
62,
6322,
14082,
62,
260,
1073,
548,
796,
657,
13,
3829,
1303,
266,
14,
86,
198,
50,
31552,
62,
6477,
62,
315,
879,
796,
1511,
3104,
1120,
1303,
50223,
198,
220,
220,
220,
220,
198,
50,
31552,
13,
16684,
2649,
796,
4532,
62,
50,
31552,
62,
5532,
82,
198,
198,
2,
360,
11909,
47,
48914,
198,
50,
31552,
12,
15,
12,
19,
12,
44,
21844,
198,
198,
2,
360,
21844,
796,
275,
301,
13,
41667,
13,
33,
3219,
20344,
40903,
10786,
35,
21844,
3256,
1035,
28,
37,
21844,
62,
39,
12,
15,
11,
12198,
28,
10786,
35,
21844,
62,
70,
3256,
705,
35,
21844,
62,
75,
33809,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
406,
38730,
28,
10786,
36,
14813,
349,
3256,
705,
19184,
33809,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
7146,
1384,
28,
17821,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1720,
62,
16684,
2649,
62,
18982,
11639,
6690,
6560,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
406,
81,
28,
15,
13,
2079,
11,
367,
81,
28,
15,
13,
2079,
11,
479,
28,
16,
13,
17,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8837,
62,
33665,
796,
705,
1273,
391,
1203,
7771,
34131,
11537,
628,
198,
2,
360,
21844,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
35,
21844,
62,
39,
3256,
1035,
28,
35,
21844,
12,
15,
11,
569,
28,
15,
11,
22888,
28,
17821,
8,
198,
2,
360,
21844,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
35,
21844,
62,
47,
3256,
1035,
28,
35,
21844,
12,
16,
8,
628,
198,
2,
8621,
30748,
503,
28829,
198,
198,
2,
367,
62,
35,
21844,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
39,
62,
35,
21844,
3256,
1035,
28,
50,
32531,
12,
15,
11,
569,
28,
15,
13,
2425,
11,
22888,
28,
17821,
8,
198,
35,
21844,
796,
275,
301,
13,
41667,
13,
16438,
8968,
39470,
10786,
35,
21844,
3256,
1035,
28,
50,
32531,
12,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
35,
21844,
62,
70,
3256,
705,
35,
21844,
62,
75,
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,
220,
220,
406,
38730,
28,
10786,
36,
14813,
349,
3256,
705,
14529,
46,
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,
220,
220,
318,
62,
7146,
1384,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1720,
62,
16684,
2649,
62,
18982,
11639,
6690,
6560,
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,
406,
81,
28,
15,
13,
17032,
11,
367,
81,
28,
15,
13,
17032,
11,
479,
28,
16,
13,
17,
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,
8837,
62,
33665,
796,
705,
1273,
391,
1203,
7771,
34131,
11537,
198,
2,
825,
4532,
62,
35,
21844,
62,
53,
33529,
198,
2,
220,
220,
220,
220,
360,
21844,
62,
1040,
62,
15,
796,
360,
21844,
13,
1040,
58,
15,
60,
198,
2,
220,
220,
220,
220,
360,
21844,
13,
53,
796,
360,
21844,
62,
1040,
62,
15,
13,
320,
349,
17816,
36,
14813,
349,
20520,
14,
357,
35,
21844,
62,
1040,
62,
15,
13,
37,
62,
43132,
24620,
3865,
8,
198,
2,
220,
220,
220,
220,
360,
21844,
13557,
5143,
3419,
198,
220,
220,
220,
220,
198,
2,
360,
21844,
796,
275,
301,
13,
41667,
13,
30670,
10786,
35,
21844,
3256,
1035,
28,
50,
32531,
12,
15,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
35,
21844,
62,
70,
3256,
705,
35,
21844,
62,
75,
33809,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
569,
28,
15,
13,
3720,
11,
350,
796,
8949,
26582,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8837,
62,
33665,
796,
705,
1273,
391,
1203,
7771,
34131,
11537,
198,
2,
360,
21844,
13,
14681,
62,
16684,
2649,
796,
4532,
62,
35,
21844,
62,
53,
198,
198,
35,
21844,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
35,
21844,
62,
39,
3256,
1035,
28,
35,
21844,
12,
15,
11,
569,
28,
15,
11,
22888,
28,
17821,
8,
198,
35,
21844,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
35,
21844,
62,
47,
3256,
1035,
28,
35,
21844,
12,
16,
8,
628,
628,
198,
198,
2,
337,
32531,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
32531,
3256,
1035,
16193,
35,
21844,
62,
39,
12,
15,
4008,
198,
44,
32531,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
44,
32531,
62,
47,
3256,
1035,
28,
35,
21844,
62,
39,
12,
15,
11,
12198,
11639,
2788,
22012,
62,
260,
13696,
11537,
198,
198,
2,
9956,
22012,
48914,
198,
44,
32531,
62,
47,
12,
15,
12,
18,
12,
44,
21844,
198,
198,
2,
8621,
30748,
503,
4013,
27206,
259,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
35,
32531,
796,
275,
301,
13,
41667,
13,
16438,
8968,
39470,
10786,
35,
32531,
3256,
1035,
28,
35,
21844,
62,
47,
12,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
35,
32531,
62,
70,
3256,
705,
35,
32531,
62,
75,
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,
220,
220,
406,
38730,
28,
10786,
12832,
27206,
259,
3256,
705,
14529,
46,
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,
220,
220,
318,
62,
7146,
1384,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1720,
62,
16684,
2649,
62,
18982,
11639,
6690,
6560,
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,
406,
81,
28,
15,
13,
2079,
3865,
11,
367,
81,
28,
15,
13,
2079,
3865,
11,
479,
28,
16,
13,
17,
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,
8837,
62,
33665,
796,
705,
1273,
391,
1203,
7771,
34131,
11537,
198,
35,
32531,
13,
16684,
2649,
796,
4532,
62,
35,
32531,
62,
5532,
82,
198,
35,
32531,
62,
39,
796,
275,
301,
13,
41667,
13,
39,
55,
315,
879,
10786,
35,
32531,
62,
39,
3256,
1035,
28,
35,
32531,
12,
15,
11,
569,
28,
15,
11,
22888,
28,
17821,
8,
198,
35,
32531,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
35,
32531,
62,
47,
3256,
1035,
28,
35,
32531,
12,
16,
8,
628,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
32929,
21422,
3513,
15190,
198,
2,
38093,
25609,
198,
198,
2,
1114,
43294,
44639,
11,
5202,
481,
307,
6153,
287,
15781,
20803,
19511,
395,
295,
198,
958,
62,
30909,
2049,
796,
13860,
10786,
958,
62,
30909,
2049,
3256,
7108,
11639,
70,
3256,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
1675,
8500,
1096,
13759,
1173,
7408,
7042,
416,
13759,
38763,
287,
43294,
44639,
198,
2,
5202,
481,
307,
6153,
287,
15781,
20803,
19511,
395,
295,
198,
2,
383,
4075,
5931,
318,
29563,
355,
11013,
12096,
11,
475,
262,
2756,
318,
11721,
621,
326,
286,
11013,
12096,
198,
25534,
20803,
62,
6888,
436,
291,
796,
13860,
10786,
25534,
20803,
62,
6888,
436,
291,
3256,
4991,
11639,
10025,
14,
11840,
3256,
309,
28,
1238,
10,
27367,
13,
1314,
11,
350,
28,
17,
9,
8784,
26582,
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,
2756,
28,
20888,
17816,
24334,
436,
873,
6,
12962,
198,
198,
2,
38093,
25609,
198,
2,
32929,
21422,
3513,
4991,
198,
2,
38093,
25609,
198,
198,
2,
15561,
7030,
38236,
329,
3513,
198,
44,
33548,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
33548,
3256,
1035,
16193,
37,
21844,
62,
39,
12,
15,
11,
376,
18938,
12,
16,
11,
337,
21261,
62,
47,
12,
15,
4008,
198,
198,
2,
770,
6870,
262,
2472,
1575,
286,
42073,
3513,
1080,
198,
17947,
51,
62,
15805,
796,
4991,
13,
54,
459,
21422,
11964,
13729,
10786,
17947,
51,
62,
15805,
3256,
1035,
28,
44,
33548,
12,
15,
8,
198,
198,
49,
33548,
796,
4991,
13,
2025,
25534,
20803,
19511,
395,
295,
10786,
49,
33548,
3256,
1035,
28,
17947,
51,
62,
15805,
12,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
8482,
519,
292,
3256,
705,
2271,
263,
20803,
62,
37182,
62,
7050,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2271,
263,
20803,
62,
6649,
12587,
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,
6324,
1187,
28,
34453,
26664,
62,
9971,
873,
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,
6626,
28,
19796,
62,
35312,
7,
22018,
896,
62,
7568,
13,
9630,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30778,
62,
7568,
17816,
5532,
62,
21,
1157,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30778,
62,
7568,
17816,
5532,
62,
43610,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5931,
62,
24432,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
28,
2327,
10,
27367,
13,
1314,
8,
198,
198,
2,
15561,
32099,
4269,
290,
42073,
706,
371,
33548,
198,
44,
35126,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
35126,
3256,
1035,
16193,
49,
33548,
12,
16,
11,
10148,
4008,
198,
49,
35126,
796,
4991,
13,
32,
263,
20803,
19511,
395,
295,
10786,
49,
35126,
3256,
1035,
16193,
44,
35126,
12,
15,
11,
1633,
62,
30909,
2049,
11,
43294,
62,
6888,
436,
291,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
25534,
20803,
62,
1151,
3256,
705,
25534,
20803,
62,
37182,
62,
7050,
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,
6324,
1187,
28,
34453,
26664,
62,
9971,
873,
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,
8064,
28,
52,
8784,
13,
12363,
13578,
62,
11125,
62,
4873,
14,
17572,
20,
8,
198,
198,
2,
4942,
1671,
1531,
3182,
382,
11218,
284,
6626,
5716,
42073,
422,
371,
35126,
198,
50,
33548,
796,
275,
301,
13,
41667,
13,
26568,
1967,
10786,
50,
33548,
3256,
1035,
28,
49,
35126,
12,
16,
11,
12198,
28,
10786,
11883,
1671,
1531,
62,
37182,
62,
7050,
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,
220,
220,
220,
220,
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,
11883,
1671,
1531,
62,
6649,
12587,
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,
6626,
28,
19796,
62,
35312,
7,
22018,
896,
62,
7568,
13,
9630,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30778,
62,
7568,
17816,
5532,
62,
21,
1731,
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,
30778,
62,
7568,
17816,
5532,
62,
26704,
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,
5931,
62,
24432,
4008,
198,
198,
50,
33548,
13,
1370,
796,
705,
13579,
1671,
1531,
3182,
382,
11218,
6,
198,
198,
2,
3311,
88,
20095,
1017,
12587,
4269,
286,
2888,
1531,
3182,
382,
11218,
11,
262,
3741,
286,
340,
357,
4846,
4407,
198,
2,
2925,
284,
43294,
44639,
290,
262,
1334,
284,
1017,
12587,
4769,
6873,
788,
284,
22205,
198,
50,
35126,
796,
275,
301,
13,
41667,
13,
26568,
1967,
10786,
50,
35126,
3256,
1035,
28,
50,
33548,
12,
16,
11,
12198,
28,
10786,
1462,
62,
25534,
20803,
62,
12894,
395,
295,
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,
220,
220,
220,
220,
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,
1462,
62,
2127,
5329,
62,
83,
5945,
519,
877,
1352,
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,
6626,
28,
15,
13,
4846,
8,
198,
198,
44,
31938,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
31938,
3256,
1035,
16193,
50,
35126,
12,
15,
11,
705,
1087,
4873,
33809,
12198,
28,
16,
12,
44,
35126,
8,
198,
198,
2,
15561,
281,
25534,
20803,
290,
604,
4,
286,
25019,
3182,
382,
11218,
1017,
12587,
198,
44,
33580,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
33580,
3256,
1035,
16193,
49,
33548,
12,
17,
11,
311,
35126,
12,
16,
4008,
198,
198,
2,
3454,
12587,
41563,
2217,
284,
4553,
1660,
357,
1087,
4873,
8,
422,
1017,
12587,
198,
50,
31938,
796,
275,
301,
13,
41667,
13,
26568,
1967,
10786,
50,
31938,
3256,
1035,
28,
44,
33580,
12,
15,
11,
12198,
16193,
16,
12,
44,
31938,
11,
705,
6649,
12587,
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,
6626,
28,
19796,
62,
35312,
7,
22018,
896,
62,
7568,
13,
9630,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30778,
62,
7568,
17816,
5532,
62,
44214,
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,
30778,
62,
7568,
17816,
5532,
62,
46872,
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,
5931,
62,
24432,
4008,
198,
50,
31938,
13,
1370,
796,
705,
11122,
12587,
41563,
2217,
6,
198,
198,
2,
31849,
267,
5796,
5958,
284,
2190,
25019,
11266,
1660,
198,
50,
33580,
796,
275,
301,
13,
41667,
13,
26568,
1967,
10786,
50,
33580,
3256,
1035,
28,
50,
33548,
12,
15,
11,
12198,
28,
10786,
6381,
17200,
62,
7050,
3256,
705,
86,
4594,
62,
1671,
500,
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,
6626,
28,
19796,
62,
35312,
7,
22018,
896,
62,
7568,
13,
9630,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30778,
62,
7568,
17816,
5532,
62,
45191,
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,
30778,
62,
7568,
17816,
5532,
62,
49856,
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,
5931,
62,
24432,
4008,
198,
50,
33580,
13,
1370,
796,
705,
49,
964,
325,
267,
5796,
5958,
6,
198,
198,
2,
15561,
4735,
43739,
284,
36741,
14830,
519,
877,
341,
198,
44,
31654,
796,
275,
301,
13,
41667,
13,
35608,
263,
10786,
44,
31654,
3256,
1035,
16193,
50,
31938,
12,
16,
11,
311,
21844,
12,
15,
828,
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,
12198,
11639,
86,
459,
274,
62,
1462,
62,
2127,
5329,
62,
83,
5945,
519,
877,
1352,
11537,
628,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
48939,
15190,
198,
2,
38093,
25609,
198,
198,
82,
4754,
333,
291,
62,
46309,
62,
48797,
796,
13860,
10786,
82,
4754,
333,
291,
62,
46309,
62,
48797,
3256,
220,
2756,
28,
20888,
17816,
50,
4754,
333,
291,
7408,
6,
12962,
198,
321,
2144,
544,
62,
48797,
796,
13860,
10786,
321,
2144,
544,
62,
48797,
3256,
2756,
28,
20888,
17816,
5840,
2144,
1505,
40436,
13907,
485,
6,
12962,
198,
7902,
43,
62,
48797,
796,
13860,
10786,
7902,
43,
62,
48797,
3256,
2756,
28,
20888,
17816,
7902,
43,
6,
12962,
198,
2,
28738,
62,
48797,
796,
13860,
10786,
27299,
62,
48797,
3256,
2756,
28,
20888,
17816,
43,
524,
6,
12962,
198,
198,
2,
311,
21844,
62,
448,
16,
62,
37,
62,
22208,
796,
311,
21844,
13,
5269,
58,
16,
4083,
37,
62,
22208,
198,
198,
2,
611,
407,
357,
50,
21844,
62,
448,
16,
62,
37,
62,
22208,
6624,
657,
2599,
198,
2,
220,
220,
220,
220,
28829,
62,
48797,
796,
13860,
10786,
2788,
22012,
62,
48797,
3256,
9956,
22012,
796,
657,
13,
1731,
1635,
311,
21844,
62,
448,
16,
62,
37,
62,
22208,
11,
4991,
11639,
10025,
14,
11840,
3256,
2756,
28,
20888,
17816,
36,
14813,
349,
6,
12962,
532,
337,
21844,
13,
1040,
58,
18,
4083,
320,
562,
17816,
36,
14813,
349,
20520,
198,
2,
220,
220,
220,
220,
360,
11909,
47,
62,
48797,
796,
13860,
10786,
6322,
14082,
62,
48797,
3256,
360,
11909,
47,
796,
657,
13,
1495,
1635,
311,
21844,
62,
448,
16,
62,
37,
62,
22208,
11,
4991,
11639,
10025,
14,
11840,
3256,
2756,
28,
20888,
17816,
6322,
14082,
6,
12962,
532,
337,
21844,
13,
1040,
58,
18,
4083,
320,
562,
17816,
35,
541,
313,
26663,
17669,
46926,
20520,
198,
220,
220,
220,
220,
198,
2,
2073,
25,
198,
2788,
22012,
62,
48797,
796,
13860,
10786,
2788,
22012,
62,
48797,
3256,
9956,
22012,
796,
3745,
13578,
62,
39140,
62,
22208,
9,
2780,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
6052,
11,
4991,
11639,
10025,
14,
11840,
3256,
2756,
28,
20888,
17816,
36,
14813,
349,
6,
12962,
198,
6322,
14082,
62,
48797,
796,
13860,
10786,
6322,
14082,
62,
48797,
3256,
360,
11909,
47,
796,
3745,
13578,
62,
39140,
62,
22208,
9,
1120,
9,
1828,
13,
16,
14,
12825,
9,
15,
13,
6052,
11,
4991,
11639,
10025,
14,
11840,
3256,
2756,
28,
20888,
17816,
6322,
14082,
6,
12962,
198,
2,
5638,
973,
284,
1394,
1080,
1660,
8748,
12974,
198,
10057,
62,
15883,
929,
62,
7050,
796,
13860,
10786,
10057,
62,
15883,
929,
62,
7050,
3256,
2756,
28,
20888,
17816,
12050,
929,
1660,
6,
12962,
198,
198,
2,
8125,
1720,
11,
407,
5899,
7408,
357,
4758,
815,
307,
262,
1339,
287,
3950,
8,
198,
14529,
46,
796,
13860,
10786,
14529,
46,
3256,
4991,
11639,
10025,
14,
11840,
3256,
2756,
28,
20888,
17816,
14529,
46,
6,
12962,
198,
198,
2,
4013,
27206,
259,
1720,
198,
12832,
27206,
259,
796,
13860,
10786,
12832,
27206,
259,
3256,
4991,
11639,
10025,
14,
11840,
3256,
2756,
28,
20888,
17816,
12832,
27206,
259,
6,
12962,
198,
2,
12870,
20155,
973,
14,
27568,
287,
22205,
198,
30386,
35,
62,
27299,
796,
13860,
10786,
30386,
35,
62,
27299,
11537,
198,
1077,
796,
13860,
10786,
1077,
3256,
2756,
28,
20888,
17816,
26754,
18264,
6,
12962,
198,
2127,
5329,
62,
2395,
907,
796,
13860,
10786,
2127,
5329,
62,
2395,
907,
3256,
2756,
28,
20888,
17816,
16635,
5329,
1125,
907,
6,
12962,
198,
21454,
4803,
62,
21454,
796,
13860,
10786,
21454,
4803,
62,
21454,
3256,
2756,
28,
20888,
17816,
33,
363,
4803,
6131,
6,
12962,
198,
2,
43008,
3288,
3623,
329,
22205,
611,
4635,
13324,
407,
1576,
329,
16935,
803,
198,
2,
477,
13324,
15190,
2672,
416,
262,
1080,
198,
11802,
62,
22649,
796,
13860,
10786,
11802,
62,
22649,
3256,
2756,
28,
20888,
17816,
35364,
3623,
6,
12962,
198,
198,
2,
15226,
278,
10580,
12910,
198,
24494,
278,
62,
36170,
62,
2395,
907,
796,
13860,
10786,
24494,
278,
62,
36170,
62,
2395,
907,
3256,
2756,
28,
20888,
17816,
34530,
278,
10580,
1125,
907,
6,
12962,
198,
198,
2,
20299,
1912,
319,
5112,
337,
12,
43234,
357,
27773,
12,
259,
12,
5372,
1080,
8,
287,
367,
2178,
1447,
2123,
435,
13,
198,
34,
4061,
62,
2395,
907,
62,
259,
796,
13860,
10786,
34,
4061,
62,
2395,
907,
62,
259,
3256,
5638,
28,
18781,
9,
52,
8784,
13,
12363,
13578,
62,
11125,
62,
4873,
14,
17572,
20,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
11639,
10025,
14,
11840,
11537,
198,
34,
4061,
62,
2395,
907,
62,
448,
796,
13860,
10786,
34,
4061,
62,
2395,
907,
62,
448,
11537,
198,
34,
4061,
62,
2395,
907,
62,
448,
13,
30073,
62,
2339,
7,
34,
4061,
62,
2395,
907,
62,
259,
8,
198,
198,
2,
1511,
4761,
28688,
1912,
319,
4269,
38384,
287,
367,
2178,
1447,
2123,
435,
13,
198,
2,
3701,
2622,
329,
3294,
7767,
357,
8201,
27679,
3227,
326,
373,
407,
3017,
994,
828,
198,
2,
407,
7805,
24882,
29563,
11,
691,
27464,
1912,
319,
4618,
2546,
198,
15060,
62,
958,
62,
259,
796,
13860,
10786,
15060,
62,
958,
62,
259,
3256,
7108,
11639,
70,
3256,
4991,
11639,
10025,
14,
11840,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
399,
17,
28,
15,
13,
3720,
9,
1485,
4761,
28688,
9,
52,
8784,
13,
12363,
13578,
62,
11125,
62,
4873,
14,
17572,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
440,
17,
28,
15,
13,
2481,
9,
1485,
4761,
28688,
9,
52,
8784,
13,
12363,
13578,
62,
11125,
62,
4873,
14,
17572,
20,
8,
198,
198,
2,
4019,
2481,
1912,
319,
4269,
767,
1485,
287,
367,
2178,
1447,
2123,
435,
13,
198,
6495,
62,
7050,
62,
259,
796,
13860,
10786,
6495,
62,
7050,
62,
259,
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,
5638,
28,
1795,
2481,
9,
52,
8784,
13,
12363,
13578,
62,
11125,
62,
4873,
14,
17572,
20,
11,
4991,
11639,
10025,
14,
11840,
11537,
198,
198,
2,
38093,
25609,
198,
2,
48939,
4991,
198,
2,
38093,
25609,
198,
198,
51,
41706,
796,
4991,
13,
50,
4754,
333,
291,
12832,
312,
31425,
32978,
10786,
51,
41706,
3256,
1035,
28,
82,
4754,
333,
291,
62,
46309,
62,
48797,
8,
198,
51,
41706,
13,
1370,
796,
705,
50,
4754,
333,
291,
7408,
6143,
6873,
6,
198,
50,
41706,
796,
275,
301,
13,
41667,
13,
3041,
690,
276,
26568,
1967,
10786,
50,
41706,
3256,
1035,
28,
51,
41706,
12,
15,
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,
220,
220,
220,
12198,
16193,
5310,
21731,
62,
82,
4754,
333,
291,
62,
46309,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10148,
4008,
198,
198,
51,
31418,
796,
4991,
13,
5840,
2144,
544,
31425,
32978,
10786,
51,
31418,
3256,
1035,
28,
321,
2144,
544,
62,
48797,
11,
12198,
28,
321,
2144,
544,
8,
198,
51,
31418,
13,
1370,
796,
705,
5840,
2144,
544,
6143,
6873,
6,
198,
198,
51,
35642,
796,
4991,
13,
7902,
43,
35350,
32978,
10786,
51,
35642,
3256,
1035,
28,
7902,
43,
62,
48797,
11,
12198,
28,
7902,
43,
8,
198,
51,
35642,
13,
1370,
796,
705,
7902,
43,
6143,
6873,
6,
198,
198,
2,
360,
11909,
47,
6143,
198,
51,
31916,
796,
4991,
13,
6322,
14082,
31425,
32978,
10786,
51,
31916,
3256,
1035,
28,
6322,
14082,
62,
48797,
8,
198,
51,
31916,
13,
1370,
796,
705,
6322,
14082,
6143,
6873,
6,
198,
51,
31916,
62,
47,
796,
275,
301,
13,
41667,
13,
3103,
303,
1112,
33,
2120,
10786,
51,
31916,
62,
47,
3256,
1035,
28,
51,
31916,
12,
15,
8,
198,
198,
2,
767,
12,
820,
6143,
640,
11,
2092,
284,
28829,
338,
287,
367,
2178,
1447,
2123,
435,
13,
198,
51,
32417,
796,
4991,
13,
36,
14813,
349,
31425,
32978,
10786,
51,
32417,
3256,
1035,
28,
2788,
22012,
62,
48797,
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,
256,
559,
28,
22,
9,
1731,
11,
569,
62,
86,
69,
28,
15,
13,
24,
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,
8837,
62,
4906,
11639,
33574,
803,
9753,
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,
8837,
62,
33665,
11639,
9914,
4189,
7771,
11537,
198,
51,
32417,
13,
1370,
796,
705,
36,
14813,
349,
6143,
6873,
6,
198,
51,
32417,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
51,
32417,
62,
47,
3256,
1035,
28,
51,
32417,
12,
15,
8,
628,
198,
198,
2,
8113,
507,
284,
5161,
11401,
15561,
263,
198,
51,
31916,
62,
47,
12,
15,
12,
16,
12,
44,
21844,
198,
51,
32417,
62,
47,
12,
15,
12,
17,
12,
44,
21844,
198,
198,
2,
767,
12,
820,
6143,
640,
11,
2092,
284,
28829,
338,
287,
367,
2178,
1447,
2123,
435,
13,
198,
51,
33206,
796,
4991,
13,
14529,
46,
31425,
32978,
10786,
51,
33206,
3256,
1035,
28,
35,
32531,
62,
47,
12,
15,
11,
256,
559,
28,
22,
9,
1731,
11,
569,
62,
86,
69,
28,
15,
13,
24,
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,
8837,
62,
4906,
11639,
33574,
803,
9753,
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,
8837,
62,
33665,
11639,
1273,
391,
1203,
7771,
11537,
628,
198,
198,
51,
33206,
13,
1370,
796,
705,
14529,
46,
31425,
32978,
6,
198,
51,
33206,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
51,
33206,
62,
47,
3256,
1035,
28,
51,
33206,
12,
15,
11,
12198,
28,
14529,
46,
8,
198,
198,
2,
767,
12,
820,
6143,
640,
11,
2092,
284,
28829,
338,
287,
367,
2178,
1447,
2123,
435,
13,
198,
51,
31980,
796,
4991,
13,
14529,
46,
31425,
32978,
10786,
51,
31980,
3256,
1035,
28,
35,
32531,
62,
39,
12,
15,
11,
256,
559,
28,
22,
9,
1731,
11,
569,
62,
86,
69,
28,
15,
13,
24,
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,
8837,
62,
4906,
11639,
33574,
803,
9753,
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,
8837,
62,
33665,
11639,
1273,
391,
1203,
7771,
11537,
628,
198,
198,
51,
31980,
13,
1370,
796,
705,
12832,
27206,
259,
31425,
32978,
6,
198,
51,
31980,
62,
47,
796,
4991,
13,
14529,
3185,
931,
10786,
51,
31980,
62,
47,
3256,
1035,
28,
51,
31980,
12,
15,
11,
12198,
28,
12832,
27206,
259,
8,
628,
198,
34,
4061,
796,
7291,
13,
26121,
291,
12832,
2340,
34,
4061,
10786,
34,
4061,
3256,
1035,
28,
34,
4061,
62,
2395,
907,
62,
259,
11,
12198,
28,
34,
4061,
62,
2395,
907,
62,
448,
8,
198,
2885,
47,
796,
7291,
13,
26121,
291,
12832,
2340,
2885,
47,
10786,
2885,
47,
3256,
1035,
28,
15060,
62,
958,
62,
259,
11,
12198,
11639,
15060,
62,
958,
62,
448,
11537,
628,
198,
24160,
51,
796,
4991,
13,
13543,
19184,
32978,
10786,
24160,
51,
3256,
1035,
28,
6495,
62,
7050,
62,
259,
11,
12198,
11639,
6495,
62,
7050,
62,
448,
11537,
198,
198,
2,
337,
31654,
12,
15,
318,
262,
8122,
14,
39390,
11710,
11,
371,
33548,
12,
15,
318,
262,
3182,
519,
292,
11,
6611,
2902,
318,
26476,
198,
19313,
796,
7291,
13,
26121,
291,
12832,
2340,
19313,
10786,
19313,
3256,
1035,
16193,
44,
31654,
12,
15,
11,
371,
33548,
12,
15,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25503,
35,
62,
27299,
11,
36741,
62,
2395,
907,
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,
6131,
4803,
62,
21454,
11,
3288,
62,
22649,
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,
705,
19313,
62,
15883,
929,
62,
7050,
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,
347,
62,
14822,
28,
15,
13,
23,
11,
44121,
62,
14822,
28,
15,
13,
5332,
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,
27500,
18764,
28,
24011,
436,
18764,
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,
1735,
62,
5532,
82,
62,
1462,
62,
25080,
16193,
5310,
21731,
62,
12363,
13578,
62,
7050,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2181,
21731,
62,
46309,
62,
7050,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2181,
21731,
62,
21465,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
22649,
62,
368,
1480,
3256,
12530,
11,
705,
2127,
5329,
62,
48619,
2902,
62,
7050,
6,
4008,
628,
198,
2,
22205,
796,
275,
301,
13,
14529,
41667,
13,
16635,
5329,
51,
5945,
519,
877,
1352,
10786,
19313,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1035,
16193,
44,
31654,
12,
15,
11,
371,
33548,
12,
15,
11,
705,
2127,
5329,
62,
15883,
929,
62,
7050,
3256,
705,
11802,
62,
22649,
3256,
25503,
35,
62,
27299,
11,
36741,
62,
2395,
907,
828,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36741,
62,
45888,
28,
15,
13,
1795,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14830,
519,
877,
1352,
62,
45888,
28,
15,
13,
5332,
8,
198,
198,
2,
26588,
2902,
318,
26476,
198,
4177,
796,
7291,
13,
26121,
291,
12832,
2340,
4177,
10786,
4177,
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,
220,
220,
220,
220,
220,
220,
220,
220,
1035,
28,
10786,
7783,
62,
24494,
278,
62,
7050,
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,
705,
4177,
62,
15883,
929,
62,
7050,
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,
15134,
62,
36170,
62,
2395,
907,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
28,
10786,
14681,
62,
24494,
278,
62,
7050,
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,
24494,
278,
62,
36170,
62,
48619,
2902,
6,
4008,
198,
198,
2,
1439,
1660,
973,
287,
262,
1080,
11,
994,
691,
2074,
1660,
8748,
11,
198,
2,
611,
16930,
2622,
11,
788,
339,
30041,
7077,
2672,
318,
3177,
287,
22205,
198,
14681,
62,
7050,
62,
5532,
82,
796,
357,
5310,
21731,
62,
12363,
13578,
62,
7050,
11,
2181,
21731,
62,
46309,
62,
7050,
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,
2181,
21731,
62,
21465,
11,
2181,
21731,
62,
321,
2144,
544,
62,
7050,
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,
27679,
62,
7050,
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,
43294,
62,
6888,
436,
291,
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,
327,
4061,
13,
1040,
58,
12,
16,
4357,
22205,
13,
1040,
58,
12,
16,
4357,
16356,
13,
1040,
58,
12,
16,
12962,
198,
198,
47,
27353,
796,
7291,
13,
26121,
291,
12832,
2340,
47,
27353,
10786,
47,
27353,
3256,
1035,
28,
10057,
62,
15883,
929,
62,
7050,
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,
220,
220,
1429,
62,
7050,
62,
5532,
82,
28,
14681,
62,
7050,
62,
5532,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12198,
11639,
14681,
62,
7050,
11537,
198,
198,
2,
12308,
5163,
3127,
198,
39,
55,
45,
796,
275,
301,
13,
38942,
2410,
13,
39596,
3109,
354,
2564,
26245,
10786,
39,
55,
45,
11537,
628,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
13248,
1080,
198,
2,
38093,
25609,
198,
198,
2,
347,
18227,
62,
17597,
796,
4482,
10786,
14529,
46,
62,
17597,
3256,
198,
2,
220,
220,
220,
220,
685,
198,
2,
220,
220,
220,
1303,
18272,
13578,
662,
36948,
198,
2,
220,
220,
220,
220,
220,
220,
471,
8784,
11,
198,
220,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1303,
37123,
21731,
198,
2,
220,
220,
220,
220,
220,
220,
309,
1264,
11,
337,
1264,
11,
1303,
37402,
291,
7408,
17090,
290,
3090,
198,
2,
220,
220,
220,
220,
220,
220,
337,
19004,
11,
1303,
3745,
13578,
17090,
198,
2,
220,
220,
220,
220,
220,
220,
337,
22416,
11,
371,
1264,
11,
371,
1264,
62,
39,
11,
1303,
2181,
21731,
220,
198,
2,
220,
220,
220,
220,
220,
220,
309,
19004,
11,
309,
22416,
11,
2,
6611,
2902,
290,
24869,
12057,
11315,
198,
2,
220,
220,
220,
220,
220,
220,
376,
1264,
11,
376,
1264,
62,
39,
11,
1303,
2181,
21731,
7644,
290,
7030,
20199,
1779,
25742,
198,
2,
220,
220,
220,
220,
220,
220,
337,
18638,
11,
309,
18638,
11,
309,
18638,
62,
47,
11,
1303,
44957,
3090,
198,
2,
220,
220,
220,
220,
220,
220,
337,
21261,
11,
337,
21261,
62,
47,
11,
1303,
7030,
20199,
17090,
290,
26916,
198,
220,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1303,
44101,
198,
2,
220,
220,
220,
220,
220,
220,
367,
18938,
11,
1303,
17173,
27385,
378,
19346,
198,
2,
220,
220,
220,
220,
220,
220,
337,
18938,
11,
1303,
27679,
3090,
198,
2,
220,
220,
220,
220,
220,
220,
4482,
10786,
2232,
14374,
62,
260,
13696,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
685,
44,
22709,
11,
371,
18938,
11,
1303,
29526,
5360,
10641,
2649,
290,
763,
12,
2232,
14374,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
371,
22709,
11,
309,
18938,
4357,
1303,
9403,
4512,
290,
9403,
4769,
6873,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
48914,
28,
51,
18938,
12,
15,
828,
1303,
48914,
9403,
198,
220,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1303,
8621,
10186,
198,
2,
220,
220,
220,
220,
220,
220,
311,
21844,
11,
1303,
2685,
2347,
8106,
198,
2,
220,
220,
220,
220,
220,
220,
371,
21844,
11,
371,
21844,
62,
47,
11,
1303,
7408,
1741,
198,
2,
220,
220,
220,
220,
220,
220,
309,
21844,
11,
309,
21844,
62,
47,
11,
1303,
37402,
291,
7408,
3090,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
220,
220,
311,
32531,
11,
1303,
21486,
862,
388,
8106,
198,
2,
220,
220,
220,
220,
220,
220,
376,
21844,
11,
376,
21844,
62,
39,
11,
376,
21844,
62,
47,
11,
1303,
4553,
1660,
198,
2,
220,
220,
220,
220,
220,
220,
360,
21844,
11,
360,
21844,
62,
39,
11,
360,
21844,
62,
47,
11,
1303,
4553,
584,
2322,
265,
2915,
198,
2,
220,
220,
220,
220,
220,
220,
4482,
10786,
7834,
2649,
62,
260,
13696,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
685,
11964,
10786,
39605,
62,
26268,
62,
46309,
62,
392,
62,
7834,
62,
260,
13696,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
11964,
10786,
5083,
62,
26268,
62,
2788,
22012,
62,
13696,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
49,
32531,
11,
371,
32531,
62,
47,
11,
1303,
1658,
353,
2649,
286,
300,
12009,
7408,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
360,
21844,
11,
360,
21844,
62,
39,
11,
360,
21844,
62,
47,
4357,
1303,
4553,
503,
28829,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48914,
28,
35,
21844,
62,
39,
12,
15,
828,
1303,
48914,
28829,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
360,
21844,
11,
360,
21844,
62,
39,
11,
360,
21844,
62,
47,
11,
311,
31552,
4357,
1303,
4553,
503,
7408,
290,
1658,
353,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48914,
28,
50,
31552,
12,
15,
828,
1303,
48914,
7408,
290,
1658,
353,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4482,
10786,
15511,
305,
306,
13429,
62,
260,
13696,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
49,
31552,
11,
371,
31552,
62,
47,
11,
1303,
17173,
306,
13429,
286,
1658,
353,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
360,
26429,
11,
360,
26429,
62,
39,
11,
360,
26429,
62,
47,
11,
1303,
4553,
503,
28829,
329,
664,
2645,
2259,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
32531,
11,
376,
32531,
62,
39,
11,
376,
32531,
62,
47,
4357,
1303,
4553,
503,
2322,
265,
2915,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48914,
28,
37,
32531,
62,
39,
12,
15,
828,
1303,
48914,
1658,
353,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48914,
28,
35,
26429,
62,
39,
12,
15,
828,
1303,
48914,
28829,
198,
2,
220,
220,
220,
220,
220,
220,
360,
26598,
11,
360,
26598,
62,
39,
16,
11,
360,
26598,
62,
39,
17,
11,
360,
26598,
62,
47,
11,
1303,
2457,
1308,
2649,
286,
262,
7408,
1720,
198,
220,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1303,
32929,
21422,
3513,
198,
2,
220,
220,
220,
220,
220,
220,
337,
33548,
11,
1303,
5022,
477,
42073,
15190,
198,
2,
220,
220,
220,
220,
220,
220,
13505,
51,
62,
15805,
11,
1303,
2472,
1575,
286,
42073,
3513,
1429,
198,
2,
220,
220,
220,
220,
220,
220,
371,
33548,
11,
1303,
281,
25534,
20803,
44639,
198,
2,
220,
220,
220,
220,
220,
220,
4482,
10786,
86,
459,
21422,
62,
42487,
62,
260,
13696,
3256,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
685,
44,
35126,
11,
371,
35126,
11,
1303,
43294,
44639,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
311,
33548,
11,
1303,
25019,
3182,
382,
11218,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
311,
35126,
11,
337,
31938,
4357,
1303,
1017,
12587,
41563,
2217,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
48914,
28,
44,
31938,
12,
15,
828,
1303,
48914,
1017,
12587,
198,
2,
220,
220,
220,
220,
220,
220,
337,
33580,
11,
311,
31938,
11,
1303,
1017,
12587,
41563,
2217,
198,
2,
220,
220,
220,
220,
220,
220,
311,
33580,
11,
1303,
9575,
267,
5796,
5958,
198,
2,
220,
220,
220,
220,
220,
220,
337,
31654,
11,
1303,
1017,
12587,
33938,
198,
220,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1303,
48939,
198,
2,
220,
220,
220,
220,
220,
220,
311,
41706,
11,
309,
41706,
11,
1303,
37402,
291,
7408,
6143,
198,
2,
220,
220,
220,
220,
220,
220,
309,
31418,
11,
1303,
44957,
6143,
198,
2,
220,
220,
220,
220,
220,
220,
309,
35642,
11,
1303,
327,
8634,
6143,
198,
2,
220,
220,
220,
220,
220,
220,
309,
31916,
11,
309,
31916,
62,
47,
11,
1303,
28738,
6143,
198,
2,
220,
220,
220,
220,
220,
220,
309,
32417,
11,
309,
32417,
62,
47,
11,
1303,
28829,
6143,
198,
2,
220,
220,
220,
220,
220,
220,
309,
33206,
11,
309,
33206,
62,
47,
4357,
1303,
300,
12009,
7408,
1720,
6143,
198,
2,
220,
220,
220,
220,
1303,
7291,
16193,
19313,
11,
16356,
11,
350,
27353,
11,
327,
4061,
11,
5984,
47,
11,
376,
39386,
4008,
198,
2,
220,
220,
220,
220,
7291,
16193,
39,
55,
45,
11,
22205,
11,
16356,
11,
350,
27353,
11,
327,
4061,
11,
5984,
47,
11,
376,
39386,
4008,
198,
198,
14529,
46,
62,
17597,
796,
275,
301,
13,
12417,
62,
44041,
25473,
13,
17953,
62,
10057,
7,
198,
220,
220,
220,
705,
14529,
46,
62,
17597,
3256,
21318,
41888,
72,
329,
1312,
287,
275,
301,
13,
12417,
62,
44041,
25473,
13,
5532,
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,
1312,
13,
82,
676,
290,
407,
1312,
13,
10459,
12962,
198,
198,
19313,
62,
17597,
796,
4482,
10786,
19313,
62,
17597,
3256,
3108,
16193,
19313,
11,
4008,
628,
198,
2,
38093,
25609,
198,
2,
13368,
32,
198,
2,
38093,
25609,
198,
198,
14529,
46,
62,
3919,
62,
19313,
62,
660,
64,
796,
28023,
2394,
16412,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1080,
28,
14529,
46,
62,
17597,
11,
14826,
49,
28,
15,
13,
940,
11,
9478,
16193,
5304,
11,
1160,
3510,
828,
198,
220,
220,
220,
220,
220,
220,
220,
45980,
11639,
44721,
6998,
22,
3256,
3739,
62,
19290,
28,
15,
13,
2327,
11,
5361,
62,
12545,
28,
14877,
13,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
42392,
62,
31412,
28,
14202,
11,
5103,
62,
15952,
5950,
16193,
15,
13,
2919,
11,
657,
13,
1899,
11,
657,
13,
2624,
828,
198,
220,
220,
220,
220,
220,
220,
220,
13693,
62,
41537,
28,
18,
11,
13693,
62,
37,
4503,
31944,
28,
16,
11,
13693,
62,
82,
2040,
31944,
28,
15,
13,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13693,
62,
53,
4503,
31944,
28,
15,
13,
2425,
11,
28387,
62,
2502,
62,
4851,
40,
28,
15,
13,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
9604,
62,
9446,
28,
15,
13,
2919,
11,
9604,
62,
19002,
28,
940,
11,
9604,
62,
69,
7861,
28,
15,
13,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3182,
455,
68,
321,
27758,
1010,
290,
15561,
364,
423,
645,
1575,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1575,
286,
477,
42073,
3513,
4991,
389,
3017,
287,
13505,
51,
62,
15805,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
22205,
318,
407,
3017,
287,
428,
13368,
32,
198,
220,
220,
220,
220,
220,
220,
220,
7294,
9148,
62,
41667,
16193,
52,
8784,
11,
13505,
51,
62,
15805,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
41706,
11,
309,
31418,
11,
309,
35642,
11,
309,
31916,
11,
309,
31916,
62,
47,
11,
309,
32417,
11,
309,
32417,
62,
47,
11,
309,
33206,
11,
309,
33206,
62,
47,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16356,
11,
350,
27353,
11,
327,
4061,
11,
5984,
47,
11,
376,
39386,
828,
198,
220,
220,
220,
220,
220,
220,
220,
20933,
28,
15,
13,
3023,
11,
2524,
62,
31267,
28,
15,
13,
2931,
11,
3224,
62,
79,
34690,
28,
15,
13,
40350,
11,
198,
220,
220,
220,
220,
220,
220,
220,
778,
273,
21156,
62,
15805,
82,
28,
15,
13,
940,
11,
2214,
62,
11201,
4541,
28,
15,
13,
940,
11,
5103,
28,
15,
13,
1238,
11,
198,
220,
220,
220,
220,
220,
220,
220,
38820,
28,
15,
13,
940,
11,
584,
62,
521,
1060,
62,
15805,
82,
28,
15,
13,
940,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
4827,
62,
15805,
28,
17,
13,
20,
68,
21,
9,
62,
75,
4820,
62,
12726,
1462,
5304,
9,
52,
8784,
13,
12363,
13578,
62,
11125,
62,
4873,
14,
17572,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4827,
62,
65,
42568,
28,
15,
13,
3829,
11,
3119,
62,
1040,
3874,
28,
15,
13,
25816,
11,
9262,
28,
15,
13,
3070,
8,
198,
198,
14529,
46,
62,
3919,
62,
19313,
62,
660,
64,
13,
41667,
13,
28956,
7,
19313,
8,
198,
198,
2,
1303,
28252,
780,
612,
318,
407,
4274,
14143,
32845,
13,
198,
2,
1303,
3982,
5241,
21318,
14,
29498,
286,
22205,
62,
17597,
422,
347,
18227,
62,
17597,
284,
3368,
4274,
12,
9127,
278,
198,
2,
329,
1312,
287,
22205,
62,
17597,
13,
12363,
82,
25,
198,
2,
220,
220,
220,
220,
347,
18227,
62,
17597,
13,
12363,
82,
13,
28956,
7,
72,
8,
198,
2,
329,
1312,
287,
22205,
62,
17597,
13,
29498,
25,
198,
2,
220,
220,
220,
220,
347,
18227,
62,
17597,
13,
29498,
13,
28956,
7,
72,
8,
198,
198,
2,
3248,
5329,
14830,
519,
877,
1352,
6196,
468,
1180,
45980,
7269,
198,
19313,
62,
660,
64,
796,
275,
301,
13,
9328,
32,
13,
2339,
7,
19313,
62,
17597,
11,
347,
18227,
62,
3919,
62,
19313,
62,
660,
64,
8,
198,
19313,
62,
660,
64,
13,
75,
4820,
62,
15805,
796,
657,
198,
198,
2,
32068,
284,
20582,
6998,
1160,
284,
307,
6414,
351,
367,
2178,
1447,
198,
19313,
62,
660,
64,
13,
10378,
33950,
796,
705,
44721,
6998,
1238,
6,
198,
19313,
62,
660,
64,
13,
2640,
9148,
62,
41667,
796,
357,
19313,
35751,
198,
198,
14529,
46,
62,
660,
64,
796,
275,
301,
13,
20575,
1389,
9328,
32,
26933,
14529,
46,
62,
3919,
62,
19313,
62,
660,
64,
11,
22205,
62,
660,
64,
4357,
14826,
49,
28,
15,
13,
940,
8,
198,
14529,
46,
62,
17597,
13557,
9328,
32,
796,
347,
18227,
62,
660,
64,
628,
198,
2,
38093,
25609,
198,
2,
3184,
5039,
1080,
290,
651,
2482,
198,
2,
38093,
25609,
198,
198,
1136,
62,
14529,
46,
62,
44,
3705,
47,
3419,
198,
198,
2,
371,
18938,
796,
376,
10786,
49,
18938,
11537,
1303,
12880,
434,
273,
198,
1941,
306,
62,
25493,
796,
13151,
830,
1303,
5680,
14,
2417,
198,
16684,
796,
10854,
22882,
2649,
7,
198,
220,
220,
220,
28959,
1352,
796,
376,
18938,
11,
198,
220,
220,
220,
33938,
796,
337,
22572,
11,
198,
220,
220,
220,
21905,
28,
49,
22709,
11,
198,
220,
220,
220,
6317,
62,
3672,
11639,
2232,
14374,
62,
260,
2673,
3256,
198,
220,
220,
220,
47294,
689,
28,
10786,
55,
2645,
577,
3256,
705,
9861,
1229,
577,
33809,
198,
220,
220,
220,
3186,
28,
10786,
14529,
46,
3256,
828,
198,
220,
220,
220,
7800,
62,
28,
15,
13,
44675,
11,
198,
220,
220,
220,
256,
2676,
28,
3064,
11,
198,
220,
220,
220,
13714,
28,
1507,
13,
20,
11,
198,
220,
220,
220,
3108,
796,
357,
44,
22572,
62,
39,
11,
337,
22572,
62,
39,
62,
47,
828,
198,
220,
220,
220,
2124,
2645,
577,
62,
22602,
1634,
62,
69,
7861,
796,
657,
13,
1795,
8,
198,
198,
6978,
796,
357,
37,
18938,
11,
371,
22709,
8,
198,
31,
37659,
13,
31364,
1096,
198,
198,
31,
37659,
13,
31364,
1096,
220,
220,
220,
198,
198,
2,
20199,
62,
69,
37810,
796,
45941,
13,
21602,
10223,
7,
15,
13,
1238,
11,
657,
13,
1795,
8,
198,
2,
5259,
364,
796,
15284,
62,
83,
2676,
7,
85,
12687,
62,
69,
37810,
8,
198,
2,
337,
3705,
12016,
796,
15284,
62,
44,
3705,
47,
7,
85,
12687,
62,
69,
37810,
8,
198,
2,
1330,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
2,
458,
83,
13,
29487,
7,
85,
12687,
62,
69,
37810,
11,
5259,
364,
8,
198,
2,
458,
83,
13,
12860,
3419,
198,
198,
2,
458,
83,
13,
29487,
7,
83,
270,
364,
11,
337,
3705,
12016,
8,
198,
2,
458,
83,
13,
12860,
3419,
220,
220,
220,
628,
198,
198,
2,
43313,
220,
198,
198,
2,
38093,
25609,
198,
2,
1114,
22489,
40089,
290,
13523,
198,
2,
38093,
25609,
198,
198,
14529,
46,
62,
7266,
62,
17597,
796,
1391,
198,
2,
220,
220,
220,
220,
705,
12363,
13578,
62,
17597,
10354,
357,
52,
8784,
11,
828,
198,
2,
220,
220,
220,
220,
705,
5310,
21731,
62,
17597,
10354,
357,
51,
1264,
11,
337,
1264,
11,
337,
19004,
11,
337,
22416,
11,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
371,
1264,
11,
371,
1264,
62,
39,
11,
309,
19004,
11,
309,
22416,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
1264,
11,
376,
1264,
62,
39,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
18638,
11,
309,
18638,
11,
309,
18638,
62,
47,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
21261,
11,
337,
21261,
62,
47,
828,
198,
2,
220,
220,
220,
220,
705,
1102,
9641,
62,
17597,
10354,
357,
39,
18938,
11,
337,
18938,
11,
337,
22709,
11,
371,
18938,
11,
371,
22709,
11,
309,
18938,
828,
198,
220,
220,
220,
705,
25512,
341,
62,
17597,
10354,
357,
50,
21844,
11,
337,
21844,
11,
337,
21844,
62,
47,
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,
311,
32531,
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,
376,
21844,
11,
376,
21844,
62,
39,
11,
376,
21844,
62,
47,
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,
360,
21844,
11,
360,
21844,
62,
39,
11,
360,
21844,
62,
47,
11,
311,
31552,
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,
337,
32531,
62,
47,
11,
311,
31552,
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,
360,
32531,
11,
360,
32531,
62,
39,
11,
360,
32531,
62,
47,
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,
337,
33548,
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,
309,
33206,
11,
309,
33206,
62,
47,
11,
309,
31980,
11,
309,
31980,
62,
47,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
376,
32531,
11,
376,
32531,
62,
39,
11,
376,
32531,
62,
47,
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,
1303,
360,
26598,
11,
360,
26598,
62,
39,
16,
11,
360,
26598,
62,
39,
17,
11,
360,
26598,
62,
47,
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,
1303,
337,
21844,
11,
337,
21844,
62,
47,
8,
198,
2,
220,
220,
220,
220,
705,
86,
459,
21422,
62,
17597,
10354,
357,
44,
33548,
11,
13505,
51,
62,
15805,
11,
371,
33548,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
35126,
11,
371,
35126,
11,
311,
33548,
11,
311,
35126,
11,
337,
31938,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
33580,
11,
311,
31938,
11,
311,
33580,
11,
337,
31654,
828,
198,
2,
220,
220,
220,
220,
705,
39,
55,
45,
10354,
357,
39,
55,
45,
11,
828,
198,
2,
220,
220,
220,
220,
705,
19313,
10354,
357,
19313,
11,
828,
198,
2,
220,
220,
220,
220,
705,
4177,
10354,
357,
4177,
11,
828,
198,
2,
220,
220,
220,
220,
705,
847,
62,
38942,
2410,
10354,
357,
51,
41706,
11,
311,
41706,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
31418,
11,
309,
35642,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
31916,
11,
309,
31916,
62,
47,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
32417,
11,
309,
32417,
62,
47,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
33206,
11,
309,
33206,
62,
47,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
350,
27353,
11,
327,
4061,
11,
5984,
47,
11,
376,
39386,
8,
198,
220,
220,
220,
1782,
198,
198,
2,
329,
4326,
287,
2160,
7,
14529,
46,
62,
7266,
62,
17597,
13,
27160,
22784,
7499,
2599,
198,
2,
220,
220,
220,
220,
611,
407,
4326,
287,
347,
18227,
62,
17597,
13,
41667,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
90,
20850,
13,
2389,
92,
407,
287,
347,
18227,
62,
17597,
13,
41667,
11537,
198,
198,
2,
329,
4326,
287,
347,
18227,
62,
17597,
13,
41667,
25,
198,
2,
220,
220,
220,
220,
611,
407,
4326,
287,
2160,
7,
14529,
46,
62,
7266,
62,
17597,
13,
27160,
22784,
7499,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
90,
20850,
13,
2389,
92,
407,
287,
347,
18227,
62,
7266,
62,
17597,
11537,
628,
628,
628,
628,
198
] | 2.110083 | 17,187 |
import pytest
from ithkuil.morphology.words import remove_stress
txts_to_test = [
('a', 'a'),
('o', 'o'),
('áu', 'au'),
('ái', 'ai'),
('aú', 'aù'),
('aé', 'ae'),
('á', 'a')
]
@pytest.mark.parametrize('txt, expected', txts_to_test) | [
11748,
12972,
9288,
198,
6738,
340,
71,
23063,
346,
13,
24503,
1435,
13,
10879,
1330,
4781,
62,
41494,
198,
198,
14116,
82,
62,
1462,
62,
9288,
796,
685,
198,
220,
220,
220,
19203,
64,
3256,
705,
64,
33809,
198,
220,
220,
220,
19203,
78,
3256,
705,
78,
33809,
198,
220,
220,
220,
19203,
6557,
84,
3256,
705,
559,
33809,
198,
220,
220,
220,
19203,
6557,
72,
3256,
705,
1872,
33809,
198,
220,
220,
220,
19203,
64,
21356,
3256,
705,
64,
127,
117,
33809,
198,
220,
220,
220,
19203,
64,
2634,
3256,
705,
3609,
33809,
198,
220,
220,
220,
19203,
6557,
3256,
705,
64,
11537,
198,
60,
198,
198,
31,
9078,
9288,
13,
4102,
13,
17143,
316,
380,
2736,
10786,
14116,
11,
2938,
3256,
256,
742,
82,
62,
1462,
62,
9288,
8
] | 1.984733 | 131 |
#-------------------------------------------------------------------------------
# Name: Vdc Source
# Author: D.Fathi
# Created: 20/03/2015
# Modified: 01/04/2020
# Copyright: (c) PyAMS
# Licence: CC-BY-SA
#-------------------------------------------------------------------------------
from PyAMS import signal,param,model
from signalType import voltage
#Source for constant voltage
| [
171,
119,
123,
2,
10097,
24305,
198,
2,
6530,
25,
220,
220,
220,
220,
220,
220,
220,
569,
17896,
8090,
198,
2,
6434,
25,
220,
220,
220,
220,
220,
360,
13,
37,
44202,
198,
2,
15622,
25,
220,
220,
220,
220,
1160,
14,
3070,
14,
4626,
198,
2,
40499,
25,
220,
220,
220,
5534,
14,
3023,
14,
42334,
198,
2,
15069,
25,
220,
220,
357,
66,
8,
9485,
40834,
198,
2,
10483,
594,
25,
220,
220,
220,
220,
12624,
12,
17513,
12,
4090,
198,
2,
10097,
24305,
628,
628,
198,
198,
6738,
9485,
40834,
1330,
6737,
11,
17143,
11,
19849,
198,
6738,
6737,
6030,
1330,
15004,
628,
198,
2,
7416,
329,
6937,
15004,
628,
198
] | 3.643478 | 115 |
# Copyright © 2018. All rights reserved.
# Author: German Yakimov
# 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 datetime import datetime
import os
import inspect
import platform
import sys
from Services.Singleton import Singleton
| [
2,
15069,
10673,
2864,
13,
1439,
2489,
10395,
13,
198,
2,
6434,
25,
2679,
30254,
44273,
198,
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,
4818,
8079,
1330,
4818,
8079,
198,
11748,
28686,
198,
11748,
10104,
198,
11748,
3859,
198,
11748,
25064,
198,
198,
6738,
6168,
13,
29974,
10565,
1330,
5573,
10565,
628
] | 3.920213 | 188 |
import pytest
@pytest.fixture(scope='function')
@pytest.fixture(scope='module')
@pytest.mark.website
| [
11748,
12972,
9288,
628,
198,
31,
9078,
9288,
13,
69,
9602,
7,
29982,
11639,
8818,
11537,
628,
198,
31,
9078,
9288,
13,
69,
9602,
7,
29982,
11639,
21412,
11537,
628,
198,
31,
9078,
9288,
13,
4102,
13,
732,
12485,
628,
198
] | 2.658537 | 41 |
from setuptools import setup, find_packages
from PublisherJiraTestsResults.version import VERSION
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3'
]
setup(
name='robotframework-publisher-results-jira',
version=VERSION,
description='Library to publish robot framework automation results on jira',
author='Ismail Ktami',
author_email='[email protected]',
license='MIT',
classifiers=classifiers,
keywords='robotframework jira xray testplans results outcomes',
packages=find_packages(),
install_requires=[
'robotframework>=3.2.2',
'requests',
'utils'
]
) | [
6738,
900,
37623,
10141,
1330,
9058,
11,
1064,
62,
43789,
198,
6738,
28045,
41,
8704,
51,
3558,
25468,
13,
9641,
1330,
44156,
2849,
198,
198,
4871,
13350,
796,
685,
198,
220,
220,
220,
705,
34156,
7904,
7294,
40,
20010,
1079,
7904,
17168,
13789,
3256,
198,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
362,
13,
22,
3256,
198,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
6,
198,
60,
198,
198,
40406,
7,
198,
220,
1438,
11639,
305,
13645,
30604,
12,
12984,
8191,
12,
43420,
12,
73,
8704,
3256,
198,
220,
2196,
28,
43717,
11,
198,
220,
6764,
11639,
23377,
284,
7715,
9379,
9355,
22771,
2482,
319,
474,
8704,
3256,
198,
220,
1772,
11639,
3792,
4529,
509,
83,
6277,
3256,
198,
220,
1772,
62,
12888,
11639,
21841,
6277,
1042,
603,
31,
8940,
4529,
13,
785,
3256,
198,
220,
5964,
11639,
36393,
3256,
220,
198,
220,
1398,
13350,
28,
4871,
13350,
11,
198,
220,
26286,
11639,
305,
13645,
30604,
474,
8704,
2124,
2433,
1332,
489,
504,
2482,
10906,
3256,
220,
198,
220,
10392,
28,
19796,
62,
43789,
22784,
198,
220,
2721,
62,
47911,
41888,
198,
220,
220,
220,
705,
305,
13645,
30604,
29,
28,
18,
13,
17,
13,
17,
3256,
198,
220,
220,
220,
705,
8897,
3558,
3256,
198,
220,
220,
220,
705,
26791,
6,
198,
220,
2361,
220,
198,
8
] | 3.088889 | 225 |
import importlib
_DEVICE = 'frontend'
required_entries = [
'reset',
'init',
'run',
'add_node',
]
| [
11748,
1330,
8019,
198,
198,
62,
7206,
27389,
796,
705,
8534,
437,
6,
198,
35827,
62,
298,
1678,
796,
685,
198,
220,
220,
220,
705,
42503,
3256,
198,
220,
220,
220,
705,
15003,
3256,
198,
220,
220,
220,
705,
5143,
3256,
198,
220,
220,
220,
705,
2860,
62,
17440,
3256,
198,
60,
628,
198
] | 2.148148 | 54 |
import pdb
import argparse
import matplotlib
import numpy as np
import gym, sys, time, os
import torch
import numpy as np
import datetime
sys.path.insert(0, '..') # NOQA: E402
from logger.logger import Logger
import utils
from mountain_car import MCFeatures, MCFeaturesOnehot
parser = argparse.ArgumentParser()
parser.add_argument('--policy-path', type=str, nargs='?', default=None)
parser.add_argument('--play', action='store_true',
help='play given or latest stored policy.')
parser.add_argument('--dont-save', action='store_true',
help="don't save the policy network weights.")
parser.add_argument('--render', action='store_true', help="show the env.")
parser.add_argument('--on-server', action='store_true',
help="True if the code is being run on a server.")
parser.add_argument('--store-train-results', action='store_true',
help='True if you want to store intermediate results')
parser.add_argument('--store-interval', action='store_true',
help='Interval of storing the results.')
parser.add_argument('--rl-episodes', type=int, default=50)
parser.add_argument('--rl-ep-length', type=int, default=30)
parser.add_argument('--irl-iterations', type=int, default=100)
parser.add_argument('--rl-log-intervals', type=int, default=10)
parser.add_argument('--regularizer', type=float, default=0, help='The regularizer to use.')
parser.add_argument('--seed', type=int, default=7, help='The seed for the run')
parser.add_argument('--save-folder', type=str, default=None,
help='The name of the directory to store the results in. The name will be used to \
save the plots, the policy and the reward networks.(Relative path)')
parser.add_argument('--exp-trajectory-path', type=str, default=None, help='The name of the directory in which \
the expert trajectories are stored.(Relative path)')
parser.add_argument('--reward-net-hidden-dims', nargs="*", type=int , default=[128], help='The dimensions of the \
hidden layers of the reward network.')
parser.add_argument('--policy-net-hidden-dims', nargs="*", type=int , default=[128], help='The dimensions of the \
hidden layers of the policy network.')
parser.add_argument('--lr', type=float, default=1e-3, help='The learning rate for the reward network.')
parser.add_argument('--feat-extractor', type=str, default='MCFeatures', help='The feature extractor \
to be used in the experiment')
parser.add_argument('--scale-svf', action='store_true', default=None, help='If true, will scale the states \
based on the reward the trajectory got.')
parser.add_argument('--clipping-value', type=float, default=None, help='For gradient clipping of the \
reward network.')
#IMPORTANT*** search for 'CHANGE HERE' to find that most probably need changing
#before running on different settings
'''
python run_experiment.py --on-server --rl-episodes 1000 --rl-ep-length 200 --irl-itreations 200 --rl-log-intervals 100
--seed 100 --exp-trajectory-path './exp_traj_mountain_car/' --reward-net-hidden-dims 256
'''
if __name__ == '__main__':
main()
| [
11748,
279,
9945,
198,
11748,
1822,
29572,
198,
11748,
2603,
29487,
8019,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
11550,
11,
25064,
11,
640,
11,
28686,
198,
198,
11748,
28034,
198,
11748,
299,
32152,
355,
45941,
220,
198,
198,
11748,
4818,
8079,
198,
17597,
13,
6978,
13,
28463,
7,
15,
11,
705,
492,
11537,
220,
1303,
8005,
48,
32,
25,
412,
32531,
198,
6738,
49706,
13,
6404,
1362,
1330,
5972,
1362,
198,
11748,
3384,
4487,
198,
198,
6738,
8598,
62,
7718,
1330,
13122,
23595,
11,
13122,
23595,
3198,
8940,
198,
198,
48610,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
30586,
12,
6978,
3256,
2099,
28,
2536,
11,
299,
22046,
11639,
30,
3256,
4277,
28,
14202,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
1759,
3256,
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,
11639,
1759,
1813,
393,
3452,
8574,
2450,
2637,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
67,
756,
12,
21928,
3256,
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,
9099,
470,
3613,
262,
2450,
3127,
19590,
19570,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
13287,
3256,
2223,
11639,
8095,
62,
7942,
3256,
1037,
2625,
12860,
262,
17365,
19570,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
261,
12,
15388,
3256,
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,
17821,
611,
262,
2438,
318,
852,
1057,
319,
257,
4382,
19570,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
8095,
12,
27432,
12,
43420,
3256,
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,
11639,
17821,
611,
345,
765,
284,
3650,
19898,
2482,
11537,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
8095,
12,
3849,
2100,
3256,
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,
11639,
9492,
2100,
286,
23069,
262,
2482,
2637,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
45895,
12,
538,
8052,
3256,
2099,
28,
600,
11,
4277,
28,
1120,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
45895,
12,
538,
12,
13664,
3256,
2099,
28,
600,
11,
4277,
28,
1270,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
1901,
12,
2676,
602,
3256,
2099,
28,
600,
11,
4277,
28,
3064,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
45895,
12,
6404,
12,
3849,
12786,
3256,
2099,
28,
600,
11,
4277,
28,
940,
8,
198,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
16338,
7509,
3256,
2099,
28,
22468,
11,
4277,
28,
15,
11,
1037,
11639,
464,
3218,
7509,
284,
779,
2637,
8,
198,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
28826,
3256,
2099,
28,
600,
11,
4277,
28,
22,
11,
1037,
11639,
464,
9403,
329,
262,
1057,
11537,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
21928,
12,
43551,
3256,
2099,
28,
2536,
11,
4277,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
464,
1438,
286,
262,
8619,
284,
3650,
262,
2482,
287,
13,
383,
1438,
481,
307,
973,
284,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3613,
262,
21528,
11,
262,
2450,
290,
262,
6721,
7686,
12195,
6892,
876,
3108,
8,
11537,
198,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
11201,
12,
9535,
752,
652,
12,
6978,
3256,
2099,
28,
2536,
11,
4277,
28,
14202,
11,
1037,
11639,
464,
1438,
286,
262,
8619,
287,
543,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
5887,
20134,
1749,
389,
8574,
12195,
6892,
876,
3108,
8,
11537,
198,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
260,
904,
12,
3262,
12,
30342,
12,
67,
12078,
3256,
299,
22046,
2625,
9,
1600,
2099,
28,
600,
837,
4277,
41888,
12762,
4357,
1037,
11639,
464,
15225,
286,
262,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7104,
11685,
286,
262,
6721,
3127,
2637,
8,
198,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
30586,
12,
3262,
12,
30342,
12,
67,
12078,
3256,
299,
22046,
2625,
9,
1600,
2099,
28,
600,
837,
4277,
41888,
12762,
4357,
1037,
11639,
464,
15225,
286,
262,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7104,
11685,
286,
262,
2450,
3127,
2637,
8,
628,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
14050,
3256,
2099,
28,
22468,
11,
4277,
28,
16,
68,
12,
18,
11,
1037,
11639,
464,
4673,
2494,
329,
262,
6721,
3127,
2637,
8,
628,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
27594,
12,
2302,
40450,
3256,
2099,
28,
2536,
11,
4277,
11639,
9655,
23595,
3256,
1037,
11639,
464,
3895,
7925,
273,
220,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
307,
973,
287,
262,
6306,
11537,
198,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
9888,
12,
21370,
69,
3256,
2223,
11639,
8095,
62,
7942,
3256,
4277,
28,
14202,
11,
1037,
11639,
1532,
2081,
11,
481,
5046,
262,
2585,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1912,
319,
262,
6721,
262,
22942,
1392,
2637,
8,
198,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
565,
4501,
12,
8367,
3256,
2099,
28,
22468,
11,
4277,
28,
14202,
11,
1037,
11639,
1890,
31312,
45013,
286,
262,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6721,
3127,
2637,
8,
198,
2,
3955,
15490,
8643,
8162,
2989,
329,
705,
3398,
27746,
15698,
6,
284,
1064,
326,
749,
2192,
761,
5609,
198,
2,
19052,
2491,
319,
1180,
6460,
198,
198,
7061,
6,
198,
29412,
1057,
62,
23100,
3681,
13,
9078,
1377,
261,
12,
15388,
1377,
45895,
12,
538,
8052,
8576,
1377,
45895,
12,
538,
12,
13664,
939,
1377,
1901,
12,
270,
260,
602,
939,
1377,
45895,
12,
6404,
12,
3849,
12786,
1802,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1377,
28826,
1802,
1377,
11201,
12,
9535,
752,
652,
12,
6978,
705,
19571,
11201,
62,
9535,
73,
62,
14948,
391,
62,
7718,
14,
6,
1377,
260,
904,
12,
3262,
12,
30342,
12,
67,
12078,
17759,
198,
7061,
6,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 2.742475 | 1,196 |
import contextlib
import typing as t
from dataclasses import dataclass
from ..scanner import Scanner
if t.TYPE_CHECKING:
from .extractor import TokenExtractor
T = t.TypeVar('T')
U = t.TypeVar('U')
V = t.TypeVar('V')
R = t.TypeVar('R')
@dataclass
@dataclass
class RuleSet(t.Generic[T, U]):
"""
A ordered list of parsing rules that is used a the #Tokenizer.
"""
@t.overload
def __init__(self: 'RuleSet[str, str]') -> None:
""" The default constructor for a #RuleSet uses string for both the token and value type. """
@t.overload
def __init__(self: 'RuleSet[T, U]', sentinel: t.Union[t.Tuple[T, U], Sentinel[T, U]]) -> None:
""" Initialize the #RuleSet with a sentinel configuration. """
@property
@property
def rule(self, type_: T, extractor: 'TokenExtractor[U]', skip: bool = False) -> 'RuleSet[T, U]':
""" Add a rule and return self. """
self._rules.append(Rule(type_, extractor, skip))
self._token_types.add(type_)
return self
class RuleConfigSet(t.Generic[T, U, V]):
""" Helper class to manage values associated with token types. """
def set(self, token_types: t.Union[T, t.Collection[T]], value: V) -> t.ContextManager[None]:
"""
Set the value of one or more token types. The returned context manager _may_ be used, but
does not _have_ to be used, to revert to the previous state.
Implementation detail: strings are not considered collections when identifying the type
of the *token_types* argument.
"""
if isinstance(token_types, str) or not isinstance(token_types, t.Collection):
token_types_set = frozenset([t.cast(T, token_types)])
else:
token_types_set = frozenset(token_types)
current_values = {k: v for k, v in self._values.items() if k in token_types_set}
for token_type in token_types_set:
if not self._rules.has_token_type(token_type):
raise ValueError(f'not a possible token type: {token_type!r}')
for token_type in token_types_set:
self._values[token_type] = value
@contextlib.contextmanager
return _revert()
| [
198,
11748,
4732,
8019,
198,
11748,
19720,
355,
256,
198,
6738,
4818,
330,
28958,
1330,
4818,
330,
31172,
198,
198,
6738,
11485,
35836,
1008,
1330,
20937,
1008,
198,
198,
361,
256,
13,
25216,
62,
50084,
2751,
25,
198,
220,
422,
764,
2302,
40450,
1330,
29130,
11627,
40450,
198,
198,
51,
796,
256,
13,
6030,
19852,
10786,
51,
11537,
198,
52,
796,
256,
13,
6030,
19852,
10786,
52,
11537,
198,
53,
796,
256,
13,
6030,
19852,
10786,
53,
11537,
198,
49,
796,
256,
13,
6030,
19852,
10786,
49,
11537,
628,
198,
31,
19608,
330,
31172,
628,
198,
31,
19608,
330,
31172,
628,
198,
4871,
14330,
7248,
7,
83,
13,
46189,
58,
51,
11,
471,
60,
2599,
198,
220,
37227,
198,
220,
317,
6149,
1351,
286,
32096,
3173,
326,
318,
973,
257,
262,
1303,
30642,
7509,
13,
198,
220,
37227,
628,
220,
2488,
83,
13,
2502,
2220,
198,
220,
825,
11593,
15003,
834,
7,
944,
25,
705,
31929,
7248,
58,
2536,
11,
965,
60,
11537,
4613,
6045,
25,
198,
220,
220,
220,
37227,
383,
4277,
23772,
329,
257,
1303,
31929,
7248,
3544,
4731,
329,
1111,
262,
11241,
290,
1988,
2099,
13,
37227,
628,
220,
2488,
83,
13,
2502,
2220,
198,
220,
825,
11593,
15003,
834,
7,
944,
25,
705,
31929,
7248,
58,
51,
11,
471,
60,
3256,
1908,
20538,
25,
256,
13,
38176,
58,
83,
13,
51,
29291,
58,
51,
11,
471,
4357,
26716,
58,
51,
11,
471,
11907,
8,
4613,
6045,
25,
198,
220,
220,
220,
37227,
20768,
1096,
262,
1303,
31929,
7248,
351,
257,
1908,
20538,
8398,
13,
37227,
628,
220,
2488,
26745,
628,
220,
2488,
26745,
628,
220,
825,
3896,
7,
944,
11,
2099,
62,
25,
309,
11,
7925,
273,
25,
705,
30642,
11627,
40450,
58,
52,
60,
3256,
14267,
25,
20512,
796,
10352,
8,
4613,
705,
31929,
7248,
58,
51,
11,
471,
60,
10354,
198,
220,
220,
220,
37227,
3060,
257,
3896,
290,
1441,
2116,
13,
37227,
628,
220,
220,
220,
2116,
13557,
38785,
13,
33295,
7,
31929,
7,
4906,
62,
11,
7925,
273,
11,
14267,
4008,
198,
220,
220,
220,
2116,
13557,
30001,
62,
19199,
13,
2860,
7,
4906,
62,
8,
198,
220,
220,
220,
1441,
2116,
628,
198,
4871,
14330,
16934,
7248,
7,
83,
13,
46189,
58,
51,
11,
471,
11,
569,
60,
2599,
198,
220,
37227,
5053,
525,
1398,
284,
6687,
3815,
3917,
351,
11241,
3858,
13,
37227,
628,
220,
825,
900,
7,
944,
11,
11241,
62,
19199,
25,
256,
13,
38176,
58,
51,
11,
256,
13,
36307,
58,
51,
60,
4357,
1988,
25,
569,
8,
4613,
256,
13,
21947,
13511,
58,
14202,
5974,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5345,
262,
1988,
286,
530,
393,
517,
11241,
3858,
13,
383,
4504,
4732,
4706,
4808,
11261,
62,
307,
973,
11,
475,
198,
220,
220,
220,
857,
407,
4808,
14150,
62,
284,
307,
973,
11,
284,
34052,
284,
262,
2180,
1181,
13,
628,
220,
220,
220,
46333,
3703,
25,
13042,
389,
407,
3177,
17268,
618,
13720,
262,
2099,
198,
220,
220,
220,
286,
262,
1635,
30001,
62,
19199,
9,
4578,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
318,
39098,
7,
30001,
62,
19199,
11,
965,
8,
393,
407,
318,
39098,
7,
30001,
62,
19199,
11,
256,
13,
36307,
2599,
198,
220,
220,
220,
220,
220,
11241,
62,
19199,
62,
2617,
796,
8400,
8247,
316,
26933,
83,
13,
2701,
7,
51,
11,
11241,
62,
19199,
8,
12962,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
11241,
62,
19199,
62,
2617,
796,
8400,
8247,
316,
7,
30001,
62,
19199,
8,
628,
220,
220,
220,
1459,
62,
27160,
796,
1391,
74,
25,
410,
329,
479,
11,
410,
287,
2116,
13557,
27160,
13,
23814,
3419,
611,
479,
287,
11241,
62,
19199,
62,
2617,
92,
628,
220,
220,
220,
329,
11241,
62,
4906,
287,
11241,
62,
19199,
62,
2617,
25,
198,
220,
220,
220,
220,
220,
611,
407,
2116,
13557,
38785,
13,
10134,
62,
30001,
62,
4906,
7,
30001,
62,
4906,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
69,
6,
1662,
257,
1744,
11241,
2099,
25,
1391,
30001,
62,
4906,
0,
81,
92,
11537,
628,
220,
220,
220,
329,
11241,
62,
4906,
287,
11241,
62,
19199,
62,
2617,
25,
198,
220,
220,
220,
220,
220,
2116,
13557,
27160,
58,
30001,
62,
4906,
60,
796,
1988,
628,
220,
220,
220,
2488,
22866,
8019,
13,
22866,
37153,
628,
220,
220,
220,
1441,
4808,
260,
1851,
3419,
628
] | 2.813765 | 741 |
import cv2
import numpy as np
import random
from augraphy.base.augmentation import Augmentation
from augraphy.base.augmentationresult import AugmentationResult
class BrightnessTexturizeAugmentation(Augmentation):
"""Creates a random noise in the brightness channel to emulate paper
textures.
:param range: Pair of ints determining the range from which to sample values
for the brightness matrix.
:type range: tuple, optional
:param deviation: Additional variation for the uniform sample.
:type deviation: float, optional
:param layer: The image layer to apply the brightness texturization to
:type layer: string, optional
:param p: The probability that this Augmentation will be applied.
:type p: float, optional
"""
def __init__(
self, range=(0.9, 0.99), deviation=0.03, layer="paper", p=0.5
):
"""Constructor method"""
super().__init__(p=p)
self.low = range[0]
self.high = range[1]
self.deviation = deviation
self.layer = layer
self.range = range
# Constructs a string representation of this Augmentation.
# Applies the Augmentation to input data.
| [
11748,
269,
85,
17,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
4738,
198,
198,
6738,
16339,
1470,
88,
13,
8692,
13,
559,
5154,
341,
1330,
2447,
14374,
198,
6738,
16339,
1470,
88,
13,
8692,
13,
559,
5154,
341,
20274,
1330,
2447,
14374,
23004,
198,
198,
4871,
17558,
1108,
8206,
333,
1096,
12512,
14374,
7,
12512,
14374,
2599,
198,
220,
220,
220,
37227,
16719,
274,
257,
4738,
7838,
287,
262,
22204,
6518,
284,
33836,
3348,
198,
220,
220,
220,
20028,
13,
628,
220,
220,
220,
1058,
17143,
2837,
25,
39645,
286,
493,
82,
13213,
262,
2837,
422,
543,
284,
6291,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
262,
22204,
17593,
13,
198,
220,
220,
220,
1058,
4906,
2837,
25,
46545,
11,
11902,
198,
220,
220,
220,
1058,
17143,
28833,
25,
15891,
12291,
329,
262,
8187,
6291,
13,
198,
220,
220,
220,
1058,
4906,
28833,
25,
12178,
11,
11902,
198,
220,
220,
220,
1058,
17143,
7679,
25,
383,
2939,
7679,
284,
4174,
262,
22204,
2420,
333,
1634,
284,
198,
220,
220,
220,
1058,
4906,
7679,
25,
4731,
11,
11902,
198,
220,
220,
220,
1058,
17143,
279,
25,
383,
12867,
326,
428,
2447,
14374,
481,
307,
5625,
13,
198,
220,
220,
220,
1058,
4906,
279,
25,
12178,
11,
11902,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
2837,
16193,
15,
13,
24,
11,
657,
13,
2079,
828,
28833,
28,
15,
13,
3070,
11,
7679,
2625,
20189,
1600,
279,
28,
15,
13,
20,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42316,
273,
2446,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
79,
28,
79,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9319,
796,
2837,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8929,
796,
2837,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7959,
3920,
796,
28833,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29289,
796,
7679,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9521,
796,
2837,
628,
220,
220,
220,
1303,
28407,
82,
257,
4731,
10552,
286,
428,
2447,
14374,
13,
628,
220,
220,
220,
1303,
2034,
13508,
262,
2447,
14374,
284,
5128,
1366,
13,
198
] | 2.9775 | 400 |
from __future__ import division
from utils import *
def test_state_gen_and_count():
"""Test generation of binary states using bin_states() and xbin_states()."""
assert np.array_equal( bin_states(5),np.vstack([i for i in xbin_states(5)]) )
states = bin_states(5)
p,s = state_probs(states)
assert (p==1/32).all()
assert np.array_equal(s,states)
states = bin_states(5,sym=True)
p,s = state_probs(states)
assert (p==1/32).all()
assert np.array_equal(s,states)
| [
6738,
11593,
37443,
834,
1330,
7297,
198,
6738,
3384,
4487,
1330,
1635,
198,
198,
4299,
1332,
62,
5219,
62,
5235,
62,
392,
62,
9127,
33529,
198,
220,
220,
220,
37227,
14402,
5270,
286,
13934,
2585,
1262,
9874,
62,
27219,
3419,
290,
2124,
8800,
62,
27219,
3419,
526,
15931,
198,
220,
220,
220,
6818,
45941,
13,
18747,
62,
40496,
7,
9874,
62,
27219,
7,
20,
828,
37659,
13,
85,
25558,
26933,
72,
329,
1312,
287,
2124,
8800,
62,
27219,
7,
20,
8,
12962,
1267,
628,
220,
220,
220,
2585,
796,
9874,
62,
27219,
7,
20,
8,
198,
220,
220,
220,
279,
11,
82,
796,
1181,
62,
1676,
1443,
7,
27219,
8,
198,
220,
220,
220,
6818,
357,
79,
855,
16,
14,
2624,
737,
439,
3419,
198,
220,
220,
220,
6818,
45941,
13,
18747,
62,
40496,
7,
82,
11,
27219,
8,
628,
220,
220,
220,
2585,
796,
9874,
62,
27219,
7,
20,
11,
37047,
28,
17821,
8,
198,
220,
220,
220,
279,
11,
82,
796,
1181,
62,
1676,
1443,
7,
27219,
8,
198,
220,
220,
220,
6818,
357,
79,
855,
16,
14,
2624,
737,
439,
3419,
198,
220,
220,
220,
6818,
45941,
13,
18747,
62,
40496,
7,
82,
11,
27219,
8,
628
] | 2.5 | 200 |
soma = 0
cont = 0
maior = 0
mulher = 0
nomemaisvelho = ''
for p in range(1, 5):
print(f'----- {p}ª pessoa -----')
nome = str(input('nome: ')).strip()
idade = int(input('idade: '))
sexo = str(input('sexo [M/F]: ')).strip().lower()
soma = idade + soma
cont = cont + 1
if p == 1 and sexo == 'm':
nomemaisvelho = nome
maior = idade
if sexo == 'm' and idade > maior:
maior = idade
nomemaisvelho = nome
if sexo == 'f' or sexo == 'm':
if sexo == 'f':
if idade < 20:
mulher = mulher + 1
else:
print('sexo invalido')
print(f'a media de idade do grupo è de {soma / cont}')
print(f'o homem mais velho do grupo e o {nomemaisvelho} que tem {maior} anos')
print(f'no registro de pessoas existem {mulher} mulheres com menos de 20 anos')
| [
82,
6086,
796,
657,
198,
3642,
796,
657,
198,
2611,
1504,
796,
657,
198,
76,
377,
372,
796,
657,
198,
26601,
368,
15152,
626,
8873,
796,
10148,
198,
1640,
279,
287,
2837,
7,
16,
11,
642,
2599,
198,
220,
220,
220,
3601,
7,
69,
6,
30934,
1391,
79,
92,
126,
103,
279,
408,
12162,
37404,
11537,
198,
220,
220,
220,
299,
462,
796,
965,
7,
15414,
10786,
77,
462,
25,
705,
29720,
36311,
3419,
198,
220,
220,
220,
4686,
671,
796,
493,
7,
15414,
10786,
312,
671,
25,
705,
4008,
198,
220,
220,
220,
1714,
78,
796,
965,
7,
15414,
10786,
8044,
78,
685,
44,
14,
37,
5974,
705,
29720,
36311,
22446,
21037,
3419,
198,
220,
220,
220,
3870,
64,
796,
4686,
671,
1343,
3870,
64,
198,
220,
220,
220,
542,
796,
542,
1343,
352,
198,
220,
220,
220,
611,
279,
6624,
352,
290,
1714,
78,
6624,
705,
76,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
4515,
368,
15152,
626,
8873,
796,
299,
462,
198,
220,
220,
220,
220,
220,
220,
220,
17266,
1504,
796,
4686,
671,
198,
220,
220,
220,
611,
1714,
78,
6624,
705,
76,
6,
290,
4686,
671,
1875,
17266,
1504,
25,
198,
220,
220,
220,
220,
220,
220,
220,
17266,
1504,
796,
4686,
671,
198,
220,
220,
220,
220,
220,
220,
220,
4515,
368,
15152,
626,
8873,
796,
299,
462,
198,
220,
220,
220,
611,
1714,
78,
6624,
705,
69,
6,
393,
1714,
78,
6624,
705,
76,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1714,
78,
6624,
705,
69,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
671,
1279,
1160,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35971,
372,
796,
35971,
372,
1343,
352,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
8044,
78,
12515,
78,
11537,
198,
4798,
7,
69,
6,
64,
2056,
390,
4686,
671,
466,
22848,
7501,
6184,
101,
390,
1391,
82,
6086,
1220,
542,
92,
11537,
198,
4798,
7,
69,
6,
78,
3488,
368,
285,
15152,
11555,
8873,
466,
22848,
7501,
304,
267,
1391,
26601,
368,
15152,
626,
8873,
92,
8358,
2169,
1391,
2611,
1504,
92,
281,
418,
11537,
198,
4798,
7,
69,
6,
3919,
4214,
305,
390,
279,
408,
78,
292,
2152,
368,
1391,
76,
377,
372,
92,
35971,
19079,
401,
1450,
418,
390,
1160,
281,
418,
11537,
198
] | 2.053922 | 408 |
import unittest
import numpy as np
from gcode_gen import number
| [
11748,
555,
715,
395,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
308,
8189,
62,
5235,
1330,
1271,
628
] | 3.421053 | 19 |
import datetime
import typing
from ..transform import Transform, TransformContext, Transformer
from .common import create_random
| [
11748,
4818,
8079,
198,
11748,
19720,
198,
198,
6738,
11485,
35636,
1330,
26981,
11,
26981,
21947,
11,
3602,
16354,
198,
6738,
764,
11321,
1330,
2251,
62,
25120,
628,
198
] | 4.551724 | 29 |
import sys
sys.path.append('../G26/Instrucciones')
from instruccion import *
| [
11748,
25064,
198,
17597,
13,
6978,
13,
33295,
10786,
40720,
38,
2075,
14,
6310,
622,
535,
295,
274,
11537,
198,
198,
6738,
916,
622,
535,
295,
1330,
1635,
198
] | 2.689655 | 29 |
#---------------
#MIT License
#Copyright (c) 2019 Simon Liljestrand
#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.
#----------------
# If this file is run, an overview of the stage will be displayed
import pygame
import math
from character import Character
from solid import Solid
from stage import Stage
from solid import Goal
WIDTH = 800
HEIGHT = 600
BROWN = (int(255/2),0,0)
GREEN = (0,int(255/3*2),0)
WHITE = (255,255,255)
STAGE_WIDTH = WIDTH
STAGE_HEIGHT = HEIGHT + 300
pygame.init()
screen = pygame.display.set_mode((WIDTH,HEIGHT))
character = Character(screen, int(WIDTH/2), int(HEIGHT/2), (255,215,0), 50)
solids = []
ground = Solid(BROWN,
[(0,200,math.floor(WIDTH/3),200),
(math.floor(WIDTH/3),100,math.floor(WIDTH/3),100),
(math.floor(WIDTH/3)*2,200,(WIDTH-1-math.floor(WIDTH/3)*2),200)])
platform =Solid(GREEN,[(0,int(HEIGHT*2/3),250,50)])
goalWidth = 100
goalHeight = 150
goal = Goal(WHITE, [(STAGE_WIDTH - goalWidth - 50, 700+goalHeight, goalWidth, goalHeight)])
solids.append(ground)
solids.append(platform)
solids.append(goal)
isPeriodic = True
stage = Stage(screen, character, isPeriodic, STAGE_WIDTH, STAGE_HEIGHT, solids)
if __name__ == '__main__':
stage.DrawStage(800)
input('press anything to exit')
| [
2,
24305,
198,
2,
36393,
13789,
198,
198,
2,
15269,
357,
66,
8,
13130,
11288,
16342,
73,
395,
25192,
198,
198,
2,
5990,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
257,
4866,
198,
2,
1659,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
366,
25423,
12340,
284,
1730,
198,
2,
259,
262,
10442,
1231,
17504,
11,
1390,
1231,
17385,
262,
2489,
198,
2,
1462,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
198,
2,
22163,
444,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
198,
2,
69,
700,
1348,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
198,
198,
2,
464,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
287,
477,
198,
2,
22163,
444,
393,
8904,
16690,
286,
262,
10442,
13,
198,
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,
2,
1783,
198,
2,
1002,
428,
2393,
318,
1057,
11,
281,
16700,
286,
262,
3800,
481,
307,
9066,
198,
11748,
12972,
6057,
198,
11748,
10688,
198,
6738,
2095,
1330,
15684,
198,
6738,
4735,
1330,
15831,
198,
6738,
3800,
1330,
15371,
198,
6738,
4735,
1330,
25376,
198,
198,
54,
2389,
4221,
796,
10460,
198,
13909,
9947,
796,
10053,
198,
11473,
14165,
796,
357,
600,
7,
13381,
14,
17,
828,
15,
11,
15,
8,
198,
43016,
796,
357,
15,
11,
600,
7,
13381,
14,
18,
9,
17,
828,
15,
8,
198,
12418,
12709,
796,
357,
13381,
11,
13381,
11,
13381,
8,
198,
198,
2257,
11879,
62,
54,
2389,
4221,
796,
370,
2389,
4221,
198,
2257,
11879,
62,
13909,
9947,
796,
11179,
9947,
1343,
5867,
198,
198,
9078,
6057,
13,
15003,
3419,
198,
9612,
796,
12972,
6057,
13,
13812,
13,
2617,
62,
14171,
19510,
54,
2389,
4221,
11,
13909,
9947,
4008,
198,
22769,
796,
15684,
7,
9612,
11,
493,
7,
54,
2389,
4221,
14,
17,
828,
493,
7,
13909,
9947,
14,
17,
828,
357,
13381,
11,
23349,
11,
15,
828,
2026,
8,
198,
34453,
2340,
796,
17635,
198,
2833,
796,
15831,
7,
11473,
14165,
11,
198,
220,
220,
220,
220,
220,
220,
220,
47527,
15,
11,
2167,
11,
11018,
13,
28300,
7,
54,
2389,
4221,
14,
18,
828,
2167,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
11018,
13,
28300,
7,
54,
2389,
4221,
14,
18,
828,
3064,
11,
11018,
13,
28300,
7,
54,
2389,
4221,
14,
18,
828,
3064,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
11018,
13,
28300,
7,
54,
2389,
4221,
14,
18,
27493,
17,
11,
2167,
11,
7,
54,
2389,
4221,
12,
16,
12,
11018,
13,
28300,
7,
54,
2389,
4221,
14,
18,
27493,
17,
828,
2167,
8,
12962,
198,
24254,
796,
46933,
7,
43016,
17414,
7,
15,
11,
600,
7,
13909,
9947,
9,
17,
14,
18,
828,
9031,
11,
1120,
8,
12962,
198,
198,
35231,
30916,
796,
1802,
198,
35231,
23106,
796,
6640,
198,
35231,
796,
25376,
7,
12418,
12709,
11,
47527,
2257,
11879,
62,
54,
2389,
4221,
532,
3061,
30916,
532,
2026,
11,
13037,
10,
35231,
23106,
11,
3061,
30916,
11,
3061,
23106,
8,
12962,
198,
198,
34453,
2340,
13,
33295,
7,
2833,
8,
198,
34453,
2340,
13,
33295,
7,
24254,
8,
198,
34453,
2340,
13,
33295,
7,
35231,
8,
198,
271,
5990,
2101,
291,
796,
6407,
198,
14247,
796,
15371,
7,
9612,
11,
2095,
11,
318,
5990,
2101,
291,
11,
3563,
11879,
62,
54,
2389,
4221,
11,
3563,
11879,
62,
13909,
9947,
11,
1540,
2340,
8,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3800,
13,
25302,
29391,
7,
7410,
8,
198,
220,
220,
220,
5128,
10786,
8439,
1997,
284,
8420,
11537,
198
] | 2.959371 | 763 |
import argparse
import sys
import yaml
sys.path.insert(0, "../../../util/python")
import Cons
_conf = None
# Implement when needed
| [
11748,
1822,
29572,
198,
11748,
25064,
198,
11748,
331,
43695,
198,
198,
17597,
13,
6978,
13,
28463,
7,
15,
11,
366,
40720,
40720,
40720,
22602,
14,
29412,
4943,
198,
11748,
3515,
198,
198,
62,
10414,
796,
6045,
628,
628,
198,
2,
48282,
618,
2622,
198
] | 3.044444 | 45 |
import torch
import torch.nn as nn
import torchvision.transforms as transforms
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from torch.utils.data import Dataset
from torch.utils.data import DataLoader
if __name__ == '__main__':
main()
| [
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
11748,
28034,
10178,
13,
7645,
23914,
355,
31408,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
16092,
292,
316,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
6060,
17401,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 3.162791 | 86 |
import gym
import random
import torch
import numpy as np
from collections import deque
# imort matplotlib.pyplot as plt
from MyAgent import Agent
env = gym.make('Pendulum-v0')
env.seed(2)
agent = Agent(state_size=3, action_size=1)
scores = ddpg()
# fig = plt.figure()
# ax = fig.add_subplot(111)
# plt.plot(np.arange(1, len(scores)+1), scores)
# plt.ylabel('Score')
# plt.xlabel('Episode #')
# plt.show() | [
11748,
11550,
198,
11748,
4738,
198,
11748,
28034,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
17268,
1330,
390,
4188,
198,
2,
545,
419,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
6738,
2011,
36772,
1330,
15906,
198,
198,
24330,
796,
11550,
13,
15883,
10786,
47,
437,
14452,
12,
85,
15,
11537,
198,
24330,
13,
28826,
7,
17,
8,
198,
25781,
796,
15906,
7,
5219,
62,
7857,
28,
18,
11,
2223,
62,
7857,
28,
16,
8,
198,
198,
1416,
2850,
796,
49427,
6024,
3419,
198,
198,
2,
2336,
796,
458,
83,
13,
26875,
3419,
198,
2,
7877,
796,
2336,
13,
2860,
62,
7266,
29487,
7,
16243,
8,
198,
2,
458,
83,
13,
29487,
7,
37659,
13,
283,
858,
7,
16,
11,
18896,
7,
1416,
2850,
47762,
16,
828,
8198,
8,
198,
2,
458,
83,
13,
2645,
9608,
10786,
26595,
11537,
198,
2,
458,
83,
13,
87,
18242,
10786,
23758,
1303,
11537,
198,
2,
458,
83,
13,
12860,
3419
] | 2.54375 | 160 |
from voxel_globe.common_tasks import shared_task, VipTask
from celery.utils.log import get_task_logger
logger = get_task_logger(__name__)
@shared_task(base=VipTask, bind=True)
def cleanup(self, upload_session_id):
''' Clean up after successful ingest
Currently this only entails removing the upload session information '''
from voxel_globe.ingest.models import UploadSession
upload_session = UploadSession.objects.get(id=upload_session_id)
upload_session.delete()
| [
6738,
410,
1140,
417,
62,
4743,
5910,
13,
11321,
62,
83,
6791,
1330,
4888,
62,
35943,
11,
569,
541,
25714,
198,
198,
6738,
18725,
1924,
13,
26791,
13,
6404,
1330,
651,
62,
35943,
62,
6404,
1362,
198,
6404,
1362,
796,
651,
62,
35943,
62,
6404,
1362,
7,
834,
3672,
834,
8,
628,
198,
31,
28710,
62,
35943,
7,
8692,
28,
53,
541,
25714,
11,
11007,
28,
17821,
8,
198,
4299,
27425,
7,
944,
11,
9516,
62,
29891,
62,
312,
2599,
198,
220,
705,
7061,
5985,
510,
706,
4388,
26151,
220,
628,
220,
220,
220,
220,
220,
16888,
428,
691,
35445,
10829,
262,
9516,
6246,
1321,
705,
7061,
628,
220,
422,
410,
1140,
417,
62,
4743,
5910,
13,
278,
395,
13,
27530,
1330,
36803,
36044,
198,
220,
9516,
62,
29891,
796,
36803,
36044,
13,
48205,
13,
1136,
7,
312,
28,
25850,
62,
29891,
62,
312,
8,
198,
220,
9516,
62,
29891,
13,
33678,
3419,
628
] | 3.149351 | 154 |
import json
import boto3
import re
import datetime
s3 = boto3.client('s3')
GET_RAW_PATH = '/getLogCount'
POST_RAW_PATH = '/postLogCount'
GRPC_RAW_PATH = '/GRPC'
TEST_RAW_PATH = '/test'
regexPattern = re.compile('([a-c][e-g][0-3]|[A-Z][5-9][f-w]){5,15}')
## Method to parse input for GET, POST, GRPC requests
## Method to parse input for Test cases
## Binary Search program to get indices of start and end time of the required interval from log file
## Method to extract start and end time of log file
## Driver method
| [
11748,
33918,
198,
11748,
275,
2069,
18,
198,
11748,
302,
198,
11748,
4818,
8079,
198,
198,
82,
18,
796,
275,
2069,
18,
13,
16366,
10786,
82,
18,
11537,
198,
198,
18851,
62,
20530,
62,
34219,
796,
31051,
1136,
11187,
12332,
6,
198,
32782,
62,
20530,
62,
34219,
796,
31051,
7353,
11187,
12332,
6,
198,
10761,
5662,
62,
20530,
62,
34219,
796,
31051,
10761,
5662,
6,
198,
51,
6465,
62,
20530,
62,
34219,
796,
31051,
9288,
6,
198,
260,
25636,
47546,
796,
302,
13,
5589,
576,
10786,
26933,
64,
12,
66,
7131,
68,
12,
70,
7131,
15,
12,
18,
60,
91,
58,
32,
12,
57,
7131,
20,
12,
24,
7131,
69,
12,
86,
12962,
90,
20,
11,
1314,
92,
11537,
198,
198,
2235,
11789,
284,
21136,
5128,
329,
17151,
11,
24582,
11,
10863,
5662,
7007,
198,
198,
2235,
11789,
284,
21136,
5128,
329,
6208,
2663,
198,
198,
2235,
45755,
11140,
1430,
284,
651,
36525,
286,
923,
290,
886,
640,
286,
262,
2672,
16654,
422,
2604,
2393,
198,
198,
2235,
11789,
284,
7925,
923,
290,
886,
640,
286,
2604,
2393,
628,
198,
2235,
12434,
2446,
628,
198
] | 2.854054 | 185 |
"""
Author: shikechen
Function: Write image to sheet
Version: 1.0
Date: 2019/3/6
"""
from openpyxl import Workbook
from openpyxl.drawing.image import Image
if __name__ == '__main__':
main()
| [
37811,
198,
220,
220,
220,
6434,
25,
427,
522,
6607,
198,
220,
220,
220,
15553,
25,
19430,
2939,
284,
9629,
198,
220,
220,
220,
10628,
25,
352,
13,
15,
198,
220,
220,
220,
7536,
25,
13130,
14,
18,
14,
21,
198,
37811,
198,
6738,
1280,
9078,
87,
75,
1330,
5521,
2070,
198,
6738,
1280,
9078,
87,
75,
13,
19334,
278,
13,
9060,
1330,
7412,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 2.535714 | 84 |
import numpy as np
import pickle
# Load in color lookup table data
with open('colors.pkl', 'rb') as f:
LERPED = pickle.load(f)
LUT = np.load('LUT.npy')
def set_color(bg, fg):
'''
Generates a character sequence to set the foreground and background colors
'''
return f'\u001b[48;5;{bg};38;5;{fg}m'
def convert_img(img, charset=' ,(S#g@@g#S(, ', width=80, height=1):
'''
Convert an RGB image to a stream of text with ANSI color codes
'''
line = ''
for row in img:
for color in row:
color = np.round(color).astype(int)
b, g, r = color[0], color[1], color[2]
# Lookup the color index in the RGB lookup table
idx = LUT[b, g, r]
# Get the ANSI color codes and lerp character
bg, fg, lerp, rgb = LERPED[idx]
char = charset[lerp]
line += set_color(bg, fg) + char
# End each line with a black background to avoid color fringe
line += '\u001b[48;5;16;38;5;16m\n'
# Move the cursor back to the top of the frame to prevent rolling
line += f'\u001b[{width}D\u001b[{height + 1}A'
return line
if __name__ == '__main__':
import cv2
import sys
# Width of the output in terminal characters
WIDTH = 80
HEIGHT = 1
if len(sys.argv) == 2:
img = cv2.imread(sys.argv[1])
# Match the aspect ratio to that of the provided image
src_height, src_width, _ = img.shape
aspect_ratio = src_width / src_height
HEIGHT = int(WIDTH / (2 * aspect_ratio))
img = cv2.resize(img, (WIDTH, HEIGHT))
print(convert_img(img, width=WIDTH, height=HEIGHT))
else:
print('Expected image file as argument.')
| [
11748,
299,
32152,
355,
45941,
201,
198,
11748,
2298,
293,
201,
198,
201,
198,
2,
8778,
287,
3124,
35847,
3084,
1366,
201,
198,
4480,
1280,
10786,
4033,
669,
13,
79,
41582,
3256,
705,
26145,
11537,
355,
277,
25,
201,
198,
220,
220,
220,
406,
1137,
47,
1961,
796,
2298,
293,
13,
2220,
7,
69,
8,
201,
198,
43,
3843,
796,
45941,
13,
2220,
10786,
43,
3843,
13,
77,
9078,
11537,
201,
198,
201,
198,
4299,
900,
62,
8043,
7,
35904,
11,
277,
70,
2599,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2980,
689,
257,
2095,
8379,
284,
900,
262,
36282,
290,
4469,
7577,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
220,
220,
220,
1441,
277,
6,
59,
84,
8298,
65,
58,
2780,
26,
20,
26,
90,
35904,
19629,
2548,
26,
20,
26,
90,
40616,
92,
76,
6,
201,
198,
201,
198,
4299,
10385,
62,
9600,
7,
9600,
11,
34534,
316,
11639,
837,
7,
50,
2,
70,
12404,
70,
2,
50,
7,
11,
46083,
9647,
28,
1795,
11,
6001,
28,
16,
2599,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
220,
220,
220,
220,
220,
220,
220,
38240,
281,
25228,
2939,
284,
257,
4269,
286,
2420,
351,
3537,
11584,
3124,
12416,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
1627,
796,
10148,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
329,
5752,
287,
33705,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3124,
287,
5752,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
796,
45941,
13,
744,
7,
8043,
737,
459,
2981,
7,
600,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
11,
308,
11,
374,
796,
3124,
58,
15,
4357,
3124,
58,
16,
4357,
3124,
58,
17,
60,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6803,
929,
262,
3124,
6376,
287,
262,
25228,
35847,
3084,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
406,
3843,
58,
65,
11,
308,
11,
374,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
3537,
11584,
3124,
12416,
290,
300,
263,
79,
2095,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
70,
11,
277,
70,
11,
300,
263,
79,
11,
46140,
796,
406,
1137,
47,
1961,
58,
312,
87,
60,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1149,
796,
34534,
316,
58,
1754,
79,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
15853,
900,
62,
8043,
7,
35904,
11,
277,
70,
8,
1343,
1149,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5268,
1123,
1627,
351,
257,
2042,
4469,
284,
3368,
3124,
26821,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
15853,
705,
59,
84,
8298,
65,
58,
2780,
26,
20,
26,
1433,
26,
2548,
26,
20,
26,
1433,
76,
59,
77,
6,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
1303,
10028,
262,
23493,
736,
284,
262,
1353,
286,
262,
5739,
284,
2948,
10708,
201,
198,
220,
220,
220,
1627,
15853,
277,
6,
59,
84,
8298,
65,
58,
90,
10394,
92,
35,
59,
84,
8298,
65,
58,
90,
17015,
1343,
352,
92,
32,
6,
201,
198,
220,
220,
220,
1441,
1627,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
220,
220,
220,
1330,
269,
85,
17,
201,
198,
220,
220,
220,
1330,
25064,
201,
198,
201,
198,
220,
220,
220,
1303,
38807,
286,
262,
5072,
287,
12094,
3435,
201,
198,
220,
220,
220,
370,
2389,
4221,
796,
4019,
201,
198,
220,
220,
220,
11179,
9947,
796,
352,
201,
198,
201,
198,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
6624,
362,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
796,
269,
85,
17,
13,
320,
961,
7,
17597,
13,
853,
85,
58,
16,
12962,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13225,
262,
4843,
8064,
284,
326,
286,
262,
2810,
2939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
12351,
62,
17015,
11,
12351,
62,
10394,
11,
4808,
796,
33705,
13,
43358,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
4843,
62,
10366,
952,
796,
12351,
62,
10394,
1220,
12351,
62,
17015,
201,
198,
220,
220,
220,
220,
220,
220,
220,
11179,
9947,
796,
493,
7,
54,
2389,
4221,
1220,
357,
17,
1635,
4843,
62,
10366,
952,
4008,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
796,
269,
85,
17,
13,
411,
1096,
7,
9600,
11,
357,
54,
2389,
4221,
11,
11179,
9947,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
1102,
1851,
62,
9600,
7,
9600,
11,
9647,
28,
54,
2389,
4221,
11,
6001,
28,
13909,
9947,
4008,
201,
198,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
3109,
7254,
2939,
2393,
355,
4578,
2637,
8,
201,
198
] | 2.036585 | 902 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.