content
stringlengths 7
1.05M
| fixed_cases
stringlengths 1
1.28M
|
---|---|
beggars_jobs = [int(x) for x in input().split(", ")]
count_of_beggars = int(input())
final_list = []
for num in range(count_of_beggars):
jobs = 0
for index in range(num, len(beggars_jobs), count_of_beggars):
jobs += beggars_jobs[index]
final_list.append(jobs)
print(final_list)
| beggars_jobs = [int(x) for x in input().split(', ')]
count_of_beggars = int(input())
final_list = []
for num in range(count_of_beggars):
jobs = 0
for index in range(num, len(beggars_jobs), count_of_beggars):
jobs += beggars_jobs[index]
final_list.append(jobs)
print(final_list) |
try:
raise
except:
pass
try:
raise NotImplementedError('User Defined Error Message.')
except NotImplementedError as err:
print('NotImplementedError')
except:
print('Error :')
try:
raise KeyError('missing key')
except KeyError as ex:
print('KeyError')
except:
print('Error :')
try:
1 // 0
except ZeroDivisionError as ex:
print('ZeroDivisionError')
except:
print('Error :')
try:
raise RuntimeError("runtime!")
except RuntimeError as ex:
print('RuntimeError :', ex)
except:
print('Error :')
| try:
raise
except:
pass
try:
raise not_implemented_error('User Defined Error Message.')
except NotImplementedError as err:
print('NotImplementedError')
except:
print('Error :')
try:
raise key_error('missing key')
except KeyError as ex:
print('KeyError')
except:
print('Error :')
try:
1 // 0
except ZeroDivisionError as ex:
print('ZeroDivisionError')
except:
print('Error :')
try:
raise runtime_error('runtime!')
except RuntimeError as ex:
print('RuntimeError :', ex)
except:
print('Error :') |
N = int(input())
combined_length = 0
for _ in range(N):
length = int(input())
combined_length += length
print(combined_length - (N-1))
| n = int(input())
combined_length = 0
for _ in range(N):
length = int(input())
combined_length += length
print(combined_length - (N - 1)) |
class Resort:
def __init__(self):
self._mysql = False
self._postgres = False
self._borg = False
def name(self, name):
self._name = name
return self
def appendName(self, text):
return text+self._name
return self
def storage(self, storage):
self._storage = storage
return self
def withMySQL(self, mysql):
self._mysql = mysql
return self
def withPostgres(self):
self._postgres = True
return self
def passAdapters(self, receiver):
try:
receiver.setBorg(self._borg)
except AttributeError:
pass
try:
receiver.setMySQL(self._mysql)
except AttributeError:
pass
try:
receiver.setPostgres(self._postgres)
except AttributeError:
pass
def initMySQL(self):
try:
self._storage.resort(self._name).createAdapter('mysql')
except OSError:
print("MySQL already exists. Ignoring")
self._storage.rebuildResort(self)
def initBorg(self, copies):
try:
self._storage.resort(self._name).createAdapter('files')
except OSError:
print("Files already exists. Ignoring")
self._storage.rebuildResort(self)
self._borg.init(copies)
def withBorg(self, borg):
borg.resort(self)
self._borg = borg
return self
def createFolder(self, folderName):
self._storage.resort(self._name).adapter(self._currentAdapter).createFolder(folderName)
return self
def listFolders(self, path=None):
return self._storage.resort(self._name).adapter(self._currentAdapter).listFolder(path)
def fileContent(self, path):
return self._storage.resort(self._name).adapter(self._currentAdapter).fileContent(path)
def remove(self, remotePath):
self._storage.resort(self._name).adapter(self._currentAdapter) \
.remove(remotePath, True)
def upload(self, localPath, remotePath):
self._storage.resort(self._name).adapter(self._currentAdapter) \
.upload(localPath, remotePath, True)
def download(self, remotePath, localPath):
self._storage.resort(self._name).adapter(self._currentAdapter) \
.download(remotePath, localPath, True)
def adapter(self, adapater):
self._currentAdapter = adapater
return self
def print(self):
print("- "+self._name)
if self._borg:
print(" - borg filebackup")
if self._mysql:
print(" - mysql")
if self._postgres:
print(" - postgres")
class Error(Exception):
pass
class NoSuchResortError(Error):
def __init__(self, resortName):
self.resortName = resortName
| class Resort:
def __init__(self):
self._mysql = False
self._postgres = False
self._borg = False
def name(self, name):
self._name = name
return self
def append_name(self, text):
return text + self._name
return self
def storage(self, storage):
self._storage = storage
return self
def with_my_sql(self, mysql):
self._mysql = mysql
return self
def with_postgres(self):
self._postgres = True
return self
def pass_adapters(self, receiver):
try:
receiver.setBorg(self._borg)
except AttributeError:
pass
try:
receiver.setMySQL(self._mysql)
except AttributeError:
pass
try:
receiver.setPostgres(self._postgres)
except AttributeError:
pass
def init_my_sql(self):
try:
self._storage.resort(self._name).createAdapter('mysql')
except OSError:
print('MySQL already exists. Ignoring')
self._storage.rebuildResort(self)
def init_borg(self, copies):
try:
self._storage.resort(self._name).createAdapter('files')
except OSError:
print('Files already exists. Ignoring')
self._storage.rebuildResort(self)
self._borg.init(copies)
def with_borg(self, borg):
borg.resort(self)
self._borg = borg
return self
def create_folder(self, folderName):
self._storage.resort(self._name).adapter(self._currentAdapter).createFolder(folderName)
return self
def list_folders(self, path=None):
return self._storage.resort(self._name).adapter(self._currentAdapter).listFolder(path)
def file_content(self, path):
return self._storage.resort(self._name).adapter(self._currentAdapter).fileContent(path)
def remove(self, remotePath):
self._storage.resort(self._name).adapter(self._currentAdapter).remove(remotePath, True)
def upload(self, localPath, remotePath):
self._storage.resort(self._name).adapter(self._currentAdapter).upload(localPath, remotePath, True)
def download(self, remotePath, localPath):
self._storage.resort(self._name).adapter(self._currentAdapter).download(remotePath, localPath, True)
def adapter(self, adapater):
self._currentAdapter = adapater
return self
def print(self):
print('- ' + self._name)
if self._borg:
print(' - borg filebackup')
if self._mysql:
print(' - mysql')
if self._postgres:
print(' - postgres')
class Error(Exception):
pass
class Nosuchresorterror(Error):
def __init__(self, resortName):
self.resortName = resortName |
#! python3
# -*- coding: utf-8 -*-
def method(args1='sample2'):
print(args1 + " is runned")
print("")
| def method(args1='sample2'):
print(args1 + ' is runned')
print('') |
def extract_author(simple_author_1):
list_tokenize_name=simple_author_1.split("and")
if len(list_tokenize_name)>1:
authors_list = []
for tokenize_name in list_tokenize_name:
splitted=tokenize_name.split(",")
authors_list.append((splitted[0].strip(),splitted[1].strip()))
return authors_list
tokenize_name= simple_author_1.split(",")
if len(tokenize_name)>1:
return (tokenize_name[0],tokenize_name[1].strip())
tokenize_name=simple_author_1.split(" ")
length_tokenize_name=len(tokenize_name)
if length_tokenize_name==1:
return simple_author_1, ""
elif length_tokenize_name==2:
return (tokenize_name[1],tokenize_name[0])
else:
return (tokenize_name[2],tokenize_name[0]+" "+tokenize_name[1])
| def extract_author(simple_author_1):
list_tokenize_name = simple_author_1.split('and')
if len(list_tokenize_name) > 1:
authors_list = []
for tokenize_name in list_tokenize_name:
splitted = tokenize_name.split(',')
authors_list.append((splitted[0].strip(), splitted[1].strip()))
return authors_list
tokenize_name = simple_author_1.split(',')
if len(tokenize_name) > 1:
return (tokenize_name[0], tokenize_name[1].strip())
tokenize_name = simple_author_1.split(' ')
length_tokenize_name = len(tokenize_name)
if length_tokenize_name == 1:
return (simple_author_1, '')
elif length_tokenize_name == 2:
return (tokenize_name[1], tokenize_name[0])
else:
return (tokenize_name[2], tokenize_name[0] + ' ' + tokenize_name[1]) |
class SwaggerYaml:
def __init__(self, swagger, info, schemes, basePath, produces, paths, definitions):
self.swagger = swagger
self.info = info
self.schemes = schemes
self.basePath = basePath
self.produces = produces
self.paths = paths
self.definitions = definitions
| class Swaggeryaml:
def __init__(self, swagger, info, schemes, basePath, produces, paths, definitions):
self.swagger = swagger
self.info = info
self.schemes = schemes
self.basePath = basePath
self.produces = produces
self.paths = paths
self.definitions = definitions |
# Temperature of an oven setting by reading from a pressure meter
r = int(input("Enter the reading:- "))
if( (r == 2) or (r == 3) ):
print("Temperature set to 500 degrees.")
elif( r==4):
print("Temperature set to 600 degrees.")
elif((r==5)or(r==6)or(r==7)):
print("Temperature set to 700 degrees.")
elif((r<2) or (r>7)):
print("DEFAULT:- The temperature setting is 300 degrees.")
| r = int(input('Enter the reading:- '))
if r == 2 or r == 3:
print('Temperature set to 500 degrees.')
elif r == 4:
print('Temperature set to 600 degrees.')
elif r == 5 or r == 6 or r == 7:
print('Temperature set to 700 degrees.')
elif r < 2 or r > 7:
print('DEFAULT:- The temperature setting is 300 degrees.') |
# tested
def Main():
a = 1
b = 10
c = 20
d = add(a, b, 10)
d2 = add(d, d, d)
return d2
def add(a, b, c):
result = a + b + c
return result
| def main():
a = 1
b = 10
c = 20
d = add(a, b, 10)
d2 = add(d, d, d)
return d2
def add(a, b, c):
result = a + b + c
return result |
#!/usr/bin/env python
#########################################################################################
#
# Test function sct_documentation
#
# ---------------------------------------------------------------------------------------
# Copyright (c) 2014 Polytechnique Montreal <www.neuro.polymtl.ca>
# Author: Augustin Roux
# modified: 2014/10/30
#
# About the license: see the file LICENSE.TXT
#########################################################################################
#import sct_utils as sct
def test(data_path):
# define command
cmd = 'sct_propseg'
# return
#return sct.run(cmd, 0)
return sct.run(cmd)
if __name__ == "__main__":
# call main function
test() | def test(data_path):
cmd = 'sct_propseg'
return sct.run(cmd)
if __name__ == '__main__':
test() |
power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate Leakage': 0.00662954,
'Peak Dynamic': 0.0,
'Runtime Dynamic': 0.0,
'Subthreshold Leakage': 0.0691322,
'Subthreshold Leakage with power gating': 0.0259246},
'Core': [{'Area': 32.6082,
'Execution Unit/Area': 8.2042,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.062853,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.252056,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.335673,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.122718,
'Execution Unit/Instruction Scheduler/Area': 2.17927,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.295198,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.511177,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.293174,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.09955,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.240329,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 5.94532,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0634158,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0107012,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.101067,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0791417,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.164483,
'Execution Unit/Register Files/Runtime Dynamic': 0.0898429,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.261438,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.661469,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155,
'Execution Unit/Runtime Dynamic': 2.50829,
'Execution Unit/Subthreshold Leakage': 1.83518,
'Execution Unit/Subthreshold Leakage with power gating': 0.709678,
'Gate Leakage': 0.372997,
'Instruction Fetch Unit/Area': 5.86007,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00178474,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00178474,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00155913,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00060609,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00113688,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00626549,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0169469,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0590479,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0760809,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.8394,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.225952,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.258405,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 7.29637,
'Instruction Fetch Unit/Runtime Dynamic': 0.583651,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932587,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0910578,
'L2/Runtime Dynamic': 0.0149119,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80969,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.9597,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.32955,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0351387,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0880819,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0880819,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.37734,
'Load Store Unit/Runtime Dynamic': 1.85203,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.217195,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.43439,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591622,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283406,
'Memory Management Unit/Area': 0.434579,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0770832,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0783381,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00813591,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.300896,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0373754,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.592657,
'Memory Management Unit/Runtime Dynamic': 0.115713,
'Memory Management Unit/Subthreshold Leakage': 0.0769113,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462,
'Peak Dynamic': 22.8644,
'Renaming Unit/Area': 0.369768,
'Renaming Unit/FP Front End RAT/Area': 0.168486,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.221243,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925,
'Renaming Unit/Free List/Area': 0.0414755,
'Renaming Unit/Free List/Gate Leakage': 4.15911e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0401324,
'Renaming Unit/Free List/Runtime Dynamic': 0.0177571,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987,
'Renaming Unit/Gate Leakage': 0.00863632,
'Renaming Unit/Int Front End RAT/Area': 0.114751,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.14974,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781,
'Renaming Unit/Peak Dynamic': 4.56169,
'Renaming Unit/Runtime Dynamic': 0.388741,
'Renaming Unit/Subthreshold Leakage': 0.070483,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779,
'Runtime Dynamic': 5.46334,
'Subthreshold Leakage': 6.21877,
'Subthreshold Leakage with power gating': 2.58311},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.025722,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.222892,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.136926,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.123069,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.198506,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.100199,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.421774,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.119763,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.29954,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0258682,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00516207,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0470388,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0381767,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.072907,
'Execution Unit/Register Files/Runtime Dynamic': 0.0433388,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.105529,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.270699,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 1.36408,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000937183,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000937183,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000842201,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000340203,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000548411,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00326498,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00805973,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0367002,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.33445,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.104961,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.124651,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 4.66626,
'Instruction Fetch Unit/Runtime Dynamic': 0.277637,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.041946,
'L2/Runtime Dynamic': 0.00699192,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 2.57227,
'Load Store Unit/Data Cache/Runtime Dynamic': 0.652076,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0431954,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0431955,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 2.77625,
'Load Store Unit/Runtime Dynamic': 0.908297,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.106513,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.213025,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0378017,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0383785,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.145148,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0173641,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.366193,
'Memory Management Unit/Runtime Dynamic': 0.0557427,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 15.7397,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0680471,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.00638066,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0617779,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.136206,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 2.74895,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0146946,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.214231,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.0762249,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.103621,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.167136,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0843647,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.355122,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.106825,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.1679,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0144005,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00434631,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.037058,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0321437,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.0514585,
'Execution Unit/Register Files/Runtime Dynamic': 0.03649,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0817452,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.21952,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 1.23074,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000780825,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000780825,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000696157,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000278277,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000461746,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00271955,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00691271,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0309005,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.96554,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0891683,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.104952,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 4.27945,
'Instruction Fetch Unit/Runtime Dynamic': 0.234653,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0410605,
'L2/Runtime Dynamic': 0.0105044,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 2.34204,
'Load Store Unit/Data Cache/Runtime Dynamic': 0.54846,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0357467,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0357467,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 2.51084,
'Load Store Unit/Runtime Dynamic': 0.760498,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.0881454,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.176291,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0312831,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0318681,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.12221,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0147115,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.332058,
'Memory Management Unit/Runtime Dynamic': 0.0465796,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 14.9208,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0378811,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.00513608,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0527002,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.0957174,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 2.37869,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0112371,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.211515,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.057366,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.070632,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.113927,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0575064,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.242065,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.0719872,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.06656,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0108377,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00296262,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0257653,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0219104,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.036603,
'Execution Unit/Register Files/Runtime Dynamic': 0.024873,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0570901,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.157404,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 1.04123,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00036335,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00036335,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000322085,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000127752,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000314745,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00136353,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00328341,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.021063,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.33979,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0509907,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0715396,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 3.62333,
'Instruction Fetch Unit/Runtime Dynamic': 0.14824,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0372791,
'L2/Runtime Dynamic': 0.00906734,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 2.03791,
'Load Store Unit/Data Cache/Runtime Dynamic': 0.399234,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0259074,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0259075,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 2.16025,
'Load Store Unit/Runtime Dynamic': 0.552909,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.0638833,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.127767,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0226724,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.023226,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.0833033,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.00837784,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.278359,
'Memory Management Unit/Runtime Dynamic': 0.0316039,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 13.7552,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0285093,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.00353367,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0361967,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.0682397,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 1.85129,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328}],
'DRAM': {'Area': 0,
'Gate Leakage': 0,
'Peak Dynamic': 6.695877235603369,
'Runtime Dynamic': 6.695877235603369,
'Subthreshold Leakage': 4.252,
'Subthreshold Leakage with power gating': 4.252},
'L3': [{'Area': 61.9075,
'Gate Leakage': 0.0484137,
'Peak Dynamic': 0.334595,
'Runtime Dynamic': 0.085356,
'Subthreshold Leakage': 6.80085,
'Subthreshold Leakage with power gating': 3.32364}],
'Processor': {'Area': 191.908,
'Gate Leakage': 1.53485,
'Peak Dynamic': 67.6147,
'Peak Power': 100.727,
'Runtime Dynamic': 12.5276,
'Subthreshold Leakage': 31.5774,
'Subthreshold Leakage with power gating': 13.9484,
'Total Cores/Area': 128.669,
'Total Cores/Gate Leakage': 1.4798,
'Total Cores/Peak Dynamic': 67.2801,
'Total Cores/Runtime Dynamic': 12.4423,
'Total Cores/Subthreshold Leakage': 24.7074,
'Total Cores/Subthreshold Leakage with power gating': 10.2429,
'Total L3s/Area': 61.9075,
'Total L3s/Gate Leakage': 0.0484137,
'Total L3s/Peak Dynamic': 0.334595,
'Total L3s/Runtime Dynamic': 0.085356,
'Total L3s/Subthreshold Leakage': 6.80085,
'Total L3s/Subthreshold Leakage with power gating': 3.32364,
'Total Leakage': 33.1122,
'Total NoCs/Area': 1.33155,
'Total NoCs/Gate Leakage': 0.00662954,
'Total NoCs/Peak Dynamic': 0.0,
'Total NoCs/Runtime Dynamic': 0.0,
'Total NoCs/Subthreshold Leakage': 0.0691322,
'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}} | power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.062853, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.252056, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.335673, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.295198, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.511177, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.293174, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.09955, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.240329, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.94532, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0634158, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0107012, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.101067, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0791417, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.164483, 'Execution Unit/Register Files/Runtime Dynamic': 0.0898429, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.261438, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.661469, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 2.50829, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00178474, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00178474, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00155913, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00060609, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00113688, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00626549, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0169469, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0760809, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.8394, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.225952, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.258405, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.29637, 'Instruction Fetch Unit/Runtime Dynamic': 0.583651, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0910578, 'L2/Runtime Dynamic': 0.0149119, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.9597, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.32955, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0880819, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0880819, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 4.37734, 'Load Store Unit/Runtime Dynamic': 1.85203, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.217195, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.43439, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0770832, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0783381, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.300896, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0373754, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.592657, 'Memory Management Unit/Runtime Dynamic': 0.115713, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 22.8644, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.221243, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0177571, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.14974, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.388741, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 5.46334, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.025722, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.222892, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.136926, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.123069, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.198506, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.100199, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.421774, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.119763, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.29954, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0258682, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00516207, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0470388, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0381767, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.072907, 'Execution Unit/Register Files/Runtime Dynamic': 0.0433388, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.105529, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.270699, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.36408, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000937183, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000937183, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000842201, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000340203, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000548411, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00326498, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00805973, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0367002, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.33445, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.104961, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.124651, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.66626, 'Instruction Fetch Unit/Runtime Dynamic': 0.277637, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.041946, 'L2/Runtime Dynamic': 0.00699192, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.57227, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.652076, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0431954, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0431955, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.77625, 'Load Store Unit/Runtime Dynamic': 0.908297, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.106513, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.213025, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0378017, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0383785, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.145148, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0173641, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.366193, 'Memory Management Unit/Runtime Dynamic': 0.0557427, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.7397, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0680471, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00638066, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0617779, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.136206, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.74895, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0146946, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.214231, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.0762249, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.103621, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.167136, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0843647, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.355122, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.106825, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.1679, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0144005, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00434631, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.037058, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0321437, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0514585, 'Execution Unit/Register Files/Runtime Dynamic': 0.03649, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0817452, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.21952, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.23074, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000780825, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000780825, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000696157, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000278277, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000461746, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00271955, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00691271, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0309005, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.96554, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0891683, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.104952, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.27945, 'Instruction Fetch Unit/Runtime Dynamic': 0.234653, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0410605, 'L2/Runtime Dynamic': 0.0105044, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.34204, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.54846, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0357467, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0357467, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.51084, 'Load Store Unit/Runtime Dynamic': 0.760498, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0881454, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.176291, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0312831, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0318681, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.12221, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0147115, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.332058, 'Memory Management Unit/Runtime Dynamic': 0.0465796, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 14.9208, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0378811, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00513608, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0527002, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.0957174, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.37869, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0112371, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.211515, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.057366, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.070632, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.113927, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0575064, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.242065, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0719872, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.06656, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0108377, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00296262, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0257653, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0219104, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.036603, 'Execution Unit/Register Files/Runtime Dynamic': 0.024873, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0570901, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.157404, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.04123, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00036335, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00036335, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000322085, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000127752, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000314745, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00136353, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00328341, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.021063, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.33979, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0509907, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0715396, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 3.62333, 'Instruction Fetch Unit/Runtime Dynamic': 0.14824, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0372791, 'L2/Runtime Dynamic': 0.00906734, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.03791, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.399234, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0259074, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0259075, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.16025, 'Load Store Unit/Runtime Dynamic': 0.552909, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0638833, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.127767, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0226724, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.023226, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.0833033, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00837784, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.278359, 'Memory Management Unit/Runtime Dynamic': 0.0316039, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 13.7552, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0285093, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00353367, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0361967, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.0682397, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 1.85129, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 6.695877235603369, 'Runtime Dynamic': 6.695877235603369, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.334595, 'Runtime Dynamic': 0.085356, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 67.6147, 'Peak Power': 100.727, 'Runtime Dynamic': 12.5276, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 67.2801, 'Total Cores/Runtime Dynamic': 12.4423, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.334595, 'Total L3s/Runtime Dynamic': 0.085356, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}} |
nilai = 9
if (nilai > 7):
print ("Selamat Anda Jadi programmer")
if (nilai > 10):
print ("Selamat Anda Jadi programmer handal") | nilai = 9
if nilai > 7:
print('Selamat Anda Jadi programmer')
if nilai > 10:
print('Selamat Anda Jadi programmer handal') |
# list all array connections
res = client.get_array_connections()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all array connections with remote name "otherarray"
res = client.get_array_connections(remote_names=["otherarray"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all array connections with remote id '10314f42-020d-7080-8013-000ddt400090'
res = client.get_array_connections(remote_ids=['10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five array connections and sort by source in descendant order
res = client.get_array_connections(limit=5, sort="version-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining array connections
res = client.get_array_connections(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only array connections on a specified version
res = client.get_array_connections(filter='version=\'3.*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, offset
# See section "Common Fields" for examples
| res = client.get_array_connections()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_array_connections(remote_names=['otherarray'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_array_connections(remote_ids=['10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_array_connections(limit=5, sort='version-')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_array_connections(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_array_connections(filter="version='3.*'")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items)) |
kanto, johto, hoenn = input().split()
catch_kanto, catch_johto, catch_hoenn = input().split()
total_kanto = int(kanto) + int(catch_kanto)
total_johto = int(johto) + int(catch_johto)
total_hoenn = int(hoenn) + int(catch_hoenn)
print(f"{total_kanto} {total_johto} {total_hoenn}") | (kanto, johto, hoenn) = input().split()
(catch_kanto, catch_johto, catch_hoenn) = input().split()
total_kanto = int(kanto) + int(catch_kanto)
total_johto = int(johto) + int(catch_johto)
total_hoenn = int(hoenn) + int(catch_hoenn)
print(f'{total_kanto} {total_johto} {total_hoenn}') |
{
'variables':
{
'external_libmediaserver%' : '<!(echo $LIBMEDIASERVER)',
'external_libmediaserver_include_dirs%' : '<!(echo $LIBMEDIASERVER_INCLUDE)',
},
"targets":
[
{
"target_name": "medooze-fake-h264-encoder",
"cflags":
[
"-march=native",
"-fexceptions",
"-O3",
"-g",
"-Wno-unused-function -Wno-comment",
#"-O0",
#"-fsanitize=address"
],
"cflags_cc":
[
"-fexceptions",
"-std=c++17",
"-O3",
"-g",
"-Wno-unused-function",
"-faligned-new",
"-Wall"
#"-O0",
#"-fsanitize=address,leak"
],
"include_dirs" :
[
'/usr/include/nodejs/',
"<!(node -e \"require('nan')\")"
],
"ldflags" : [" -lpthread -lresolv"],
"link_settings":
{
'libraries': ["-lpthread -lpthread -lresolv"]
},
"sources":
[
"src/fake-h264-encoder_wrap.cxx",
"src/FakeH264VideoEncoderWorker.cpp",
],
"conditions":
[
[
"external_libmediaserver == ''",
{
"include_dirs" :
[
'media-server/include',
'media-server/src',
'media-server/ext/crc32c/include',
'media-server/ext/libdatachannels/src',
'media-server/ext/libdatachannels/src/internal',
],
"sources":
[
"media-server/src/EventLoop.cpp",
"media-server/src/MediaFrameListenerBridge.cpp",
"media-server/src/rtp/DependencyDescriptor.cpp",
"media-server/src/rtp/RTPPacket.cpp",
"media-server/src/rtp/RTPPayload.cpp",
"media-server/src/rtp/RTPHeader.cpp",
"media-server/src/rtp/RTPHeaderExtension.cpp",
"media-server/src/rtp/LayerInfo.cpp",
"media-server/src/VideoLayerSelector.cpp",
"media-server/src/DependencyDescriptorLayerSelector.cpp",
"media-server/src/h264/h264depacketizer.cpp",
"media-server/src/vp8/vp8depacketizer.cpp",
"media-server/src/h264/H264LayerSelector.cpp",
"media-server/src/vp8/VP8LayerSelector.cpp",
"media-server/src/vp9/VP9PayloadDescription.cpp",
"media-server/src/vp9/VP9LayerSelector.cpp",
"media-server/src/vp9/VP9Depacketizer.cpp",
"media-server/src/av1/AV1Depacketizer.cpp",
],
"conditions" : [
['OS=="mac"', {
"xcode_settings": {
"CLANG_CXX_LIBRARY": "libc++",
"CLANG_CXX_LANGUAGE_STANDARD": "c++17",
"OTHER_CFLAGS": [ "-Wno-aligned-allocation-unavailable","-march=native"]
},
}]
]
},
{
"libraries" : [ "<(external_libmediaserver)" ],
"include_dirs" : [ "<@(external_libmediaserver_include_dirs)" ],
'conditions':
[
['OS=="linux"', {
"ldflags" : [" -Wl,-Bsymbolic "],
}],
['OS=="mac"', {
"xcode_settings": {
"CLANG_CXX_LIBRARY": "libc++",
"CLANG_CXX_LANGUAGE_STANDARD": "c++17",
"OTHER_CFLAGS": [ "-Wno-aligned-allocation-unavailable","-march=native"]
},
}],
]
}
]
]
}
]
}
| {'variables': {'external_libmediaserver%': '<!(echo $LIBMEDIASERVER)', 'external_libmediaserver_include_dirs%': '<!(echo $LIBMEDIASERVER_INCLUDE)'}, 'targets': [{'target_name': 'medooze-fake-h264-encoder', 'cflags': ['-march=native', '-fexceptions', '-O3', '-g', '-Wno-unused-function -Wno-comment'], 'cflags_cc': ['-fexceptions', '-std=c++17', '-O3', '-g', '-Wno-unused-function', '-faligned-new', '-Wall'], 'include_dirs': ['/usr/include/nodejs/', '<!(node -e "require(\'nan\')")'], 'ldflags': [' -lpthread -lresolv'], 'link_settings': {'libraries': ['-lpthread -lpthread -lresolv']}, 'sources': ['src/fake-h264-encoder_wrap.cxx', 'src/FakeH264VideoEncoderWorker.cpp'], 'conditions': [["external_libmediaserver == ''", {'include_dirs': ['media-server/include', 'media-server/src', 'media-server/ext/crc32c/include', 'media-server/ext/libdatachannels/src', 'media-server/ext/libdatachannels/src/internal'], 'sources': ['media-server/src/EventLoop.cpp', 'media-server/src/MediaFrameListenerBridge.cpp', 'media-server/src/rtp/DependencyDescriptor.cpp', 'media-server/src/rtp/RTPPacket.cpp', 'media-server/src/rtp/RTPPayload.cpp', 'media-server/src/rtp/RTPHeader.cpp', 'media-server/src/rtp/RTPHeaderExtension.cpp', 'media-server/src/rtp/LayerInfo.cpp', 'media-server/src/VideoLayerSelector.cpp', 'media-server/src/DependencyDescriptorLayerSelector.cpp', 'media-server/src/h264/h264depacketizer.cpp', 'media-server/src/vp8/vp8depacketizer.cpp', 'media-server/src/h264/H264LayerSelector.cpp', 'media-server/src/vp8/VP8LayerSelector.cpp', 'media-server/src/vp9/VP9PayloadDescription.cpp', 'media-server/src/vp9/VP9LayerSelector.cpp', 'media-server/src/vp9/VP9Depacketizer.cpp', 'media-server/src/av1/AV1Depacketizer.cpp'], 'conditions': [['OS=="mac"', {'xcode_settings': {'CLANG_CXX_LIBRARY': 'libc++', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++17', 'OTHER_CFLAGS': ['-Wno-aligned-allocation-unavailable', '-march=native']}}]]}, {'libraries': ['<(external_libmediaserver)'], 'include_dirs': ['<@(external_libmediaserver_include_dirs)'], 'conditions': [['OS=="linux"', {'ldflags': [' -Wl,-Bsymbolic ']}], ['OS=="mac"', {'xcode_settings': {'CLANG_CXX_LIBRARY': 'libc++', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++17', 'OTHER_CFLAGS': ['-Wno-aligned-allocation-unavailable', '-march=native']}}]]}]]}]} |
class Solution:
def reverseVowels(self, s: str) -> str:
vowels = {"a", "e", "i", "o", "u", "A", "E", "I", "O", "U"}
ns = [e for e in s]
left, right = 0, len(s) - 1
while right > left:
while s[left] not in vowels and left < right:
left += 1
while s[right] not in vowels and left < right:
right -= 1
ns[left], ns[right] = ns[right], ns[left]
left += 1
right -= 1
return "".join(ns)
if __name__ == '__main__':
print(Solution().reverseVowels("hello"))
print(Solution().reverseVowels("leetcode"))
print(Solution().reverseVowels("aA"))
| class Solution:
def reverse_vowels(self, s: str) -> str:
vowels = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'}
ns = [e for e in s]
(left, right) = (0, len(s) - 1)
while right > left:
while s[left] not in vowels and left < right:
left += 1
while s[right] not in vowels and left < right:
right -= 1
(ns[left], ns[right]) = (ns[right], ns[left])
left += 1
right -= 1
return ''.join(ns)
if __name__ == '__main__':
print(solution().reverseVowels('hello'))
print(solution().reverseVowels('leetcode'))
print(solution().reverseVowels('aA')) |
def reverse(string):
return string[::-1]
print('Gimmie some word')
s = input()
print(reverse(s))
| def reverse(string):
return string[::-1]
print('Gimmie some word')
s = input()
print(reverse(s)) |
# Roman Ramirez, [email protected]
# Advent of Code 2021, Day 14: Extended Polymerization
#%% LONG INPUT
my_input = []
with open('input.txt', 'r') as f:
for line in f:
my_input.append(line.strip('\n'))
#%% EXAMPLE INPUT
my_input = [
'NNCB',
'',
'CH -> B',
'HH -> N',
'CB -> H',
'NH -> C',
'HB -> C',
'HC -> B',
'HN -> C',
'NN -> C',
'BH -> H',
'NC -> B',
'NB -> B',
'BN -> B',
'BB -> N',
'BC -> B',
'CC -> N',
'CN -> C'
]
#%% PART 1 CODE
# initialization
polymer = my_input[0]
rules = dict()
for line in my_input[2:]:
pair, insert = line.split(' -> ')
rules[pair] = insert
# setps / algorithm
steps = 10
for i in range(steps):
polymer_synth = polymer[0]
for x in range(1, len(polymer)):
polymer_synth += rules[polymer[x-1]+polymer[x]]
polymer_synth += polymer[x]
polymer = polymer_synth
# solve for number
freq = dict()
for char in polymer:
if char in freq:
freq[char] += 1
else:
freq[char] = 1
mce = max(freq.values())
lce = min(freq.values())
# print(freq)
print(mce - lce)
#%% PART 2 CODE: DON'T MAKE THE STRING BUT COUNT THE NUMBERS
# initialization
polymer = my_input[0]
rules = dict()
for line in my_input[2:]:
pair, insert = line.split(' -> ')
rules[pair] = insert
# steps / algorithm : don't make the string just count the numbers
steps = 40
pairs = {symbol: 0 for symbol in rules}
def inc_dict(d):
d_inc = {symbol: 0 for symbol in rules}
for symbol in d:
mid = rules[symbol]
d_inc[symbol[0]+mid] += d[symbol]
d_inc[mid+symbol[1]] += d[symbol]
return d_inc
for x in range(1, len(polymer)):
pairs[polymer[x-1]+polymer[x]] += 1
for i in range(steps):
pairs = inc_dict(pairs)
# convert total pairs to total elements
elements = dict()
for k, v in pairs.items():
if k[0] not in elements.keys():
elements[k[0]] = v / 2
else:
elements[k[0]] += v / 2
if k[1] not in elements.keys():
elements[k[1]] = v / 2
else:
elements[k[1]] += v / 2
elements[polymer[0]] += 0.5
elements[polymer[-1]] += 0.5
elements = {k: int(v) for k, v in elements.items()}
mce = max(elements.values())
lce = min(elements.values())
# print(elements)
print(mce - lce)
| my_input = []
with open('input.txt', 'r') as f:
for line in f:
my_input.append(line.strip('\n'))
my_input = ['NNCB', '', 'CH -> B', 'HH -> N', 'CB -> H', 'NH -> C', 'HB -> C', 'HC -> B', 'HN -> C', 'NN -> C', 'BH -> H', 'NC -> B', 'NB -> B', 'BN -> B', 'BB -> N', 'BC -> B', 'CC -> N', 'CN -> C']
polymer = my_input[0]
rules = dict()
for line in my_input[2:]:
(pair, insert) = line.split(' -> ')
rules[pair] = insert
steps = 10
for i in range(steps):
polymer_synth = polymer[0]
for x in range(1, len(polymer)):
polymer_synth += rules[polymer[x - 1] + polymer[x]]
polymer_synth += polymer[x]
polymer = polymer_synth
freq = dict()
for char in polymer:
if char in freq:
freq[char] += 1
else:
freq[char] = 1
mce = max(freq.values())
lce = min(freq.values())
print(mce - lce)
polymer = my_input[0]
rules = dict()
for line in my_input[2:]:
(pair, insert) = line.split(' -> ')
rules[pair] = insert
steps = 40
pairs = {symbol: 0 for symbol in rules}
def inc_dict(d):
d_inc = {symbol: 0 for symbol in rules}
for symbol in d:
mid = rules[symbol]
d_inc[symbol[0] + mid] += d[symbol]
d_inc[mid + symbol[1]] += d[symbol]
return d_inc
for x in range(1, len(polymer)):
pairs[polymer[x - 1] + polymer[x]] += 1
for i in range(steps):
pairs = inc_dict(pairs)
elements = dict()
for (k, v) in pairs.items():
if k[0] not in elements.keys():
elements[k[0]] = v / 2
else:
elements[k[0]] += v / 2
if k[1] not in elements.keys():
elements[k[1]] = v / 2
else:
elements[k[1]] += v / 2
elements[polymer[0]] += 0.5
elements[polymer[-1]] += 0.5
elements = {k: int(v) for (k, v) in elements.items()}
mce = max(elements.values())
lce = min(elements.values())
print(mce - lce) |
board = sum([list(input()) for _ in range(3)], [])
assert(board[4] == '1')
rest = list(range(2, 10))
clock = [1, 2, 5, 0, -1, 8, 3, 6, 7]
cclock = [3, 0, 1, 6, -1, 2, 7, 8, 5]
for start in [1, 3, 5, 7]:
for next_idx in [clock, cclock]:
now = start
ans = board[:]
for i in rest:
if board[now] != '?' and board[now] != str(i):
break
ans[now] = str(i)
now = next_idx[now]
else:
assert(all(x != '?' for x in ans))
assert(len(set(ans)) == 9)
ans = ''.join(map(str, ans))
print(*[ans[:3], ans[3:6], ans[6:]], sep='\n')
quit(0)
| board = sum([list(input()) for _ in range(3)], [])
assert board[4] == '1'
rest = list(range(2, 10))
clock = [1, 2, 5, 0, -1, 8, 3, 6, 7]
cclock = [3, 0, 1, 6, -1, 2, 7, 8, 5]
for start in [1, 3, 5, 7]:
for next_idx in [clock, cclock]:
now = start
ans = board[:]
for i in rest:
if board[now] != '?' and board[now] != str(i):
break
ans[now] = str(i)
now = next_idx[now]
else:
assert all((x != '?' for x in ans))
assert len(set(ans)) == 9
ans = ''.join(map(str, ans))
print(*[ans[:3], ans[3:6], ans[6:]], sep='\n')
quit(0) |
# -*- coding: utf-8 -*-
'''
Created on 1983. 08. 09.
@author: Hye-Churn Jang, CMBU Specialist in Korea, VMware [[email protected]]
'''
name = 'Project' # custom resource name
sdk = 'vra' # imported SDK at common directory
inputs = {
'create': {
'VraManager': 'constant'
},
'read': {
},
'update': {
'VraManager': 'constant'
},
'delete': {
'VraManager': 'constant'
}
}
properties = {
'name': {
'type': 'string',
'title': 'name',
'description': 'Unique name of project'
},
'description': {
'type': 'string',
'title': 'description',
'default': '',
'description': 'Project descriptions'
},
'sharedResources': {
'type': 'boolean',
'title': 'sharedResources',
'default': True,
'description': 'Deployments are shared between all users in the project'
},
'administrators': {
'type': 'array',
'title': 'administrators',
'default': [],
'items': {
'type': 'string'
},
'description': 'Accounts of administrator user'
},
'members': {
'type': 'array',
'title': 'members',
'default': [],
'items': {
'type': 'string'
},
'description': 'Accounts of member user'
},
'viewers': {
'type': 'array',
'title': 'viewers',
'default': [],
'items': {
'type': 'string'
},
'description': 'Accounts of viewer user'
},
'zones': {
'type': 'array',
'title': 'viewers',
'default': [],
'items': {
'type': 'string'
},
'description': 'Specify the zones ID that can be used when users provision deployments in this project'
},
'placementPolicy': {
'type': 'string',
'title': 'placementPolicy',
'default': 'default',
'enum': [
'default',
'spread'
],
'description': 'Specify the placement policy that will be applied when selecting a cloud zone for provisioning'
},
'customProperties': {
'type': 'object',
'title': 'customProperties',
'default': {},
'description': 'Specify the custom properties that should be added to all requests in this project'
},
'machineNamingTemplate': {
'type': 'string',
'title': 'machineNamingTemplate',
'default': '',
'description': 'Specify the naming template to be used for machines, networks, security groups and disks provisioned in this project'
},
'operationTimeout': {
'type': 'integer',
'title': 'operationTimeout',
'default': 0,
'description': 'Request timeout seconds'
}
} | """
Created on 1983. 08. 09.
@author: Hye-Churn Jang, CMBU Specialist in Korea, VMware [[email protected]]
"""
name = 'Project'
sdk = 'vra'
inputs = {'create': {'VraManager': 'constant'}, 'read': {}, 'update': {'VraManager': 'constant'}, 'delete': {'VraManager': 'constant'}}
properties = {'name': {'type': 'string', 'title': 'name', 'description': 'Unique name of project'}, 'description': {'type': 'string', 'title': 'description', 'default': '', 'description': 'Project descriptions'}, 'sharedResources': {'type': 'boolean', 'title': 'sharedResources', 'default': True, 'description': 'Deployments are shared between all users in the project'}, 'administrators': {'type': 'array', 'title': 'administrators', 'default': [], 'items': {'type': 'string'}, 'description': 'Accounts of administrator user'}, 'members': {'type': 'array', 'title': 'members', 'default': [], 'items': {'type': 'string'}, 'description': 'Accounts of member user'}, 'viewers': {'type': 'array', 'title': 'viewers', 'default': [], 'items': {'type': 'string'}, 'description': 'Accounts of viewer user'}, 'zones': {'type': 'array', 'title': 'viewers', 'default': [], 'items': {'type': 'string'}, 'description': 'Specify the zones ID that can be used when users provision deployments in this project'}, 'placementPolicy': {'type': 'string', 'title': 'placementPolicy', 'default': 'default', 'enum': ['default', 'spread'], 'description': 'Specify the placement policy that will be applied when selecting a cloud zone for provisioning'}, 'customProperties': {'type': 'object', 'title': 'customProperties', 'default': {}, 'description': 'Specify the custom properties that should be added to all requests in this project'}, 'machineNamingTemplate': {'type': 'string', 'title': 'machineNamingTemplate', 'default': '', 'description': 'Specify the naming template to be used for machines, networks, security groups and disks provisioned in this project'}, 'operationTimeout': {'type': 'integer', 'title': 'operationTimeout', 'default': 0, 'description': 'Request timeout seconds'}} |
class TextBoxBase(FocusWidget):
def getCursorPos(self):
try :
elem = self.getElement()
tr = elem.document.selection.createRange()
if tr.parentElement().uniqueID != elem.uniqueID:
return -1
return -tr.move("character", -65535)
except:
return 0
def getSelectionLength(self):
try :
elem = self.getElement()
tr = elem.document.selection.createRange()
if tr.parentElement().uniqueID != elem.uniqueID:
return 0
return tr.text and len(tr.text) or 0
except:
return 0
def setSelectionRange(self, pos, length):
try :
elem = self.getElement()
tr = elem.createTextRange()
tr.collapse(True)
tr.moveStart('character', pos)
tr.moveEnd('character', length)
tr.select()
except :
pass
def getText(self):
return DOM.getAttribute(self.getElement(), "value") or ""
def setText(self, text):
DOM.setAttribute(self.getElement(), "value", text)
| class Textboxbase(FocusWidget):
def get_cursor_pos(self):
try:
elem = self.getElement()
tr = elem.document.selection.createRange()
if tr.parentElement().uniqueID != elem.uniqueID:
return -1
return -tr.move('character', -65535)
except:
return 0
def get_selection_length(self):
try:
elem = self.getElement()
tr = elem.document.selection.createRange()
if tr.parentElement().uniqueID != elem.uniqueID:
return 0
return tr.text and len(tr.text) or 0
except:
return 0
def set_selection_range(self, pos, length):
try:
elem = self.getElement()
tr = elem.createTextRange()
tr.collapse(True)
tr.moveStart('character', pos)
tr.moveEnd('character', length)
tr.select()
except:
pass
def get_text(self):
return DOM.getAttribute(self.getElement(), 'value') or ''
def set_text(self, text):
DOM.setAttribute(self.getElement(), 'value', text) |
def shape(A):
num_rows = len(A)
num_cols=len(A[0]) if A else 0
return num_rows, num_cols
A=[
[1,2,3],
[3,4,5],
[4,5,6],
[6,7,8]
]
print(shape(A))
| def shape(A):
num_rows = len(A)
num_cols = len(A[0]) if A else 0
return (num_rows, num_cols)
a = [[1, 2, 3], [3, 4, 5], [4, 5, 6], [6, 7, 8]]
print(shape(A)) |
INT_LITTLE_ENDIAN = '<i' # little-endian with 4 bytes
INT_BIG_ENDIAN = '>i' # big-endian with 4 bytes
SHORT_LITTLE_ENDIAN = '<h' # little-endian with 2 bytes
SHORT_BIG_ENDIAN = '<h' # big-endian with 2 bytes
| int_little_endian = '<i'
int_big_endian = '>i'
short_little_endian = '<h'
short_big_endian = '<h' |
'''
lab2
'''
#3.1
my_name = 'Tom'
print(my_name.upper())
#3.
my_id = 123
print(my_id)
#3.3
#123=my_id
my_id=your_id=123
print(my_id)
print(your_id)
#3.4
my_id_str = '123'
print(my_id_str)
#3.5
#print(my_name=my_id)
#3.6
print(my_name+my_id_str)
#3.7
print(my_name*3)
#3.8
print('hello, world. This is my first python string.'.split('.'))
#3.9
message = "Tom's id is 123"
print(message) | """
lab2
"""
my_name = 'Tom'
print(my_name.upper())
my_id = 123
print(my_id)
my_id = your_id = 123
print(my_id)
print(your_id)
my_id_str = '123'
print(my_id_str)
print(my_name + my_id_str)
print(my_name * 3)
print('hello, world. This is my first python string.'.split('.'))
message = "Tom's id is 123"
print(message) |
def vampire_test(x, y):
product = x * y
if len(str(x) + str(y)) != len(str(product)):
return False
for i in str(x) + str(y):
if i in str(product):
return True
else:
return False
| def vampire_test(x, y):
product = x * y
if len(str(x) + str(y)) != len(str(product)):
return False
for i in str(x) + str(y):
if i in str(product):
return True
else:
return False |
#!/usr/bin/env python
class Config(object):
GABRIEL_IP='128.2.213.107'
RECEIVE_FRAME=True
VIDEO_STREAM_PORT = 9098
RESULT_RECEIVING_PORT = 9101
TOKEN=1
| class Config(object):
gabriel_ip = '128.2.213.107'
receive_frame = True
video_stream_port = 9098
result_receiving_port = 9101
token = 1 |
def isEvilNumber(n):
count = 0
for char in str(bin(n)[2:]):
if char == '1':
count += 1
if count % 2 == 0:
return True
else:
return False
print(isEvilNumber(4)) | def is_evil_number(n):
count = 0
for char in str(bin(n)[2:]):
if char == '1':
count += 1
if count % 2 == 0:
return True
else:
return False
print(is_evil_number(4)) |
b1 >> fuzz([0, 2, 3, 5], dur=1/2, amp=0.8, lpf=linvar([100, 1000], 12), lpr=0.4, oct=3).every(16, "shuffle").every(8, "bubble")
d1 >> play("x o [xx] oxx o [xx] {oO} ", room=0.4).every(16, "shuffle")
d2 >> play("[--]", amp=[1.3, 0.5, 0.5, 0.5], hpf=linvar([6000, 10000], 8), hpr=0.4, spin=4)
p1 >> pasha([0, 2, 3, 5], dur=4, oct=4, amp=0.65, pan=[-0.5, 0.5], striate=16).every(9, "bubble")
m1 >> karp([0, 2, 3, 7, 9], dur=[1/2, 1, 1/2, 1, 1, 1/2]).every(12, "shuffle").every(7, "bubble")
p1.every(4, "stutter", 4)
b1.every(8, "rotate")
| b1 >> fuzz([0, 2, 3, 5], dur=1 / 2, amp=0.8, lpf=linvar([100, 1000], 12), lpr=0.4, oct=3).every(16, 'shuffle').every(8, 'bubble')
d1 >> play('x o [xx] oxx o [xx] {oO} ', room=0.4).every(16, 'shuffle')
d2 >> play('[--]', amp=[1.3, 0.5, 0.5, 0.5], hpf=linvar([6000, 10000], 8), hpr=0.4, spin=4)
p1 >> pasha([0, 2, 3, 5], dur=4, oct=4, amp=0.65, pan=[-0.5, 0.5], striate=16).every(9, 'bubble')
m1 >> karp([0, 2, 3, 7, 9], dur=[1 / 2, 1, 1 / 2, 1, 1, 1 / 2]).every(12, 'shuffle').every(7, 'bubble')
p1.every(4, 'stutter', 4)
b1.every(8, 'rotate') |
class Dog:
def __init__(self, age, name, is_male, weight):
self.age = age
self.name = name
self.is_male = is_male # Boolean. True if Male, False if Female.
self.weight = weight
# Create your instance below this line
my_dog = Dog(5, "Yogi", True, 15)
| class Dog:
def __init__(self, age, name, is_male, weight):
self.age = age
self.name = name
self.is_male = is_male
self.weight = weight
my_dog = dog(5, 'Yogi', True, 15) |
# https://www.codechef.com/viewsolution/36973732
for _ in range(int(input())):
n = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(n):
for j in range(i + 1, n):
if a[i] & a[j] == a[i]:
count += 1
print(count) | for _ in range(int(input())):
n = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(n):
for j in range(i + 1, n):
if a[i] & a[j] == a[i]:
count += 1
print(count) |
# This should be an enum once we make our own buildkite AMI with py3
class SupportedPython:
V3_8 = "3.8.1"
V3_7 = "3.7.6"
V3_6 = "3.6.10"
V3_5 = "3.5.8"
V2_7 = "2.7.17"
SupportedPythons = [
SupportedPython.V2_7,
SupportedPython.V3_5,
SupportedPython.V3_6,
SupportedPython.V3_7,
SupportedPython.V3_8,
]
# See: https://github.com/dagster-io/dagster/issues/1960
SupportedPythonsNo38 = [
SupportedPython.V2_7,
SupportedPython.V3_5,
SupportedPython.V3_6,
SupportedPython.V3_7,
]
# See: https://github.com/dagster-io/dagster/issues/1960
SupportedPython3sNo38 = [SupportedPython.V3_7, SupportedPython.V3_6, SupportedPython.V3_5]
SupportedPython3s = [
SupportedPython.V3_5,
SupportedPython.V3_6,
SupportedPython.V3_7,
SupportedPython.V3_8,
]
TOX_MAP = {
SupportedPython.V3_8: "py38",
SupportedPython.V3_7: "py37",
SupportedPython.V3_6: "py36",
SupportedPython.V3_5: "py35",
SupportedPython.V2_7: "py27",
}
| class Supportedpython:
v3_8 = '3.8.1'
v3_7 = '3.7.6'
v3_6 = '3.6.10'
v3_5 = '3.5.8'
v2_7 = '2.7.17'
supported_pythons = [SupportedPython.V2_7, SupportedPython.V3_5, SupportedPython.V3_6, SupportedPython.V3_7, SupportedPython.V3_8]
supported_pythons_no38 = [SupportedPython.V2_7, SupportedPython.V3_5, SupportedPython.V3_6, SupportedPython.V3_7]
supported_python3s_no38 = [SupportedPython.V3_7, SupportedPython.V3_6, SupportedPython.V3_5]
supported_python3s = [SupportedPython.V3_5, SupportedPython.V3_6, SupportedPython.V3_7, SupportedPython.V3_8]
tox_map = {SupportedPython.V3_8: 'py38', SupportedPython.V3_7: 'py37', SupportedPython.V3_6: 'py36', SupportedPython.V3_5: 'py35', SupportedPython.V2_7: 'py27'} |
print(
3 + 4,
3 - 4,
3 * 4,
3 / 4,
3 ** 4,
3 // 4,
3 % 4) # 2
| print(3 + 4, 3 - 4, 3 * 4, 3 / 4, 3 ** 4, 3 // 4, 3 % 4) |
#Project Euler Problem 14
y=True
i=1
maxz=0
while i <= 1000000:
i=i+1
c=0
y=True
n=i
while y:
if n % 2 == 0:
n=n/2
else :
n=3 * n + 1
c=c+1
if c > maxz:
maxz=c
x=i
if n == 1:
y=False
print("max: ",maxz)
print("max no: ",x) | y = True
i = 1
maxz = 0
while i <= 1000000:
i = i + 1
c = 0
y = True
n = i
while y:
if n % 2 == 0:
n = n / 2
else:
n = 3 * n + 1
c = c + 1
if c > maxz:
maxz = c
x = i
if n == 1:
y = False
print('max: ', maxz)
print('max no: ', x) |
# -*- coding: utf-8 -*-
TESTING = True
SECURITY_PASSWORD_HASH = 'plaintext'
SQLALCHEMY_DATABASE_URI = 'sqlite://'
SLIM_FILE_LOGGING_LEVEL = None
# LOGIN_DISABLED = True
# PRESERVE_CONTEXT_ON_EXCEPTION = False
| testing = True
security_password_hash = 'plaintext'
sqlalchemy_database_uri = 'sqlite://'
slim_file_logging_level = None |
# File: atbash_cipher.py
# Purpose: Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.
# Programmer: Amal Shehu
# Course: Exercism
# Date: Thursday 3rd September 2016, 09:15 PM
alpha = "abcdefghijklmnopqrstuvwxyz"
rev = list(alpha)[::-1]
store = dict(zip(alpha, rev))
def decode(string):
dec = ''
for x in string:
dec += str(store[x])
return dec
def encode(string):
enc = ''
for x in string:
enc += str(store.keys[x])
return enc
| alpha = 'abcdefghijklmnopqrstuvwxyz'
rev = list(alpha)[::-1]
store = dict(zip(alpha, rev))
def decode(string):
dec = ''
for x in string:
dec += str(store[x])
return dec
def encode(string):
enc = ''
for x in string:
enc += str(store.keys[x])
return enc |
def _root_path(f):
if f.is_source:
return f.owner.workspace_root
return "/".join([f.root.path, f.owner.workspace_root])
def _colon_paths(data):
return ":".join([
f.path
for f in sorted(data)
])
def encode_named_generators(named_generators):
return ",".join([k + "=" + v for (k, v) in sorted(named_generators.items())])
def proto_to_scala_src(ctx, label, code_generator, compile_proto, include_proto, transitive_proto_paths, flags, jar_output, named_generators, extra_generator_jars):
worker_content = "{output}\n{included_proto}\n{flags_arg}\n{transitive_proto_paths}\n{inputs}\n{protoc}\n{extra_generator_pairs}\n{extra_cp_entries}".format(
output = jar_output.path,
included_proto = "-" + ":".join(sorted(["%s,%s" % (f.root.path, f.path) for f in include_proto])),
# Command line args to worker cannot be empty so using padding
flags_arg = "-" + ",".join(flags),
transitive_proto_paths = "-" + ":".join(sorted(transitive_proto_paths)),
# Command line args to worker cannot be empty so using padding
# Pass inputs seprately because they doesn't always match to imports (ie blacklisted protos are excluded)
inputs = _colon_paths(compile_proto),
protoc = ctx.executable._protoc.path,
extra_generator_pairs = "-" + encode_named_generators(named_generators),
extra_cp_entries = "-" + _colon_paths(extra_generator_jars),
)
toolchain = ctx.toolchains["@io_bazel_rules_scala//scala_proto:toolchain_type"]
argfile = ctx.actions.declare_file(
"%s_worker_input" % label.name,
sibling = jar_output,
)
ctx.actions.write(output = argfile, content = worker_content)
ctx.actions.run(
executable = code_generator.files_to_run,
inputs = compile_proto + include_proto + [argfile, ctx.executable._protoc] + extra_generator_jars,
tools = compile_proto,
outputs = [jar_output],
mnemonic = "ProtoScalaPBRule",
progress_message = "creating scalapb files %s" % ctx.label,
execution_requirements = {"supports-workers": "1"},
env = {"MAIN_GENERATOR": toolchain.main_generator},
arguments = ["@" + argfile.path],
)
| def _root_path(f):
if f.is_source:
return f.owner.workspace_root
return '/'.join([f.root.path, f.owner.workspace_root])
def _colon_paths(data):
return ':'.join([f.path for f in sorted(data)])
def encode_named_generators(named_generators):
return ','.join([k + '=' + v for (k, v) in sorted(named_generators.items())])
def proto_to_scala_src(ctx, label, code_generator, compile_proto, include_proto, transitive_proto_paths, flags, jar_output, named_generators, extra_generator_jars):
worker_content = '{output}\n{included_proto}\n{flags_arg}\n{transitive_proto_paths}\n{inputs}\n{protoc}\n{extra_generator_pairs}\n{extra_cp_entries}'.format(output=jar_output.path, included_proto='-' + ':'.join(sorted(['%s,%s' % (f.root.path, f.path) for f in include_proto])), flags_arg='-' + ','.join(flags), transitive_proto_paths='-' + ':'.join(sorted(transitive_proto_paths)), inputs=_colon_paths(compile_proto), protoc=ctx.executable._protoc.path, extra_generator_pairs='-' + encode_named_generators(named_generators), extra_cp_entries='-' + _colon_paths(extra_generator_jars))
toolchain = ctx.toolchains['@io_bazel_rules_scala//scala_proto:toolchain_type']
argfile = ctx.actions.declare_file('%s_worker_input' % label.name, sibling=jar_output)
ctx.actions.write(output=argfile, content=worker_content)
ctx.actions.run(executable=code_generator.files_to_run, inputs=compile_proto + include_proto + [argfile, ctx.executable._protoc] + extra_generator_jars, tools=compile_proto, outputs=[jar_output], mnemonic='ProtoScalaPBRule', progress_message='creating scalapb files %s' % ctx.label, execution_requirements={'supports-workers': '1'}, env={'MAIN_GENERATOR': toolchain.main_generator}, arguments=['@' + argfile.path]) |
class DBRouter(object):
def db_for_read(self, model, **hints):
if model._meta.app_label == 'panglao':
return 'panglao'
if model._meta.app_label == 'cheapcdn':
return 'cheapcdn'
if model._meta.app_label == 'lifecycle':
return 'lifecycle'
return 'default'
def db_for_write(self, model, **hints):
if model._meta.app_label == 'panglao':
return 'panglao'
if model._meta.app_label == 'cheapcdn':
return 'cheapcdn'
if model._meta.app_label == 'lifecycle':
return 'lifecycle'
return 'default'
def allow_relation(self, obj1, obj2, **hints):
if obj1._meta.app_label == 'panglao':
if obj2._meta.app_label != 'panglao':
return False
if obj1._meta.app_label == 'cheapcdn':
if obj2._meta.app_label != 'cheapcdn':
return False
if obj1._meta.app_label == 'lifecycle':
if obj2._meta.app_label != 'lifecycle':
return False
def allow_migrate(self, db, app_label, **hints):
if db == 'cheapcdn' and app_label == 'cheapcdn':
return True
if db == 'lifecycle' and app_label == 'lifecycle':
return True
return False
| class Dbrouter(object):
def db_for_read(self, model, **hints):
if model._meta.app_label == 'panglao':
return 'panglao'
if model._meta.app_label == 'cheapcdn':
return 'cheapcdn'
if model._meta.app_label == 'lifecycle':
return 'lifecycle'
return 'default'
def db_for_write(self, model, **hints):
if model._meta.app_label == 'panglao':
return 'panglao'
if model._meta.app_label == 'cheapcdn':
return 'cheapcdn'
if model._meta.app_label == 'lifecycle':
return 'lifecycle'
return 'default'
def allow_relation(self, obj1, obj2, **hints):
if obj1._meta.app_label == 'panglao':
if obj2._meta.app_label != 'panglao':
return False
if obj1._meta.app_label == 'cheapcdn':
if obj2._meta.app_label != 'cheapcdn':
return False
if obj1._meta.app_label == 'lifecycle':
if obj2._meta.app_label != 'lifecycle':
return False
def allow_migrate(self, db, app_label, **hints):
if db == 'cheapcdn' and app_label == 'cheapcdn':
return True
if db == 'lifecycle' and app_label == 'lifecycle':
return True
return False |
# -*- coding: utf-8 -*-
def echofilter():
print("OK, 'echofilter()' function executed!")
| def echofilter():
print("OK, 'echofilter()' function executed!") |
test_cases = int(input().strip())
def recursion(n, value):
global result
if value >= result:
return
if n == N:
result = min(result, value)
return
for i in range(N):
if not visited[i]:
visited[i] = True
recursion(n + 1, value + mat[n][i])
visited[i] = False
for t in range(1, test_cases + 1):
N = int(input().strip())
mat = [list(map(int, input().strip().split())) for _ in range(N)]
visited = [False] * N
result = 999999
recursion(0, 0)
print('#{} {}'.format(t, result))
| test_cases = int(input().strip())
def recursion(n, value):
global result
if value >= result:
return
if n == N:
result = min(result, value)
return
for i in range(N):
if not visited[i]:
visited[i] = True
recursion(n + 1, value + mat[n][i])
visited[i] = False
for t in range(1, test_cases + 1):
n = int(input().strip())
mat = [list(map(int, input().strip().split())) for _ in range(N)]
visited = [False] * N
result = 999999
recursion(0, 0)
print('#{} {}'.format(t, result)) |
class LRUCache:
def __init__(self, capacity: int):
self.capacity = capacity
self.items = []
self.indexes = dict()
def get(self, key: int) -> int:
if self.indexes.get(key) is None:
return -1
index = self.indexes[key]
value = self.items[index]
self.put(key, value)
return value
def put(self, key: int, value: int) -> None:
if len(self.items) == self.capacity:
if self.indexes.get(key) is None:
self.items.pop(0)
else:
index = self.indexes[key]
self.items.pop(index)
self.items.append(value)
self.indexes[key] = len(self.items) - 1
# Your LRUCache object will be instantiated and called as such:
# obj = LRUCache(capacity)
# param_1 = obj.get(key)
# obj.put(key,value)
if __name__ == "__main__":
cache = LRUCache(2)
cache.put(1, 1)
cache.put(2, 2)
cache.get(1) # returns 1
cache.put(3, 3) # evicts key 2
cache.get(2) # returns -1 (not found)
cache.put(4, 4) # evicts key 1
cache.get(1) # returns -1 (not found)
cache.get(3) # returns 3
cache.get(4) # returns 4 | class Lrucache:
def __init__(self, capacity: int):
self.capacity = capacity
self.items = []
self.indexes = dict()
def get(self, key: int) -> int:
if self.indexes.get(key) is None:
return -1
index = self.indexes[key]
value = self.items[index]
self.put(key, value)
return value
def put(self, key: int, value: int) -> None:
if len(self.items) == self.capacity:
if self.indexes.get(key) is None:
self.items.pop(0)
else:
index = self.indexes[key]
self.items.pop(index)
self.items.append(value)
self.indexes[key] = len(self.items) - 1
if __name__ == '__main__':
cache = lru_cache(2)
cache.put(1, 1)
cache.put(2, 2)
cache.get(1)
cache.put(3, 3)
cache.get(2)
cache.put(4, 4)
cache.get(1)
cache.get(3)
cache.get(4) |
# coding=utf-8
# autogenerated using ms_props_generator.py
DATA_TYPE_MAP = {
"0x0000": "PtypUnspecified",
"0x0001": "PtypNull",
"0x0002": "PtypInteger16",
"0x0003": "PtypInteger32",
"0x0004": "PtypFloating32",
"0x0005": "PtypFloating64",
"0x0006": "PtypCurrency",
"0x0007": "PtypFloatingTime",
"0x000A": "PtypErrorCode",
"0x000B": "PtypBoolean",
"0x000D": "PtypObject",
"0x0014": "PtypInteger64",
"0x001E": "PtypString8",
"0x001F": "PtypString",
"0x0040": "PtypTime",
"0x0048": "PtypGuid",
"0x00FB": "PtypServerId",
"0x00FD": "PtypRestriction",
"0x00FE": "PtypRuleAction",
"0x0102": "PtypBinary",
"0x1002": "PtypMultipleInteger16",
"0x1003": "PtypMultipleInteger32",
"0x1004": "PtypMultipleFloating32",
"0x1005": "PtypMultipleFloating64",
"0x1006": "PtypMultipleCurrency",
"0x1007": "PtypMultipleFloatingTime",
"0x1014": "PtypMultipleInteger64",
"0x101F": "PtypMultipleString",
"0x101E": "PtypMultipleString8",
"0x1040": "PtypMultipleTime",
"0x1048": "PtypMultipleGuid",
"0x1102": "PtypMultipleBinary"
}
| data_type_map = {'0x0000': 'PtypUnspecified', '0x0001': 'PtypNull', '0x0002': 'PtypInteger16', '0x0003': 'PtypInteger32', '0x0004': 'PtypFloating32', '0x0005': 'PtypFloating64', '0x0006': 'PtypCurrency', '0x0007': 'PtypFloatingTime', '0x000A': 'PtypErrorCode', '0x000B': 'PtypBoolean', '0x000D': 'PtypObject', '0x0014': 'PtypInteger64', '0x001E': 'PtypString8', '0x001F': 'PtypString', '0x0040': 'PtypTime', '0x0048': 'PtypGuid', '0x00FB': 'PtypServerId', '0x00FD': 'PtypRestriction', '0x00FE': 'PtypRuleAction', '0x0102': 'PtypBinary', '0x1002': 'PtypMultipleInteger16', '0x1003': 'PtypMultipleInteger32', '0x1004': 'PtypMultipleFloating32', '0x1005': 'PtypMultipleFloating64', '0x1006': 'PtypMultipleCurrency', '0x1007': 'PtypMultipleFloatingTime', '0x1014': 'PtypMultipleInteger64', '0x101F': 'PtypMultipleString', '0x101E': 'PtypMultipleString8', '0x1040': 'PtypMultipleTime', '0x1048': 'PtypMultipleGuid', '0x1102': 'PtypMultipleBinary'} |
print(' a string that you "dont" have to escape \n This \n is a multi-line \n heredoc string -------> example')
| print(' a string that you "dont" have to escape \n This \n is a multi-line \n heredoc string -------> example') |
def GetXSection(fileName): #[pb]
if fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 70.89
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 69.66
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 68.45
elif fileName.find("SMS-TStauStau-Ewkino_lefthanded_dM-10to40_genHT-80_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0205
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5_PSweights_13TeV-amcatnlo-pythia8_correctnPartonsInBorn") !=-1 : return 3.74
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 118.0
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 116.1
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 114.4
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_mtop1755_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 112.5
elif fileName.find("SMS-TStauStau-Ewkino_lefthanded_dM-50_genHT-80_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0202
elif fileName.find("ST_t-channel_antitop_4f_hdampdown_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("SMS-TStauStau_lefthanded_dM-10to50_genHT-80_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 2.47e-08
elif fileName.find("ST_tW_antitop_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.99
elif fileName.find("SMS-T2bW_X05_dM-10to80_genHT-160_genMET-80_mWMin-0p1_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0008691
elif fileName.find("ST_t-channel_antitop_4f_hdampup_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("ST_t-channel_antitop_4f_hdampdown_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("ST_tW_antitop_5f_hdampup_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.96
elif fileName.find("ST_t-channel_antitop_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_decay") !=-1 : return 82.52
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("ST_t-channel_top_4f_hdampdown_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_t-channel_antitop_4f_hdampup_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1") !=-1 : return 0.0
elif fileName.find("ST_t-channel_antitop_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_prod") !=-1 : return 225.5
elif fileName.find("SMS-T8bbstausnu_XCha0p5_mStop-200to1800_XStau0p25_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.916e-05
elif fileName.find("SMS-T8bbstausnu_mStop-200to1800_XCha0p5_XStau0p75_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.745e-05
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.92
elif fileName.find("ST_t-channel_antitop_4f_Vts_Vtd_prod_leptonicDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 2.534e-09
elif fileName.find("SMS-T2tt_dM-10to80_genHT-160_genMET-80_mWMin-0p1_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.00101
elif fileName.find("SMS-T8bbstausnu_mStop-200to1800_XCha0p5_XStau0p5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.76e-05
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("ST_t-channel_top_4f_hdampup_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_erdON_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("ST_t-channel_top_4f_hdampdown_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_hdampup_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.9
elif fileName.find("ST_t-channel_antitop_4f_hdampdown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 76.17
elif fileName.find("ST_t-channel_antitop_4f_scaledown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.44
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 35.52
elif fileName.find("ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.08155
elif fileName.find("ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.04082
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_t-channel_top_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_decay") !=-1 : return 138.1
elif fileName.find("ST_tW_antitop_5f_DS_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 35.25
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_mtop1755_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 33.4
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5down_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("ST_t-channel_top_4f_hdampup_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("WJetsToLNu_BGenFilter_Wpt-100to200_TuneCP5_13TeV-madgraphMLM-pythia8_newgridpack") !=-1 : return 20.49
elif fileName.find("WJetsToLNu_BGenFilter_Wpt-200toInf_TuneCP5_13TeV-madgraphMLM-pythia8_newgridpack") !=-1 : return 2.934
elif fileName.find("ST_t-channel_antitop_4f_mtop1665_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_antitop_4f_mtop1695_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_antitop_4f_mtop1715_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_antitop_4f_mtop1735_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_antitop_4f_mtop1755_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1") !=-1 : return 0.0
elif fileName.find("ST_t-channel_antitop_4f_mtop1785_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_top_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_prod") !=-1 : return 547.2
elif fileName.find("SMS-T8bbllnunu_XCha0p5_XSlep0p05_mN1_700_1000_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.925e-05
elif fileName.find("SMS-T8bbllnunu_XCha0p5_XSlep0p95_mN1_700_1600_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.708e-05
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR1_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR2_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5_PSweights_correctnPartonsInBorn_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("ST_t-channel_antitop_4f_hdampup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 76.18
elif fileName.find("ST_t-channel_top_4f_Vtd_Vts_prod_leptonicDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 4.209e-09
elif fileName.find("ST_t-channel_antitop_4f_scaleup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_s-channel_4f_leptonDecays_mtop1695_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.991
elif fileName.find("ST_s-channel_4f_leptonDecays_mtop1715_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.824
elif fileName.find("ST_s-channel_4f_leptonDecays_mtop1735_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.653
elif fileName.find("ST_t-channel_antitop_4f_inclusiveDecays_TuneCP5_13TeV-powhegV2-madspin-pythia8") !=-1 : return 67.91
elif fileName.find("ST_s-channel_4f_leptonDecays_mtop1755_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.506
elif fileName.find("SMS-T8bbllnunu_XCha0p5_XSlep0p5_mN1_700_1300_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 5.087e-05
elif fileName.find("ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.6462
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 67.91
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.3233
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5up_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5_erdON_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("TTWJetsToLNu_TuneCP5CR2_GluonMove_PSweights_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2183
elif fileName.find("ST_t-channel_antitop_4f_inclusiveDecays_TuneCUETP8M2T4_13TeV-powhegV2-madspin") !=-1 : return 0.0
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_tW_antitop_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.98
elif fileName.find("TTWJetsToLNu_TuneCP5CR1_QCDbased_PSweights_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2169
elif fileName.find("ST_t-channel_top_4f_hdampdown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 126.5
elif fileName.find("ST_t-channel_top_4f_scaledown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_tW_antitop_5f_scaledown_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 38.06
elif fileName.find("ST_tW_top_5f_inclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 36.58
elif fileName.find("ST_tW_top_5f_inclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 35.46
elif fileName.find("SMS-T2bt-LLChipm_ctau-200_mStop-1550to2500_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.752e-06
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_tW_top_5f_DS_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 33.75
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_tW_top_5f_inclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.38
elif fileName.find("ST_tW_top_5f_inclusiveDecays_mtop1755_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 33.34
elif fileName.find("SMS-T8bbllnunu_XCha0p5_XSlep0p95_mN1_0_650_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.052e-05
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8") !=-1 : return 69.09
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5down_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1695_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1715_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1735_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1755_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_t-channel_top_4f_mtop1665_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_top_4f_mtop1695_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_top_4f_mtop1715_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_top_4f_mtop1735_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_top_4f_mtop1755_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_t-channel_top_4f_mtop1785_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_tW_antitop_5f_mtop1695_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 39.87
elif fileName.find("ST_tW_antitop_5f_mtop1755_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 36.35
elif fileName.find("SMS-T2bW_X05_dM-10to80_2Lfilter_mWMin-0p1_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.003536
elif fileName.find("SMS-T2bt-LLChipm_ctau-10_mStop-1550to2500_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.614e-06
elif fileName.find("SMS-T2bt-LLChipm_ctau-50_mStop-1550to2500_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 2.24e-06
elif fileName.find("ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.03095
elif fileName.find("ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.0155
elif fileName.find("ST_t-channel_eleDecays_anomwtbLVRV_LVRVunphys_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 47.81
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVLT_LVLTunphys_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 84.72
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVRV_LVRVunphys_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 47.69
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR1_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR2_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("ST_tW_antitop_5f_hdampup_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_t-channel_4f_scaledown_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1") !=-1 : return 67.17
elif fileName.find("ST_t-channel_top_4f_hdampup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 126.5
elif fileName.find("ST_t-channel_top_4f_scaleup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8") !=-1 : return 0.0
elif fileName.find("ST_tW_antitop_5f_scaleup_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 38.06
elif fileName.find("ST_t-channel_top_4f_inclusiveDecays_TuneCP5_13TeV-powhegV2-madspin-pythia8") !=-1 : return 113.3
elif fileName.find("ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.2354
elif fileName.find("ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.1177
elif fileName.find("ST_t-channel_eDecays_anomwtbLVRT_LV3RT1_13TeV-comphep-pythia8_TuneCUETP8M1") !=-1 : return 54.49
elif fileName.find("ST_t-channel_muDecays_anomwtbLVLT_LVLTunphys_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 84.86
elif fileName.find("ST_t-channel_muDecays_anomwtbLVRV_LVRVunphys_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 47.63
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 113.3
elif fileName.find("ST_tW_antitop_5f_DS_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 35.25
elif fileName.find("ST_t-channel_antitop_5f_TuneCP5_13TeV-powheg-madspin-pythia8_vtd_vts_decay") !=-1 : return 82.52
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5up_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("DYJetsToLL_M-50_HT-1200to2500_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 0.1937
elif fileName.find("ST_t-channel_top_4f_inclusiveDecays_TuneCUETP8M2T4_13TeV-powhegV2-madspin") !=-1 : return 0.0
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_FCNC-TH_Thadronic_HToWWZZtautau_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.0241
elif fileName.find("ST_FCNC-TH_Tleptonic_HToWWZZtautau_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.01205
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5down_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("ST_t-channel_eDecays_anomwtbLVLT_LVLTunphys_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 84.84
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_t-channel_antitop_5f_TuneCP5_13TeV-powheg-madspin-pythia8_vtd_vts_prod") !=-1 : return 225.5
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_erdON_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("WJetsToLNu_BGenFilter_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 3.774
elif fileName.find("DYJetsToLL_M-50_HT-2500toInf_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 0.003514
elif fileName.find("DYJetsToLL_M-50_HT-800to1200_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 0.8021
elif fileName.find("ST_tW_top_5f_scaledown_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 38.09
elif fileName.find("SMS-T2tt_dM-10to80_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0009043
elif fileName.find("SMS-TChiHH_HToWWZZTauTau_HToWWZZTauTau_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.272e-06
elif fileName.find("ST_FCNC-TH_Thadronic_HToWWZZtautau_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.2215
elif fileName.find("ST_FCNC-TH_Thadronic_HToaa_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.08174
elif fileName.find("ST_FCNC-TH_Tleptonic_HToWWZZtautau_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.1108
elif fileName.find("ST_FCNC-TH_Tleptonic_HToaa_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.0408
elif fileName.find("ST_FCNC-TH_Tleptonic_HTobb_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.0408
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5CR1_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5CR2_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("ST_t-channel_top_4f_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8") !=-1 : return 115.3
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_mtop1695_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_mtop1715_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_mtop1735_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_mtop1755_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 36.65
elif fileName.find("TTJets_SingleLeptFromT_genMET-150_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 5.952
elif fileName.find("WJetsToLNu_BGenFilter_Wpt-40toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 202.9
elif fileName.find("DYJetsToLL_M-50_HT-100to200_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 160.7
elif fileName.find("DYJetsToLL_M-50_HT-200to400_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 48.63
elif fileName.find("DYJetsToLL_M-50_HT-400to600_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 6.993
elif fileName.find("DYJetsToLL_M-50_HT-600to800_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 1.761
elif fileName.find("ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-herwigpp") !=-1 : return 0.0
elif fileName.find("ST_tW_antitop_PSscaledown_5f_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 38.09
elif fileName.find("ST_tW_top_5f_DS_NoFullyHadronicDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 36.21
elif fileName.find("ST_tW_top_5f_mtop1695_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 39.9
elif fileName.find("ST_tW_top_5f_mtop1755_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 36.39
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("SMS-T6bbllslepton_mSbottom-1400To1800_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.512e-05
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5up_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVRT_LV1RT4_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 108.3
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVRT_LV2RT2_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 102.2
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVRT_LV3RT1_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 54.52
elif fileName.find("ST_tW_top_5f_inclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5down_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_hdampup_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.9
elif fileName.find("WJetsToLNu_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_TuneDown") !=-1 : return 50.55
elif fileName.find("DYJetsToLL_M-50_VBFFilter_TuneCP5_PSweights_13TeV-amcatnloFXFX-pythia8") !=-1 : return 266.1
elif fileName.find("DYJetsToLL_M-50_HT-70to100_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 146.5
elif fileName.find("ST_tW_top_5f_scaleup_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 38.09
elif fileName.find("SMS-T6bbllslepton_mSbottom-800To1375_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0005656
elif fileName.find("SMS-TChiStauStau_mChi1050to1200_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0005313
elif fileName.find("ST_FCNC-TH_Thadronic_HToaa_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.6452
elif fileName.find("ST_FCNC-TH_Tleptonic_HToaa_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.323
elif fileName.find("ST_FCNC-TH_Tleptonic_HTobb_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.3227
elif fileName.find("ST_t-channel_muDecays_anomwtbLVRT_LV1RT4_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 108.6
elif fileName.find("ST_t-channel_muDecays_anomwtbLVRT_LV2RT2_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 102.7
elif fileName.find("ST_t-channel_muDecays_anomwtbLVRT_LV3RT1_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 54.72
elif fileName.find("ST_tW_top_5f_DS_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 33.75
elif fileName.find("ST_tW_antitop_5f_DS_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 35.13
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR1_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR2_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("TTJets_SingleLeptFromTbar_genMET-150_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 6.167
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5CR2_GluonMove_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("DYJetsToLL_M-50_VBFFilter_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8") !=-1 : return 202.3
elif fileName.find("ST_tW_antitop_5f_DS_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 36.23
elif fileName.find("ST_tW_antitop_5f_PSscaleup_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 38.06
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("SMS-T2qqgamma_mSq-200to800_dM-5to50_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0002782
elif fileName.find("SMS-T6bbllslepton_mSbottom-400To775_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.03313
elif fileName.find("SMS-TChiStauStau_mLSP-625to800_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0008715
elif fileName.find("ST_t-channel_4f_leptonDecays_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 70.9
elif fileName.find("ST_t-channel_eDecays_anomwtbLVRT_LV1RT4_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 108.9
elif fileName.find("ST_t-channel_eDecays_anomwtbLVRT_LV2RT2_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 102.9
elif fileName.find("ST_tW_top_5f_inclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("SMS-T6ttHZ_BR-H_0p6_mStop1050to1600_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.000122
elif fileName.find("ST_t-channel_top_5f_TuneCP5_13TeV-powheg-madspin-pythia8_vtd_vts_prod") !=-1 : return 547.2
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5up_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_erdON_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("TTJets_SingleLeptFromTbar_genMET-80_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 31.68
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5CR1_QCDbased_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("WJetsToLNu_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_TuneUp") !=-1 : return 50.81
elif fileName.find("DYJetsToLL_M-50_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 0.1512
elif fileName.find("DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_CUETP8M1Down") !=-1 : return 5940.0
elif fileName.find("LambdaBToLambdaMuMu_SoftQCDnonDTest_TuneCUEP8M1_13TeV-pythia8-evtgen") !=-1 : return 1521000.0
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M2T4") !=-1 : return 38.06
elif fileName.find("ST_tW_antitop_5f_mtop1695_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 39.87
elif fileName.find("ST_tW_antitop_5f_mtop1755_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 36.35
elif fileName.find("SMS-T6ttHZ_BR-H_0p6_mStop300to1000_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.00583
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVRT_RT4_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 53.84
elif fileName.find("TTWJetsToLNu_TuneCP5CR2_GluonMove_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2188
elif fileName.find("WJetsToLNu_BGenFilter_Wpt-100to200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 26.44
elif fileName.find("WJetsToLNu_BGenFilter_Wpt-200toInf_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 3.89
elif fileName.find("WJetsToLNu_CGenFilter_Wpt-100to200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 215.2
elif fileName.find("WJetsToLNu_CGenFilter_Wpt-200toInf_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 24.52
elif fileName.find("DYJetsToLL_M-50_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 0.003659
elif fileName.find("DYJetsToLL_M-50_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 0.6229
elif fileName.find("DYJetsToLL_M-50_Zpt-150toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 18.36
elif fileName.find("ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-herwigpp") !=-1 : return 0.0
elif fileName.find("ST_tW_top_PSscaledown_5f_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 38.06
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("MSSM-higgsino_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.08053
elif fileName.find("SMS-TChiHZ_HToWWZZTauTau_2LFilter_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.159e-06
elif fileName.find("SMS-TChiSlepSnu_tauenriched_x0p05_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001499
elif fileName.find("SMS-TChiSlepSnu_tauenriched_x0p95_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001581
elif fileName.find("ST_FCNC-TH_Thadronic_HToaa_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.03097
elif fileName.find("ST_FCNC-TH_Tleptonic_HToaa_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.0155
elif fileName.find("ST_FCNC-TH_Tleptonic_HTobb_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.01551
elif fileName.find("ST_t-channel_muDecays_anomwtbLVRT_RT4_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 53.81
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVLT_LT_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 71.8
elif fileName.find("ST_t-channel_tauDecays_anomwtbLVRV_RV_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 24.06
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCH3_13TeV-powheg-herwig7") !=-1 : return 34.99
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5down_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("TTJets_SingleLeptFromTbar_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8") !=-1 : return 157.9
elif fileName.find("TTJets_SingleLeptFromT_genMET-150_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 6.212
elif fileName.find("TTWJetsToLNu_TuneCP5CR1_QCDbased_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2183
elif fileName.find("DYJetsToLL_M-50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 147.4
elif fileName.find("DYJetsToLL_M-50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 41.04
elif fileName.find("DYJetsToLL_M-50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 5.674
elif fileName.find("DYJetsToLL_M-50_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 1.358
elif fileName.find("DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_CUETP8M1Up") !=-1 : return 5872.0
elif fileName.find("QCD_HT1000to1500_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 189.4
elif fileName.find("QCD_HT1500to2000_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 20.35
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 38.06
elif fileName.find("SMS-T2tt_mStop-2050to2800_mLSP-1_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 5.359e-07
elif fileName.find("SMS-T5qqqqVV_dM20_mGlu-600to2300_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003048
elif fileName.find("SMS-T8bbllnunu_XCha0p5_XSlep0p05_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 5.516e-05
elif fileName.find("SMS-T8bbllnunu_XCha0p5_XSlep0p95_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.501e-05
elif fileName.find("SMS-TChiSlepSnu_tauenriched_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001798
elif fileName.find("ST_FCNC-TH_Thadronic_HToaa_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.2357
elif fileName.find("ST_FCNC-TH_Tleptonic_HToaa_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.1178
elif fileName.find("ST_FCNC-TH_Tleptonic_HTobb_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.1177
elif fileName.find("ST_t-channel_eDecays_anomwtbLVRT_RT4_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 53.7
elif fileName.find("ST_t-channel_muDecays_anomwtbLVLT_LT_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 71.67
elif fileName.find("ST_t-channel_muDecays_anomwtbLVRV_RV_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 24.21
elif fileName.find("ST_tW_top_5f_DS_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 33.67
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR1_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR2_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("TTJets_SingleLeptFromT_genMET-80_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 32.27
elif fileName.find("DYJetsToLL_M-50_HT-70to100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 147.4
elif fileName.find("QCD_HT2000toInf_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 4.463
elif fileName.find("QCD_HT700to1000_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 978.4
elif fileName.find("ST_tW_top_5f_DS_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 36.21
elif fileName.find("ST_tW_top_5f_PSscaleup_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 38.09
elif fileName.find("ST_FCNC-TH_Thadronic_HToaa_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.02415
elif fileName.find("ST_FCNC-TH_Tleptonic_HToaa_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.01206
elif fileName.find("ST_FCNC-TH_Tleptonic_HTobb_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.01205
elif fileName.find("ST_t-channel_eDecays_anomwtbLVLT_LT_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 71.81
elif fileName.find("ST_t-channel_eDecays_anomwtbLVRV_RV_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 24.12
elif fileName.find("SMS-T8bbllnunu_XCha0p5_XSlep0p5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 6.146e-05
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_TuneCP5down_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5up_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("TTWJetsToLNu_TuneCP5_PSweights_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2198
elif fileName.find("QCD_HT200to300_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 154400.0
elif fileName.find("QCD_HT300to500_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 37680.0
elif fileName.find("QCD_HT1000to1500_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 626.0
elif fileName.find("QCD_HT1500to2000_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 67.33
elif fileName.find("QCD_HT500to700_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 4141.0
elif fileName.find("ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1") !=-1 : return 3.365
elif fileName.find("ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M2T4") !=-1 : return 38.09
elif fileName.find("ST_tW_top_5f_mtop1695_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 39.9
elif fileName.find("ST_tW_top_5f_mtop1755_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 36.39
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_13TeV-powheg_TuneCUETP8M1") !=-1 : return 38.06
elif fileName.find("ST_t-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1") !=-1 : return 67.17
elif fileName.find("SMS-TChiWH_HToGG_mChargino-175_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 2.364
elif fileName.find("SMS-TChipmSlepSnu_mC1_825_1500_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 7.128e-05
elif fileName.find("ST_FCNC-TH_Thadronic_HToaa_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.2221
elif fileName.find("ST_FCNC-TH_Tleptonic_HToaa_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.1109
elif fileName.find("ST_FCNC-TH_Tleptonic_HTobb_CtG_CP5_13TeV-mcatnlo-madspin-pythia8") !=-1 : return 0.111
elif fileName.find("ST_tW_DS_antitop_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 35.13
elif fileName.find("TTJets_SingleLeptFromT_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8") !=-1 : return 159.3
elif fileName.find("TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 114.0
elif fileName.find("DYJetsToLL_M-50_HT-1200to2500_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.1933
elif fileName.find("DYJetsToLL_M-50_HT-1200to2500_TuneCP5_14TeV-madgraphMLM-pythia8") !=-1 : return 0.2466
elif fileName.find("QCD_HT2000toInf_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 14.52
elif fileName.find("QCD_HT700to1000_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 3030.0
elif fileName.find("ST_tW_antitop_MEscaledown_5f_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 39.24
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("SMS-TChiWH_WToLNu_HToVVTauTau_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.002159
elif fileName.find("SMS-TSlepSlep_mSlep-500To1300_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.084e-05
elif fileName.find("ST_s-channel_antitop_leptonDecays_13TeV-PSweights_powheg-pythia") !=-1 : return 3.579
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5down_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_TuneCP5up_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_TuneCH3_13TeV-powheg-herwig7") !=-1 : return 34.92
elif fileName.find("TTJets_DiLept_genMET-150_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 3.638
elif fileName.find("WJetsToLNu_HT-1200To2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 1.329
elif fileName.find("WJetsToQQ_HT-800toInf_qc19_3j_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 34.69
elif fileName.find("DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_DownPS") !=-1 : return 5735.0
elif fileName.find("DYJetsToLL_M-50_HT-2500toInf_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.003468
elif fileName.find("DYJetsToLL_M-50_HT-800to1200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.8052
elif fileName.find("DYJetsToLL_M-50_Zpt-150toInf_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 22.93
elif fileName.find("QCD_HT300to500_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 70260.0
elif fileName.find("QCD_HT500to700_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 11200.0
elif fileName.find("ST_tW_antitop_5f_DS_NoFullyHadronicDecays_13TeV-powheg-pythia8") !=-1 : return 36.23
elif fileName.find("ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1") !=-1 : return 38.09
elif fileName.find("ST_t-channel_antitop_5f_TuneCP5_PSweights_13TeV-powheg-pythia8") !=-1 : return 71.74
elif fileName.find("SMS-T2cc_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.001685
elif fileName.find("SMS-T5ttcc_mGluino1750to2800_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.337e-05
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5CR1_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5CR2_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("TTZPrimeToMuMu_M-1000_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.00154
elif fileName.find("TTZPrimeToMuMu_M-1200_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.0006259
elif fileName.find("TTZPrimeToMuMu_M-1300_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.0004131
elif fileName.find("TTZPrimeToMuMu_M-1400_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.0002778
elif fileName.find("TTZPrimeToMuMu_M-1500_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.0001903
elif fileName.find("TTZPrimeToMuMu_M-1600_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.0001325
elif fileName.find("TTZPrimeToMuMu_M-1700_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 9.353e-05
elif fileName.find("TTZPrimeToMuMu_M-1800_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 6.693e-05
elif fileName.find("TTZPrimeToMuMu_M-1900_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 4.862e-05
elif fileName.find("TTZPrimeToMuMu_M-2000_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 3.577e-05
elif fileName.find("WJetsToLNu_DStarFilter_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 1995.0
elif fileName.find("WJetsToLNu_HT-2500ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 0.03209
elif fileName.find("WJetsToLNu_HT-800To1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 5.497
elif fileName.find("WJetsToLNu_Pt-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 627.1
elif fileName.find("WJetsToLNu_Pt-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 21.83
elif fileName.find("WJetsToLNu_Pt-400To600_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 2.635
elif fileName.find("WJetsToLNu_Pt-600ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 0.4102
elif fileName.find("WJetsToLNu_Wpt-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 457.8
elif fileName.find("WJetsToLNu_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 50.48
elif fileName.find("WJetsToQQ_HT400to600_qc19_3j_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 315.2
elif fileName.find("WJetsToQQ_HT600to800_qc19_3j_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 68.58
elif fileName.find("DYJetsToLL_M-500to700_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 0.2334
elif fileName.find("DYJetsToLL_M-50_HT-100to200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 161.1
elif fileName.find("DYJetsToLL_M-50_HT-200to400_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 48.66
elif fileName.find("DYJetsToLL_M-50_HT-400to600_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 6.968
elif fileName.find("DYJetsToLL_M-50_HT-600to800_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1.743
elif fileName.find("ST_tW_antitop_5f_MEscaleup_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 37.24
elif fileName.find("Test_ZprimeToTT_M-4500_W-45_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.000701
elif fileName.find("ST_tW_antitop_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.97
elif fileName.find("MSSM-higgsino_no1l_2lfilter_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.7001
elif fileName.find("SMS-T1qqqq-LLChipm_ctau-200_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.08e-05
elif fileName.find("SMS-T1qqqq-compressedGluino_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.03711
elif fileName.find("SMS-T2tt_dM-10to80_2Lfilter_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.003416
elif fileName.find("SMS-T5ZZ_mGluino-1850to2400_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001696
elif fileName.find("SMS-TChiWZ_ZToLL_dM-90to100_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.01817
elif fileName.find("ST_s-channel_4f_hadronicDecays_TuneCP5_13TeV-amcatnlo-pythia8") !=-1 : return 11.24
elif fileName.find("BdToPsi2sKst_MuTrkFilter_DGamma0_TuneCP5_13TeV-pythia8-evtgen") !=-1 : return 5942000.0
elif fileName.find("ST_s-channel_4f_hadronicDecays_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 11.24
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5up_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 114.0
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5down_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("TTZPrimeToMuMu_M-300_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.2194
elif fileName.find("TTZPrimeToMuMu_M-400_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.06842
elif fileName.find("TTZPrimeToMuMu_M-500_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.0287
elif fileName.find("TTZPrimeToMuMu_M-600_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.01409
elif fileName.find("TTZPrimeToMuMu_M-700_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.007522
elif fileName.find("TTZPrimeToMuMu_M-800_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.004257
elif fileName.find("TTZPrimeToMuMu_M-900_TuneCP5_PSWeights_13TeV-madgraph-pythia8") !=-1 : return 0.002515
elif fileName.find("WJetsToLNu_HT-100To200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 1346.0
elif fileName.find("WJetsToLNu_HT-200To400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 360.1
elif fileName.find("WJetsToLNu_HT-400To600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 48.8
elif fileName.find("WJetsToLNu_HT-600To800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 12.07
elif fileName.find("WjetsToLNu_Pt-50To100_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 3046.0
elif fileName.find("DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_UpPS") !=-1 : return 6005.0
elif fileName.find("DYJetsToLL_M-50_HT-70to100_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 146.7
elif fileName.find("ST_tW_antitop_5f_NoFullyHadronicDecays_13TeV-powheg_herwigpp") !=-1 : return 38.06
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_13TeV-powheg_TuneCUETP8M1") !=-1 : return 38.09
elif fileName.find("SMS-T1qqqq-LLChipm_ctau-10_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.144e-05
elif fileName.find("SMS-T1qqqq-LLChipm_ctau-50_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.646e-05
elif fileName.find("SMS-TChiHH_HToBB_HToTauTau_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.328e-07
elif fileName.find("TChiWZ_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.004759
elif fileName.find("ST_tW_DS_top_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 33.67
elif fileName.find("TTWJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2001
elif fileName.find("TTWJetsToLNu_TuneCUETP8M1_14TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2358
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5CR2_GluonMove_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("WJetsToLNu_HT-70To100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 1353.0
elif fileName.find("WJetsToQQ_HT-600ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 99.65
elif fileName.find("DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-herwigpp_30M") !=-1 : return 14240.0
elif fileName.find("DYJetsToLL_M-50_HT-40to70_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 311.4
elif fileName.find("ST_tW_antitop_fsrdown_5f_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.06
elif fileName.find("ST_tW_antitop_isrdown_5f_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.06
elif fileName.find("ST_tW_top_MEscaledown_5f_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 39.28
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5_13TeV-amcatnlo-pythia8") !=-1 : return 3.74
elif fileName.find("SMS-T2bb_mSbot-1650to2600_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.174e-06
elif fileName.find("SMS-T2bt-LLChipm_ctau-200_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003144
elif fileName.find("SMS-T2qq-LLChipm_ctau-200_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 9.212e-06
elif fileName.find("SMS-T2tt_mStop-1200to2000_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.823e-05
elif fileName.find("SMS-TChiHH_HToBB_HToBB_2D_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.664e-06
elif fileName.find("ST_s-channel_top_leptonDecays_13TeV-PSweights_powheg-pythia") !=-1 : return 5.757
elif fileName.find("TTJets_SingleLeptFromTbar_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 124.6
elif fileName.find("ST_s-channel_4f_leptonDecays_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 3.74
elif fileName.find("TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 0.1194
elif fileName.find("TTJets_SingleLeptFromTbar_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 108.7
elif fileName.find("TTWJetsToQQ_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.405
elif fileName.find("TTZJetsToQQ_Dilept_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 0.0568
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5up_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5CR1_QCDbased_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("QCD_HT1000to1500_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 138.2
elif fileName.find("QCD_HT1500to2000_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 13.61
elif fileName.find("SMS-T2bH_HToGG_mSbot-250_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 14.34
elif fileName.find("SMS-T2bt-LLChipm_ctau-10_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0002197
elif fileName.find("SMS-T2bt-LLChipm_ctau-50_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0004198
elif fileName.find("SMS-T2qq-LLChipm_ctau-10_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 8.05e-06
elif fileName.find("SMS-T2qq-LLChipm_ctau-50_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.013e-05
elif fileName.find("SMS-T2tt_mStop-400to1200_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.001795
elif fileName.find("TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 0.001445
elif fileName.find("TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 0.6736
elif fileName.find("TTJets_DiLept_genMET-150_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 3.655
elif fileName.find("tZq_ll_4f_ckm_NLO_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 0.07358
elif fileName.find("WJetsToLNu_HT-1200To2500_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1.074
elif fileName.find("QCD_HT2000toInf_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 2.92
elif fileName.find("QCD_HT700to1000_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 721.8
elif fileName.find("ST_t-channel_eleDecays_13TeV-comphep-pythia8_TuneCUETP8M1") !=-1 : return 23.9
elif fileName.find("ST_t-channel_tauDecays_13TeV-comphep-pythia8_TuneCUETP8M1") !=-1 : return 23.92
elif fileName.find("ST_tW_antitop_5f_fsrup_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.06
elif fileName.find("ST_tW_antitop_5f_isrup_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.06
elif fileName.find("ST_tW_top_5f_MEscaleup_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 37.28
elif fileName.find("ST_tW_top_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 34.91
elif fileName.find("SMS-T2qq_mSq-1850to2600_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 9.716e-06
elif fileName.find("SMS-T2tt_mStop-150to250_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 20.95
elif fileName.find("SMS-T2tt_mStop-250to350_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.516
elif fileName.find("SMS-TChiWH_WToLNu_HToBB_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.002528
elif fileName.find("VBF-C1N2_leptonicDecays_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003095
elif fileName.find("BdToXKst_MuTrkFilter_DGamma0_TuneCP5_13TeV-pythia8-evtgen") !=-1 : return 7990000.0
elif fileName.find("SMS-T2tt_mStop-350to400_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.487
elif fileName.find("TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 1.65
elif fileName.find("TTJets_DiLept_genMET-80_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 22.45
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5_PSweights_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("WJetsToLNu_HT-2500ToInf_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.008001
elif fileName.find("WJetsToLNu_HT-800To1200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 5.366
elif fileName.find("WJetsToLNu_Pt-100To250_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 779.1
elif fileName.find("WJetsToLNu_Pt-250To400_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 27.98
elif fileName.find("WJetsToLNu_Pt-400To600_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 3.604
elif fileName.find("WJetsToLNu_Pt-600ToInf_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 0.5545
elif fileName.find("DYJetsToLL_M-500to700_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 0.2558
elif fileName.find("DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8_Fall17") !=-1 : return 5350.0
elif fileName.find("QCD_HT300to500_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 27960.0
elif fileName.find("QCD_HT100to200_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 1275000.0
elif fileName.find("QCD_HT200to300_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 111700.0
elif fileName.find("QCD_HT500to700_BGenFilter_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 3078.0
elif fileName.find("ST_t-channel_muDecays_13TeV-comphep-pythia8_TuneCUETP8M1") !=-1 : return 23.89
elif fileName.find("ST_tW_top_5f_NoFullyHadronicDecays_13TeV-powheg_herwigpp") !=-1 : return 38.09
elif fileName.find("ST_tWnunu_5f_LO_TuneCP5_PSweights_13TeV-madgraph-pythia8") !=-1 : return 0.02099
elif fileName.find("SMS-T1ttbb_deltaM5to25_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 6.074e-05
elif fileName.find("SMS-T5Wg_mGo2150To2800_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.449e-05
elif fileName.find("SMS-T6Wg_mSq1850To2450_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.761e-05
elif fileName.find("SMS-TChiHH_HToBB_HToBB_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.546e-07
elif fileName.find("SMS-TChiHZ_HToBB_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 9.084e-07
elif fileName.find("SMS-TChiStauStau_x0p05_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.000755
elif fileName.find("SMS-TChiStauStau_x0p95_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0007372
elif fileName.find("SMS-TChiZZ_ZToLL_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.096e-06
elif fileName.find("TTJets_SingleLeptFromT_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 124.9
elif fileName.find("TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 109.6
elif fileName.find("WJetsToLNu_HT-200To400_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 407.9
elif fileName.find("WJetsToLNu_HT-400To600_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 57.48
elif fileName.find("WJetsToLNu_HT-600To800_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 12.87
elif fileName.find("WJetsToLNu_HT-100To200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1395.0
elif fileName.find("WJetsToLNu_Pt-50To100_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 3570.0
elif fileName.find("DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 5941.0
elif fileName.find("QCD_HT1000to1500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 1207.0
elif fileName.find("QCD_HT1500to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 120.0
elif fileName.find("ST_tW_top_fsrdown_5f_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.09
elif fileName.find("ST_tW_top_isrdown_5f_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.09
elif fileName.find("SMS-TChiSlepSnu_x0p05_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 9.607e-05
elif fileName.find("SMS-TChiSlepSnu_x0p95_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 9.562e-05
elif fileName.find("SMS-TChiStauStau_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.002364
elif fileName.find("SMS-TChipmWW_WWTo2LNu_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.002556
elif fileName.find("TTJets_Dilept_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8") !=-1 : return 76.75
elif fileName.find("TTWJetsToLNu_TuneCP5_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.2149
elif fileName.find("WJetsToLNu_HT-70To100_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1292.0
elif fileName.find("WJetsToLNu_Wpt-0To50_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 61850.0
elif fileName.find("DYJetsToLL_M-50_TuneCUETHS1_13TeV-madgraphMLM-herwigpp") !=-1 : return 358.6
elif fileName.find("DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 4963.0
elif fileName.find("QCD_HT2000toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 25.25
elif fileName.find("QCD_HT700to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 6829.0
elif fileName.find("ST_s-channel_4f_InclusiveDecays_13TeV-amcatnlo-pythia8") !=-1 : return 10.12
elif fileName.find("Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP1-madgraph") !=-1 : return 4.464e-05
elif fileName.find("Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP2-madgraph") !=-1 : return 4.467e-05
elif fileName.find("Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP3-madgraph") !=-1 : return 4.413e-05
elif fileName.find("Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP4-madgraph") !=-1 : return 4.459e-05
elif fileName.find("Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP5-madgraph") !=-1 : return 4.543e-05
elif fileName.find("ST_tWll_5f_LO_TuneCP5_PSweights_13TeV-madgraph-pythia8") !=-1 : return 0.01103
elif fileName.find("SMS-TChiSlepSnu_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.000111
elif fileName.find("TTJets_HT-1200to2500_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.1316
elif fileName.find("TTWJetsToQQ_TuneCP5_13TeV-amcatnloFXFX-madspin-pythia8") !=-1 : return 0.4316
elif fileName.find("WZTo1L1Nu2Q_13TeV_TuneCP5_amcatnloFXFX_madspin_pythia8") !=-1 : return 11.74
elif fileName.find("WJetsToQQ_HT400to600_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1447.0
elif fileName.find("WJetsToQQ_HT600to800_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 318.8
elif fileName.find("QCD_HT100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 28060000.0
elif fileName.find("QCD_HT200to300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 1710000.0
elif fileName.find("QCD_HT300to500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 347500.0
elif fileName.find("QCD_HT500to700_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 32060.0
elif fileName.find("ST_tW_top_5f_fsrup_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.09
elif fileName.find("ST_tW_top_5f_isrup_NoFullyHadronicDecays_13TeV-powheg") !=-1 : return 38.09
elif fileName.find("SMS-TChiNG_BF50N50G_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 2.458e-07
elif fileName.find("TTJets_HT-800to1200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.7532
elif fileName.find("TTJets_HT-2500toInf_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 0.001407
elif fileName.find("QCD_HT50to100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 246300000.0
elif fileName.find("ST_t-channel_eleDecays_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 24.85
elif fileName.find("ST_t-channel_tauDecays_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 24.7
elif fileName.find("VBF-C1N2_tauDecays_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003081
elif fileName.find("ST_t-channel_antitop_5f_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 82.52
elif fileName.find("TTJets_DiLept_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 56.86
elif fileName.find("TTJets_HT-600to800_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1.821
elif fileName.find("TTZToLLNuNu_M-10_TuneCUETP8M1_13TeV-amcatnlo-pythia8") !=-1 : return 0.2529
elif fileName.find("TTZPrimeToMuMu_M-1000_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.001539
elif fileName.find("TTZPrimeToMuMu_M-1200_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.0006278
elif fileName.find("TTZPrimeToMuMu_M-1300_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.0004127
elif fileName.find("TTZPrimeToMuMu_M-1400_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.0002776
elif fileName.find("TTZPrimeToMuMu_M-1500_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.0001899
elif fileName.find("TTZPrimeToMuMu_M-1600_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.0001324
elif fileName.find("TTZPrimeToMuMu_M-1700_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 9.354e-05
elif fileName.find("TTZPrimeToMuMu_M-1800_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 6.694e-05
elif fileName.find("TTZPrimeToMuMu_M-1900_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 4.857e-05
elif fileName.find("TTZPrimeToMuMu_M-2000_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.001539
elif fileName.find("ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8") !=-1 : return 3.365
elif fileName.find("SMS-T6qqllslepton_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 8.693e-05
elif fileName.find("SMS-TChipmSlepSnu_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.00333
elif fileName.find("SMS-TChipmStauSnu_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0005573
elif fileName.find("ST_t-channel_muDecays_13TeV-comphep-pythia8_TuneCP5") !=-1 : return 24.72
elif fileName.find("TTZPrimeToMuMu_M-300_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.22
elif fileName.find("TTZPrimeToMuMu_M-400_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.0684
elif fileName.find("TTZPrimeToMuMu_M-500_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.02871
elif fileName.find("TTZPrimeToMuMu_M-600_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.01408
elif fileName.find("TTZPrimeToMuMu_M-700_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.007514
elif fileName.find("TTZPrimeToMuMu_M-800_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.004255
elif fileName.find("TTZPrimeToMuMu_M-900_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.002517
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5down_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("DYJetsToLL_M-50_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 6529.0
elif fileName.find("QCD_HT1000to1500_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 1.137
elif fileName.find("QCD_HT1500to2000_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 0.02693
elif fileName.find("QCD_HT1000to1500_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1092.0
elif fileName.find("QCD_HT1500to2000_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 99.76
elif fileName.find("SMS-T5Wg_TuneCP2_13TeV-madgraphMLM-pythia8_testCPU") !=-1 : return 0.0007515
elif fileName.find("SMS-T5tttt_dM175_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 8.671e-05
elif fileName.find("SMS-TChiHH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 6.501e-06
elif fileName.find("SMS-TChiHZ_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 5.739e-06
elif fileName.find("SMS-TChiWH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.01489
elif fileName.find("SMS-TChiWZ_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.002535
elif fileName.find("SMS-TChiZZ_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 1.128e-06
elif fileName.find("WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 60430.0
elif fileName.find("DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 5343.0
elif fileName.find("DYJetsToLL_M-50_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 9.402
elif fileName.find("DYJetsToLL_M-50_TuneCP1_13TeV-madgraphMLM-pythia8") !=-1 : return 4661.0
elif fileName.find("DYJetsToLL_M-50_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4878.0
elif fileName.find("QCD_HT2000toInf_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 0.1334
elif fileName.find("QCD_HT700to1000_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 5.65
elif fileName.find("QCD_HT2000toInf_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 20.35
elif fileName.find("QCD_HT700to1000_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 6344.0
elif fileName.find("QCD_Pt-15to7000_TuneCP2_Flat_13TeV_pythia8_FlatPU") !=-1 : return 2060000000.0
elif fileName.find("SMS-T5WgStealth_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0002458
elif fileName.find("SMS-T6WgStealth_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.01157
elif fileName.find("SMS-T6qqWW_dM10_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 9.439e-05
elif fileName.find("SMS-T6qqWW_dM15_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0002814
elif fileName.find("SMS-T6qqWW_dM20_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 8.567e-05
elif fileName.find("SMS-T7WgStealth_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001827
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5up_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("WJetsToLNu_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 50260.0
elif fileName.find("QCD_HT100to200_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 3979.0
elif fileName.find("QCD_HT200to300_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 673.8
elif fileName.find("QCD_HT300to500_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 829.2
elif fileName.find("QCD_HT500to700_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 15.19
elif fileName.find("QCD_HT100to200_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 23590000.0
elif fileName.find("QCD_HT200to300_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 1551000.0
elif fileName.find("QCD_HT300to500_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 323400.0
elif fileName.find("QCD_HT500to700_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 30140.0
elif fileName.find("ST_t-channel_top_5f_TuneCP5_13TeV-powheg-pythia8") !=-1 : return 119.7
elif fileName.find("ST_tch_14TeV_antitop_incl-powheg-pythia8-madspin") !=-1 : return 29.2
elif fileName.find("SMS-T2bH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.01149
elif fileName.find("SMS-T6qqWW_dM5_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001039
elif fileName.find("WJetsToLNu_0J_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 0.0
elif fileName.find("WJetsToLNu_1J_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 0.0
elif fileName.find("WJetsToLNu_2J_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 0.0
elif fileName.find("QCD_HT1000to1500_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 1088.0
elif fileName.find("QCD_HT1500to2000_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 99.11
elif fileName.find("QCD_HT50to100_TuneCH3_13TeV-madgraphMLM-herwig7") !=-1 : return 119700.0
elif fileName.find("QCD_HT50to100_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 185300000.0
elif fileName.find("QCD_Pt-15to7000_TuneCP2_Flat_NoPU_13TeV_pythia8") !=-1 : return 2048000000.0
elif fileName.find("QCD_Pt-15to7000_TuneCP5_Flat_13TeV_pythia8_test") !=-1 : return 1393000000.0
elif fileName.find("SMS-TSlepSlep_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.003472
elif fileName.find("TTJets_DiLept_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 62.49
elif fileName.find("TTJets_DiLept_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 54.23
elif fileName.find("TTZToLLNuNu_M-10_TuneCP5_13TeV-amcatnlo-pythia8") !=-1 : return 0.2432
elif fileName.find("WZTo1L3Nu_13TeV_amcatnloFXFX_madspin_pythia8_v2") !=-1 : return 3.3
elif fileName.find("QCD_HT2000toInf_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 20.23
elif fileName.find("QCD_HT700to1000_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 6334.0
elif fileName.find("SMS-T5bbbbZg_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 5.352e-05
elif fileName.find("SMS-T5qqqqHg_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 5.127e-05
elif fileName.find("SMS-T5qqqqVV_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 8.771e-05
elif fileName.find("SMS-T5ttttZg_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 5.139e-05
elif fileName.find("SMS-TChipmWW_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.000512
elif fileName.find("ST_tWlnuZ_5f_LO_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.001267
elif fileName.find("TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8") !=-1 : return 690.9
elif fileName.find("TTZToLL_M-1to10_TuneCP5_13TeV-amcatnlo-pythia8") !=-1 : return 0.05324
elif fileName.find("TTZJets_TuneCUETP8M1_14TeV_madgraphMLM-pythia8") !=-1 : return 0.6615
elif fileName.find("WZTo1L1Nu2Q_13TeV_amcatnloFXFX_madspin_pythia8") !=-1 : return 10.73
elif fileName.find("QCD_HT100to200_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 23700000.0
elif fileName.find("QCD_HT200to300_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 1547000.0
elif fileName.find("QCD_HT300to500_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 322600.0
elif fileName.find("QCD_HT500to700_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 29980.0
elif fileName.find("SMS-T1qqqqL_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001578
elif fileName.find("ST_tWqqZ_5f_LO_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.001122
elif fileName.find("VBF-C1N2_WZ_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003344
elif fileName.find("TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8") !=-1 : return 511.3
elif fileName.find("TTZZTo4b_5f_LO_TuneCP5_13TeV_madgraph_pythia8") !=-1 : return 0.001385
elif fileName.find("ST_tch_14TeV_top_incl-powheg-pythia8-madspin") !=-1 : return 48.03
elif fileName.find("SMS-T1bbbb_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.653e-05
elif fileName.find("SMS-T1qqqq_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.281e-05
elif fileName.find("SMS-T1ttbb_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 8.06e-05
elif fileName.find("SMS-T1tttt_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 3.855e-05
elif fileName.find("SMS-T5ttcc_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.005095
elif fileName.find("SMS-T6ttWW_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001474
elif fileName.find("SMS-T6ttZg_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 4.206e-05
elif fileName.find("SMS-TChiNG_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 2.484e-07
elif fileName.find("SMS-TChiWG_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 9.996e-05
elif fileName.find("SMS-TChiWZ_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0004769
elif fileName.find("SMS-TChiWH_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003865
elif fileName.find("WZTo1L3Nu_13TeV_amcatnloFXFX_madspin_pythia8") !=-1 : return 3.054
elif fileName.find("ZZTo2Q2Nu_13TeV_amcatnloFXFX_madspin_pythia8") !=-1 : return 4.033
elif fileName.find("WJetsToLNu_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 52940.0
elif fileName.find("TTZToQQ_TuneCUETP8M1_13TeV-amcatnlo-pythia8") !=-1 : return 0.5297
elif fileName.find("WZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8") !=-1 : return 5.606
elif fileName.find("ZZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8") !=-1 : return 3.222
elif fileName.find("ST_tW_DR_14TeV_antitop_incl-powheg-pythia8") !=-1 : return 45.02
elif fileName.find("QCD_Pt-15to7000_TuneCP2_Flat_13TeV_pythia8") !=-1 : return 2051000000.0
elif fileName.find("RPV-monoPhi_TuneCP2_13TeV-madgraph-pythia8") !=-1 : return 0.01296
elif fileName.find("SMS-T2bW_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0002628
elif fileName.find("SMS-T2bb_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0001507
elif fileName.find("SMS-T2bt_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.001012
elif fileName.find("SMS-T2qq_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003827
elif fileName.find("SMS-T5Wg_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0007355
elif fileName.find("SMS-T5ZZ_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.002739
elif fileName.find("SMS-T6Wg_TuneCP2_13TeV-madgraphMLM-pythia8") !=-1 : return 0.0003838
elif fileName.find("TTTW_TuneCUETP8M2T4_13TeV-madgraph-pythia8") !=-1 : return 0.0008612
elif fileName.find("TTWH_TuneCUETP8M2T4_13TeV-madgraph-pythia8") !=-1 : return 0.001344
elif fileName.find("TTWW_TuneCUETP8M2T4_13TeV-madgraph-pythia8") !=-1 : return 0.007834
elif fileName.find("TTWZ_TuneCUETP8M2T4_13TeV-madgraph-pythia8") !=-1 : return 0.002938
elif fileName.find("TTZH_TuneCUETP8M2T4_13TeV-madgraph-pythia8") !=-1 : return 0.001244
elif fileName.find("TTZZ_TuneCUETP8M2T4_13TeV-madgraph-pythia8") !=-1 : return 0.001563
elif fileName.find("TTJets_TuneCP5_13TeV-amcatnloFXFX-pythia8") !=-1 : return 722.8
elif fileName.find("ttWJets_TuneCP5_13TeV_madgraphMLM_pythia8") !=-1 : return 0.4611
elif fileName.find("ttZJets_TuneCP5_13TeV_madgraphMLM_pythia8") !=-1 : return 0.5407
elif fileName.find("WJetsToQQ_HT180_13TeV-madgraphMLM-pythia8") !=-1 : return 3105.0
elif fileName.find("TTJets_TuneCP5_13TeV-madgraphMLM-pythia8") !=-1 : return 496.1
elif fileName.find("ST_tWnunu_5f_LO_13TeV_MadGraph_pythia8") !=-1 : return 0.02124
elif fileName.find("ST_tWnunu_5f_LO_13TeV-MadGraph-pythia8") !=-1 : return 0.02122
elif fileName.find("ST_tW_DR_14TeV_top_incl-powheg-pythia8") !=-1 : return 45.06
elif fileName.find("TTZToQQ_TuneCP5_13TeV-amcatnlo-pythia8") !=-1 : return 0.5104
elif fileName.find("TTZToBB_TuneCP5_13TeV-amcatnlo-pythia8") !=-1 : return 0.1118
elif fileName.find("ST_tWll_5f_LO_13TeV-MadGraph-pythia8") !=-1 : return 0.01104
elif fileName.find("ST_tWll_5f_LO_13TeV_MadGraph_pythia8") !=-1 : return 0.01103
elif fileName.find("TTTW_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.0007314
elif fileName.find("TTWH_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.001141
elif fileName.find("TTWW_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.006979
elif fileName.find("TTWZ_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.002441
elif fileName.find("TTZH_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.00113
elif fileName.find("TTZZ_TuneCP5_13TeV-madgraph-pythia8") !=-1 : return 0.001386
elif fileName.find("WWTo2L2Nu_13TeV-powheg-CUETP8M1Down") !=-1 : return 10.48
elif fileName.find("ZZTo2L2Nu_13TeV_powheg_pythia8_ext1") !=-1 : return 0.5644
elif fileName.find("ttZJets_13TeV_madgraphMLM-pythia8") !=-1 : return 0.6529
elif fileName.find("WWTo2L2Nu_13TeV-powheg-CUETP8M1Up") !=-1 : return 10.48
elif fileName.find("WWTo2L2Nu_13TeV-powheg-herwigpp") !=-1 : return 10.48
elif fileName.find("ZZTo2L2Nu_13TeV_powheg_pythia8") !=-1 : return 0.5644
elif fileName.find("WWTo2L2Nu_13TeV-powheg") !=-1 : return 10.48
elif fileName.find("WWToLNuQQ_13TeV-powheg") !=-1 : return 43.53
elif fileName.find("WJetsToLNu_Wpt-50To100") !=-1 : return 3298.373338
elif fileName.find("WJetsToLNu_Pt-100To250") !=-1 : return 689.749632
elif fileName.find("WJetsToLNu_Pt-250To400") !=-1 : return 24.5069015
elif fileName.find("WJetsToLNu_Pt-400To600") !=-1 : return 3.110130566
elif fileName.find("WJetsToLNu_Pt-600ToInf") !=-1 : return 0.4683178368
elif fileName.find("WJetsToLNu_Wpt-0To50") !=-1 : return 57297.39264
elif fileName.find("TTJetsFXFX") !=-1 : return 831.76
elif fileName.find("SingleMuon")!=-1 or fileName.find("SingleElectron") !=-1 or fileName.find("JetHT") !=-1 or fileName.find("MET") !=-1 or fileName.find("MTHT") !=-1: return 1.
else:
print("Cross section not defined! Returning 0 and skipping sample:\n{}\n".format(fileName))
return 0
| def get_x_section(fileName):
if fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8') != -1:
return 70.89
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8') != -1:
return 69.66
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8') != -1:
return 68.45
elif fileName.find('SMS-TStauStau-Ewkino_lefthanded_dM-10to40_genHT-80_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0205
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5_PSweights_13TeV-amcatnlo-pythia8_correctnPartonsInBorn') != -1:
return 3.74
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8') != -1:
return 118.0
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8') != -1:
return 116.1
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8') != -1:
return 114.4
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_mtop1755_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8') != -1:
return 112.5
elif fileName.find('SMS-TStauStau-Ewkino_lefthanded_dM-50_genHT-80_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0202
elif fileName.find('ST_t-channel_antitop_4f_hdampdown_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('SMS-TStauStau_lefthanded_dM-10to50_genHT-80_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 2.47e-08
elif fileName.find('ST_tW_antitop_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.99
elif fileName.find('SMS-T2bW_X05_dM-10to80_genHT-160_genMET-80_mWMin-0p1_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0008691
elif fileName.find('ST_t-channel_antitop_4f_hdampup_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('ST_t-channel_antitop_4f_hdampdown_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('ST_tW_antitop_5f_hdampup_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.96
elif fileName.find('ST_t-channel_antitop_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_decay') != -1:
return 82.52
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('ST_t-channel_top_4f_hdampdown_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_t-channel_antitop_4f_hdampup_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1') != -1:
return 0.0
elif fileName.find('ST_t-channel_antitop_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_prod') != -1:
return 225.5
elif fileName.find('SMS-T8bbstausnu_XCha0p5_mStop-200to1800_XStau0p25_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.916e-05
elif fileName.find('SMS-T8bbstausnu_mStop-200to1800_XCha0p5_XStau0p75_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.745e-05
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.92
elif fileName.find('ST_t-channel_antitop_4f_Vts_Vtd_prod_leptonicDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 2.534e-09
elif fileName.find('SMS-T2tt_dM-10to80_genHT-160_genMET-80_mWMin-0p1_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.00101
elif fileName.find('SMS-T8bbstausnu_mStop-200to1800_XCha0p5_XStau0p5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.76e-05
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('ST_t-channel_top_4f_hdampup_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_erdON_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('ST_t-channel_top_4f_hdampdown_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_hdampup_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.9
elif fileName.find('ST_t-channel_antitop_4f_hdampdown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 76.17
elif fileName.find('ST_t-channel_antitop_4f_scaledown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.44
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 35.52
elif fileName.find('ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.08155
elif fileName.find('ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.04082
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_t-channel_top_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_decay') != -1:
return 138.1
elif fileName.find('ST_tW_antitop_5f_DS_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 35.25
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_mtop1755_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 33.4
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5down_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('ST_t-channel_top_4f_hdampup_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('WJetsToLNu_BGenFilter_Wpt-100to200_TuneCP5_13TeV-madgraphMLM-pythia8_newgridpack') != -1:
return 20.49
elif fileName.find('WJetsToLNu_BGenFilter_Wpt-200toInf_TuneCP5_13TeV-madgraphMLM-pythia8_newgridpack') != -1:
return 2.934
elif fileName.find('ST_t-channel_antitop_4f_mtop1665_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_antitop_4f_mtop1695_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_antitop_4f_mtop1715_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_antitop_4f_mtop1735_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_antitop_4f_mtop1755_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1') != -1:
return 0.0
elif fileName.find('ST_t-channel_antitop_4f_mtop1785_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_top_5f_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8_vtd_vts_prod') != -1:
return 547.2
elif fileName.find('SMS-T8bbllnunu_XCha0p5_XSlep0p05_mN1_700_1000_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.925e-05
elif fileName.find('SMS-T8bbllnunu_XCha0p5_XSlep0p95_mN1_700_1600_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.708e-05
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_erdON_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR1_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5CR2_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5_PSweights_correctnPartonsInBorn_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('ST_t-channel_antitop_4f_hdampup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 76.18
elif fileName.find('ST_t-channel_top_4f_Vtd_Vts_prod_leptonicDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 4.209e-09
elif fileName.find('ST_t-channel_antitop_4f_scaleup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_s-channel_4f_leptonDecays_mtop1695_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.991
elif fileName.find('ST_s-channel_4f_leptonDecays_mtop1715_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.824
elif fileName.find('ST_s-channel_4f_leptonDecays_mtop1735_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.653
elif fileName.find('ST_t-channel_antitop_4f_inclusiveDecays_TuneCP5_13TeV-powhegV2-madspin-pythia8') != -1:
return 67.91
elif fileName.find('ST_s-channel_4f_leptonDecays_mtop1755_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.506
elif fileName.find('SMS-T8bbllnunu_XCha0p5_XSlep0p5_mN1_700_1300_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 5.087e-05
elif fileName.find('ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.6462
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 67.91
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.3233
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5up_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5_erdON_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('TTWJetsToLNu_TuneCP5CR2_GluonMove_PSweights_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2183
elif fileName.find('ST_t-channel_antitop_4f_inclusiveDecays_TuneCUETP8M2T4_13TeV-powhegV2-madspin') != -1:
return 0.0
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_tW_antitop_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.98
elif fileName.find('TTWJetsToLNu_TuneCP5CR1_QCDbased_PSweights_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2169
elif fileName.find('ST_t-channel_top_4f_hdampdown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 126.5
elif fileName.find('ST_t-channel_top_4f_scaledown_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_tW_antitop_5f_scaledown_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 38.06
elif fileName.find('ST_tW_top_5f_inclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 36.58
elif fileName.find('ST_tW_top_5f_inclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 35.46
elif fileName.find('SMS-T2bt-LLChipm_ctau-200_mStop-1550to2500_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.752e-06
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_tW_top_5f_DS_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 33.75
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR1_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR2_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_tW_top_5f_inclusiveDecays_mtop1735_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.38
elif fileName.find('ST_tW_top_5f_inclusiveDecays_mtop1755_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 33.34
elif fileName.find('SMS-T8bbllnunu_XCha0p5_XSlep0p95_mN1_0_650_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.052e-05
elif fileName.find('ST_t-channel_antitop_4f_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8') != -1:
return 69.09
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5down_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1695_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1715_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1735_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_mtop1755_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_t-channel_top_4f_mtop1665_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_top_4f_mtop1695_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_top_4f_mtop1715_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_top_4f_mtop1735_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_top_4f_mtop1755_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_t-channel_top_4f_mtop1785_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_tW_antitop_5f_mtop1695_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 39.87
elif fileName.find('ST_tW_antitop_5f_mtop1755_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 36.35
elif fileName.find('SMS-T2bW_X05_dM-10to80_2Lfilter_mWMin-0p1_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.003536
elif fileName.find('SMS-T2bt-LLChipm_ctau-10_mStop-1550to2500_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.614e-06
elif fileName.find('SMS-T2bt-LLChipm_ctau-50_mStop-1550to2500_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 2.24e-06
elif fileName.find('ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.03095
elif fileName.find('ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.0155
elif fileName.find('ST_t-channel_eleDecays_anomwtbLVRV_LVRVunphys_13TeV-comphep-pythia8_TuneCP5') != -1:
return 47.81
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVLT_LVLTunphys_13TeV-comphep-pythia8_TuneCP5') != -1:
return 84.72
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVRV_LVRVunphys_13TeV-comphep-pythia8_TuneCP5') != -1:
return 47.69
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR1_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5CR2_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('ST_tW_antitop_5f_hdampup_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_t-channel_4f_scaledown_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1') != -1:
return 67.17
elif fileName.find('ST_t-channel_top_4f_hdampup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 126.5
elif fileName.find('ST_t-channel_top_4f_scaleup_inclusiveDecays_13TeV-powhegV2-madspin-pythia8') != -1:
return 0.0
elif fileName.find('ST_tW_antitop_5f_scaleup_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 38.06
elif fileName.find('ST_t-channel_top_4f_inclusiveDecays_TuneCP5_13TeV-powhegV2-madspin-pythia8') != -1:
return 113.3
elif fileName.find('ST_FCNC-TH_Thadronic_HToWWZZtautau_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.2354
elif fileName.find('ST_FCNC-TH_Tleptonic_HToWWZZtautau_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.1177
elif fileName.find('ST_t-channel_eDecays_anomwtbLVRT_LV3RT1_13TeV-comphep-pythia8_TuneCUETP8M1') != -1:
return 54.49
elif fileName.find('ST_t-channel_muDecays_anomwtbLVLT_LVLTunphys_13TeV-comphep-pythia8_TuneCP5') != -1:
return 84.86
elif fileName.find('ST_t-channel_muDecays_anomwtbLVRV_LVRVunphys_13TeV-comphep-pythia8_TuneCP5') != -1:
return 47.63
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 113.3
elif fileName.find('ST_tW_antitop_5f_DS_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 35.25
elif fileName.find('ST_t-channel_antitop_5f_TuneCP5_13TeV-powheg-madspin-pythia8_vtd_vts_decay') != -1:
return 82.52
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5up_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('DYJetsToLL_M-50_HT-1200to2500_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 0.1937
elif fileName.find('ST_t-channel_top_4f_inclusiveDecays_TuneCUETP8M2T4_13TeV-powhegV2-madspin') != -1:
return 0.0
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_FCNC-TH_Thadronic_HToWWZZtautau_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.0241
elif fileName.find('ST_FCNC-TH_Tleptonic_HToWWZZtautau_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.01205
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5down_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('ST_t-channel_eDecays_anomwtbLVLT_LVLTunphys_13TeV-comphep-pythia8_TuneCP5') != -1:
return 84.84
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_t-channel_antitop_5f_TuneCP5_13TeV-powheg-madspin-pythia8_vtd_vts_prod') != -1:
return 225.5
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_erdON_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_hdampdown_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('WJetsToLNu_BGenFilter_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 3.774
elif fileName.find('DYJetsToLL_M-50_HT-2500toInf_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 0.003514
elif fileName.find('DYJetsToLL_M-50_HT-800to1200_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 0.8021
elif fileName.find('ST_tW_top_5f_scaledown_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 38.09
elif fileName.find('SMS-T2tt_dM-10to80_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0009043
elif fileName.find('SMS-TChiHH_HToWWZZTauTau_HToWWZZTauTau_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.272e-06
elif fileName.find('ST_FCNC-TH_Thadronic_HToWWZZtautau_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.2215
elif fileName.find('ST_FCNC-TH_Thadronic_HToaa_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.08174
elif fileName.find('ST_FCNC-TH_Tleptonic_HToWWZZtautau_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.1108
elif fileName.find('ST_FCNC-TH_Tleptonic_HToaa_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.0408
elif fileName.find('ST_FCNC-TH_Tleptonic_HTobb_Ctcphi_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.0408
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5CR1_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5CR2_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('ST_t-channel_top_4f_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8') != -1:
return 115.3
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_mtop1695_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_mtop1715_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_mtop1735_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_mtop1755_TuneCP5_13TeV-powheg-pythia8') != -1:
return 36.65
elif fileName.find('TTJets_SingleLeptFromT_genMET-150_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 5.952
elif fileName.find('WJetsToLNu_BGenFilter_Wpt-40toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 202.9
elif fileName.find('DYJetsToLL_M-50_HT-100to200_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 160.7
elif fileName.find('DYJetsToLL_M-50_HT-200to400_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 48.63
elif fileName.find('DYJetsToLL_M-50_HT-400to600_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 6.993
elif fileName.find('DYJetsToLL_M-50_HT-600to800_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 1.761
elif fileName.find('ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-herwigpp') != -1:
return 0.0
elif fileName.find('ST_tW_antitop_PSscaledown_5f_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 38.09
elif fileName.find('ST_tW_top_5f_DS_NoFullyHadronicDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 36.21
elif fileName.find('ST_tW_top_5f_mtop1695_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 39.9
elif fileName.find('ST_tW_top_5f_mtop1755_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 36.39
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('SMS-T6bbllslepton_mSbottom-1400To1800_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.512e-05
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5up_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVRT_LV1RT4_13TeV-comphep-pythia8_TuneCP5') != -1:
return 108.3
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVRT_LV2RT2_13TeV-comphep-pythia8_TuneCP5') != -1:
return 102.2
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVRT_LV3RT1_13TeV-comphep-pythia8_TuneCP5') != -1:
return 54.52
elif fileName.find('ST_tW_top_5f_inclusiveDecays_TuneCP5down_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5down_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_hdampup_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.9
elif fileName.find('WJetsToLNu_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_TuneDown') != -1:
return 50.55
elif fileName.find('DYJetsToLL_M-50_VBFFilter_TuneCP5_PSweights_13TeV-amcatnloFXFX-pythia8') != -1:
return 266.1
elif fileName.find('DYJetsToLL_M-50_HT-70to100_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 146.5
elif fileName.find('ST_tW_top_5f_scaleup_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 38.09
elif fileName.find('SMS-T6bbllslepton_mSbottom-800To1375_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0005656
elif fileName.find('SMS-TChiStauStau_mChi1050to1200_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0005313
elif fileName.find('ST_FCNC-TH_Thadronic_HToaa_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.6452
elif fileName.find('ST_FCNC-TH_Tleptonic_HToaa_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.323
elif fileName.find('ST_FCNC-TH_Tleptonic_HTobb_Ctphi_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.3227
elif fileName.find('ST_t-channel_muDecays_anomwtbLVRT_LV1RT4_13TeV-comphep-pythia8_TuneCP5') != -1:
return 108.6
elif fileName.find('ST_t-channel_muDecays_anomwtbLVRT_LV2RT2_13TeV-comphep-pythia8_TuneCP5') != -1:
return 102.7
elif fileName.find('ST_t-channel_muDecays_anomwtbLVRT_LV3RT1_13TeV-comphep-pythia8_TuneCP5') != -1:
return 54.72
elif fileName.find('ST_tW_top_5f_DS_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 33.75
elif fileName.find('ST_tW_antitop_5f_DS_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 35.13
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR1_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5CR2_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('TTJets_SingleLeptFromTbar_genMET-150_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 6.167
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5CR2_GluonMove_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('DYJetsToLL_M-50_VBFFilter_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8') != -1:
return 202.3
elif fileName.find('ST_tW_antitop_5f_DS_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 36.23
elif fileName.find('ST_tW_antitop_5f_PSscaleup_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 38.06
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('SMS-T2qqgamma_mSq-200to800_dM-5to50_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0002782
elif fileName.find('SMS-T6bbllslepton_mSbottom-400To775_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.03313
elif fileName.find('SMS-TChiStauStau_mLSP-625to800_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0008715
elif fileName.find('ST_t-channel_4f_leptonDecays_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 70.9
elif fileName.find('ST_t-channel_eDecays_anomwtbLVRT_LV1RT4_13TeV-comphep-pythia8_TuneCP5') != -1:
return 108.9
elif fileName.find('ST_t-channel_eDecays_anomwtbLVRT_LV2RT2_13TeV-comphep-pythia8_TuneCP5') != -1:
return 102.9
elif fileName.find('ST_tW_top_5f_inclusiveDecays_TuneCP5up_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('SMS-T6ttHZ_BR-H_0p6_mStop1050to1600_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.000122
elif fileName.find('ST_t-channel_top_5f_TuneCP5_13TeV-powheg-madspin-pythia8_vtd_vts_prod') != -1:
return 547.2
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5up_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_erdON_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('TTJets_SingleLeptFromTbar_genMET-80_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 31.68
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5CR1_QCDbased_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('WJetsToLNu_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_TuneUp') != -1:
return 50.81
elif fileName.find('DYJetsToLL_M-50_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 0.1512
elif fileName.find('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_CUETP8M1Down') != -1:
return 5940.0
elif fileName.find('LambdaBToLambdaMuMu_SoftQCDnonDTest_TuneCUEP8M1_13TeV-pythia8-evtgen') != -1:
return 1521000.0
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M2T4') != -1:
return 38.06
elif fileName.find('ST_tW_antitop_5f_mtop1695_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 39.87
elif fileName.find('ST_tW_antitop_5f_mtop1755_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 36.35
elif fileName.find('SMS-T6ttHZ_BR-H_0p6_mStop300to1000_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.00583
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVRT_RT4_13TeV-comphep-pythia8_TuneCP5') != -1:
return 53.84
elif fileName.find('TTWJetsToLNu_TuneCP5CR2_GluonMove_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2188
elif fileName.find('WJetsToLNu_BGenFilter_Wpt-100to200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 26.44
elif fileName.find('WJetsToLNu_BGenFilter_Wpt-200toInf_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 3.89
elif fileName.find('WJetsToLNu_CGenFilter_Wpt-100to200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 215.2
elif fileName.find('WJetsToLNu_CGenFilter_Wpt-200toInf_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 24.52
elif fileName.find('DYJetsToLL_M-50_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 0.003659
elif fileName.find('DYJetsToLL_M-50_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 0.6229
elif fileName.find('DYJetsToLL_M-50_Zpt-150toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 18.36
elif fileName.find('ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-herwigpp') != -1:
return 0.0
elif fileName.find('ST_tW_top_PSscaledown_5f_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 38.06
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_inclusiveDecays_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('MSSM-higgsino_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.08053
elif fileName.find('SMS-TChiHZ_HToWWZZTauTau_2LFilter_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.159e-06
elif fileName.find('SMS-TChiSlepSnu_tauenriched_x0p05_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001499
elif fileName.find('SMS-TChiSlepSnu_tauenriched_x0p95_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001581
elif fileName.find('ST_FCNC-TH_Thadronic_HToaa_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.03097
elif fileName.find('ST_FCNC-TH_Tleptonic_HToaa_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.0155
elif fileName.find('ST_FCNC-TH_Tleptonic_HTobb_Ctcphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.01551
elif fileName.find('ST_t-channel_muDecays_anomwtbLVRT_RT4_13TeV-comphep-pythia8_TuneCP5') != -1:
return 53.81
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVLT_LT_13TeV-comphep-pythia8_TuneCP5') != -1:
return 71.8
elif fileName.find('ST_t-channel_tauDecays_anomwtbLVRV_RV_13TeV-comphep-pythia8_TuneCP5') != -1:
return 24.06
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_TuneCH3_13TeV-powheg-herwig7') != -1:
return 34.99
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5down_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('TTJets_SingleLeptFromTbar_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8') != -1:
return 157.9
elif fileName.find('TTJets_SingleLeptFromT_genMET-150_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 6.212
elif fileName.find('TTWJetsToLNu_TuneCP5CR1_QCDbased_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2183
elif fileName.find('DYJetsToLL_M-50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 147.4
elif fileName.find('DYJetsToLL_M-50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 41.04
elif fileName.find('DYJetsToLL_M-50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 5.674
elif fileName.find('DYJetsToLL_M-50_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 1.358
elif fileName.find('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_CUETP8M1Up') != -1:
return 5872.0
elif fileName.find('QCD_HT1000to1500_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 189.4
elif fileName.find('QCD_HT1500to2000_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 20.35
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 38.06
elif fileName.find('SMS-T2tt_mStop-2050to2800_mLSP-1_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 5.359e-07
elif fileName.find('SMS-T5qqqqVV_dM20_mGlu-600to2300_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003048
elif fileName.find('SMS-T8bbllnunu_XCha0p5_XSlep0p05_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 5.516e-05
elif fileName.find('SMS-T8bbllnunu_XCha0p5_XSlep0p95_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.501e-05
elif fileName.find('SMS-TChiSlepSnu_tauenriched_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001798
elif fileName.find('ST_FCNC-TH_Thadronic_HToaa_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.2357
elif fileName.find('ST_FCNC-TH_Tleptonic_HToaa_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.1178
elif fileName.find('ST_FCNC-TH_Tleptonic_HTobb_Ctphi_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.1177
elif fileName.find('ST_t-channel_eDecays_anomwtbLVRT_RT4_13TeV-comphep-pythia8_TuneCP5') != -1:
return 53.7
elif fileName.find('ST_t-channel_muDecays_anomwtbLVLT_LT_13TeV-comphep-pythia8_TuneCP5') != -1:
return 71.67
elif fileName.find('ST_t-channel_muDecays_anomwtbLVRV_RV_13TeV-comphep-pythia8_TuneCP5') != -1:
return 24.21
elif fileName.find('ST_tW_top_5f_DS_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 33.67
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR1_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5CR2_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('TTJets_SingleLeptFromT_genMET-80_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 32.27
elif fileName.find('DYJetsToLL_M-50_HT-70to100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 147.4
elif fileName.find('QCD_HT2000toInf_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 4.463
elif fileName.find('QCD_HT700to1000_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 978.4
elif fileName.find('ST_tW_top_5f_DS_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 36.21
elif fileName.find('ST_tW_top_5f_PSscaleup_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 38.09
elif fileName.find('ST_FCNC-TH_Thadronic_HToaa_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.02415
elif fileName.find('ST_FCNC-TH_Tleptonic_HToaa_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.01206
elif fileName.find('ST_FCNC-TH_Tleptonic_HTobb_CtcG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.01205
elif fileName.find('ST_t-channel_eDecays_anomwtbLVLT_LT_13TeV-comphep-pythia8_TuneCP5') != -1:
return 71.81
elif fileName.find('ST_t-channel_eDecays_anomwtbLVRV_RV_13TeV-comphep-pythia8_TuneCP5') != -1:
return 24.12
elif fileName.find('SMS-T8bbllnunu_XCha0p5_XSlep0p5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 6.146e-05
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_TuneCP5down_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5up_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('TTWJetsToLNu_TuneCP5_PSweights_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2198
elif fileName.find('QCD_HT200to300_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 154400.0
elif fileName.find('QCD_HT300to500_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 37680.0
elif fileName.find('QCD_HT1000to1500_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 626.0
elif fileName.find('QCD_HT1500to2000_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 67.33
elif fileName.find('QCD_HT500to700_BGenFilter_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 4141.0
elif fileName.find('ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1') != -1:
return 3.365
elif fileName.find('ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M2T4') != -1:
return 38.09
elif fileName.find('ST_tW_top_5f_mtop1695_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 39.9
elif fileName.find('ST_tW_top_5f_mtop1755_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 36.39
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_13TeV-powheg_TuneCUETP8M1') != -1:
return 38.06
elif fileName.find('ST_t-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1') != -1:
return 67.17
elif fileName.find('SMS-TChiWH_HToGG_mChargino-175_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 2.364
elif fileName.find('SMS-TChipmSlepSnu_mC1_825_1500_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 7.128e-05
elif fileName.find('ST_FCNC-TH_Thadronic_HToaa_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.2221
elif fileName.find('ST_FCNC-TH_Tleptonic_HToaa_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.1109
elif fileName.find('ST_FCNC-TH_Tleptonic_HTobb_CtG_CP5_13TeV-mcatnlo-madspin-pythia8') != -1:
return 0.111
elif fileName.find('ST_tW_DS_antitop_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 35.13
elif fileName.find('TTJets_SingleLeptFromT_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8') != -1:
return 159.3
elif fileName.find('TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 114.0
elif fileName.find('DYJetsToLL_M-50_HT-1200to2500_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.1933
elif fileName.find('DYJetsToLL_M-50_HT-1200to2500_TuneCP5_14TeV-madgraphMLM-pythia8') != -1:
return 0.2466
elif fileName.find('QCD_HT2000toInf_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 14.52
elif fileName.find('QCD_HT700to1000_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 3030.0
elif fileName.find('ST_tW_antitop_MEscaledown_5f_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 39.24
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('SMS-TChiWH_WToLNu_HToVVTauTau_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.002159
elif fileName.find('SMS-TSlepSlep_mSlep-500To1300_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.084e-05
elif fileName.find('ST_s-channel_antitop_leptonDecays_13TeV-PSweights_powheg-pythia') != -1:
return 3.579
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5down_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_TuneCP5up_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_TuneCH3_13TeV-powheg-herwig7') != -1:
return 34.92
elif fileName.find('TTJets_DiLept_genMET-150_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 3.638
elif fileName.find('WJetsToLNu_HT-1200To2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 1.329
elif fileName.find('WJetsToQQ_HT-800toInf_qc19_3j_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 34.69
elif fileName.find('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_DownPS') != -1:
return 5735.0
elif fileName.find('DYJetsToLL_M-50_HT-2500toInf_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.003468
elif fileName.find('DYJetsToLL_M-50_HT-800to1200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.8052
elif fileName.find('DYJetsToLL_M-50_Zpt-150toInf_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 22.93
elif fileName.find('QCD_HT300to500_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 70260.0
elif fileName.find('QCD_HT500to700_GenJets5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 11200.0
elif fileName.find('ST_tW_antitop_5f_DS_NoFullyHadronicDecays_13TeV-powheg-pythia8') != -1:
return 36.23
elif fileName.find('ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1') != -1:
return 38.09
elif fileName.find('ST_t-channel_antitop_5f_TuneCP5_PSweights_13TeV-powheg-pythia8') != -1:
return 71.74
elif fileName.find('SMS-T2cc_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.001685
elif fileName.find('SMS-T5ttcc_mGluino1750to2800_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.337e-05
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5CR1_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5CR2_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('TTZPrimeToMuMu_M-1000_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.00154
elif fileName.find('TTZPrimeToMuMu_M-1200_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.0006259
elif fileName.find('TTZPrimeToMuMu_M-1300_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.0004131
elif fileName.find('TTZPrimeToMuMu_M-1400_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.0002778
elif fileName.find('TTZPrimeToMuMu_M-1500_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.0001903
elif fileName.find('TTZPrimeToMuMu_M-1600_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.0001325
elif fileName.find('TTZPrimeToMuMu_M-1700_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 9.353e-05
elif fileName.find('TTZPrimeToMuMu_M-1800_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 6.693e-05
elif fileName.find('TTZPrimeToMuMu_M-1900_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 4.862e-05
elif fileName.find('TTZPrimeToMuMu_M-2000_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 3.577e-05
elif fileName.find('WJetsToLNu_DStarFilter_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 1995.0
elif fileName.find('WJetsToLNu_HT-2500ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 0.03209
elif fileName.find('WJetsToLNu_HT-800To1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 5.497
elif fileName.find('WJetsToLNu_Pt-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 627.1
elif fileName.find('WJetsToLNu_Pt-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 21.83
elif fileName.find('WJetsToLNu_Pt-400To600_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 2.635
elif fileName.find('WJetsToLNu_Pt-600ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 0.4102
elif fileName.find('WJetsToLNu_Wpt-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 457.8
elif fileName.find('WJetsToLNu_Wpt-200toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 50.48
elif fileName.find('WJetsToQQ_HT400to600_qc19_3j_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 315.2
elif fileName.find('WJetsToQQ_HT600to800_qc19_3j_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 68.58
elif fileName.find('DYJetsToLL_M-500to700_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 0.2334
elif fileName.find('DYJetsToLL_M-50_HT-100to200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 161.1
elif fileName.find('DYJetsToLL_M-50_HT-200to400_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 48.66
elif fileName.find('DYJetsToLL_M-50_HT-400to600_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 6.968
elif fileName.find('DYJetsToLL_M-50_HT-600to800_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1.743
elif fileName.find('ST_tW_antitop_5f_MEscaleup_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 37.24
elif fileName.find('Test_ZprimeToTT_M-4500_W-45_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.000701
elif fileName.find('ST_tW_antitop_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.97
elif fileName.find('MSSM-higgsino_no1l_2lfilter_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.7001
elif fileName.find('SMS-T1qqqq-LLChipm_ctau-200_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.08e-05
elif fileName.find('SMS-T1qqqq-compressedGluino_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.03711
elif fileName.find('SMS-T2tt_dM-10to80_2Lfilter_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.003416
elif fileName.find('SMS-T5ZZ_mGluino-1850to2400_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001696
elif fileName.find('SMS-TChiWZ_ZToLL_dM-90to100_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.01817
elif fileName.find('ST_s-channel_4f_hadronicDecays_TuneCP5_13TeV-amcatnlo-pythia8') != -1:
return 11.24
elif fileName.find('BdToPsi2sKst_MuTrkFilter_DGamma0_TuneCP5_13TeV-pythia8-evtgen') != -1:
return 5942000.0
elif fileName.find('ST_s-channel_4f_hadronicDecays_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 11.24
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5up_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 114.0
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5down_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('TTZPrimeToMuMu_M-300_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.2194
elif fileName.find('TTZPrimeToMuMu_M-400_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.06842
elif fileName.find('TTZPrimeToMuMu_M-500_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.0287
elif fileName.find('TTZPrimeToMuMu_M-600_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.01409
elif fileName.find('TTZPrimeToMuMu_M-700_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.007522
elif fileName.find('TTZPrimeToMuMu_M-800_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.004257
elif fileName.find('TTZPrimeToMuMu_M-900_TuneCP5_PSWeights_13TeV-madgraph-pythia8') != -1:
return 0.002515
elif fileName.find('WJetsToLNu_HT-100To200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 1346.0
elif fileName.find('WJetsToLNu_HT-200To400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 360.1
elif fileName.find('WJetsToLNu_HT-400To600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 48.8
elif fileName.find('WJetsToLNu_HT-600To800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 12.07
elif fileName.find('WjetsToLNu_Pt-50To100_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 3046.0
elif fileName.find('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_UpPS') != -1:
return 6005.0
elif fileName.find('DYJetsToLL_M-50_HT-70to100_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 146.7
elif fileName.find('ST_tW_antitop_5f_NoFullyHadronicDecays_13TeV-powheg_herwigpp') != -1:
return 38.06
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_13TeV-powheg_TuneCUETP8M1') != -1:
return 38.09
elif fileName.find('SMS-T1qqqq-LLChipm_ctau-10_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.144e-05
elif fileName.find('SMS-T1qqqq-LLChipm_ctau-50_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.646e-05
elif fileName.find('SMS-TChiHH_HToBB_HToTauTau_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.328e-07
elif fileName.find('TChiWZ_genHT-160_genMET-80_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.004759
elif fileName.find('ST_tW_DS_top_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 33.67
elif fileName.find('TTWJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2001
elif fileName.find('TTWJetsToLNu_TuneCUETP8M1_14TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2358
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5CR2_GluonMove_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('WJetsToLNu_HT-70To100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 1353.0
elif fileName.find('WJetsToQQ_HT-600ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 99.65
elif fileName.find('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-herwigpp_30M') != -1:
return 14240.0
elif fileName.find('DYJetsToLL_M-50_HT-40to70_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 311.4
elif fileName.find('ST_tW_antitop_fsrdown_5f_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.06
elif fileName.find('ST_tW_antitop_isrdown_5f_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.06
elif fileName.find('ST_tW_top_MEscaledown_5f_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 39.28
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5_13TeV-amcatnlo-pythia8') != -1:
return 3.74
elif fileName.find('SMS-T2bb_mSbot-1650to2600_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.174e-06
elif fileName.find('SMS-T2bt-LLChipm_ctau-200_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003144
elif fileName.find('SMS-T2qq-LLChipm_ctau-200_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 9.212e-06
elif fileName.find('SMS-T2tt_mStop-1200to2000_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.823e-05
elif fileName.find('SMS-TChiHH_HToBB_HToBB_2D_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.664e-06
elif fileName.find('ST_s-channel_top_leptonDecays_13TeV-PSweights_powheg-pythia') != -1:
return 5.757
elif fileName.find('TTJets_SingleLeptFromTbar_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 124.6
elif fileName.find('ST_s-channel_4f_leptonDecays_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 3.74
elif fileName.find('TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 0.1194
elif fileName.find('TTJets_SingleLeptFromTbar_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 108.7
elif fileName.find('TTWJetsToQQ_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.405
elif fileName.find('TTZJetsToQQ_Dilept_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 0.0568
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5up_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5CR1_QCDbased_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('QCD_HT1000to1500_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 138.2
elif fileName.find('QCD_HT1500to2000_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 13.61
elif fileName.find('SMS-T2bH_HToGG_mSbot-250_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 14.34
elif fileName.find('SMS-T2bt-LLChipm_ctau-10_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0002197
elif fileName.find('SMS-T2bt-LLChipm_ctau-50_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0004198
elif fileName.find('SMS-T2qq-LLChipm_ctau-10_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 8.05e-06
elif fileName.find('SMS-T2qq-LLChipm_ctau-50_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.013e-05
elif fileName.find('SMS-T2tt_mStop-400to1200_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.001795
elif fileName.find('TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 0.001445
elif fileName.find('TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 0.6736
elif fileName.find('TTJets_DiLept_genMET-150_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 3.655
elif fileName.find('tZq_ll_4f_ckm_NLO_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 0.07358
elif fileName.find('WJetsToLNu_HT-1200To2500_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1.074
elif fileName.find('QCD_HT2000toInf_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 2.92
elif fileName.find('QCD_HT700to1000_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 721.8
elif fileName.find('ST_t-channel_eleDecays_13TeV-comphep-pythia8_TuneCUETP8M1') != -1:
return 23.9
elif fileName.find('ST_t-channel_tauDecays_13TeV-comphep-pythia8_TuneCUETP8M1') != -1:
return 23.92
elif fileName.find('ST_tW_antitop_5f_fsrup_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.06
elif fileName.find('ST_tW_antitop_5f_isrup_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.06
elif fileName.find('ST_tW_top_5f_MEscaleup_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 37.28
elif fileName.find('ST_tW_top_5f_inclusiveDecays_TuneCP5_13TeV-powheg-pythia8') != -1:
return 34.91
elif fileName.find('SMS-T2qq_mSq-1850to2600_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 9.716e-06
elif fileName.find('SMS-T2tt_mStop-150to250_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 20.95
elif fileName.find('SMS-T2tt_mStop-250to350_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.516
elif fileName.find('SMS-TChiWH_WToLNu_HToBB_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.002528
elif fileName.find('VBF-C1N2_leptonicDecays_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003095
elif fileName.find('BdToXKst_MuTrkFilter_DGamma0_TuneCP5_13TeV-pythia8-evtgen') != -1:
return 7990000.0
elif fileName.find('SMS-T2tt_mStop-350to400_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.487
elif fileName.find('TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 1.65
elif fileName.find('TTJets_DiLept_genMET-80_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 22.45
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5_PSweights_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('WJetsToLNu_HT-2500ToInf_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.008001
elif fileName.find('WJetsToLNu_HT-800To1200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 5.366
elif fileName.find('WJetsToLNu_Pt-100To250_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 779.1
elif fileName.find('WJetsToLNu_Pt-250To400_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 27.98
elif fileName.find('WJetsToLNu_Pt-400To600_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 3.604
elif fileName.find('WJetsToLNu_Pt-600ToInf_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 0.5545
elif fileName.find('DYJetsToLL_M-500to700_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 0.2558
elif fileName.find('DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8_Fall17') != -1:
return 5350.0
elif fileName.find('QCD_HT300to500_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 27960.0
elif fileName.find('QCD_HT100to200_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 1275000.0
elif fileName.find('QCD_HT200to300_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 111700.0
elif fileName.find('QCD_HT500to700_BGenFilter_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 3078.0
elif fileName.find('ST_t-channel_muDecays_13TeV-comphep-pythia8_TuneCUETP8M1') != -1:
return 23.89
elif fileName.find('ST_tW_top_5f_NoFullyHadronicDecays_13TeV-powheg_herwigpp') != -1:
return 38.09
elif fileName.find('ST_tWnunu_5f_LO_TuneCP5_PSweights_13TeV-madgraph-pythia8') != -1:
return 0.02099
elif fileName.find('SMS-T1ttbb_deltaM5to25_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 6.074e-05
elif fileName.find('SMS-T5Wg_mGo2150To2800_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.449e-05
elif fileName.find('SMS-T6Wg_mSq1850To2450_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.761e-05
elif fileName.find('SMS-TChiHH_HToBB_HToBB_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.546e-07
elif fileName.find('SMS-TChiHZ_HToBB_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 9.084e-07
elif fileName.find('SMS-TChiStauStau_x0p05_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.000755
elif fileName.find('SMS-TChiStauStau_x0p95_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0007372
elif fileName.find('SMS-TChiZZ_ZToLL_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.096e-06
elif fileName.find('TTJets_SingleLeptFromT_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 124.9
elif fileName.find('TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 109.6
elif fileName.find('WJetsToLNu_HT-200To400_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 407.9
elif fileName.find('WJetsToLNu_HT-400To600_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 57.48
elif fileName.find('WJetsToLNu_HT-600To800_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 12.87
elif fileName.find('WJetsToLNu_HT-100To200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1395.0
elif fileName.find('WJetsToLNu_Pt-50To100_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 3570.0
elif fileName.find('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 5941.0
elif fileName.find('QCD_HT1000to1500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 1207.0
elif fileName.find('QCD_HT1500to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 120.0
elif fileName.find('ST_tW_top_fsrdown_5f_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.09
elif fileName.find('ST_tW_top_isrdown_5f_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.09
elif fileName.find('SMS-TChiSlepSnu_x0p05_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 9.607e-05
elif fileName.find('SMS-TChiSlepSnu_x0p95_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 9.562e-05
elif fileName.find('SMS-TChiStauStau_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.002364
elif fileName.find('SMS-TChipmWW_WWTo2LNu_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.002556
elif fileName.find('TTJets_Dilept_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8') != -1:
return 76.75
elif fileName.find('TTWJetsToLNu_TuneCP5_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.2149
elif fileName.find('WJetsToLNu_HT-70To100_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1292.0
elif fileName.find('WJetsToLNu_Wpt-0To50_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 61850.0
elif fileName.find('DYJetsToLL_M-50_TuneCUETHS1_13TeV-madgraphMLM-herwigpp') != -1:
return 358.6
elif fileName.find('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 4963.0
elif fileName.find('QCD_HT2000toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 25.25
elif fileName.find('QCD_HT700to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 6829.0
elif fileName.find('ST_s-channel_4f_InclusiveDecays_13TeV-amcatnlo-pythia8') != -1:
return 10.12
elif fileName.find('Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP1-madgraph') != -1:
return 4.464e-05
elif fileName.find('Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP2-madgraph') != -1:
return 4.467e-05
elif fileName.find('Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP3-madgraph') != -1:
return 4.413e-05
elif fileName.find('Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP4-madgraph') != -1:
return 4.459e-05
elif fileName.find('Test_BulkGravToWW_narrow_M-4000_13TeV_TuneCP5-madgraph') != -1:
return 4.543e-05
elif fileName.find('ST_tWll_5f_LO_TuneCP5_PSweights_13TeV-madgraph-pythia8') != -1:
return 0.01103
elif fileName.find('SMS-TChiSlepSnu_x0p5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.000111
elif fileName.find('TTJets_HT-1200to2500_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.1316
elif fileName.find('TTWJetsToQQ_TuneCP5_13TeV-amcatnloFXFX-madspin-pythia8') != -1:
return 0.4316
elif fileName.find('WZTo1L1Nu2Q_13TeV_TuneCP5_amcatnloFXFX_madspin_pythia8') != -1:
return 11.74
elif fileName.find('WJetsToQQ_HT400to600_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1447.0
elif fileName.find('WJetsToQQ_HT600to800_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 318.8
elif fileName.find('QCD_HT100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 28060000.0
elif fileName.find('QCD_HT200to300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 1710000.0
elif fileName.find('QCD_HT300to500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 347500.0
elif fileName.find('QCD_HT500to700_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 32060.0
elif fileName.find('ST_tW_top_5f_fsrup_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.09
elif fileName.find('ST_tW_top_5f_isrup_NoFullyHadronicDecays_13TeV-powheg') != -1:
return 38.09
elif fileName.find('SMS-TChiNG_BF50N50G_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 2.458e-07
elif fileName.find('TTJets_HT-800to1200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.7532
elif fileName.find('TTJets_HT-2500toInf_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 0.001407
elif fileName.find('QCD_HT50to100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 246300000.0
elif fileName.find('ST_t-channel_eleDecays_13TeV-comphep-pythia8_TuneCP5') != -1:
return 24.85
elif fileName.find('ST_t-channel_tauDecays_13TeV-comphep-pythia8_TuneCP5') != -1:
return 24.7
elif fileName.find('VBF-C1N2_tauDecays_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003081
elif fileName.find('ST_t-channel_antitop_5f_TuneCP5_13TeV-powheg-pythia8') != -1:
return 82.52
elif fileName.find('TTJets_DiLept_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 56.86
elif fileName.find('TTJets_HT-600to800_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1.821
elif fileName.find('TTZToLLNuNu_M-10_TuneCUETP8M1_13TeV-amcatnlo-pythia8') != -1:
return 0.2529
elif fileName.find('TTZPrimeToMuMu_M-1000_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.001539
elif fileName.find('TTZPrimeToMuMu_M-1200_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.0006278
elif fileName.find('TTZPrimeToMuMu_M-1300_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.0004127
elif fileName.find('TTZPrimeToMuMu_M-1400_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.0002776
elif fileName.find('TTZPrimeToMuMu_M-1500_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.0001899
elif fileName.find('TTZPrimeToMuMu_M-1600_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.0001324
elif fileName.find('TTZPrimeToMuMu_M-1700_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 9.354e-05
elif fileName.find('TTZPrimeToMuMu_M-1800_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 6.694e-05
elif fileName.find('TTZPrimeToMuMu_M-1900_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 4.857e-05
elif fileName.find('TTZPrimeToMuMu_M-2000_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.001539
elif fileName.find('ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8') != -1:
return 3.365
elif fileName.find('SMS-T6qqllslepton_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 8.693e-05
elif fileName.find('SMS-TChipmSlepSnu_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.00333
elif fileName.find('SMS-TChipmStauSnu_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0005573
elif fileName.find('ST_t-channel_muDecays_13TeV-comphep-pythia8_TuneCP5') != -1:
return 24.72
elif fileName.find('TTZPrimeToMuMu_M-300_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.22
elif fileName.find('TTZPrimeToMuMu_M-400_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.0684
elif fileName.find('TTZPrimeToMuMu_M-500_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.02871
elif fileName.find('TTZPrimeToMuMu_M-600_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.01408
elif fileName.find('TTZPrimeToMuMu_M-700_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.007514
elif fileName.find('TTZPrimeToMuMu_M-800_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.004255
elif fileName.find('TTZPrimeToMuMu_M-900_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.002517
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5down_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('DYJetsToLL_M-50_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 6529.0
elif fileName.find('QCD_HT1000to1500_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 1.137
elif fileName.find('QCD_HT1500to2000_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 0.02693
elif fileName.find('QCD_HT1000to1500_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1092.0
elif fileName.find('QCD_HT1500to2000_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 99.76
elif fileName.find('SMS-T5Wg_TuneCP2_13TeV-madgraphMLM-pythia8_testCPU') != -1:
return 0.0007515
elif fileName.find('SMS-T5tttt_dM175_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 8.671e-05
elif fileName.find('SMS-TChiHH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 6.501e-06
elif fileName.find('SMS-TChiHZ_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 5.739e-06
elif fileName.find('SMS-TChiWH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.01489
elif fileName.find('SMS-TChiWZ_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.002535
elif fileName.find('SMS-TChiZZ_ZToLL_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 1.128e-06
elif fileName.find('WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 60430.0
elif fileName.find('DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 5343.0
elif fileName.find('DYJetsToLL_M-50_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 9.402
elif fileName.find('DYJetsToLL_M-50_TuneCP1_13TeV-madgraphMLM-pythia8') != -1:
return 4661.0
elif fileName.find('DYJetsToLL_M-50_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4878.0
elif fileName.find('QCD_HT2000toInf_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 0.1334
elif fileName.find('QCD_HT700to1000_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 5.65
elif fileName.find('QCD_HT2000toInf_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 20.35
elif fileName.find('QCD_HT700to1000_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 6344.0
elif fileName.find('QCD_Pt-15to7000_TuneCP2_Flat_13TeV_pythia8_FlatPU') != -1:
return 2060000000.0
elif fileName.find('SMS-T5WgStealth_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0002458
elif fileName.find('SMS-T6WgStealth_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.01157
elif fileName.find('SMS-T6qqWW_dM10_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 9.439e-05
elif fileName.find('SMS-T6qqWW_dM15_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0002814
elif fileName.find('SMS-T6qqWW_dM20_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 8.567e-05
elif fileName.find('SMS-T7WgStealth_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001827
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5up_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('WJetsToLNu_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 50260.0
elif fileName.find('QCD_HT100to200_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 3979.0
elif fileName.find('QCD_HT200to300_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 673.8
elif fileName.find('QCD_HT300to500_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 829.2
elif fileName.find('QCD_HT500to700_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 15.19
elif fileName.find('QCD_HT100to200_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 23590000.0
elif fileName.find('QCD_HT200to300_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 1551000.0
elif fileName.find('QCD_HT300to500_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 323400.0
elif fileName.find('QCD_HT500to700_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 30140.0
elif fileName.find('ST_t-channel_top_5f_TuneCP5_13TeV-powheg-pythia8') != -1:
return 119.7
elif fileName.find('ST_tch_14TeV_antitop_incl-powheg-pythia8-madspin') != -1:
return 29.2
elif fileName.find('SMS-T2bH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.01149
elif fileName.find('SMS-T6qqWW_dM5_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001039
elif fileName.find('WJetsToLNu_0J_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 0.0
elif fileName.find('WJetsToLNu_1J_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 0.0
elif fileName.find('WJetsToLNu_2J_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 0.0
elif fileName.find('QCD_HT1000to1500_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 1088.0
elif fileName.find('QCD_HT1500to2000_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 99.11
elif fileName.find('QCD_HT50to100_TuneCH3_13TeV-madgraphMLM-herwig7') != -1:
return 119700.0
elif fileName.find('QCD_HT50to100_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 185300000.0
elif fileName.find('QCD_Pt-15to7000_TuneCP2_Flat_NoPU_13TeV_pythia8') != -1:
return 2048000000.0
elif fileName.find('QCD_Pt-15to7000_TuneCP5_Flat_13TeV_pythia8_test') != -1:
return 1393000000.0
elif fileName.find('SMS-TSlepSlep_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.003472
elif fileName.find('TTJets_DiLept_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 62.49
elif fileName.find('TTJets_DiLept_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 54.23
elif fileName.find('TTZToLLNuNu_M-10_TuneCP5_13TeV-amcatnlo-pythia8') != -1:
return 0.2432
elif fileName.find('WZTo1L3Nu_13TeV_amcatnloFXFX_madspin_pythia8_v2') != -1:
return 3.3
elif fileName.find('QCD_HT2000toInf_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 20.23
elif fileName.find('QCD_HT700to1000_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 6334.0
elif fileName.find('SMS-T5bbbbZg_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 5.352e-05
elif fileName.find('SMS-T5qqqqHg_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 5.127e-05
elif fileName.find('SMS-T5qqqqVV_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 8.771e-05
elif fileName.find('SMS-T5ttttZg_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 5.139e-05
elif fileName.find('SMS-TChipmWW_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.000512
elif fileName.find('ST_tWlnuZ_5f_LO_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.001267
elif fileName.find('TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8') != -1:
return 690.9
elif fileName.find('TTZToLL_M-1to10_TuneCP5_13TeV-amcatnlo-pythia8') != -1:
return 0.05324
elif fileName.find('TTZJets_TuneCUETP8M1_14TeV_madgraphMLM-pythia8') != -1:
return 0.6615
elif fileName.find('WZTo1L1Nu2Q_13TeV_amcatnloFXFX_madspin_pythia8') != -1:
return 10.73
elif fileName.find('QCD_HT100to200_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 23700000.0
elif fileName.find('QCD_HT200to300_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 1547000.0
elif fileName.find('QCD_HT300to500_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 322600.0
elif fileName.find('QCD_HT500to700_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 29980.0
elif fileName.find('SMS-T1qqqqL_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001578
elif fileName.find('ST_tWqqZ_5f_LO_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.001122
elif fileName.find('VBF-C1N2_WZ_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003344
elif fileName.find('TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8') != -1:
return 511.3
elif fileName.find('TTZZTo4b_5f_LO_TuneCP5_13TeV_madgraph_pythia8') != -1:
return 0.001385
elif fileName.find('ST_tch_14TeV_top_incl-powheg-pythia8-madspin') != -1:
return 48.03
elif fileName.find('SMS-T1bbbb_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.653e-05
elif fileName.find('SMS-T1qqqq_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.281e-05
elif fileName.find('SMS-T1ttbb_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 8.06e-05
elif fileName.find('SMS-T1tttt_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 3.855e-05
elif fileName.find('SMS-T5ttcc_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.005095
elif fileName.find('SMS-T6ttWW_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001474
elif fileName.find('SMS-T6ttZg_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 4.206e-05
elif fileName.find('SMS-TChiNG_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 2.484e-07
elif fileName.find('SMS-TChiWG_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 9.996e-05
elif fileName.find('SMS-TChiWZ_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0004769
elif fileName.find('SMS-TChiWH_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003865
elif fileName.find('WZTo1L3Nu_13TeV_amcatnloFXFX_madspin_pythia8') != -1:
return 3.054
elif fileName.find('ZZTo2Q2Nu_13TeV_amcatnloFXFX_madspin_pythia8') != -1:
return 4.033
elif fileName.find('WJetsToLNu_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 52940.0
elif fileName.find('TTZToQQ_TuneCUETP8M1_13TeV-amcatnlo-pythia8') != -1:
return 0.5297
elif fileName.find('WZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8') != -1:
return 5.606
elif fileName.find('ZZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8') != -1:
return 3.222
elif fileName.find('ST_tW_DR_14TeV_antitop_incl-powheg-pythia8') != -1:
return 45.02
elif fileName.find('QCD_Pt-15to7000_TuneCP2_Flat_13TeV_pythia8') != -1:
return 2051000000.0
elif fileName.find('RPV-monoPhi_TuneCP2_13TeV-madgraph-pythia8') != -1:
return 0.01296
elif fileName.find('SMS-T2bW_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0002628
elif fileName.find('SMS-T2bb_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0001507
elif fileName.find('SMS-T2bt_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.001012
elif fileName.find('SMS-T2qq_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003827
elif fileName.find('SMS-T5Wg_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0007355
elif fileName.find('SMS-T5ZZ_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.002739
elif fileName.find('SMS-T6Wg_TuneCP2_13TeV-madgraphMLM-pythia8') != -1:
return 0.0003838
elif fileName.find('TTTW_TuneCUETP8M2T4_13TeV-madgraph-pythia8') != -1:
return 0.0008612
elif fileName.find('TTWH_TuneCUETP8M2T4_13TeV-madgraph-pythia8') != -1:
return 0.001344
elif fileName.find('TTWW_TuneCUETP8M2T4_13TeV-madgraph-pythia8') != -1:
return 0.007834
elif fileName.find('TTWZ_TuneCUETP8M2T4_13TeV-madgraph-pythia8') != -1:
return 0.002938
elif fileName.find('TTZH_TuneCUETP8M2T4_13TeV-madgraph-pythia8') != -1:
return 0.001244
elif fileName.find('TTZZ_TuneCUETP8M2T4_13TeV-madgraph-pythia8') != -1:
return 0.001563
elif fileName.find('TTJets_TuneCP5_13TeV-amcatnloFXFX-pythia8') != -1:
return 722.8
elif fileName.find('ttWJets_TuneCP5_13TeV_madgraphMLM_pythia8') != -1:
return 0.4611
elif fileName.find('ttZJets_TuneCP5_13TeV_madgraphMLM_pythia8') != -1:
return 0.5407
elif fileName.find('WJetsToQQ_HT180_13TeV-madgraphMLM-pythia8') != -1:
return 3105.0
elif fileName.find('TTJets_TuneCP5_13TeV-madgraphMLM-pythia8') != -1:
return 496.1
elif fileName.find('ST_tWnunu_5f_LO_13TeV_MadGraph_pythia8') != -1:
return 0.02124
elif fileName.find('ST_tWnunu_5f_LO_13TeV-MadGraph-pythia8') != -1:
return 0.02122
elif fileName.find('ST_tW_DR_14TeV_top_incl-powheg-pythia8') != -1:
return 45.06
elif fileName.find('TTZToQQ_TuneCP5_13TeV-amcatnlo-pythia8') != -1:
return 0.5104
elif fileName.find('TTZToBB_TuneCP5_13TeV-amcatnlo-pythia8') != -1:
return 0.1118
elif fileName.find('ST_tWll_5f_LO_13TeV-MadGraph-pythia8') != -1:
return 0.01104
elif fileName.find('ST_tWll_5f_LO_13TeV_MadGraph_pythia8') != -1:
return 0.01103
elif fileName.find('TTTW_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.0007314
elif fileName.find('TTWH_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.001141
elif fileName.find('TTWW_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.006979
elif fileName.find('TTWZ_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.002441
elif fileName.find('TTZH_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.00113
elif fileName.find('TTZZ_TuneCP5_13TeV-madgraph-pythia8') != -1:
return 0.001386
elif fileName.find('WWTo2L2Nu_13TeV-powheg-CUETP8M1Down') != -1:
return 10.48
elif fileName.find('ZZTo2L2Nu_13TeV_powheg_pythia8_ext1') != -1:
return 0.5644
elif fileName.find('ttZJets_13TeV_madgraphMLM-pythia8') != -1:
return 0.6529
elif fileName.find('WWTo2L2Nu_13TeV-powheg-CUETP8M1Up') != -1:
return 10.48
elif fileName.find('WWTo2L2Nu_13TeV-powheg-herwigpp') != -1:
return 10.48
elif fileName.find('ZZTo2L2Nu_13TeV_powheg_pythia8') != -1:
return 0.5644
elif fileName.find('WWTo2L2Nu_13TeV-powheg') != -1:
return 10.48
elif fileName.find('WWToLNuQQ_13TeV-powheg') != -1:
return 43.53
elif fileName.find('WJetsToLNu_Wpt-50To100') != -1:
return 3298.373338
elif fileName.find('WJetsToLNu_Pt-100To250') != -1:
return 689.749632
elif fileName.find('WJetsToLNu_Pt-250To400') != -1:
return 24.5069015
elif fileName.find('WJetsToLNu_Pt-400To600') != -1:
return 3.110130566
elif fileName.find('WJetsToLNu_Pt-600ToInf') != -1:
return 0.4683178368
elif fileName.find('WJetsToLNu_Wpt-0To50') != -1:
return 57297.39264
elif fileName.find('TTJetsFXFX') != -1:
return 831.76
elif fileName.find('SingleMuon') != -1 or fileName.find('SingleElectron') != -1 or fileName.find('JetHT') != -1 or (fileName.find('MET') != -1) or (fileName.find('MTHT') != -1):
return 1.0
else:
print('Cross section not defined! Returning 0 and skipping sample:\n{}\n'.format(fileName))
return 0 |
#
# PySNMP MIB module HH3C-LswMAM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-LswMAM-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:15:14 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion")
hh3cdot1qVlanIndex, = mibBuilder.importSymbols("HH3C-LswVLAN-MIB", "hh3cdot1qVlanIndex")
hh3clswCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3clswCommon")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Counter32, ObjectIdentity, IpAddress, Counter64, TimeTicks, MibIdentifier, iso, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, ModuleIdentity, Unsigned32, Integer32, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "ObjectIdentity", "IpAddress", "Counter64", "TimeTicks", "MibIdentifier", "iso", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "ModuleIdentity", "Unsigned32", "Integer32", "NotificationType")
DisplayString, MacAddress, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "MacAddress", "TextualConvention")
hh3cLswMacPort = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3))
hh3cLswMacPort.setRevisions(('2001-06-29 00:00',))
if mibBuilder.loadTexts: hh3cLswMacPort.setLastUpdated('200106290000Z')
if mibBuilder.loadTexts: hh3cLswMacPort.setOrganization('Hangzhou H3C Tech. Co., Ltd.')
class InterfaceIndex(TextualConvention, Integer32):
status = 'current'
displayHint = 'd'
class PortList(TextualConvention, OctetString):
status = 'current'
hh3cdot1qMacSearchTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1), )
if mibBuilder.loadTexts: hh3cdot1qMacSearchTable.setStatus('current')
hh3cdot1qMacSearchEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1), ).setIndexNames((0, "HH3C-LswMAM-MIB", "hh3cdot1qMacSearchAddress"), (0, "HH3C-LswMAM-MIB", "hh3cdot1qMacSearchVlanID"))
if mibBuilder.loadTexts: hh3cdot1qMacSearchEntry.setStatus('current')
hh3cdot1qMacSearchAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 1), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cdot1qMacSearchAddress.setStatus('current')
hh3cdot1qMacSearchVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(1, 4096), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cdot1qMacSearchVlanID.setStatus('current')
hh3cdot1qMacSearchPort = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 3), InterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cdot1qMacSearchPort.setStatus('current')
hh3cdot1qMacSearchAgeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cdot1qMacSearchAgeTime.setStatus('current')
hh3cdot1qTpFdbSetTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2), )
if mibBuilder.loadTexts: hh3cdot1qTpFdbSetTable.setStatus('current')
hh3cdot1qTpFdbSetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1), ).setIndexNames((0, "HH3C-LswVLAN-MIB", "hh3cdot1qVlanIndex"), (0, "HH3C-LswMAM-MIB", "hh3cdot1qTpFdbSetAddress"))
if mibBuilder.loadTexts: hh3cdot1qTpFdbSetEntry.setStatus('current')
hh3cdot1qTpFdbSetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 1), MacAddress())
if mibBuilder.loadTexts: hh3cdot1qTpFdbSetAddress.setStatus('current')
hh3cdot1qTpFdbSetPort = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 2), InterfaceIndex()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cdot1qTpFdbSetPort.setStatus('current')
hh3cdot1qTpFdbSetStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 6, 7, 9, 11))).clone(namedValues=NamedValues(("other", 1), ("learned", 3), ("static", 6), ("dynamic", 7), ("blackhole", 9), ("security", 11)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cdot1qTpFdbSetStatus.setStatus('current')
hh3cdot1qTpFdbSetOperate = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("add", 1), ("delete", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cdot1qTpFdbSetOperate.setStatus('current')
hh3cdot1qTpFdbGroupSetTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3), )
if mibBuilder.loadTexts: hh3cdot1qTpFdbGroupSetTable.setStatus('current')
hh3cdot1qTpFdbGroupSetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1), ).setIndexNames((0, "HH3C-LswVLAN-MIB", "hh3cdot1qVlanIndex"), (0, "HH3C-LswMAM-MIB", "hh3cdot1qTpFdbGroupSetAddress"))
if mibBuilder.loadTexts: hh3cdot1qTpFdbGroupSetEntry.setStatus('current')
hh3cdot1qTpFdbGroupSetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1, 1), MacAddress())
if mibBuilder.loadTexts: hh3cdot1qTpFdbGroupSetAddress.setStatus('current')
hh3cdot1qTpFdbGroupSetPort = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1, 2), PortList()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cdot1qTpFdbGroupSetPort.setStatus('current')
hh3cdot1qTpFdbGroupSetOperate = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("add", 1), ("delete", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cdot1qTpFdbGroupSetOperate.setStatus('current')
mibBuilder.exportSymbols("HH3C-LswMAM-MIB", hh3cdot1qTpFdbSetStatus=hh3cdot1qTpFdbSetStatus, hh3cdot1qTpFdbSetTable=hh3cdot1qTpFdbSetTable, hh3cdot1qTpFdbGroupSetOperate=hh3cdot1qTpFdbGroupSetOperate, hh3cdot1qTpFdbGroupSetPort=hh3cdot1qTpFdbGroupSetPort, InterfaceIndex=InterfaceIndex, hh3cdot1qTpFdbSetAddress=hh3cdot1qTpFdbSetAddress, hh3cdot1qTpFdbSetOperate=hh3cdot1qTpFdbSetOperate, PortList=PortList, hh3cdot1qTpFdbSetPort=hh3cdot1qTpFdbSetPort, hh3cdot1qMacSearchPort=hh3cdot1qMacSearchPort, hh3cdot1qTpFdbGroupSetAddress=hh3cdot1qTpFdbGroupSetAddress, hh3cdot1qMacSearchAgeTime=hh3cdot1qMacSearchAgeTime, PYSNMP_MODULE_ID=hh3cLswMacPort, hh3cdot1qMacSearchAddress=hh3cdot1qMacSearchAddress, hh3cdot1qMacSearchEntry=hh3cdot1qMacSearchEntry, hh3cdot1qTpFdbSetEntry=hh3cdot1qTpFdbSetEntry, hh3cdot1qMacSearchVlanID=hh3cdot1qMacSearchVlanID, hh3cdot1qMacSearchTable=hh3cdot1qMacSearchTable, hh3cLswMacPort=hh3cLswMacPort, hh3cdot1qTpFdbGroupSetEntry=hh3cdot1qTpFdbGroupSetEntry, hh3cdot1qTpFdbGroupSetTable=hh3cdot1qTpFdbGroupSetTable)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion')
(hh3cdot1q_vlan_index,) = mibBuilder.importSymbols('HH3C-LswVLAN-MIB', 'hh3cdot1qVlanIndex')
(hh3clsw_common,) = mibBuilder.importSymbols('HH3C-OID-MIB', 'hh3clswCommon')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(counter32, object_identity, ip_address, counter64, time_ticks, mib_identifier, iso, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, module_identity, unsigned32, integer32, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'ObjectIdentity', 'IpAddress', 'Counter64', 'TimeTicks', 'MibIdentifier', 'iso', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'ModuleIdentity', 'Unsigned32', 'Integer32', 'NotificationType')
(display_string, mac_address, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'MacAddress', 'TextualConvention')
hh3c_lsw_mac_port = module_identity((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3))
hh3cLswMacPort.setRevisions(('2001-06-29 00:00',))
if mibBuilder.loadTexts:
hh3cLswMacPort.setLastUpdated('200106290000Z')
if mibBuilder.loadTexts:
hh3cLswMacPort.setOrganization('Hangzhou H3C Tech. Co., Ltd.')
class Interfaceindex(TextualConvention, Integer32):
status = 'current'
display_hint = 'd'
class Portlist(TextualConvention, OctetString):
status = 'current'
hh3cdot1q_mac_search_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1))
if mibBuilder.loadTexts:
hh3cdot1qMacSearchTable.setStatus('current')
hh3cdot1q_mac_search_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1)).setIndexNames((0, 'HH3C-LswMAM-MIB', 'hh3cdot1qMacSearchAddress'), (0, 'HH3C-LswMAM-MIB', 'hh3cdot1qMacSearchVlanID'))
if mibBuilder.loadTexts:
hh3cdot1qMacSearchEntry.setStatus('current')
hh3cdot1q_mac_search_address = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 1), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hh3cdot1qMacSearchAddress.setStatus('current')
hh3cdot1q_mac_search_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(1, 4096)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hh3cdot1qMacSearchVlanID.setStatus('current')
hh3cdot1q_mac_search_port = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 3), interface_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hh3cdot1qMacSearchPort.setStatus('current')
hh3cdot1q_mac_search_age_time = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hh3cdot1qMacSearchAgeTime.setStatus('current')
hh3cdot1q_tp_fdb_set_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2))
if mibBuilder.loadTexts:
hh3cdot1qTpFdbSetTable.setStatus('current')
hh3cdot1q_tp_fdb_set_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1)).setIndexNames((0, 'HH3C-LswVLAN-MIB', 'hh3cdot1qVlanIndex'), (0, 'HH3C-LswMAM-MIB', 'hh3cdot1qTpFdbSetAddress'))
if mibBuilder.loadTexts:
hh3cdot1qTpFdbSetEntry.setStatus('current')
hh3cdot1q_tp_fdb_set_address = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 1), mac_address())
if mibBuilder.loadTexts:
hh3cdot1qTpFdbSetAddress.setStatus('current')
hh3cdot1q_tp_fdb_set_port = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 2), interface_index()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hh3cdot1qTpFdbSetPort.setStatus('current')
hh3cdot1q_tp_fdb_set_status = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 6, 7, 9, 11))).clone(namedValues=named_values(('other', 1), ('learned', 3), ('static', 6), ('dynamic', 7), ('blackhole', 9), ('security', 11)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hh3cdot1qTpFdbSetStatus.setStatus('current')
hh3cdot1q_tp_fdb_set_operate = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('add', 1), ('delete', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hh3cdot1qTpFdbSetOperate.setStatus('current')
hh3cdot1q_tp_fdb_group_set_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3))
if mibBuilder.loadTexts:
hh3cdot1qTpFdbGroupSetTable.setStatus('current')
hh3cdot1q_tp_fdb_group_set_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1)).setIndexNames((0, 'HH3C-LswVLAN-MIB', 'hh3cdot1qVlanIndex'), (0, 'HH3C-LswMAM-MIB', 'hh3cdot1qTpFdbGroupSetAddress'))
if mibBuilder.loadTexts:
hh3cdot1qTpFdbGroupSetEntry.setStatus('current')
hh3cdot1q_tp_fdb_group_set_address = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1, 1), mac_address())
if mibBuilder.loadTexts:
hh3cdot1qTpFdbGroupSetAddress.setStatus('current')
hh3cdot1q_tp_fdb_group_set_port = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1, 2), port_list()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hh3cdot1qTpFdbGroupSetPort.setStatus('current')
hh3cdot1q_tp_fdb_group_set_operate = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 8, 35, 3, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('add', 1), ('delete', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hh3cdot1qTpFdbGroupSetOperate.setStatus('current')
mibBuilder.exportSymbols('HH3C-LswMAM-MIB', hh3cdot1qTpFdbSetStatus=hh3cdot1qTpFdbSetStatus, hh3cdot1qTpFdbSetTable=hh3cdot1qTpFdbSetTable, hh3cdot1qTpFdbGroupSetOperate=hh3cdot1qTpFdbGroupSetOperate, hh3cdot1qTpFdbGroupSetPort=hh3cdot1qTpFdbGroupSetPort, InterfaceIndex=InterfaceIndex, hh3cdot1qTpFdbSetAddress=hh3cdot1qTpFdbSetAddress, hh3cdot1qTpFdbSetOperate=hh3cdot1qTpFdbSetOperate, PortList=PortList, hh3cdot1qTpFdbSetPort=hh3cdot1qTpFdbSetPort, hh3cdot1qMacSearchPort=hh3cdot1qMacSearchPort, hh3cdot1qTpFdbGroupSetAddress=hh3cdot1qTpFdbGroupSetAddress, hh3cdot1qMacSearchAgeTime=hh3cdot1qMacSearchAgeTime, PYSNMP_MODULE_ID=hh3cLswMacPort, hh3cdot1qMacSearchAddress=hh3cdot1qMacSearchAddress, hh3cdot1qMacSearchEntry=hh3cdot1qMacSearchEntry, hh3cdot1qTpFdbSetEntry=hh3cdot1qTpFdbSetEntry, hh3cdot1qMacSearchVlanID=hh3cdot1qMacSearchVlanID, hh3cdot1qMacSearchTable=hh3cdot1qMacSearchTable, hh3cLswMacPort=hh3cLswMacPort, hh3cdot1qTpFdbGroupSetEntry=hh3cdot1qTpFdbGroupSetEntry, hh3cdot1qTpFdbGroupSetTable=hh3cdot1qTpFdbGroupSetTable) |
#
# elkme - the command-line sms utility
# see main.py for the main entry-point
#
__version__ = '0.6.0'
__release_date__ = '2017-07-17'
| __version__ = '0.6.0'
__release_date__ = '2017-07-17' |
#
# add leapfrog's template loader
#
TEMPLATE_LOADERS = (
'leapfrog.loaders.Loader',
# then the default template loaders
# ...
)
#
# enable the leapfrog app
#
INSTALLED_APPS = (
# ...
# all your other apps, plus south and the sentry apps:
'south',
'indexer',
'paging',
'sentry',
'sentry.client',
# and the leapfrog app:
'leapfrog',
)
#
# include the template context processors
#
TEMPLATE_CONTEXT_PROCESSORS = (
# include the default django context processors:
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.contrib.messages.context_processors.messages",
# and add leapfrog's:
"leapfrog.context_processors.random_rotator",
"leapfrog.context_processors.typekit_code",
)
#
# web service API settings
#
# create an Application at http://www.typepad.com/account/access/developer and set these settings:
TYPEPAD_APPLICATION = '6p...' # application ID
TYPEPAD_CONSUMER = ('consumer key', 'secret')
TYPEPAD_ANONYMOUS_ACCESS_TOKEN = ('anonymous access token', 'secret')
# create an app at http://www.flickr.com/services/apps/create/ and set this setting:
FLICKR_KEY = ('key', 'secret')
# create a Facebook app and set this setting:
FACEBOOK_CONSUMER = ('consumer key', 'secret')
# create an app at http://vimeo.com/api/applications and set this setting:
VIMEO_CONSUMER = ('consumer key', 'secret')
# create an app at http://www.tumblr.com/oauth/apps and set this setting:
TUMBLR_CONSUMER = ('oauth consumer key', 'secret')
| template_loaders = ('leapfrog.loaders.Loader',)
installed_apps = ('south', 'indexer', 'paging', 'sentry', 'sentry.client', 'leapfrog')
template_context_processors = ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.contrib.messages.context_processors.messages', 'leapfrog.context_processors.random_rotator', 'leapfrog.context_processors.typekit_code')
typepad_application = '6p...'
typepad_consumer = ('consumer key', 'secret')
typepad_anonymous_access_token = ('anonymous access token', 'secret')
flickr_key = ('key', 'secret')
facebook_consumer = ('consumer key', 'secret')
vimeo_consumer = ('consumer key', 'secret')
tumblr_consumer = ('oauth consumer key', 'secret') |
class BinaryOption:
def __init__(self):
self.__data = None
def SetData(self, bit):
self.__data = bit
def Has(self, value):
return (self.__data & value)
def Set(self, value):
self.__data = self.__data | value
@staticmethod
def Create(value):
result = BinaryOption()
result.SetData(value)
return result
IPV4MAP = 1 << 0
IPV6MAP = 1 << 1
BLACKLISTFILE = 1 << 2
BINARYDATA = 1 << 7
TREEDATA = 1 << 2
STRINGDATA = 1 << 3
SMALLINTDATA = 1 << 4
INTDATA = 1 << 5
FLOATDATA = 1 << 6
ISPROXY = 1 << 0
ISVPN = 1 << 1
ISTOR = 1 << 2
ISCRAWLER = 1 << 3
ISBOT = 1 << 4
RECENTABUSE = 1 << 5
ISBLACKLISTED = 1 << 6
ISPRIVATE = 1 << 7
ISMOBILE = 1 << 0
HASOPENPORTS = 1 << 1
ISHOSTINGPROVIDER = 1 << 2
ACTIVEVPN = 1 << 3
ACTIVETOR = 1 << 4
PUBLICACCESSPOINT = 1 << 5
RESERVEDONE = 1 << 6
RESERVEDTWO = 1 << 7
RESERVEDTHREE = 1 << 0
RESERVEDFOUR = 1 << 1
RESERVEDFIVE = 1 << 2
CONNECTIONTYPEONE = 1 << 3
CONNECTIONTYPETWO = 1 << 4
CONNECTIONTYPETHREE = 1 << 5
ABUSEVELOCITYONE = 1 << 6
ABUSEVELOCITYTWO = 1 << 7
| class Binaryoption:
def __init__(self):
self.__data = None
def set_data(self, bit):
self.__data = bit
def has(self, value):
return self.__data & value
def set(self, value):
self.__data = self.__data | value
@staticmethod
def create(value):
result = binary_option()
result.SetData(value)
return result
ipv4_map = 1 << 0
ipv6_map = 1 << 1
blacklistfile = 1 << 2
binarydata = 1 << 7
treedata = 1 << 2
stringdata = 1 << 3
smallintdata = 1 << 4
intdata = 1 << 5
floatdata = 1 << 6
isproxy = 1 << 0
isvpn = 1 << 1
istor = 1 << 2
iscrawler = 1 << 3
isbot = 1 << 4
recentabuse = 1 << 5
isblacklisted = 1 << 6
isprivate = 1 << 7
ismobile = 1 << 0
hasopenports = 1 << 1
ishostingprovider = 1 << 2
activevpn = 1 << 3
activetor = 1 << 4
publicaccesspoint = 1 << 5
reservedone = 1 << 6
reservedtwo = 1 << 7
reservedthree = 1 << 0
reservedfour = 1 << 1
reservedfive = 1 << 2
connectiontypeone = 1 << 3
connectiontypetwo = 1 << 4
connectiontypethree = 1 << 5
abusevelocityone = 1 << 6
abusevelocitytwo = 1 << 7 |
#!/usr/bin/env python3
n, p, *a = map(int, open(0).read().split())
c = 0
for a, b in zip(a, a[n:]):
c += min(p+a, b)
p = a - max(min(b-p, a), 0)
print(c) | (n, p, *a) = map(int, open(0).read().split())
c = 0
for (a, b) in zip(a, a[n:]):
c += min(p + a, b)
p = a - max(min(b - p, a), 0)
print(c) |
var2 = {
# Video Only files
'.webm' : ('WebM', 'Free and libre format created for HTML5 video.'),
'.mkv' : ('Matroska', ''),
'.flv' : ('Flash Video', 'Use of the H.264 and AAC compression formats in the FLV file format has some limitations and authors of Flash Player strongly encourage everyone to embrace the new standard F4V file format.[2] De facto standard for web-based streaming video (over RTMP).'),
'.flv' : ('F4V', 'Replacement for FLV.'),
'.vob' : ('Vob', 'Files in VOB format have .vob filename extension and are typically stored in the VIDEO_TS folder at the root of a DVD.[5] The VOB format is based on the MPEG program stream format.'),
'.ogv' : ('Ogg Video', 'Open source'),
'.ogg' : ('Ogg Video', 'Open source'),
'.drc' : ('Dirac', 'Open source'),
'.mng' : ('Multiple-image Network Graphics', 'Inefficient, not widely used.'),
'.avi' : ('AVI', 'Uses RIFF'),
'.mov' : ('QuickTime File Format', ''),
'.qt' : ('QuickTime File Format', ''),
'.wmv' : ('Windows Media Video', ''),
'.yuv' : ('Raw video format', 'Supports all resolutions, sampling structures, and frame rates'),
'.rm' : ('RealMedia (RM)', 'Made for RealPlayer'),
'.rmvb' : ('RealMedia Variable Bitrate (RMVB)', 'Made for RealPlayer'),
'.asf' : ('Advanced Systems Format (ASF)', ''),
'.mp4' : ('MPEG-1', 'Old, but very widely used due to installed base.'),
'.mp2' : ('MPEG-1', 'Old, but very widely used due to installed base.'),
'.mpeg' : ('MPEG-1', 'Old, but very widely used due to installed base.'),
'.mpe' : ('MPEG-1', 'Old, but very widely used due to installed base.'),
'.mpv' : ('MPEG-1', 'Old, but very widely used due to installed base.'),
'.mpg' : ('MPEG-2 - Video', ''),
'.mpeg' : ('MPEG-2 - Video', ''),
'.m2v' : ('MPEG-2 - Video', ''),
'.m4v' : ('M4V - (file format for videos for iPods and PlayStation Portables developed by Apple)', 'Developed by Apple, used in iTunes. Very similar to MP4 format, but may optionally have DRM.'),
'.svi' : ('SVI', 'Samsung video format for portable players'),
'.3gp' : ('3GPP', 'Common video format for cell phones'),
'.3g2' : ('3GPP2', 'Common video format for cell phones'),
'.mxf' : ('Material Exchange Format (MXF)', ''),
'.roq' : ('ROQ', 'used by Quake 3'),
'.nsv' : ('Nullsoft Streaming Video (NSV)', 'For streaming video content over the Internet'),
}
var1 = {
# Audio Only files
'.3gp' : 'multimedia container format can contain proprietary formats as AMR, AMR-WB or AMR-WB+, but also some open formats',
'.act' : 'ACT is a lossy ADPCM 8 kbit/s compressed audio format recorded by most Chinese MP3 and MP4 players with a recording function, and voice recorders',
'.aiff' : 'standard audio file format used by Apple. It could be considered the Apple equivalent of wav.',
'.aac' : 'the Advanced Audio Coding format is based on the MPEG-2 and MPEG-4 standards. aac files are usually ADTS or ADIF containers.',
'.amr' : 'AMR-NB audio, used primarily for speech.',
'.au' : 'the standard audio file format used by Sun, Unix and Java. The audio in au files can be PCM or compressed with the u-law, a-law or G729 codecs.',
'.awb' : 'AMR-WB audio, used primarily for speech, same as the ITU-T\'s G.722.2 specification.',
'.dct' : 'A variable codec format designed for dictation. It has dictation header information and can be encrypted (as may be required by medical confidentiality laws). A proprietary format of NCH Software.',
'.dss' : 'dss files are an Olympus proprietary format. It is a fairly old and poor codec. Gsm or mp3 are generally preferred where the recorder allows. It allows additional data to be held in the file header.',
'.dvf' : 'a Sony proprietary format for compressed voice files; commonly used by Sony dictation recorders.',
'.flac' : 'File format for the Free Lossless Audio Codec, a lossless compression codec.',
'.gsm' : 'designed for telephony use in Europe, gsm is a very practical format for telephone quality voice. It makes a good compromise between file size and quality. Note that wav files can also be encoded with the gsm codec.',
'.iklax' : 'An iKlax Media proprietary format, the iKlax format is a multi-track digital audio format allowing various actions on musical data, for instance on mixing and volumes arrangements.',
'.ivs' : '3D Solar UK Ltd A proprietary version with Digital Rights Management developed by 3D Solar UK Ltd for use in music downloaded from their Tronme Music Store and interactive music and video player.',
'.m4a' : 'An audio-only MPEG-4 file, used by Apple for unprotected music downloaded from their iTunes Music Store. Audio within the m4a file is typically encoded with AAC, although lossless ALAC may also be used.',
'.m4p' : 'A version of AAC with proprietary Digital Rights Management developed by Apple for use in music downloaded from their iTunes Music Store.',
'.mmf' : 'a Samsung audio format that is used in ringtones.',
'.mp3' : 'MPEG Layer III Audio. Is the most common sound file format used today.',
'.mpc' : 'Musepack or MPC (formerly known as MPEGplus, MPEG+ or MP+) is an open source lossy audio codec, specifically optimized for transparent compression of stereo audio at bitrates of 160-180 kbit/s.',
'.msv' : 'a Sony proprietary format for Memory Stick compressed voice files.',
'.ogg' : 'a free, open source container format supporting a variety of formats, the most popular of which is the audio format Vorbis. Vorbis offers compression similar to MP3 but is less popular.',
'.oga' : 'a free, open source container format supporting a variety of formats, the most popular of which is the audio format Vorbis. Vorbis offers compression similar to MP3 but is less popular.',
'.opus' : 'a lossy audio compression format developed by the Internet Engineering Task Force (IETF) and made especially suitable for interactive real-time applications over the Internet. As an open format standardised through RFC 6716, a reference implementation is provided under the 3-clause BSD license.',
'.ra' : 'a RealAudio format designed for streaming audio over the Internet. The .ra format allows files to be stored in a self-contained fashion on a computer, with all of the audio data contained inside the file itself.',
'.rm' : 'a RealAudio format designed for streaming audio over the Internet. The .ra format allows files to be stored in a self-contained fashion on a computer, with all of the audio data contained inside the file itself.',
'.raw' : 'a raw file can contain audio in any format but is usually used with PCM audio data. It is rarely used except for technical tests.',
'.sln' : 'Signed Linear PCM format used by Asterisk. Prior to v.10 the standard formats were 16-bit Signed Linear PCM sampled at 8kHz and at 16kHz. With v.10 many more sampling rates were added.',
'.tta' : 'The True Audio, real-time lossless audio codec.',
'.vox' : 'the vox format most commonly uses the Dialogic ADPCM (Adaptive Differential Pulse Code Modulation) codec. Similar to other ADPCM formats, it compresses to 4-bits. Vox format files are similar to wave files except that the vox files contain no information about the file itself so the codec sample rate and number of channels must first be specified in order to play a vox file.',
'.wav' : 'standard audio file container format used mainly in Windows PCs. Commonly used for storing uncompressed (PCM), CD-quality sound files, which means that they can be large in size-around 10 MB per minute. Wave files can also contain data encoded with a variety of (lossy) codecs to reduce the file size (for example the GSM or MP3 formats). Wav files use a RIFF structure.',
'.wma' : 'Windows Media Audio format, created by Microsoft. Designed with Digital Rights Management (DRM) abilities for copy protection.',
'.wv' : 'format for wavpack file http://www.wavpack.com/flash/wavpack.htm',
'.webm' : 'Royalty-free format created for HTML5 video.',
}
| var2 = {'.webm': ('WebM', 'Free and libre format created for HTML5 video.'), '.mkv': ('Matroska', ''), '.flv': ('Flash Video', 'Use of the H.264 and AAC compression formats in the FLV file format has some limitations and authors of Flash Player strongly encourage everyone to embrace the new standard F4V file format.[2] De facto standard for web-based streaming video (over RTMP).'), '.flv': ('F4V', 'Replacement for FLV.'), '.vob': ('Vob', 'Files in VOB format have .vob filename extension and are typically stored in the VIDEO_TS folder at the root of a DVD.[5] The VOB format is based on the MPEG program stream format.'), '.ogv': ('Ogg Video', 'Open source'), '.ogg': ('Ogg Video', 'Open source'), '.drc': ('Dirac', 'Open source'), '.mng': ('Multiple-image Network Graphics', 'Inefficient, not widely used.'), '.avi': ('AVI', 'Uses RIFF'), '.mov': ('QuickTime File Format', ''), '.qt': ('QuickTime File Format', ''), '.wmv': ('Windows Media Video', ''), '.yuv': ('Raw video format', 'Supports all resolutions, sampling structures, and frame rates'), '.rm': ('RealMedia (RM)', 'Made for RealPlayer'), '.rmvb': ('RealMedia Variable Bitrate (RMVB)', 'Made for RealPlayer'), '.asf': ('Advanced Systems Format (ASF)', ''), '.mp4': ('MPEG-1', 'Old, but very widely used due to installed base.'), '.mp2': ('MPEG-1', 'Old, but very widely used due to installed base.'), '.mpeg': ('MPEG-1', 'Old, but very widely used due to installed base.'), '.mpe': ('MPEG-1', 'Old, but very widely used due to installed base.'), '.mpv': ('MPEG-1', 'Old, but very widely used due to installed base.'), '.mpg': ('MPEG-2 - Video', ''), '.mpeg': ('MPEG-2 - Video', ''), '.m2v': ('MPEG-2 - Video', ''), '.m4v': ('M4V - (file format for videos for iPods and PlayStation Portables developed by Apple)', 'Developed by Apple, used in iTunes. Very similar to MP4 format, but may optionally have DRM.'), '.svi': ('SVI', 'Samsung video format for portable players'), '.3gp': ('3GPP', 'Common video format for cell phones'), '.3g2': ('3GPP2', 'Common video format for cell phones'), '.mxf': ('Material Exchange Format (MXF)', ''), '.roq': ('ROQ', 'used by Quake 3'), '.nsv': ('Nullsoft Streaming Video (NSV)', 'For streaming video content over the Internet')}
var1 = {'.3gp': 'multimedia container format can contain proprietary formats as AMR, AMR-WB or AMR-WB+, but also some open formats', '.act': 'ACT is a lossy ADPCM 8 kbit/s compressed audio format recorded by most Chinese MP3 and MP4 players with a recording function, and voice recorders', '.aiff': 'standard audio file format used by Apple. It could be considered the Apple equivalent of wav.', '.aac': 'the Advanced Audio Coding format is based on the MPEG-2 and MPEG-4 standards. aac files are usually ADTS or ADIF containers.', '.amr': 'AMR-NB audio, used primarily for speech.', '.au': 'the standard audio file format used by Sun, Unix and Java. The audio in au files can be PCM or compressed with the u-law, a-law or G729 codecs.', '.awb': "AMR-WB audio, used primarily for speech, same as the ITU-T's G.722.2 specification.", '.dct': 'A variable codec format designed for dictation. It has dictation header information and can be encrypted (as may be required by medical confidentiality laws). A proprietary format of NCH Software.', '.dss': 'dss files are an Olympus proprietary format. It is a fairly old and poor codec. Gsm or mp3 are generally preferred where the recorder allows. It allows additional data to be held in the file header.', '.dvf': 'a Sony proprietary format for compressed voice files; commonly used by Sony dictation recorders.', '.flac': 'File format for the Free Lossless Audio Codec, a lossless compression codec.', '.gsm': 'designed for telephony use in Europe, gsm is a very practical format for telephone quality voice. It makes a good compromise between file size and quality. Note that wav files can also be encoded with the gsm codec.', '.iklax': 'An iKlax Media proprietary format, the iKlax format is a multi-track digital audio format allowing various actions on musical data, for instance on mixing and volumes arrangements.', '.ivs': '3D Solar UK Ltd\tA proprietary version with Digital Rights Management developed by 3D Solar UK Ltd for use in music downloaded from their Tronme Music Store and interactive music and video player.', '.m4a': 'An audio-only MPEG-4 file, used by Apple for unprotected music downloaded from their iTunes Music Store. Audio within the m4a file is typically encoded with AAC, although lossless ALAC may also be used.', '.m4p': 'A version of AAC with proprietary Digital Rights Management developed by Apple for use in music downloaded from their iTunes Music Store.', '.mmf': 'a Samsung audio format that is used in ringtones.', '.mp3': 'MPEG Layer III Audio. Is the most common sound file format used today.', '.mpc': 'Musepack or MPC (formerly known as MPEGplus, MPEG+ or MP+) is an open source lossy audio codec, specifically optimized for transparent compression of stereo audio at bitrates of 160-180 kbit/s.', '.msv': 'a Sony proprietary format for Memory Stick compressed voice files.', '.ogg': 'a free, open source container format supporting a variety of formats, the most popular of which is the audio format Vorbis. Vorbis offers compression similar to MP3 but is less popular.', '.oga': 'a free, open source container format supporting a variety of formats, the most popular of which is the audio format Vorbis. Vorbis offers compression similar to MP3 but is less popular.', '.opus': 'a lossy audio compression format developed by the Internet Engineering Task Force (IETF) and made especially suitable for interactive real-time applications over the Internet. As an open format standardised through RFC 6716, a reference implementation is provided under the 3-clause BSD license.', '.ra': 'a RealAudio format designed for streaming audio over the Internet. The .ra format allows files to be stored in a self-contained fashion on a computer, with all of the audio data contained inside the file itself.', '.rm': 'a RealAudio format designed for streaming audio over the Internet. The .ra format allows files to be stored in a self-contained fashion on a computer, with all of the audio data contained inside the file itself.', '.raw': 'a raw file can contain audio in any format but is usually used with PCM audio data. It is rarely used except for technical tests.', '.sln': 'Signed Linear PCM format used by Asterisk. Prior to v.10 the standard formats were 16-bit Signed Linear PCM sampled at 8kHz and at 16kHz. With v.10 many more sampling rates were added.', '.tta': 'The True Audio, real-time lossless audio codec.', '.vox': 'the vox format most commonly uses the Dialogic ADPCM (Adaptive Differential Pulse Code Modulation) codec. Similar to other ADPCM formats, it compresses to 4-bits. Vox format files are similar to wave files except that the vox files contain no information about the file itself so the codec sample rate and number of channels must first be specified in order to play a vox file.', '.wav': 'standard audio file container format used mainly in Windows PCs. Commonly used for storing uncompressed (PCM), CD-quality sound files, which means that they can be large in size-around 10 MB per minute. Wave files can also contain data encoded with a variety of (lossy) codecs to reduce the file size (for example the GSM or MP3 formats). Wav files use a RIFF structure.', '.wma': 'Windows Media Audio format, created by Microsoft. Designed with Digital Rights Management (DRM) abilities for copy protection.', '.wv': 'format for wavpack file http://www.wavpack.com/flash/wavpack.htm', '.webm': 'Royalty-free format created for HTML5 video.'} |
def example_1():
###### 0123456789012345678901234567890123456789012345678901234567890
record = ' 100 513.25 '
cost = int(record[20:32]) * float(record[40:48])
print(cost)
SHARES = slice(20, 32)
PRICE = slice(40, 48)
cost = int(record[SHARES]) * float(record[PRICE])
print(cost)
def example_2():
items = [0, 1, 2, 3, 4, 5, 6]
a = slice(2, 4)
print(items[2:4], items[a])
items[a] = [10, 11]
print(items)
del items[a]
print(items)
a = slice(10, 50, 2)
print(a.start)
print(a.stop)
print(a.step)
def example_3():
s = 'HelloWorld'
a = slice(0, 10, 2)
print(a.indices(len(s)))
for i in range(*a.indices(len(s))):
print(s[i])
if __name__ == '__main__':
example_1()
example_2()
example_3()
| def example_1():
record = ' 100 513.25 '
cost = int(record[20:32]) * float(record[40:48])
print(cost)
shares = slice(20, 32)
price = slice(40, 48)
cost = int(record[SHARES]) * float(record[PRICE])
print(cost)
def example_2():
items = [0, 1, 2, 3, 4, 5, 6]
a = slice(2, 4)
print(items[2:4], items[a])
items[a] = [10, 11]
print(items)
del items[a]
print(items)
a = slice(10, 50, 2)
print(a.start)
print(a.stop)
print(a.step)
def example_3():
s = 'HelloWorld'
a = slice(0, 10, 2)
print(a.indices(len(s)))
for i in range(*a.indices(len(s))):
print(s[i])
if __name__ == '__main__':
example_1()
example_2()
example_3() |
name = 'Escape'
movies = [
{'title': 'My Neighbor Totoro', 'year': '1988'},
{'title': 'Dead Poets Society', 'year': '1989'},
{'title': 'A Perfect World', 'year': '1993'},
{'title': 'Leon', 'year': '1994'},
{'title': 'Mahjong', 'year': '1996'},
{'title': 'Swallowtail Butterfly', 'year': '1996'},
{'title': 'King of Comedy', 'year': '1999'},
{'title': 'Devils on the Doorstep', 'year': '1999'},
{'title': 'WALL-E', 'year': '2008'},
{'title': 'The Pork of Music', 'year': '2012'}
]
| name = 'Escape'
movies = [{'title': 'My Neighbor Totoro', 'year': '1988'}, {'title': 'Dead Poets Society', 'year': '1989'}, {'title': 'A Perfect World', 'year': '1993'}, {'title': 'Leon', 'year': '1994'}, {'title': 'Mahjong', 'year': '1996'}, {'title': 'Swallowtail Butterfly', 'year': '1996'}, {'title': 'King of Comedy', 'year': '1999'}, {'title': 'Devils on the Doorstep', 'year': '1999'}, {'title': 'WALL-E', 'year': '2008'}, {'title': 'The Pork of Music', 'year': '2012'}] |
def calculated_quadratic_equation(a = 0, b = 0, c = 0):
r = a ** 2 + b + c
return r
print(calculated_quadratic_equation())
| def calculated_quadratic_equation(a=0, b=0, c=0):
r = a ** 2 + b + c
return r
print(calculated_quadratic_equation()) |
# %%
__depends__ = []
__dest__ = ['../../data/']
# %% | __depends__ = []
__dest__ = ['../../data/'] |
class WorkCli:
def __init__(self, workbranch):
self.workbranch = workbranch
def add_subparser(self, subparsers):
work_parser = subparsers.add_parser('work', help="Keep track of a currently important branch")
work_parser.add_argument("current", nargs="?", type=str, default=None, help="Show current work branch")
work_parser.add_argument("-s", action="store_true", help="Set current work branch")
work_parser.add_argument("-c", action="store_true", help="Checkout current work branch")
work_parser.add_argument("-ch", type=int, help="Checkout work branch from history by id")
work_parser.add_argument("-H", "--history", action="store_true", help="Show work branch history")
work_parser.set_defaults(func=self.handle_work)
def handle_work(self, args):
if args.s:
self.set_work_branch()
elif args.c:
self.checkout_work_branch()
elif args.ch:
self.checkout_work_branch_history(args.ch)
elif args.history:
self.print_work_branch_history()
else:
self.print_current_work_branch()
def print_current_work_branch(self):
current = self.workbranch.get_work_branch()
print("Current work branch is", ("not set" if current is None else current))
def print_work_branch_history(self):
for i, branch in enumerate(self.workbranch.get_work_branch_history()):
print(i, branch)
def set_work_branch(self):
branch = self.workbranch.set_work_branch()
print("Current work branch is %s" % branch)
def checkout_work_branch(self):
branch = self.workbranch.checkout_work_branch()
print("Switched to branch '%s'" % branch)
def checkout_work_branch_history(self, index):
branch = self.workbranch.checkout_work_branch_from_history(index)
print("No such branch" if branch is None else "Switched to branch '%s'" % branch) | class Workcli:
def __init__(self, workbranch):
self.workbranch = workbranch
def add_subparser(self, subparsers):
work_parser = subparsers.add_parser('work', help='Keep track of a currently important branch')
work_parser.add_argument('current', nargs='?', type=str, default=None, help='Show current work branch')
work_parser.add_argument('-s', action='store_true', help='Set current work branch')
work_parser.add_argument('-c', action='store_true', help='Checkout current work branch')
work_parser.add_argument('-ch', type=int, help='Checkout work branch from history by id')
work_parser.add_argument('-H', '--history', action='store_true', help='Show work branch history')
work_parser.set_defaults(func=self.handle_work)
def handle_work(self, args):
if args.s:
self.set_work_branch()
elif args.c:
self.checkout_work_branch()
elif args.ch:
self.checkout_work_branch_history(args.ch)
elif args.history:
self.print_work_branch_history()
else:
self.print_current_work_branch()
def print_current_work_branch(self):
current = self.workbranch.get_work_branch()
print('Current work branch is', 'not set' if current is None else current)
def print_work_branch_history(self):
for (i, branch) in enumerate(self.workbranch.get_work_branch_history()):
print(i, branch)
def set_work_branch(self):
branch = self.workbranch.set_work_branch()
print('Current work branch is %s' % branch)
def checkout_work_branch(self):
branch = self.workbranch.checkout_work_branch()
print("Switched to branch '%s'" % branch)
def checkout_work_branch_history(self, index):
branch = self.workbranch.checkout_work_branch_from_history(index)
print('No such branch' if branch is None else "Switched to branch '%s'" % branch) |
class Scope:
def __init__ (self, parent=None):
self.parent = parent
self.elements = dict()
def get_element (self, name, type, current=False):
r = self.elements.get(type, None)
if r != None:
r = r.get(name, None)
if r == None and self.parent != None and not current:
return self.parent.get_element(name, type)
else:
return r
def add_element (self, obj):
_type = type(obj)
if _type not in self.elements:
self.elements[_type] = dict()
self.elements[_type][obj.name] = obj
def subscope (self):
return Scope(self)
def topscope (self):
return self.parent | class Scope:
def __init__(self, parent=None):
self.parent = parent
self.elements = dict()
def get_element(self, name, type, current=False):
r = self.elements.get(type, None)
if r != None:
r = r.get(name, None)
if r == None and self.parent != None and (not current):
return self.parent.get_element(name, type)
else:
return r
def add_element(self, obj):
_type = type(obj)
if _type not in self.elements:
self.elements[_type] = dict()
self.elements[_type][obj.name] = obj
def subscope(self):
return scope(self)
def topscope(self):
return self.parent |
# Fibonacci: Sum of the last two numbers gives the next one.
# Series: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610 .....
# Works only with positive integers
# Step1: Recursive Case
# fibonacci(n) = fibonacci(n-1) + fibonacci(n-2)
# Step2: Base Case
# fibonacci(0) = 0
# fibonacci(1) = 1
# Step3: Edge Cases or Constraints
# Only positive integers
# fibonacci(-1) ??
# fibonacci(1.5) ??
def fibonacci(n):
if n in [0,1]:
return n
else:
return fibonacci(n-1) + fibonacci(n-2)
def is_int(n, is_pos=False):
try:
n = int(n)
if is_pos:
if n > 0:
return True
else:
return False
else:
return True
except:
return False
if __name__ == '__main__':
n = input("Enter the value of n:")
if is_int(n, is_pos=True):
n = int(n)
for i in range(n):
print(fibonacci(i))
# print(fibonacci(n))
else:
print("Please enter a positive integer only.")
| def fibonacci(n):
if n in [0, 1]:
return n
else:
return fibonacci(n - 1) + fibonacci(n - 2)
def is_int(n, is_pos=False):
try:
n = int(n)
if is_pos:
if n > 0:
return True
else:
return False
else:
return True
except:
return False
if __name__ == '__main__':
n = input('Enter the value of n:')
if is_int(n, is_pos=True):
n = int(n)
for i in range(n):
print(fibonacci(i))
else:
print('Please enter a positive integer only.') |
'''
URL: https://leetcode.com/problems/count-the-number-of-consistent-strings/
Difficulty: Easy
Description: Count the Number of Consistent Strings
You are given a string allowed consisting of distinct characters and an array of strings words. A string is consistent if all characters in the string appear in the string allowed.
Return the number of consistent strings in the array words.
Example 1:
Input: allowed = "ab", words = ["ad","bd","aaab","baa","badab"]
Output: 2
Explanation: Strings "aaab" and "baa" are consistent since they only contain characters 'a' and 'b'.
Example 2:
Input: allowed = "abc", words = ["a","b","c","ab","ac","bc","abc"]
Output: 7
Explanation: All strings are consistent.
Example 3:
Input: allowed = "cad", words = ["cc","acd","b","ba","bac","bad","ac","d"]
Output: 4
Explanation: Strings "cc", "acd", "ac", and "d" are consistent.
Constraints:
1 <= words.length <= 104
1 <= allowed.length <= 26
1 <= words[i].length <= 10
The characters in allowed are distinct.
words[i] and allowed contain only lowercase English letters.
'''
class Solution:
def countConsistentStrings(self, allowed, words):
return sum([1 for s in words if set(s).issubset(set(allowed))])
| """
URL: https://leetcode.com/problems/count-the-number-of-consistent-strings/
Difficulty: Easy
Description: Count the Number of Consistent Strings
You are given a string allowed consisting of distinct characters and an array of strings words. A string is consistent if all characters in the string appear in the string allowed.
Return the number of consistent strings in the array words.
Example 1:
Input: allowed = "ab", words = ["ad","bd","aaab","baa","badab"]
Output: 2
Explanation: Strings "aaab" and "baa" are consistent since they only contain characters 'a' and 'b'.
Example 2:
Input: allowed = "abc", words = ["a","b","c","ab","ac","bc","abc"]
Output: 7
Explanation: All strings are consistent.
Example 3:
Input: allowed = "cad", words = ["cc","acd","b","ba","bac","bad","ac","d"]
Output: 4
Explanation: Strings "cc", "acd", "ac", and "d" are consistent.
Constraints:
1 <= words.length <= 104
1 <= allowed.length <= 26
1 <= words[i].length <= 10
The characters in allowed are distinct.
words[i] and allowed contain only lowercase English letters.
"""
class Solution:
def count_consistent_strings(self, allowed, words):
return sum([1 for s in words if set(s).issubset(set(allowed))]) |
board_width, board_length = list(map(int, input().split()))
domino_length = 2
if board_width % 2 == 0:
print((board_width // domino_length) * board_length)
elif board_length % 2 == 0:
print((board_length // domino_length) * board_width)
else:
print((board_width * board_length) // domino_length)
| (board_width, board_length) = list(map(int, input().split()))
domino_length = 2
if board_width % 2 == 0:
print(board_width // domino_length * board_length)
elif board_length % 2 == 0:
print(board_length // domino_length * board_width)
else:
print(board_width * board_length // domino_length) |
class VehiclesDataset:
def __init__(self):
self.num_vehicle = 0
self.num_object = 0
self.num_object_with_kp = 0
self.vehicles = dict()
self.valid_ids = set()
self.mean_shape = None
self.pca_comp = None
self.camera_mtx = None
self.image_names = None
self.data_dir = None
self.mean_traj = None
self.cov_traj = None
self.plane = None
def __str__(self):
return "Vehicle Dataset: {} vehicles, {} objects".format(self.num_vehicle, self.num_of_objects())
def insert_vehicle(self, id, vehicle):
self.vehicles[id] = vehicle
self.valid_ids.add(id)
sorted(self.valid_ids)
self.num_vehicle += 1
def get_vehicle(self, query_id):
if query_id not in self.valid_ids:
return None
else:
return self.vehicles[query_id]
def size(self):
return self.num_vehicle
def contains(self, query_id):
return query_id in self.valid_ids
def num_of_objects(self):
num = 0
for k, v in self.vehicles.items():
num += v.num_objects
self.num_object = num
return num
def num_of_objects_with_kp(self):
num = 0
for k, v in self.vehicles.items():
num += v.num_objects_with_kp
self.num_object_with_kp = num
return num
class Vehicle:
def __init__(self, image_path, keypoint, bbox, image_id, keypoint_pool):
self.num_objects = 0
self.num_objects_with_kp = 0
self.id = None
self.frames = dict()
self.image_paths = dict()
self.keypoints = dict()
self.keypoints_backup = dict()
self.keypoints_det2 = dict()
self.keypoints_proj2 = dict()
self.bboxs = dict()
self.image_ids = dict()
self.rt = dict()
self.keypoints_pool = dict()
self.insert_object(image_path, keypoint, bbox, image_id, keypoint_pool)
self.pca = [0.0] * 5
self.shape = [[0.0, 0.0, 0.0] * 12]
self.spline = None # np.zeros((6, ))
self.spline_points = None
self.spline_predict = None # np.zeros((6, ))
self.spline_points_predict = None
self.rt_traj = dict()
self.rotation_world2cam = None
self.translation_world2cam = None
self.first_appearance_frame_id = None
self.stop_frame_range = None
self.first_move_frame_id = None
self.first_appearance_frame_time_pred = None
self.traj_cluster_id = None
def __str__(self):
return "ID: {}, with {} objects".format(self.id, self.num_objects) + ', PCA: [' + \
', '.join(["{0:0.2f}".format(i) for i in self.pca]) + ']'
def insert_object(self, image_path, keypoint, bbox, image_id, keypoint_pool=None, backup=False):
if image_path in self.image_paths:
print('{} is already contained, discard!'.format(image_path))
return None
else:
object_id = self.num_objects
self.image_paths[object_id] = image_path
self.frames[object_id] = int(image_path[-8:-4])
self.image_ids[object_id] = image_id
if backup:
self.keypoints_backup[object_id] = keypoint
else:
self.keypoints_backup[object_id] = None
self.keypoints[object_id] = keypoint
self.bboxs[object_id] = bbox
self.rt[object_id] = None
self.keypoints_pool[object_id] = keypoint_pool
self.num_objects += 1
if keypoint is not None:
self.num_objects_with_kp += 1
return object_id
def set_id(self, init_id):
self.id = init_id
def set_pca(self, pca):
if type(pca) is not list or len(pca) is not 5:
raise Warning("PCA component should be list of length 5")
else:
self.pca = pca
def set_3d_shape(self, shape):
if type(shape) is not list or len(shape) is not 12:
raise Warning("3D shape should be list of length 12, each has [x, y, z]")
else:
self.shape = shape
def set_rt(self, obj_id, rvec, tvec):
if type(rvec) is not list or len(rvec) is not 3 or type(tvec) is not list or len(tvec) is not 3:
raise Warning("rvec and tvec should be list of length 3.")
elif obj_id >= self.num_objects:
raise Warning("object id doesnot exist.")
else:
self.rt[obj_id] = [rvec, tvec]
def set_keypoints(self, obj_id, keypoints, backup=False):
if len(keypoints) is not 12:
# if type(keypoints) is not list or len(keypoints) is not 12:
raise Warning("keypoints should be list of length 12.")
elif obj_id >= self.num_objects:
raise Warning("object id doesnot exist.")
else:
if backup:
self.keypoints_backup[obj_id] = self.keypoints[obj_id]
self.keypoints[obj_id] = keypoints
def set_keypoints_cam2(self, obj_id, keypoints, det=True):
if len(keypoints) is not 12:
raise Warning("keypoints should be list of length 12.")
elif obj_id >= self.num_objects:
raise Warning("object id doesnot exist.")
else:
if det:
self.keypoints_det2[obj_id] = keypoints
else:
self.keypoints_proj2[obj_id] = keypoints
| class Vehiclesdataset:
def __init__(self):
self.num_vehicle = 0
self.num_object = 0
self.num_object_with_kp = 0
self.vehicles = dict()
self.valid_ids = set()
self.mean_shape = None
self.pca_comp = None
self.camera_mtx = None
self.image_names = None
self.data_dir = None
self.mean_traj = None
self.cov_traj = None
self.plane = None
def __str__(self):
return 'Vehicle Dataset: {} vehicles, {} objects'.format(self.num_vehicle, self.num_of_objects())
def insert_vehicle(self, id, vehicle):
self.vehicles[id] = vehicle
self.valid_ids.add(id)
sorted(self.valid_ids)
self.num_vehicle += 1
def get_vehicle(self, query_id):
if query_id not in self.valid_ids:
return None
else:
return self.vehicles[query_id]
def size(self):
return self.num_vehicle
def contains(self, query_id):
return query_id in self.valid_ids
def num_of_objects(self):
num = 0
for (k, v) in self.vehicles.items():
num += v.num_objects
self.num_object = num
return num
def num_of_objects_with_kp(self):
num = 0
for (k, v) in self.vehicles.items():
num += v.num_objects_with_kp
self.num_object_with_kp = num
return num
class Vehicle:
def __init__(self, image_path, keypoint, bbox, image_id, keypoint_pool):
self.num_objects = 0
self.num_objects_with_kp = 0
self.id = None
self.frames = dict()
self.image_paths = dict()
self.keypoints = dict()
self.keypoints_backup = dict()
self.keypoints_det2 = dict()
self.keypoints_proj2 = dict()
self.bboxs = dict()
self.image_ids = dict()
self.rt = dict()
self.keypoints_pool = dict()
self.insert_object(image_path, keypoint, bbox, image_id, keypoint_pool)
self.pca = [0.0] * 5
self.shape = [[0.0, 0.0, 0.0] * 12]
self.spline = None
self.spline_points = None
self.spline_predict = None
self.spline_points_predict = None
self.rt_traj = dict()
self.rotation_world2cam = None
self.translation_world2cam = None
self.first_appearance_frame_id = None
self.stop_frame_range = None
self.first_move_frame_id = None
self.first_appearance_frame_time_pred = None
self.traj_cluster_id = None
def __str__(self):
return 'ID: {}, with {} objects'.format(self.id, self.num_objects) + ', PCA: [' + ', '.join(['{0:0.2f}'.format(i) for i in self.pca]) + ']'
def insert_object(self, image_path, keypoint, bbox, image_id, keypoint_pool=None, backup=False):
if image_path in self.image_paths:
print('{} is already contained, discard!'.format(image_path))
return None
else:
object_id = self.num_objects
self.image_paths[object_id] = image_path
self.frames[object_id] = int(image_path[-8:-4])
self.image_ids[object_id] = image_id
if backup:
self.keypoints_backup[object_id] = keypoint
else:
self.keypoints_backup[object_id] = None
self.keypoints[object_id] = keypoint
self.bboxs[object_id] = bbox
self.rt[object_id] = None
self.keypoints_pool[object_id] = keypoint_pool
self.num_objects += 1
if keypoint is not None:
self.num_objects_with_kp += 1
return object_id
def set_id(self, init_id):
self.id = init_id
def set_pca(self, pca):
if type(pca) is not list or len(pca) is not 5:
raise warning('PCA component should be list of length 5')
else:
self.pca = pca
def set_3d_shape(self, shape):
if type(shape) is not list or len(shape) is not 12:
raise warning('3D shape should be list of length 12, each has [x, y, z]')
else:
self.shape = shape
def set_rt(self, obj_id, rvec, tvec):
if type(rvec) is not list or len(rvec) is not 3 or type(tvec) is not list or (len(tvec) is not 3):
raise warning('rvec and tvec should be list of length 3.')
elif obj_id >= self.num_objects:
raise warning('object id doesnot exist.')
else:
self.rt[obj_id] = [rvec, tvec]
def set_keypoints(self, obj_id, keypoints, backup=False):
if len(keypoints) is not 12:
raise warning('keypoints should be list of length 12.')
elif obj_id >= self.num_objects:
raise warning('object id doesnot exist.')
else:
if backup:
self.keypoints_backup[obj_id] = self.keypoints[obj_id]
self.keypoints[obj_id] = keypoints
def set_keypoints_cam2(self, obj_id, keypoints, det=True):
if len(keypoints) is not 12:
raise warning('keypoints should be list of length 12.')
elif obj_id >= self.num_objects:
raise warning('object id doesnot exist.')
elif det:
self.keypoints_det2[obj_id] = keypoints
else:
self.keypoints_proj2[obj_id] = keypoints |
class UrineProcessorAssembly:
name = "Urine Processor Assembly"
params = [
{
"key": "max_urine_consumed_per_hour",
"label": "",
"units": "kg/hr",
"private": False,
"value": 0.375,
"confidence": 0,
"notes": "9 kg/day / 24 per wikipedia",
"source": "https://en.wikipedia.org/wiki/ISS_ECLSS"
},
{
"key": "min_urine_consumed_per_hour",
"label": "",
"units": "kg/hr",
"private": False,
"value": 0.1,
"confidence": 0,
"notes": "",
"source": "fake"
},
{
"key": "dc_kwh_consumed_per_hour",
"label": "",
"units": "kwh",
"private": False,
"value": 1.501,
"confidence": 0,
"notes": "TODO: Should be per kg input",
"source": "https://simoc.space/wp-content/uploads/2020/06/simoc_agent_currencies-20200601.pdf"
},
{
"key": "efficiency",
"label": "",
"units": "decimal %",
"private": False,
"value": 0.85,
"confidence": 0,
"notes": "Not sure if this is accurate",
"source": "https://en.wikipedia.org/wiki/ISS_ECLSS"
},
{
"key": "mass",
"label": "",
"units": "kg",
"private": False,
"value": 193.3,
"confidence": 0,
"notes": "",
"source": "https://simoc.space/wp-content/uploads/2020/06/simoc_agent_currencies-20200601.pdf"
},
{
"key": "volume",
"label": "",
"units": "m3",
"private": False,
"value": 0.39,
"confidence": 0,
"notes": "",
"source": "https://simoc.space/wp-content/uploads/2020/06/simoc_agent_currencies-20200601.pdf"
}
]
states = []
@staticmethod
def run_step(states, params, utils):
if states.urine < params.min_urine_consumed_per_hour:
return
if states.available_dc_kwh < params.dc_kwh_consumed_per_hour:
return
urine_processed = min(states.urine, params.max_urine_consumed_per_hour)
states.urine -= urine_processed
states.available_dc_kwh -= min(states.available_dc_kwh, params.dc_kwh_consumed_per_hour)
states.unfiltered_water += urine_processed
| class Urineprocessorassembly:
name = 'Urine Processor Assembly'
params = [{'key': 'max_urine_consumed_per_hour', 'label': '', 'units': 'kg/hr', 'private': False, 'value': 0.375, 'confidence': 0, 'notes': '9 kg/day / 24 per wikipedia', 'source': 'https://en.wikipedia.org/wiki/ISS_ECLSS'}, {'key': 'min_urine_consumed_per_hour', 'label': '', 'units': 'kg/hr', 'private': False, 'value': 0.1, 'confidence': 0, 'notes': '', 'source': 'fake'}, {'key': 'dc_kwh_consumed_per_hour', 'label': '', 'units': 'kwh', 'private': False, 'value': 1.501, 'confidence': 0, 'notes': 'TODO: Should be per kg input', 'source': 'https://simoc.space/wp-content/uploads/2020/06/simoc_agent_currencies-20200601.pdf'}, {'key': 'efficiency', 'label': '', 'units': 'decimal %', 'private': False, 'value': 0.85, 'confidence': 0, 'notes': 'Not sure if this is accurate', 'source': 'https://en.wikipedia.org/wiki/ISS_ECLSS'}, {'key': 'mass', 'label': '', 'units': 'kg', 'private': False, 'value': 193.3, 'confidence': 0, 'notes': '', 'source': 'https://simoc.space/wp-content/uploads/2020/06/simoc_agent_currencies-20200601.pdf'}, {'key': 'volume', 'label': '', 'units': 'm3', 'private': False, 'value': 0.39, 'confidence': 0, 'notes': '', 'source': 'https://simoc.space/wp-content/uploads/2020/06/simoc_agent_currencies-20200601.pdf'}]
states = []
@staticmethod
def run_step(states, params, utils):
if states.urine < params.min_urine_consumed_per_hour:
return
if states.available_dc_kwh < params.dc_kwh_consumed_per_hour:
return
urine_processed = min(states.urine, params.max_urine_consumed_per_hour)
states.urine -= urine_processed
states.available_dc_kwh -= min(states.available_dc_kwh, params.dc_kwh_consumed_per_hour)
states.unfiltered_water += urine_processed |
n=6
while n >0:
n-=1
if n % 2 ==0:
print(n, end ="")
if n % 3 == 0:
print(n, end='') | n = 6
while n > 0:
n -= 1
if n % 2 == 0:
print(n, end='')
if n % 3 == 0:
print(n, end='') |
#https://www.wwpdb.org/documentation/file-format-content/format23/v2.3.html
def line_is_ATOM_record(line):
return line.startswith('ATOM ')
def line_is_HETATM_record(line):
return line.startswith('HETATM')
def get_fields_from_ATOM_record(record):
fields={}
fields['ATOM '] = record[0:6]
fields['serial'] = int(record[6:11])
fields['name'] = record[12:16]
fields['altLoc'] = record[16]
fields['resName'] = record[17:20]
fields['chainID'] = record[21]
fields['resSeq'] = int(record[22:26])
fields['iCode'] = record[26]
fields['x'] = float(record[30:38])
fields['y'] = float(record[38:46])
fields['z'] = float(record[46:54])
fields['occupancy'] = float(record[54:60])
fields['tempFactor'] = float(record[60:66])
fields['element'] = record[76:78]
fields['charge'] = float(record[78:80])
def get_fields_from_HETATM_record(record):
fields={}
fields['HETATM'] = record[0:6]
fields['serial'] = int(record[6:11])
fields['name'] = record[12:16]
fields['altLoc'] = record[16]
fields['resName'] = record[17:20]
fields['chainID'] = record[21]
fields['resSeq'] = int(record[22:26])
fields['iCode'] = record[26]
fields['x'] = float(record[30:38])
fields['y'] = float(record[38:46])
fields['z'] = float(record[46:54])
fields['occupancy'] = float(record[54:60])
fields['tempFactor'] = float(record[60:66])
fields['element'] = record[76:78]
fields['charge'] = float(record[78:80])
| def line_is_atom_record(line):
return line.startswith('ATOM ')
def line_is_hetatm_record(line):
return line.startswith('HETATM')
def get_fields_from_atom_record(record):
fields = {}
fields['ATOM '] = record[0:6]
fields['serial'] = int(record[6:11])
fields['name'] = record[12:16]
fields['altLoc'] = record[16]
fields['resName'] = record[17:20]
fields['chainID'] = record[21]
fields['resSeq'] = int(record[22:26])
fields['iCode'] = record[26]
fields['x'] = float(record[30:38])
fields['y'] = float(record[38:46])
fields['z'] = float(record[46:54])
fields['occupancy'] = float(record[54:60])
fields['tempFactor'] = float(record[60:66])
fields['element'] = record[76:78]
fields['charge'] = float(record[78:80])
def get_fields_from_hetatm_record(record):
fields = {}
fields['HETATM'] = record[0:6]
fields['serial'] = int(record[6:11])
fields['name'] = record[12:16]
fields['altLoc'] = record[16]
fields['resName'] = record[17:20]
fields['chainID'] = record[21]
fields['resSeq'] = int(record[22:26])
fields['iCode'] = record[26]
fields['x'] = float(record[30:38])
fields['y'] = float(record[38:46])
fields['z'] = float(record[46:54])
fields['occupancy'] = float(record[54:60])
fields['tempFactor'] = float(record[60:66])
fields['element'] = record[76:78]
fields['charge'] = float(record[78:80]) |
class Calculator:
def __init__(self):
self.calculation = 0
self.operation = None
def plus(self, num):
self.calculation += num
def minus(self, num):
self.calculation -= num
def multiply(self, num):
self.calculation *= num
def divide(self, num):
self.calculation /= num | class Calculator:
def __init__(self):
self.calculation = 0
self.operation = None
def plus(self, num):
self.calculation += num
def minus(self, num):
self.calculation -= num
def multiply(self, num):
self.calculation *= num
def divide(self, num):
self.calculation /= num |
# Apache License Version 2.0
#
# Copyright (c) 2021., Redis Labs Modules
# All rights reserved.
#
def create_extract_arguments(parser):
parser.add_argument(
"--redis-url",
type=str,
default="redis://localhost:6379",
help="The url for Redis connection",
)
parser.add_argument(
"--output-tags-json",
type=str,
default="extracted_tags.json",
help="output filename containing the extracted tags from redis.",
)
parser.add_argument(
"--s3-bucket-name",
type=str,
default="benchmarks.redislabs",
help="S3 bucket name.",
)
parser.add_argument(
"--upload-results-s3",
default=False,
action="store_true",
help="uploads the result files and configuration file to public "
"'benchmarks.redislabs' bucket. Proper credentials are required",
)
parser.add_argument(
"--cluster-mode",
default=False,
action="store_true",
help="Run client in cluster mode",
)
return parser
| def create_extract_arguments(parser):
parser.add_argument('--redis-url', type=str, default='redis://localhost:6379', help='The url for Redis connection')
parser.add_argument('--output-tags-json', type=str, default='extracted_tags.json', help='output filename containing the extracted tags from redis.')
parser.add_argument('--s3-bucket-name', type=str, default='benchmarks.redislabs', help='S3 bucket name.')
parser.add_argument('--upload-results-s3', default=False, action='store_true', help="uploads the result files and configuration file to public 'benchmarks.redislabs' bucket. Proper credentials are required")
parser.add_argument('--cluster-mode', default=False, action='store_true', help='Run client in cluster mode')
return parser |
####################################################################
#
# Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Filename - globaldefinesrsaformat.py
# Description - This file contains global defines used in the RSA
# Format parser
####################################################################
# Parameter type
PARAM_MOD = 1
PARAM_PRIV_EXP = 2
PARAM_EXP = 3
# PEM header and footer
PEM_START = "-----BEGIN RSA PRIVATE KEY-----\n"
PEM_END = "\n-----END RSA PRIVATE KEY-----\n"
# PEM header size
PEM_HEADER_SIZE_BYTES = 4
# PEM version size
PEM_VERSION_SIZE_BYTES = 3
# Parameters ASN.1 DER type
PARAM_HEADER_INTEGER_TYPE = 2
# Length ASN.1 DER
PARAM_LENGTH_INDICATION_BIT = 7
PARAM_LENGTH_INDICATION = 0x1 << PARAM_LENGTH_INDICATION_BIT
PARAM_LENGTH_BITS_MASK = 0x7F
# Size of expected Mod & Priv exponent
RSA_MOD_SIZE_BYTES = 256
# Modulus & Priv Exponent ASN.1 header size
MOD_HEADER_FIXED_SIZE_BYTES = 4
# Exponent ASN.1 header size
EXP_HEADER_FIXED_SIZE_BYTES = 2
# Exponent expected value
EXP_EXPECTED_VAL = 65537
# AES key fixed size
AES_KEY_SIZE_IN_BYTES = 32
| param_mod = 1
param_priv_exp = 2
param_exp = 3
pem_start = '-----BEGIN RSA PRIVATE KEY-----\n'
pem_end = '\n-----END RSA PRIVATE KEY-----\n'
pem_header_size_bytes = 4
pem_version_size_bytes = 3
param_header_integer_type = 2
param_length_indication_bit = 7
param_length_indication = 1 << PARAM_LENGTH_INDICATION_BIT
param_length_bits_mask = 127
rsa_mod_size_bytes = 256
mod_header_fixed_size_bytes = 4
exp_header_fixed_size_bytes = 2
exp_expected_val = 65537
aes_key_size_in_bytes = 32 |
class Trie(object):
def __init__(self):
self.child = {}
def insert(self, word):
word = word.strip()
current = self.child
for l in word:
if l not in current:
current[l] = {}
current = current[l]
current['#']=1
def search(self, word):
word = word.strip()
current = self.child
for l in word:
if l not in current:
return False
current = current[l]
return '#' in current
def startsWith(self, prefix):
prefix = prefix.strip()
current = self.child
for l in prefix:
if l not in current:
return False
current = current[l]
return True
def tostring(self):
print("Trie structure: ")
print(self.child)
| class Trie(object):
def __init__(self):
self.child = {}
def insert(self, word):
word = word.strip()
current = self.child
for l in word:
if l not in current:
current[l] = {}
current = current[l]
current['#'] = 1
def search(self, word):
word = word.strip()
current = self.child
for l in word:
if l not in current:
return False
current = current[l]
return '#' in current
def starts_with(self, prefix):
prefix = prefix.strip()
current = self.child
for l in prefix:
if l not in current:
return False
current = current[l]
return True
def tostring(self):
print('Trie structure: ')
print(self.child) |
def SB_BinaryStats(y,binaryMethod = 'diff'):
yBin = BF_Binarize(y,binaryMethod)
N = len(yBin)
outDict = {}
outDict['pupstat2'] = np.sum((yBin[math.floor(N /2):] == 1)) / np.sum((yBin[:math.floor(N /2)] == 1))
stretch1 = []
stretch0 = []
count = 1
for i in range(1,N):
if yBin[i] == yBin[i - 1]:
count = count + 1
else:
if yBin[i - 1] == 1:
stretch1.append(count)
else:
stretch0.append(count)
count = 1
if yBin[N-1] == 1:
stretch1.append(count)
else:
stretch0.append(count)
outDict['pstretch1'] = len(stretch1) / N
if stretch0 == []:
outDict['longstretch0'] = 0
outDict['meanstretch0'] = 0
outDict['stdstretch0'] = None
else:
outDict['longstretch0'] = np.max(stretch0)
outDict['meanstretch0'] = np.mean(stretch0)
outDict['stdstretch0'] = np.std(stretch0,ddof = 1)
if stretch1 == []:
outDict['longstretch1'] = 0
outDict['meanstretch1'] = 0
outDict['stdstretch1'] = None
else:
outDict['longstretch1'] = np.max(stretch1)
outDict['meanstretch1'] = np.mean(stretch1)
outDict['stdstretch1'] = np.std(stretch1,ddof = 1)
try:
outDict['meanstretchdiff'] = outDict['meanstretch1'] - outDict['meanstretch0']
outDict['stdstretchdiff'] = outDict['stdstretch1'] - outDict['stdstretch0']
except:
pass
return outDict
| def sb__binary_stats(y, binaryMethod='diff'):
y_bin = bf__binarize(y, binaryMethod)
n = len(yBin)
out_dict = {}
outDict['pupstat2'] = np.sum(yBin[math.floor(N / 2):] == 1) / np.sum(yBin[:math.floor(N / 2)] == 1)
stretch1 = []
stretch0 = []
count = 1
for i in range(1, N):
if yBin[i] == yBin[i - 1]:
count = count + 1
else:
if yBin[i - 1] == 1:
stretch1.append(count)
else:
stretch0.append(count)
count = 1
if yBin[N - 1] == 1:
stretch1.append(count)
else:
stretch0.append(count)
outDict['pstretch1'] = len(stretch1) / N
if stretch0 == []:
outDict['longstretch0'] = 0
outDict['meanstretch0'] = 0
outDict['stdstretch0'] = None
else:
outDict['longstretch0'] = np.max(stretch0)
outDict['meanstretch0'] = np.mean(stretch0)
outDict['stdstretch0'] = np.std(stretch0, ddof=1)
if stretch1 == []:
outDict['longstretch1'] = 0
outDict['meanstretch1'] = 0
outDict['stdstretch1'] = None
else:
outDict['longstretch1'] = np.max(stretch1)
outDict['meanstretch1'] = np.mean(stretch1)
outDict['stdstretch1'] = np.std(stretch1, ddof=1)
try:
outDict['meanstretchdiff'] = outDict['meanstretch1'] - outDict['meanstretch0']
outDict['stdstretchdiff'] = outDict['stdstretch1'] - outDict['stdstretch0']
except:
pass
return outDict |
#
# PySNMP MIB module LINKSYS-WLAN-ACCESS-POINT-REF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LINKSYS-WLAN-ACCESS-POINT-REF-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:07:23 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
iso, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, TimeTicks, IpAddress, Bits, ObjectIdentity, Counter32, MibIdentifier, enterprises, Gauge32, Integer32, Counter64, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "TimeTicks", "IpAddress", "Bits", "ObjectIdentity", "Counter32", "MibIdentifier", "enterprises", "Gauge32", "Integer32", "Counter64", "Unsigned32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
linksys = ModuleIdentity((1, 3, 6, 1, 4, 1, 3955))
linksys.setRevisions(('2014-04-09 12:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: linksys.setRevisionsDescriptions(('Initial release.',))
if mibBuilder.loadTexts: linksys.setLastUpdated('201404090000Z')
if mibBuilder.loadTexts: linksys.setOrganization('Linksys, LLC. Corporation')
if mibBuilder.loadTexts: linksys.setContactInfo(' Postal: Linksys International, Inc. 131 Theory Drive Irvine, CA 92617 Tel: +1 949 270 8500')
if mibBuilder.loadTexts: linksys.setDescription('Wireless-AC Dual Band LAPAC1750PRO Access Point with PoE.')
smb = MibIdentifier((1, 3, 6, 1, 4, 1, 3955, 1000))
mibBuilder.exportSymbols("LINKSYS-WLAN-ACCESS-POINT-REF-MIB", PYSNMP_MODULE_ID=linksys, linksys=linksys, smb=smb)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, constraints_union, value_range_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(iso, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, time_ticks, ip_address, bits, object_identity, counter32, mib_identifier, enterprises, gauge32, integer32, counter64, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'TimeTicks', 'IpAddress', 'Bits', 'ObjectIdentity', 'Counter32', 'MibIdentifier', 'enterprises', 'Gauge32', 'Integer32', 'Counter64', 'Unsigned32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
linksys = module_identity((1, 3, 6, 1, 4, 1, 3955))
linksys.setRevisions(('2014-04-09 12:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
linksys.setRevisionsDescriptions(('Initial release.',))
if mibBuilder.loadTexts:
linksys.setLastUpdated('201404090000Z')
if mibBuilder.loadTexts:
linksys.setOrganization('Linksys, LLC. Corporation')
if mibBuilder.loadTexts:
linksys.setContactInfo(' Postal: Linksys International, Inc. 131 Theory Drive Irvine, CA 92617 Tel: +1 949 270 8500')
if mibBuilder.loadTexts:
linksys.setDescription('Wireless-AC Dual Band LAPAC1750PRO Access Point with PoE.')
smb = mib_identifier((1, 3, 6, 1, 4, 1, 3955, 1000))
mibBuilder.exportSymbols('LINKSYS-WLAN-ACCESS-POINT-REF-MIB', PYSNMP_MODULE_ID=linksys, linksys=linksys, smb=smb) |
print("The variable Pp/Ptot, i.e. the fraction of paused polymerases, seems to provide the best contrast between its minimal and maximal values as K_3 varies, regardless of the values of K_1 and K_2. In this example, it is not very surprising. Sometimes it is more difficult to find which model output is the most sensitive to a given parameter. ")
print(" The sensitivity is optimal for low values of K_3, i.e. K_3<K_1*K_2, where the slope of the curve Pp/Ptot=function(K_3) is the steepest.")
print(" To find out whether Pp/Ptot is sensitive to K_1 and or K_2, we need to give a value to K_3 and plot as a function of the other variables. ")
print("Starting with low K_3=0.3, we find that Pp is sensitive to K_2 mostly for K_2 lower than K_3, for larger values it becomes a flat curve. This remains true for larger K_3. And this is even more true for Pp/Ptot as a function of K_1, where the curve is flat for almost the entire range of K_1, regardless of the values of K_2 and K_3.")
print("")
print("So in summary, to measure differences across the genes in the pausing rate, we would need to 1) measure the fraction of paused polymerase complexes Pp/Ptot, and 2) try to work in experimental conditions where the other rates are as large as possible, where their influence on Pp/Ptot=function(K_3) is minimal. Maximizing K_1 could for instance be achieved by stabilizing the polymerase on DNA, which would reduce the k_off rate; maximizing K_2 could be achieved by selecting genes with low mRNA transcription rate, indicative in this model a low termination rate.")
| print('The variable Pp/Ptot, i.e. the fraction of paused polymerases, seems to provide the best contrast between its minimal and maximal values as K_3 varies, regardless of the values of K_1 and K_2. In this example, it is not very surprising. Sometimes it is more difficult to find which model output is the most sensitive to a given parameter. ')
print(' The sensitivity is optimal for low values of K_3, i.e. K_3<K_1*K_2, where the slope of the curve Pp/Ptot=function(K_3) is the steepest.')
print(' To find out whether Pp/Ptot is sensitive to K_1 and or K_2, we need to give a value to K_3 and plot as a function of the other variables. ')
print('Starting with low K_3=0.3, we find that Pp is sensitive to K_2 mostly for K_2 lower than K_3, for larger values it becomes a flat curve. This remains true for larger K_3. And this is even more true for Pp/Ptot as a function of K_1, where the curve is flat for almost the entire range of K_1, regardless of the values of K_2 and K_3.')
print('')
print('So in summary, to measure differences across the genes in the pausing rate, we would need to 1) measure the fraction of paused polymerase complexes Pp/Ptot, and 2) try to work in experimental conditions where the other rates are as large as possible, where their influence on Pp/Ptot=function(K_3) is minimal. Maximizing K_1 could for instance be achieved by stabilizing the polymerase on DNA, which would reduce the k_off rate; maximizing K_2 could be achieved by selecting genes with low mRNA transcription rate, indicative in this model a low termination rate.') |
def F():
a,b = 0,1
while True:
yield a
a, b = b, a + b
def SubFib(startNumber, endNumber):
for cur in F():
if cur > endNumber: return
if cur >= startNumber:
yield cur
# for i in SubFib(10, 200):
# print(i)
def fib(x):
if x < 2:
return [i for i in range(x+1 )]
ans = fib(x-1)
return ans + [ans[-1] + ans[-2]]
print(fib(10))
| def f():
(a, b) = (0, 1)
while True:
yield a
(a, b) = (b, a + b)
def sub_fib(startNumber, endNumber):
for cur in f():
if cur > endNumber:
return
if cur >= startNumber:
yield cur
def fib(x):
if x < 2:
return [i for i in range(x + 1)]
ans = fib(x - 1)
return ans + [ans[-1] + ans[-2]]
print(fib(10)) |
#!/usr/bin/python3
Rectangle = __import__('2-rectangle').Rectangle
my_rectangle = Rectangle(2, 4)
print("Area: {} - Perimeter: {}".format(my_rectangle.area(), my_rectangle.perimeter()))
print("--")
my_rectangle.width = 10
my_rectangle.height = 3
print("Area: {} - Perimeter: {}".format(my_rectangle.area(), my_rectangle.perimeter()))
| rectangle = __import__('2-rectangle').Rectangle
my_rectangle = rectangle(2, 4)
print('Area: {} - Perimeter: {}'.format(my_rectangle.area(), my_rectangle.perimeter()))
print('--')
my_rectangle.width = 10
my_rectangle.height = 3
print('Area: {} - Perimeter: {}'.format(my_rectangle.area(), my_rectangle.perimeter())) |
a = b = c = d = e = f = 12
x, y = 1, 2 # unpacking tuple
print(x)
print(y)
print('unpack tuple - or any sequence type')
data = (1, 2, 3)
a, b, c = data
print(a)
print(b)
print(c)
print('unpack list - or any sequence type')
data_list = [4, 5, 6]
a, b, c = data_list
print(a)
print(b)
print(c)
| a = b = c = d = e = f = 12
(x, y) = (1, 2)
print(x)
print(y)
print('unpack tuple - or any sequence type')
data = (1, 2, 3)
(a, b, c) = data
print(a)
print(b)
print(c)
print('unpack list - or any sequence type')
data_list = [4, 5, 6]
(a, b, c) = data_list
print(a)
print(b)
print(c) |
def calcu():
pass
def calc_add(a,b):
return a+b
def calc_minus(a,b):
return a-b
| def calcu():
pass
def calc_add(a, b):
return a + b
def calc_minus(a, b):
return a - b |
def has_cycle(head):
slowref=head
if not slowref or not slowref.next:
return False
fastref=head.next.next
while slowref != fastref:
slowref=slowref.next
if not slowref or not slowref.next:
return False
fastref=fastref.next.next
return True | def has_cycle(head):
slowref = head
if not slowref or not slowref.next:
return False
fastref = head.next.next
while slowref != fastref:
slowref = slowref.next
if not slowref or not slowref.next:
return False
fastref = fastref.next.next
return True |
def main():
# input
S = list(input())
# compute
N = len(S)
cnt = 0
while ''.join(S).count('BW') != 0:
for i in range(N-1):
if S[i]=='B' and S[i+1]=='W':
S[i], S[i+1] = S[i+1], S[i]
cnt += 1
print(cnt, ''.join(S))
# output
print(cnt)
if __name__ == '__main__':
main()
| def main():
s = list(input())
n = len(S)
cnt = 0
while ''.join(S).count('BW') != 0:
for i in range(N - 1):
if S[i] == 'B' and S[i + 1] == 'W':
(S[i], S[i + 1]) = (S[i + 1], S[i])
cnt += 1
print(cnt, ''.join(S))
print(cnt)
if __name__ == '__main__':
main() |
class Solution:
def reverse(self, x: int) -> int:
# get the sign of x
if x == 0:
return x
sign = abs(x) / x
x = abs(x)
# reverse number
num = 0
# reverse process
while x != 0:
temp = x % 10
num = num * 10 + temp
x = x // 10
num = int(sign * num)
return num if -2**31 < num < 2**31 - 1 else 0 | class Solution:
def reverse(self, x: int) -> int:
if x == 0:
return x
sign = abs(x) / x
x = abs(x)
num = 0
while x != 0:
temp = x % 10
num = num * 10 + temp
x = x // 10
num = int(sign * num)
return num if -2 ** 31 < num < 2 ** 31 - 1 else 0 |
#* Asked in Uber
#? You are given a string of parenthesis. Return the minimum number of parenthesis that would need to be removed
#? in order to make the string valid. "Valid" means that each open parenthesis has a matching closed parenthesis.
#! Example:
# "()())()"
#? The following input should return 1.
# ")"
def count_invalid_parenthesis(string):
count = 0
for i in string:
if i == "(" or i == "[" or i == "{":
count += 1
elif i == ")" or i == "]" or i == "}":
count -= 1
return abs(count)
print(count_invalid_parenthesis("()())()"))
# 1 | def count_invalid_parenthesis(string):
count = 0
for i in string:
if i == '(' or i == '[' or i == '{':
count += 1
elif i == ')' or i == ']' or i == '}':
count -= 1
return abs(count)
print(count_invalid_parenthesis('()())()')) |
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/config.ipynb (unless otherwise specified).
__all__ = ['AppConfig', 'PathConfig', 'TrainConfig']
# Cell
class AppConfig:
SEED = 8080
NUM_CLASSES = 7
class PathConfig:
# DATA_PATH = '/content/data'
# IMAGE_PATH = '/content/data/images'
# CSV_PATH = '/content/data/HAM10000_metadata.csv'
DATA_PATH = "/Work/Workspace/ML/HAM10000/data"
IMAGE_PATH = DATA_PATH + "/images"
CSV_PATH = DATA_PATH + "/HAM10000_metadata.csv"
class TrainConfig:
BATCH_SIZE = 64
EPOCHS = 100
LR = 1e-6 | __all__ = ['AppConfig', 'PathConfig', 'TrainConfig']
class Appconfig:
seed = 8080
num_classes = 7
class Pathconfig:
data_path = '/Work/Workspace/ML/HAM10000/data'
image_path = DATA_PATH + '/images'
csv_path = DATA_PATH + '/HAM10000_metadata.csv'
class Trainconfig:
batch_size = 64
epochs = 100
lr = 1e-06 |
#accessibility numbers for science. Pretty sure fosscord just hardcodes this as 128.
class ACCESSIBILITY_FEATURES:
SCREENREADER = 1 << 0
REDUCED_MOTION = 1 << 1
REDUCED_TRANSPARENCY = 1 << 2
HIGH_CONTRAST = 1 << 3
BOLD_TEXT = 1 << 4
GRAYSCALE = 1 << 5
INVERT_COLORS = 1 << 6
PREFERS_COLOR_SCHEME_LIGHT = 1 << 7
PREFERS_COLOR_SCHEME_DARK = 1 << 8
CHAT_FONT_SCALE_INCREASED = 1 << 9
CHAT_FONT_SCALE_DECREASED = 1 << 10
ZOOM_LEVEL_INCREASED = 1 << 11
ZOOM_LEVEL_DECREASED = 1 << 12
MESSAGE_GROUP_SPACING_INCREASED = 1 << 13
MESSAGE_GROUP_SPACING_DECREASED = 1 << 14
DARK_SIDEBAR = 1 << 15
REDUCED_MOTION_FROM_USER_SETTINGS = 1 << 16
class Accessibility:
@staticmethod
def calculate_accessibility(types):
accessibility_num = 0
for i in types:
feature = i.upper().replace(' ', '_')
if hasattr(ACCESSIBILITY_FEATURES, feature):
accessibility_num |= getattr(ACCESSIBILITY_FEATURES, feature)
return accessibility_num
@staticmethod
def check_accessibilities(accessibility_num, check):
return (accessibility_num & check) == check
| class Accessibility_Features:
screenreader = 1 << 0
reduced_motion = 1 << 1
reduced_transparency = 1 << 2
high_contrast = 1 << 3
bold_text = 1 << 4
grayscale = 1 << 5
invert_colors = 1 << 6
prefers_color_scheme_light = 1 << 7
prefers_color_scheme_dark = 1 << 8
chat_font_scale_increased = 1 << 9
chat_font_scale_decreased = 1 << 10
zoom_level_increased = 1 << 11
zoom_level_decreased = 1 << 12
message_group_spacing_increased = 1 << 13
message_group_spacing_decreased = 1 << 14
dark_sidebar = 1 << 15
reduced_motion_from_user_settings = 1 << 16
class Accessibility:
@staticmethod
def calculate_accessibility(types):
accessibility_num = 0
for i in types:
feature = i.upper().replace(' ', '_')
if hasattr(ACCESSIBILITY_FEATURES, feature):
accessibility_num |= getattr(ACCESSIBILITY_FEATURES, feature)
return accessibility_num
@staticmethod
def check_accessibilities(accessibility_num, check):
return accessibility_num & check == check |
#!/usr/bin/python
# --------------------------------------- #
# Cara Define Sebuah Function pada Python #
# --------------------------------------- #
# def functionname( parameters ): #
# "function_docstring" #
# function_suite #
# return [expression] #
# --------------------------------------- #
# Define Function
def changeme( mylist ):
"This changes a passed list into this function"
mylist.append([1,2,3,4]);
print ("Values inside the function: ", mylist)
return
# Calling the Function
mylist = [10,20,30];
changeme( mylist );
print ("Values outside the function: ", mylist) | def changeme(mylist):
"""This changes a passed list into this function"""
mylist.append([1, 2, 3, 4])
print('Values inside the function: ', mylist)
return
mylist = [10, 20, 30]
changeme(mylist)
print('Values outside the function: ', mylist) |
class Custom(
):
pass | class Custom:
pass |
def primitive_triplets():
pass
def triplets_in_range():
pass
def is_triplet():
pass
| def primitive_triplets():
pass
def triplets_in_range():
pass
def is_triplet():
pass |
n, m = map(int, input().split())
for i in range(n):
if i % 2 == 0:
print('#' * m)
else:
if (i + 1) % 4 == 0:
print('#' + '.' * (m - 1))
else:
print('.' * (m - 1) + '#') | (n, m) = map(int, input().split())
for i in range(n):
if i % 2 == 0:
print('#' * m)
elif (i + 1) % 4 == 0:
print('#' + '.' * (m - 1))
else:
print('.' * (m - 1) + '#') |
# Copyright 2015 VMware, Inc.
# All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# Edge size
COMPACT = 'compact'
LARGE = 'large'
XLARGE = 'xlarge'
QUADLARGE = 'quadlarge'
# Edge type
SERVICE_EDGE = 'service'
VDR_EDGE = 'vdr'
# Internal element purpose
INTER_EDGE_PURPOSE = 'inter_edge_net'
| compact = 'compact'
large = 'large'
xlarge = 'xlarge'
quadlarge = 'quadlarge'
service_edge = 'service'
vdr_edge = 'vdr'
inter_edge_purpose = 'inter_edge_net' |
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
fb_native = struct(
android_aar = native.android_aar,
android_app_modularity = native.android_app_modularity,
android_binary = native.android_binary,
android_build_config = native.android_build_config,
android_bundle = native.android_bundle,
android_instrumentation_apk = native.android_instrumentation_apk,
android_instrumentation_test = native.android_instrumentation_test,
android_library = native.android_library,
android_manifest = native.android_manifest,
android_prebuilt_aar = native.android_prebuilt_aar,
android_resource = native.android_resource,
apk_genrule = native.apk_genrule,
apple_asset_catalog = native.apple_asset_catalog,
apple_binary = native.apple_binary,
apple_bundle = native.apple_bundle,
apple_library = native.apple_library,
apple_package = native.apple_package,
apple_resource = native.apple_resource,
apple_test = native.apple_test,
cgo_library = native.cgo_library,
command_alias = native.command_alias,
config_setting = native.config_setting,
constraint_setting = native.constraint_setting,
constraint_value = native.constraint_value,
core_data_model = native.core_data_model,
csharp_library = native.csharp_library,
cxx_binary = native.cxx_binary,
cxx_genrule = native.cxx_genrule,
cxx_library = native.cxx_library,
cxx_lua_extension = native.cxx_lua_extension,
cxx_precompiled_header = native.cxx_precompiled_header,
cxx_python_extension = native.cxx_python_extension,
cxx_test = native.cxx_test,
d_binary = native.d_binary,
d_library = native.d_library,
d_test = native.d_test,
export_file = native.export_file,
filegroup = native.filegroup,
gen_aidl = native.gen_aidl,
genrule = native.genrule,
go_binary = native.go_binary,
go_library = native.go_library,
go_test = native.go_test,
groovy_library = native.groovy_library,
groovy_test = native.groovy_test,
gwt_binary = native.gwt_binary,
halide_library = native.halide_library,
haskell_binary = native.haskell_binary,
haskell_ghci = native.haskell_ghci,
haskell_haddock = native.haskell_haddock,
haskell_library = native.haskell_library,
haskell_prebuilt_library = native.haskell_prebuilt_library,
http_archive = native.http_archive,
http_file = native.http_file,
jar_genrule = native.jar_genrule,
java_annotation_processor = native.java_annotation_processor,
java_binary = native.java_binary,
java_library = native.java_library,
java_test = native.java_test,
js_bundle = native.js_bundle,
js_bundle_genrule = native.js_bundle_genrule,
js_library = native.js_library,
keystore = native.keystore,
kotlin_library = native.kotlin_library,
kotlin_test = native.kotlin_test,
lua_binary = native.lua_binary,
lua_library = native.lua_library,
ndk_library = native.ndk_library,
ocaml_binary = native.ocaml_binary,
ocaml_library = native.ocaml_library,
platform = native.platform,
prebuilt_apple_framework = native.prebuilt_apple_framework,
prebuilt_cxx_library = native.prebuilt_cxx_library,
prebuilt_cxx_library_group = native.prebuilt_cxx_library_group,
prebuilt_dotnet_library = native.prebuilt_dotnet_library,
prebuilt_go_library = native.prebuilt_go_library,
prebuilt_jar = native.prebuilt_jar,
prebuilt_native_library = native.prebuilt_native_library,
prebuilt_ocaml_library = native.prebuilt_ocaml_library,
prebuilt_python_library = native.prebuilt_python_library,
prebuilt_rust_library = native.prebuilt_rust_library,
python_binary = native.python_binary,
python_library = native.python_library,
python_test = native.python_test,
remote_file = native.remote_file,
robolectric_test = native.robolectric_test,
rust_binary = native.rust_binary,
rust_library = native.rust_library,
rust_test = native.rust_test,
scala_library = native.scala_library,
scala_test = native.scala_test,
scene_kit_assets = native.scene_kit_assets,
sh_binary = native.sh_binary,
sh_test = native.sh_test,
swift_library = native.swift_library,
test_suite = native.test_suite,
versioned_alias = native.versioned_alias,
worker_tool = native.worker_tool,
xcode_postbuild_script = native.xcode_postbuild_script,
xcode_prebuild_script = native.xcode_prebuild_script,
xcode_workspace_config = native.xcode_workspace_config,
zip_file = native.zip_file,
)
| fb_native = struct(android_aar=native.android_aar, android_app_modularity=native.android_app_modularity, android_binary=native.android_binary, android_build_config=native.android_build_config, android_bundle=native.android_bundle, android_instrumentation_apk=native.android_instrumentation_apk, android_instrumentation_test=native.android_instrumentation_test, android_library=native.android_library, android_manifest=native.android_manifest, android_prebuilt_aar=native.android_prebuilt_aar, android_resource=native.android_resource, apk_genrule=native.apk_genrule, apple_asset_catalog=native.apple_asset_catalog, apple_binary=native.apple_binary, apple_bundle=native.apple_bundle, apple_library=native.apple_library, apple_package=native.apple_package, apple_resource=native.apple_resource, apple_test=native.apple_test, cgo_library=native.cgo_library, command_alias=native.command_alias, config_setting=native.config_setting, constraint_setting=native.constraint_setting, constraint_value=native.constraint_value, core_data_model=native.core_data_model, csharp_library=native.csharp_library, cxx_binary=native.cxx_binary, cxx_genrule=native.cxx_genrule, cxx_library=native.cxx_library, cxx_lua_extension=native.cxx_lua_extension, cxx_precompiled_header=native.cxx_precompiled_header, cxx_python_extension=native.cxx_python_extension, cxx_test=native.cxx_test, d_binary=native.d_binary, d_library=native.d_library, d_test=native.d_test, export_file=native.export_file, filegroup=native.filegroup, gen_aidl=native.gen_aidl, genrule=native.genrule, go_binary=native.go_binary, go_library=native.go_library, go_test=native.go_test, groovy_library=native.groovy_library, groovy_test=native.groovy_test, gwt_binary=native.gwt_binary, halide_library=native.halide_library, haskell_binary=native.haskell_binary, haskell_ghci=native.haskell_ghci, haskell_haddock=native.haskell_haddock, haskell_library=native.haskell_library, haskell_prebuilt_library=native.haskell_prebuilt_library, http_archive=native.http_archive, http_file=native.http_file, jar_genrule=native.jar_genrule, java_annotation_processor=native.java_annotation_processor, java_binary=native.java_binary, java_library=native.java_library, java_test=native.java_test, js_bundle=native.js_bundle, js_bundle_genrule=native.js_bundle_genrule, js_library=native.js_library, keystore=native.keystore, kotlin_library=native.kotlin_library, kotlin_test=native.kotlin_test, lua_binary=native.lua_binary, lua_library=native.lua_library, ndk_library=native.ndk_library, ocaml_binary=native.ocaml_binary, ocaml_library=native.ocaml_library, platform=native.platform, prebuilt_apple_framework=native.prebuilt_apple_framework, prebuilt_cxx_library=native.prebuilt_cxx_library, prebuilt_cxx_library_group=native.prebuilt_cxx_library_group, prebuilt_dotnet_library=native.prebuilt_dotnet_library, prebuilt_go_library=native.prebuilt_go_library, prebuilt_jar=native.prebuilt_jar, prebuilt_native_library=native.prebuilt_native_library, prebuilt_ocaml_library=native.prebuilt_ocaml_library, prebuilt_python_library=native.prebuilt_python_library, prebuilt_rust_library=native.prebuilt_rust_library, python_binary=native.python_binary, python_library=native.python_library, python_test=native.python_test, remote_file=native.remote_file, robolectric_test=native.robolectric_test, rust_binary=native.rust_binary, rust_library=native.rust_library, rust_test=native.rust_test, scala_library=native.scala_library, scala_test=native.scala_test, scene_kit_assets=native.scene_kit_assets, sh_binary=native.sh_binary, sh_test=native.sh_test, swift_library=native.swift_library, test_suite=native.test_suite, versioned_alias=native.versioned_alias, worker_tool=native.worker_tool, xcode_postbuild_script=native.xcode_postbuild_script, xcode_prebuild_script=native.xcode_prebuild_script, xcode_workspace_config=native.xcode_workspace_config, zip_file=native.zip_file) |
def findDecision(obj): #obj[0]: Passanger, obj[1]: Time, obj[2]: Coupon, obj[3]: Education, obj[4]: Occupation, obj[5]: Bar, obj[6]: Coffeehouse, obj[7]: Restaurant20to50, obj[8]: Direction_same, obj[9]: Distance
# {"feature": "Coupon", "instances": 8148, "metric_value": 0.4751, "depth": 1}
if obj[2]>1:
# {"feature": "Coffeehouse", "instances": 5867, "metric_value": 0.461, "depth": 2}
if obj[6]>0.0:
# {"feature": "Distance", "instances": 4415, "metric_value": 0.44, "depth": 3}
if obj[9]<=2:
# {"feature": "Passanger", "instances": 3980, "metric_value": 0.4296, "depth": 4}
if obj[0]<=2:
# {"feature": "Time", "instances": 2590, "metric_value": 0.4538, "depth": 5}
if obj[1]<=3:
# {"feature": "Bar", "instances": 2109, "metric_value": 0.4613, "depth": 6}
if obj[5]<=3.0:
# {"feature": "Direction_same", "instances": 2050, "metric_value": 0.4587, "depth": 7}
if obj[8]<=0:
# {"feature": "Occupation", "instances": 1153, "metric_value": 0.4716, "depth": 8}
if obj[4]>0:
# {"feature": "Restaurant20to50", "instances": 1144, "metric_value": 0.4729, "depth": 9}
if obj[7]<=3.0:
# {"feature": "Education", "instances": 1129, "metric_value": 0.4745, "depth": 10}
if obj[3]<=4:
return 'True'
elif obj[3]>4:
return 'True'
else: return 'True'
elif obj[7]>3.0:
# {"feature": "Education", "instances": 15, "metric_value": 0.2909, "depth": 10}
if obj[3]>0:
return 'True'
elif obj[3]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]<=0:
# {"feature": "Education", "instances": 9, "metric_value": 0.1111, "depth": 9}
if obj[3]<=0:
return 'True'
elif obj[3]>0:
# {"feature": "Restaurant20to50", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[7]<=1.0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[8]>0:
# {"feature": "Occupation", "instances": 897, "metric_value": 0.4395, "depth": 8}
if obj[4]>0:
# {"feature": "Restaurant20to50", "instances": 892, "metric_value": 0.4409, "depth": 9}
if obj[7]<=2.0:
# {"feature": "Education", "instances": 801, "metric_value": 0.4454, "depth": 10}
if obj[3]<=2:
return 'True'
elif obj[3]>2:
return 'True'
else: return 'True'
elif obj[7]>2.0:
# {"feature": "Education", "instances": 91, "metric_value": 0.3801, "depth": 10}
if obj[3]<=3:
return 'True'
elif obj[3]>3:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[5]>3.0:
# {"feature": "Occupation", "instances": 59, "metric_value": 0.4428, "depth": 7}
if obj[4]<=7:
# {"feature": "Education", "instances": 41, "metric_value": 0.4497, "depth": 8}
if obj[3]<=2:
# {"feature": "Restaurant20to50", "instances": 32, "metric_value": 0.3877, "depth": 9}
if obj[7]>0.0:
# {"feature": "Direction_same", "instances": 17, "metric_value": 0.2773, "depth": 10}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'True'
else: return 'True'
elif obj[7]<=0.0:
# {"feature": "Direction_same", "instances": 15, "metric_value": 0.4786, "depth": 10}
if obj[8]>0:
return 'False'
elif obj[8]<=0:
return 'True'
else: return 'True'
else: return 'False'
elif obj[3]>2:
# {"feature": "Direction_same", "instances": 9, "metric_value": 0.3333, "depth": 9}
if obj[8]<=0:
# {"feature": "Restaurant20to50", "instances": 6, "metric_value": 0.5, "depth": 10}
if obj[7]<=4.0:
return 'False'
else: return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[4]>7:
# {"feature": "Restaurant20to50", "instances": 18, "metric_value": 0.2685, "depth": 8}
if obj[7]<=3.0:
# {"feature": "Education", "instances": 12, "metric_value": 0.1111, "depth": 9}
if obj[3]>0:
return 'False'
elif obj[3]<=0:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.0, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'True'
else: return 'True'
else: return 'False'
elif obj[7]>3.0:
# {"feature": "Direction_same", "instances": 6, "metric_value": 0.4, "depth": 9}
if obj[8]<=0:
# {"feature": "Education", "instances": 5, "metric_value": 0.4667, "depth": 10}
if obj[3]<=0:
return 'True'
elif obj[3]>0:
return 'False'
else: return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[1]>3:
# {"feature": "Education", "instances": 481, "metric_value": 0.4106, "depth": 6}
if obj[3]>0:
# {"feature": "Bar", "instances": 314, "metric_value": 0.4334, "depth": 7}
if obj[5]<=1.0:
# {"feature": "Occupation", "instances": 211, "metric_value": 0.407, "depth": 8}
if obj[4]<=13.096181893771217:
# {"feature": "Restaurant20to50", "instances": 178, "metric_value": 0.3918, "depth": 9}
if obj[7]<=2.0:
# {"feature": "Direction_same", "instances": 165, "metric_value": 0.4021, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]>2.0:
# {"feature": "Direction_same", "instances": 13, "metric_value": 0.2604, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>13.096181893771217:
# {"feature": "Restaurant20to50", "instances": 33, "metric_value": 0.4718, "depth": 9}
if obj[7]>0.0:
# {"feature": "Direction_same", "instances": 29, "metric_value": 0.4851, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]<=0.0:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[5]>1.0:
# {"feature": "Occupation", "instances": 103, "metric_value": 0.4649, "depth": 8}
if obj[4]<=19:
# {"feature": "Restaurant20to50", "instances": 101, "metric_value": 0.4709, "depth": 9}
if obj[7]<=3.0:
# {"feature": "Direction_same", "instances": 93, "metric_value": 0.4791, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]>3.0:
# {"feature": "Direction_same", "instances": 8, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>19:
return 'False'
else: return 'False'
else: return 'True'
elif obj[3]<=0:
# {"feature": "Bar", "instances": 167, "metric_value": 0.3508, "depth": 7}
if obj[5]<=2.0:
# {"feature": "Occupation", "instances": 150, "metric_value": 0.3215, "depth": 8}
if obj[4]>2:
# {"feature": "Restaurant20to50", "instances": 118, "metric_value": 0.281, "depth": 9}
if obj[7]<=2.0:
# {"feature": "Direction_same", "instances": 109, "metric_value": 0.2879, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]>2.0:
# {"feature": "Direction_same", "instances": 9, "metric_value": 0.1975, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]<=2:
# {"feature": "Restaurant20to50", "instances": 32, "metric_value": 0.4271, "depth": 9}
if obj[7]>0.0:
# {"feature": "Direction_same", "instances": 24, "metric_value": 0.4965, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]<=0.0:
# {"feature": "Direction_same", "instances": 8, "metric_value": 0.2188, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[5]>2.0:
# {"feature": "Occupation", "instances": 17, "metric_value": 0.3922, "depth": 8}
if obj[4]>4:
# {"feature": "Restaurant20to50", "instances": 15, "metric_value": 0.4074, "depth": 9}
if obj[7]<=1.0:
# {"feature": "Direction_same", "instances": 9, "metric_value": 0.3457, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]>1.0:
# {"feature": "Direction_same", "instances": 6, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]<=4:
return 'False'
else: return 'False'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[0]>2:
# {"feature": "Bar", "instances": 1390, "metric_value": 0.3797, "depth": 5}
if obj[5]<=3.0:
# {"feature": "Education", "instances": 1328, "metric_value": 0.3739, "depth": 6}
if obj[3]<=3:
# {"feature": "Occupation", "instances": 1246, "metric_value": 0.3798, "depth": 7}
if obj[4]<=7.746388443017657:
# {"feature": "Restaurant20to50", "instances": 778, "metric_value": 0.361, "depth": 8}
if obj[7]<=1.0:
# {"feature": "Time", "instances": 521, "metric_value": 0.3817, "depth": 9}
if obj[1]<=3:
# {"feature": "Direction_same", "instances": 380, "metric_value": 0.3903, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]>3:
# {"feature": "Direction_same", "instances": 141, "metric_value": 0.3585, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[7]>1.0:
# {"feature": "Time", "instances": 257, "metric_value": 0.3099, "depth": 9}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 203, "metric_value": 0.3558, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Direction_same", "instances": 54, "metric_value": 0.1372, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>7.746388443017657:
# {"feature": "Restaurant20to50", "instances": 468, "metric_value": 0.4073, "depth": 8}
if obj[7]>-1.0:
# {"feature": "Time", "instances": 464, "metric_value": 0.4104, "depth": 9}
if obj[1]<=3:
# {"feature": "Direction_same", "instances": 350, "metric_value": 0.4177, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]>3:
# {"feature": "Direction_same", "instances": 114, "metric_value": 0.3878, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[7]<=-1.0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[3]>3:
# {"feature": "Occupation", "instances": 82, "metric_value": 0.246, "depth": 7}
if obj[4]<=12:
# {"feature": "Restaurant20to50", "instances": 58, "metric_value": 0.3353, "depth": 8}
if obj[7]>0.0:
# {"feature": "Time", "instances": 45, "metric_value": 0.379, "depth": 9}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 36, "metric_value": 0.4244, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Direction_same", "instances": 9, "metric_value": 0.1975, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[7]<=0.0:
# {"feature": "Time", "instances": 13, "metric_value": 0.1154, "depth": 9}
if obj[1]<=2:
return 'True'
elif obj[1]>2:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>12:
return 'True'
else: return 'True'
else: return 'True'
elif obj[5]>3.0:
# {"feature": "Occupation", "instances": 62, "metric_value": 0.437, "depth": 6}
if obj[4]<=12:
# {"feature": "Education", "instances": 47, "metric_value": 0.4186, "depth": 7}
if obj[3]>0:
# {"feature": "Restaurant20to50", "instances": 35, "metric_value": 0.4502, "depth": 8}
if obj[7]>0.0:
# {"feature": "Time", "instances": 33, "metric_value": 0.4703, "depth": 9}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 25, "metric_value": 0.4608, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Direction_same", "instances": 8, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[7]<=0.0:
return 'True'
else: return 'True'
elif obj[3]<=0:
# {"feature": "Time", "instances": 12, "metric_value": 0.2593, "depth": 8}
if obj[1]<=2:
# {"feature": "Restaurant20to50", "instances": 9, "metric_value": 0.3016, "depth": 9}
if obj[7]>0.0:
# {"feature": "Direction_same", "instances": 7, "metric_value": 0.2449, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]<=0.0:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[1]>2:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>12:
# {"feature": "Time", "instances": 15, "metric_value": 0.3333, "depth": 7}
if obj[1]>0:
# {"feature": "Education", "instances": 10, "metric_value": 0.4444, "depth": 8}
if obj[3]<=0:
# {"feature": "Restaurant20to50", "instances": 9, "metric_value": 0.4889, "depth": 9}
if obj[7]>1.0:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.48, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]<=1.0:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[3]>0:
return 'False'
else: return 'False'
elif obj[1]<=0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
else: return 'True'
elif obj[9]>2:
# {"feature": "Passanger", "instances": 435, "metric_value": 0.485, "depth": 4}
if obj[0]>0:
# {"feature": "Education", "instances": 419, "metric_value": 0.484, "depth": 5}
if obj[3]>0:
# {"feature": "Time", "instances": 281, "metric_value": 0.4684, "depth": 6}
if obj[1]>0:
# {"feature": "Bar", "instances": 243, "metric_value": 0.485, "depth": 7}
if obj[5]>-1.0:
# {"feature": "Restaurant20to50", "instances": 240, "metric_value": 0.4876, "depth": 8}
if obj[7]<=2.0:
# {"feature": "Occupation", "instances": 217, "metric_value": 0.4907, "depth": 9}
if obj[4]>0:
# {"feature": "Direction_same", "instances": 215, "metric_value": 0.4952, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[4]<=0:
return 'False'
else: return 'False'
elif obj[7]>2.0:
# {"feature": "Occupation", "instances": 23, "metric_value": 0.3794, "depth": 9}
if obj[4]<=12:
# {"feature": "Direction_same", "instances": 22, "metric_value": 0.3967, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[4]>12:
return 'True'
else: return 'True'
else: return 'False'
elif obj[5]<=-1.0:
return 'False'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Occupation", "instances": 38, "metric_value": 0.3008, "depth": 7}
if obj[4]<=11:
# {"feature": "Bar", "instances": 28, "metric_value": 0.3869, "depth": 8}
if obj[5]<=1.0:
# {"feature": "Restaurant20to50", "instances": 16, "metric_value": 0.4167, "depth": 9}
if obj[7]>0.0:
# {"feature": "Direction_same", "instances": 15, "metric_value": 0.4444, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[7]<=0.0:
return 'True'
else: return 'True'
elif obj[5]>1.0:
# {"feature": "Restaurant20to50", "instances": 12, "metric_value": 0.2667, "depth": 9}
if obj[7]>0.0:
# {"feature": "Direction_same", "instances": 10, "metric_value": 0.32, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[7]<=0.0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[4]>11:
return 'False'
else: return 'False'
else: return 'False'
elif obj[3]<=0:
# {"feature": "Restaurant20to50", "instances": 138, "metric_value": 0.4841, "depth": 6}
if obj[7]<=3.0:
# {"feature": "Time", "instances": 136, "metric_value": 0.4842, "depth": 7}
if obj[1]>0:
# {"feature": "Occupation", "instances": 113, "metric_value": 0.4765, "depth": 8}
if obj[4]<=22:
# {"feature": "Bar", "instances": 112, "metric_value": 0.477, "depth": 9}
if obj[5]<=3.0:
# {"feature": "Direction_same", "instances": 107, "metric_value": 0.4769, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[5]>3.0:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.48, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[4]>22:
return 'False'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Occupation", "instances": 23, "metric_value": 0.4306, "depth": 8}
if obj[4]>1:
# {"feature": "Bar", "instances": 21, "metric_value": 0.4121, "depth": 9}
if obj[5]<=0.0:
# {"feature": "Direction_same", "instances": 11, "metric_value": 0.4959, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[5]>0.0:
# {"feature": "Direction_same", "instances": 10, "metric_value": 0.32, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[4]<=1:
return 'True'
else: return 'True'
else: return 'False'
elif obj[7]>3.0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[0]<=0:
# {"feature": "Restaurant20to50", "instances": 16, "metric_value": 0.1786, "depth": 5}
if obj[7]<=1.0:
return 'True'
elif obj[7]>1.0:
# {"feature": "Bar", "instances": 7, "metric_value": 0.0, "depth": 6}
if obj[5]>1.0:
return 'True'
elif obj[5]<=1.0:
return 'False'
else: return 'False'
else: return 'True'
else: return 'True'
else: return 'False'
elif obj[6]<=0.0:
# {"feature": "Passanger", "instances": 1452, "metric_value": 0.4944, "depth": 3}
if obj[0]<=1:
# {"feature": "Distance", "instances": 925, "metric_value": 0.4846, "depth": 4}
if obj[9]<=1:
# {"feature": "Time", "instances": 498, "metric_value": 0.486, "depth": 5}
if obj[1]>0:
# {"feature": "Bar", "instances": 313, "metric_value": 0.473, "depth": 6}
if obj[5]<=0.0:
# {"feature": "Direction_same", "instances": 169, "metric_value": 0.4379, "depth": 7}
if obj[8]>0:
# {"feature": "Occupation", "instances": 94, "metric_value": 0.4613, "depth": 8}
if obj[4]>3:
# {"feature": "Education", "instances": 63, "metric_value": 0.4968, "depth": 9}
if obj[3]<=3:
# {"feature": "Restaurant20to50", "instances": 60, "metric_value": 0.4986, "depth": 10}
if obj[7]>0.0:
return 'True'
elif obj[7]<=0.0:
return 'True'
else: return 'True'
elif obj[3]>3:
# {"feature": "Restaurant20to50", "instances": 3, "metric_value": 0.3333, "depth": 10}
if obj[7]>0.0:
return 'True'
elif obj[7]<=0.0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[4]<=3:
# {"feature": "Restaurant20to50", "instances": 31, "metric_value": 0.3752, "depth": 9}
if obj[7]<=1.0:
# {"feature": "Education", "instances": 24, "metric_value": 0.3964, "depth": 10}
if obj[3]<=1:
return 'True'
elif obj[3]>1:
return 'True'
else: return 'True'
elif obj[7]>1.0:
# {"feature": "Education", "instances": 7, "metric_value": 0.2143, "depth": 10}
if obj[3]<=0:
return 'True'
elif obj[3]>0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[8]<=0:
# {"feature": "Education", "instances": 75, "metric_value": 0.3407, "depth": 8}
if obj[3]>0:
# {"feature": "Restaurant20to50", "instances": 40, "metric_value": 0.2083, "depth": 9}
if obj[7]<=1.0:
# {"feature": "Occupation", "instances": 30, "metric_value": 0.2711, "depth": 10}
if obj[4]<=6:
return 'True'
elif obj[4]>6:
return 'True'
else: return 'True'
elif obj[7]>1.0:
return 'True'
else: return 'True'
elif obj[3]<=0:
# {"feature": "Occupation", "instances": 35, "metric_value": 0.4573, "depth": 9}
if obj[4]>4:
# {"feature": "Restaurant20to50", "instances": 22, "metric_value": 0.4052, "depth": 10}
if obj[7]>0.0:
return 'True'
elif obj[7]<=0.0:
return 'True'
else: return 'True'
elif obj[4]<=4:
# {"feature": "Restaurant20to50", "instances": 13, "metric_value": 0.4615, "depth": 10}
if obj[7]>0.0:
return 'True'
elif obj[7]<=0.0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
else: return 'True'
elif obj[5]>0.0:
# {"feature": "Occupation", "instances": 144, "metric_value": 0.4721, "depth": 7}
if obj[4]<=20:
# {"feature": "Education", "instances": 136, "metric_value": 0.4907, "depth": 8}
if obj[3]>1:
# {"feature": "Direction_same", "instances": 92, "metric_value": 0.4865, "depth": 9}
if obj[8]>0:
# {"feature": "Restaurant20to50", "instances": 49, "metric_value": 0.4685, "depth": 10}
if obj[7]<=2.0:
return 'False'
elif obj[7]>2.0:
return 'False'
else: return 'False'
elif obj[8]<=0:
# {"feature": "Restaurant20to50", "instances": 43, "metric_value": 0.4857, "depth": 10}
if obj[7]>0.0:
return 'True'
elif obj[7]<=0.0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[3]<=1:
# {"feature": "Restaurant20to50", "instances": 44, "metric_value": 0.4568, "depth": 9}
if obj[7]<=1.0:
# {"feature": "Direction_same", "instances": 31, "metric_value": 0.4578, "depth": 10}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[7]>1.0:
# {"feature": "Direction_same", "instances": 13, "metric_value": 0.3192, "depth": 10}
if obj[8]>0:
return 'True'
elif obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>20:
return 'True'
else: return 'True'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Occupation", "instances": 185, "metric_value": 0.4726, "depth": 6}
if obj[4]<=7.951351351351351:
# {"feature": "Education", "instances": 114, "metric_value": 0.4532, "depth": 7}
if obj[3]<=3:
# {"feature": "Bar", "instances": 103, "metric_value": 0.4401, "depth": 8}
if obj[5]>-1.0:
# {"feature": "Direction_same", "instances": 102, "metric_value": 0.4422, "depth": 9}
if obj[8]<=0:
# {"feature": "Restaurant20to50", "instances": 61, "metric_value": 0.4554, "depth": 10}
if obj[7]>0.0:
return 'False'
elif obj[7]<=0.0:
return 'False'
else: return 'False'
elif obj[8]>0:
# {"feature": "Restaurant20to50", "instances": 41, "metric_value": 0.4103, "depth": 10}
if obj[7]<=1.0:
return 'False'
elif obj[7]>1.0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[5]<=-1.0:
return 'True'
else: return 'True'
elif obj[3]>3:
# {"feature": "Restaurant20to50", "instances": 11, "metric_value": 0.4545, "depth": 8}
if obj[7]<=1.0:
# {"feature": "Direction_same", "instances": 10, "metric_value": 0.4762, "depth": 9}
if obj[8]<=0:
# {"feature": "Bar", "instances": 7, "metric_value": 0.4762, "depth": 10}
if obj[5]>0.0:
return 'True'
elif obj[5]<=0.0:
return 'True'
else: return 'True'
elif obj[8]>0:
# {"feature": "Bar", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[5]<=0.0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[7]>1.0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>7.951351351351351:
# {"feature": "Direction_same", "instances": 71, "metric_value": 0.4524, "depth": 7}
if obj[8]<=0:
# {"feature": "Education", "instances": 39, "metric_value": 0.4732, "depth": 8}
if obj[3]>0:
# {"feature": "Bar", "instances": 29, "metric_value": 0.4606, "depth": 9}
if obj[5]<=3.0:
# {"feature": "Restaurant20to50", "instances": 28, "metric_value": 0.4675, "depth": 10}
if obj[7]>0.0:
return 'False'
elif obj[7]<=0.0:
return 'False'
else: return 'False'
elif obj[5]>3.0:
return 'False'
else: return 'False'
elif obj[3]<=0:
# {"feature": "Restaurant20to50", "instances": 10, "metric_value": 0.4444, "depth": 9}
if obj[7]<=1.0:
# {"feature": "Bar", "instances": 9, "metric_value": 0.4815, "depth": 10}
if obj[5]<=0.0:
return 'False'
elif obj[5]>0.0:
return 'True'
else: return 'True'
elif obj[7]>1.0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[8]>0:
# {"feature": "Bar", "instances": 32, "metric_value": 0.3822, "depth": 8}
if obj[5]<=1.0:
# {"feature": "Restaurant20to50", "instances": 26, "metric_value": 0.3178, "depth": 9}
if obj[7]<=0.0:
# {"feature": "Education", "instances": 14, "metric_value": 0.4396, "depth": 10}
if obj[3]>0:
return 'True'
elif obj[3]<=0:
return 'True'
else: return 'True'
elif obj[7]>0.0:
# {"feature": "Education", "instances": 12, "metric_value": 0.1333, "depth": 10}
if obj[3]>0:
return 'True'
elif obj[3]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[5]>1.0:
# {"feature": "Education", "instances": 6, "metric_value": 0.25, "depth": 9}
if obj[3]<=0:
# {"feature": "Restaurant20to50", "instances": 4, "metric_value": 0.3333, "depth": 10}
if obj[7]>1.0:
return 'True'
elif obj[7]<=1.0:
return 'True'
else: return 'True'
elif obj[3]>0:
return 'False'
else: return 'False'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'False'
elif obj[9]>1:
# {"feature": "Bar", "instances": 427, "metric_value": 0.466, "depth": 5}
if obj[5]<=1.0:
# {"feature": "Restaurant20to50", "instances": 341, "metric_value": 0.4776, "depth": 6}
if obj[7]<=1.0:
# {"feature": "Occupation", "instances": 269, "metric_value": 0.4701, "depth": 7}
if obj[4]<=6:
# {"feature": "Time", "instances": 143, "metric_value": 0.4445, "depth": 8}
if obj[1]<=3:
# {"feature": "Education", "instances": 121, "metric_value": 0.4697, "depth": 9}
if obj[3]<=3:
# {"feature": "Direction_same", "instances": 108, "metric_value": 0.4664, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[3]>3:
# {"feature": "Direction_same", "instances": 13, "metric_value": 0.4957, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[1]>3:
# {"feature": "Education", "instances": 22, "metric_value": 0.2864, "depth": 9}
if obj[3]<=0:
# {"feature": "Direction_same", "instances": 12, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[3]>0:
# {"feature": "Direction_same", "instances": 10, "metric_value": 0.18, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[4]>6:
# {"feature": "Education", "instances": 126, "metric_value": 0.4844, "depth": 8}
if obj[3]<=3:
# {"feature": "Direction_same", "instances": 115, "metric_value": 0.4801, "depth": 9}
if obj[8]<=0:
# {"feature": "Time", "instances": 81, "metric_value": 0.4525, "depth": 10}
if obj[1]>0:
return 'False'
elif obj[1]<=0:
return 'False'
else: return 'False'
elif obj[8]>0:
# {"feature": "Time", "instances": 34, "metric_value": 0.4303, "depth": 10}
if obj[1]>0:
return 'False'
elif obj[1]<=0:
return 'True'
else: return 'True'
else: return 'False'
elif obj[3]>3:
# {"feature": "Time", "instances": 11, "metric_value": 0.3961, "depth": 9}
if obj[1]<=2:
# {"feature": "Direction_same", "instances": 7, "metric_value": 0.1905, "depth": 10}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[1]>2:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
else: return 'False'
elif obj[7]>1.0:
# {"feature": "Education", "instances": 72, "metric_value": 0.4683, "depth": 7}
if obj[3]>0:
# {"feature": "Time", "instances": 52, "metric_value": 0.4623, "depth": 8}
if obj[1]>0:
# {"feature": "Occupation", "instances": 43, "metric_value": 0.4508, "depth": 9}
if obj[4]<=12:
# {"feature": "Direction_same", "instances": 39, "metric_value": 0.4959, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[4]>12:
return 'False'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Occupation", "instances": 9, "metric_value": 0.1944, "depth": 9}
if obj[4]<=12:
# {"feature": "Direction_same", "instances": 8, "metric_value": 0.2188, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[4]>12:
return 'True'
else: return 'True'
else: return 'False'
elif obj[3]<=0:
# {"feature": "Occupation", "instances": 20, "metric_value": 0.375, "depth": 8}
if obj[4]<=7:
# {"feature": "Time", "instances": 16, "metric_value": 0.3462, "depth": 9}
if obj[1]<=3:
# {"feature": "Direction_same", "instances": 13, "metric_value": 0.4126, "depth": 10}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[1]>3:
return 'True'
else: return 'True'
elif obj[4]>7:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.0, "depth": 9}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'True'
else: return 'True'
else: return 'False'
else: return 'True'
else: return 'False'
elif obj[5]>1.0:
# {"feature": "Occupation", "instances": 86, "metric_value": 0.3849, "depth": 6}
if obj[4]>5:
# {"feature": "Education", "instances": 64, "metric_value": 0.4409, "depth": 7}
if obj[3]<=2:
# {"feature": "Time", "instances": 58, "metric_value": 0.4183, "depth": 8}
if obj[1]>0:
# {"feature": "Restaurant20to50", "instances": 47, "metric_value": 0.3969, "depth": 9}
if obj[7]<=2.0:
# {"feature": "Direction_same", "instances": 46, "metric_value": 0.4038, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[7]>2.0:
return 'False'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Direction_same", "instances": 11, "metric_value": 0.297, "depth": 9}
if obj[8]>0:
# {"feature": "Restaurant20to50", "instances": 6, "metric_value": 0.25, "depth": 10}
if obj[7]>0.0:
return 'True'
elif obj[7]<=0.0:
return 'True'
else: return 'True'
elif obj[8]<=0:
# {"feature": "Restaurant20to50", "instances": 5, "metric_value": 0.3, "depth": 10}
if obj[7]>0.0:
return 'False'
elif obj[7]<=0.0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
elif obj[3]>2:
# {"feature": "Direction_same", "instances": 6, "metric_value": 0.2667, "depth": 8}
if obj[8]<=0:
# {"feature": "Time", "instances": 5, "metric_value": 0.2667, "depth": 9}
if obj[1]<=1:
# {"feature": "Restaurant20to50", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[7]<=1.0:
return 'True'
else: return 'True'
elif obj[1]>1:
return 'True'
else: return 'True'
elif obj[8]>0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[4]<=5:
# {"feature": "Time", "instances": 22, "metric_value": 0.0909, "depth": 7}
if obj[1]>0:
return 'False'
elif obj[1]<=0:
# {"feature": "Education", "instances": 4, "metric_value": 0.3333, "depth": 8}
if obj[3]>0:
# {"feature": "Restaurant20to50", "instances": 3, "metric_value": 0.0, "depth": 9}
if obj[7]<=1.0:
return 'False'
elif obj[7]>1.0:
return 'True'
else: return 'True'
elif obj[3]<=0:
return 'True'
else: return 'True'
else: return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[0]>1:
# {"feature": "Distance", "instances": 527, "metric_value": 0.4617, "depth": 4}
if obj[9]>1:
# {"feature": "Bar", "instances": 356, "metric_value": 0.4414, "depth": 5}
if obj[5]<=2.0:
# {"feature": "Time", "instances": 323, "metric_value": 0.4297, "depth": 6}
if obj[1]>0:
# {"feature": "Restaurant20to50", "instances": 252, "metric_value": 0.4506, "depth": 7}
if obj[7]>-1.0:
# {"feature": "Occupation", "instances": 241, "metric_value": 0.4626, "depth": 8}
if obj[4]<=7.132780082987552:
# {"feature": "Education", "instances": 160, "metric_value": 0.4669, "depth": 9}
if obj[3]<=1:
# {"feature": "Direction_same", "instances": 89, "metric_value": 0.4469, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[3]>1:
# {"feature": "Direction_same", "instances": 71, "metric_value": 0.492, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>7.132780082987552:
# {"feature": "Education", "instances": 81, "metric_value": 0.4416, "depth": 9}
if obj[3]<=3:
# {"feature": "Direction_same", "instances": 77, "metric_value": 0.4385, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[3]>3:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
elif obj[7]<=-1.0:
# {"feature": "Occupation", "instances": 11, "metric_value": 0.1515, "depth": 8}
if obj[4]>6:
# {"feature": "Education", "instances": 6, "metric_value": 0.25, "depth": 9}
if obj[3]<=0:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[3]>0:
return 'True'
else: return 'True'
elif obj[4]<=6:
return 'True'
else: return 'True'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Restaurant20to50", "instances": 71, "metric_value": 0.2784, "depth": 7}
if obj[7]>-1.0:
# {"feature": "Occupation", "instances": 68, "metric_value": 0.28, "depth": 8}
if obj[4]<=9:
# {"feature": "Education", "instances": 47, "metric_value": 0.215, "depth": 9}
if obj[3]<=2:
# {"feature": "Direction_same", "instances": 38, "metric_value": 0.2659, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[3]>2:
return 'True'
else: return 'True'
elif obj[4]>9:
# {"feature": "Education", "instances": 21, "metric_value": 0.3866, "depth": 9}
if obj[3]>0:
# {"feature": "Direction_same", "instances": 17, "metric_value": 0.3599, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[3]<=0:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[7]<=-1.0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[5]>2.0:
# {"feature": "Occupation", "instances": 33, "metric_value": 0.4242, "depth": 6}
if obj[4]<=18:
# {"feature": "Time", "instances": 28, "metric_value": 0.4792, "depth": 7}
if obj[1]>0:
# {"feature": "Education", "instances": 24, "metric_value": 0.4921, "depth": 8}
if obj[3]<=2:
# {"feature": "Restaurant20to50", "instances": 21, "metric_value": 0.4952, "depth": 9}
if obj[7]>0.0:
# {"feature": "Direction_same", "instances": 16, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[7]<=0.0:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.48, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[3]>2:
# {"feature": "Restaurant20to50", "instances": 3, "metric_value": 0.4444, "depth": 9}
if obj[7]<=1.0:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Restaurant20to50", "instances": 4, "metric_value": 0.25, "depth": 8}
if obj[7]<=1.0:
return 'True'
elif obj[7]>1.0:
# {"feature": "Education", "instances": 2, "metric_value": 0.5, "depth": 9}
if obj[3]<=2:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>18:
return 'False'
else: return 'False'
else: return 'False'
elif obj[9]<=1:
# {"feature": "Occupation", "instances": 171, "metric_value": 0.4644, "depth": 5}
if obj[4]>1.3264107549745603:
# {"feature": "Education", "instances": 137, "metric_value": 0.4459, "depth": 6}
if obj[3]<=3:
# {"feature": "Time", "instances": 126, "metric_value": 0.432, "depth": 7}
if obj[1]>0:
# {"feature": "Bar", "instances": 94, "metric_value": 0.3985, "depth": 8}
if obj[5]<=3.0:
# {"feature": "Restaurant20to50", "instances": 93, "metric_value": 0.3939, "depth": 9}
if obj[7]<=2.0:
# {"feature": "Direction_same", "instances": 88, "metric_value": 0.4163, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[7]>2.0:
return 'False'
else: return 'False'
elif obj[5]>3.0:
return 'True'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Bar", "instances": 32, "metric_value": 0.4688, "depth": 8}
if obj[5]>-1.0:
# {"feature": "Restaurant20to50", "instances": 30, "metric_value": 0.4974, "depth": 9}
if obj[7]<=1.0:
# {"feature": "Direction_same", "instances": 21, "metric_value": 0.4989, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[7]>1.0:
# {"feature": "Direction_same", "instances": 9, "metric_value": 0.4938, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[5]<=-1.0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[3]>3:
# {"feature": "Bar", "instances": 11, "metric_value": 0.1455, "depth": 7}
if obj[5]<=0.0:
return 'True'
elif obj[5]>0.0:
# {"feature": "Restaurant20to50", "instances": 5, "metric_value": 0.2667, "depth": 8}
if obj[7]<=0.0:
# {"feature": "Time", "instances": 3, "metric_value": 0.3333, "depth": 9}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]<=0:
return 'False'
else: return 'False'
elif obj[7]>0.0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
elif obj[4]<=1.3264107549745603:
# {"feature": "Education", "instances": 34, "metric_value": 0.444, "depth": 6}
if obj[3]>1:
# {"feature": "Restaurant20to50", "instances": 18, "metric_value": 0.3704, "depth": 7}
if obj[7]<=1.0:
# {"feature": "Bar", "instances": 15, "metric_value": 0.4103, "depth": 8}
if obj[5]<=2.0:
# {"feature": "Time", "instances": 13, "metric_value": 0.4256, "depth": 9}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 10, "metric_value": 0.42, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[5]>2.0:
return 'True'
else: return 'True'
elif obj[7]>1.0:
return 'True'
else: return 'True'
elif obj[3]<=1:
# {"feature": "Restaurant20to50", "instances": 16, "metric_value": 0.4271, "depth": 7}
if obj[7]<=1.0:
# {"feature": "Time", "instances": 12, "metric_value": 0.3429, "depth": 8}
if obj[1]<=2:
# {"feature": "Bar", "instances": 7, "metric_value": 0.2286, "depth": 9}
if obj[5]<=0.0:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.32, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[5]>0.0:
return 'False'
else: return 'False'
elif obj[1]>2:
# {"feature": "Bar", "instances": 5, "metric_value": 0.48, "depth": 9}
if obj[5]<=0.0:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.48, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[7]>1.0:
# {"feature": "Time", "instances": 4, "metric_value": 0.0, "depth": 8}
if obj[1]<=3:
return 'True'
elif obj[1]>3:
return 'False'
else: return 'False'
else: return 'True'
else: return 'False'
else: return 'True'
else: return 'False'
else: return 'True'
else: return 'True'
elif obj[2]<=1:
# {"feature": "Bar", "instances": 2281, "metric_value": 0.4567, "depth": 2}
if obj[5]<=1.0:
# {"feature": "Occupation", "instances": 1601, "metric_value": 0.4436, "depth": 3}
if obj[4]>1.887387522319548:
# {"feature": "Education", "instances": 1333, "metric_value": 0.4585, "depth": 4}
if obj[3]>0:
# {"feature": "Time", "instances": 882, "metric_value": 0.438, "depth": 5}
if obj[1]>0:
# {"feature": "Coffeehouse", "instances": 613, "metric_value": 0.4124, "depth": 6}
if obj[6]<=3.0:
# {"feature": "Direction_same", "instances": 574, "metric_value": 0.4244, "depth": 7}
if obj[8]<=0:
# {"feature": "Restaurant20to50", "instances": 515, "metric_value": 0.4338, "depth": 8}
if obj[7]<=1.0:
# {"feature": "Passanger", "instances": 361, "metric_value": 0.4108, "depth": 9}
if obj[0]<=2:
# {"feature": "Distance", "instances": 303, "metric_value": 0.3955, "depth": 10}
if obj[9]<=2:
return 'False'
elif obj[9]>2:
return 'False'
else: return 'False'
elif obj[0]>2:
# {"feature": "Distance", "instances": 58, "metric_value": 0.4786, "depth": 10}
if obj[9]>1:
return 'False'
elif obj[9]<=1:
return 'False'
else: return 'False'
else: return 'False'
elif obj[7]>1.0:
# {"feature": "Distance", "instances": 154, "metric_value": 0.465, "depth": 9}
if obj[9]>1:
# {"feature": "Passanger", "instances": 108, "metric_value": 0.447, "depth": 10}
if obj[0]<=2:
return 'False'
elif obj[0]>2:
return 'False'
else: return 'False'
elif obj[9]<=1:
# {"feature": "Passanger", "instances": 46, "metric_value": 0.49, "depth": 10}
if obj[0]<=1:
return 'True'
elif obj[0]>1:
return 'False'
else: return 'False'
else: return 'True'
else: return 'False'
elif obj[8]>0:
# {"feature": "Restaurant20to50", "instances": 59, "metric_value": 0.2805, "depth": 8}
if obj[7]<=3.0:
# {"feature": "Passanger", "instances": 58, "metric_value": 0.2819, "depth": 9}
if obj[0]<=1:
# {"feature": "Distance", "instances": 51, "metric_value": 0.263, "depth": 10}
if obj[9]>1:
return 'False'
elif obj[9]<=1:
return 'False'
else: return 'False'
elif obj[0]>1:
# {"feature": "Distance", "instances": 7, "metric_value": 0.4082, "depth": 10}
if obj[9]<=2:
return 'False'
else: return 'False'
else: return 'False'
elif obj[7]>3.0:
return 'True'
else: return 'True'
else: return 'False'
elif obj[6]>3.0:
# {"feature": "Passanger", "instances": 39, "metric_value": 0.148, "depth": 7}
if obj[0]<=2:
# {"feature": "Distance", "instances": 35, "metric_value": 0.1048, "depth": 8}
if obj[9]<=2:
# {"feature": "Direction_same", "instances": 24, "metric_value": 0.15, "depth": 9}
if obj[8]<=0:
# {"feature": "Restaurant20to50", "instances": 20, "metric_value": 0.1765, "depth": 10}
if obj[7]<=2.0:
return 'False'
elif obj[7]>2.0:
return 'False'
else: return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[9]>2:
return 'False'
else: return 'False'
elif obj[0]>2:
# {"feature": "Restaurant20to50", "instances": 4, "metric_value": 0.3333, "depth": 8}
if obj[7]<=1.0:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.4444, "depth": 9}
if obj[8]<=0:
# {"feature": "Distance", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[9]<=2:
return 'True'
else: return 'True'
else: return 'True'
elif obj[7]>1.0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Restaurant20to50", "instances": 269, "metric_value": 0.4746, "depth": 6}
if obj[7]<=1.0:
# {"feature": "Coffeehouse", "instances": 193, "metric_value": 0.4579, "depth": 7}
if obj[6]>-1.0:
# {"feature": "Distance", "instances": 188, "metric_value": 0.4641, "depth": 8}
if obj[9]<=2:
# {"feature": "Direction_same", "instances": 166, "metric_value": 0.4761, "depth": 9}
if obj[8]<=0:
# {"feature": "Passanger", "instances": 86, "metric_value": 0.4493, "depth": 10}
if obj[0]>0:
return 'False'
elif obj[0]<=0:
return 'False'
else: return 'False'
elif obj[8]>0:
# {"feature": "Passanger", "instances": 80, "metric_value": 0.4916, "depth": 10}
if obj[0]<=1:
return 'False'
elif obj[0]>1:
return 'True'
else: return 'True'
else: return 'False'
elif obj[9]>2:
# {"feature": "Passanger", "instances": 22, "metric_value": 0.2944, "depth": 9}
if obj[0]<=1:
# {"feature": "Direction_same", "instances": 21, "metric_value": 0.3084, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[0]>1:
return 'True'
else: return 'True'
else: return 'False'
elif obj[6]<=-1.0:
return 'False'
else: return 'False'
elif obj[7]>1.0:
# {"feature": "Passanger", "instances": 76, "metric_value": 0.4869, "depth": 7}
if obj[0]<=1:
# {"feature": "Distance", "instances": 58, "metric_value": 0.4701, "depth": 8}
if obj[9]<=2:
# {"feature": "Coffeehouse", "instances": 49, "metric_value": 0.4592, "depth": 9}
if obj[6]<=1.0:
# {"feature": "Direction_same", "instances": 28, "metric_value": 0.4955, "depth": 10}
if obj[8]>0:
return 'True'
elif obj[8]<=0:
return 'True'
else: return 'True'
elif obj[6]>1.0:
# {"feature": "Direction_same", "instances": 21, "metric_value": 0.4021, "depth": 10}
if obj[8]>0:
return 'True'
elif obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[9]>2:
# {"feature": "Coffeehouse", "instances": 9, "metric_value": 0.2667, "depth": 9}
if obj[6]<=1.0:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.48, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[6]>1.0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[0]>1:
# {"feature": "Distance", "instances": 18, "metric_value": 0.4148, "depth": 8}
if obj[9]>1:
# {"feature": "Coffeehouse", "instances": 15, "metric_value": 0.3905, "depth": 9}
if obj[6]>1.0:
# {"feature": "Direction_same", "instances": 8, "metric_value": 0.3333, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[6]<=1.0:
# {"feature": "Direction_same", "instances": 7, "metric_value": 0.3714, "depth": 10}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[9]<=1:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
else: return 'False'
elif obj[3]<=0:
# {"feature": "Restaurant20to50", "instances": 451, "metric_value": 0.4786, "depth": 5}
if obj[7]<=2.0:
# {"feature": "Coffeehouse", "instances": 425, "metric_value": 0.4768, "depth": 6}
if obj[6]>-1.0:
# {"feature": "Time", "instances": 422, "metric_value": 0.4766, "depth": 7}
if obj[1]<=3:
# {"feature": "Passanger", "instances": 342, "metric_value": 0.4842, "depth": 8}
if obj[0]>0:
# {"feature": "Distance", "instances": 309, "metric_value": 0.4823, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 227, "metric_value": 0.4867, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[9]<=1:
# {"feature": "Direction_same", "instances": 82, "metric_value": 0.47, "depth": 10}
if obj[8]>0:
return 'False'
elif obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[0]<=0:
# {"feature": "Distance", "instances": 33, "metric_value": 0.4481, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 21, "metric_value": 0.4898, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[9]<=1:
# {"feature": "Direction_same", "instances": 12, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[1]>3:
# {"feature": "Passanger", "instances": 80, "metric_value": 0.4119, "depth": 8}
if obj[0]>0:
# {"feature": "Distance", "instances": 53, "metric_value": 0.3645, "depth": 9}
if obj[9]<=1:
# {"feature": "Direction_same", "instances": 31, "metric_value": 0.4121, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[9]>1:
# {"feature": "Direction_same", "instances": 22, "metric_value": 0.2975, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[0]<=0:
# {"feature": "Distance", "instances": 27, "metric_value": 0.4921, "depth": 9}
if obj[9]<=1:
# {"feature": "Direction_same", "instances": 21, "metric_value": 0.4898, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[9]>1:
# {"feature": "Direction_same", "instances": 6, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[6]<=-1.0:
return 'True'
else: return 'True'
elif obj[7]>2.0:
# {"feature": "Passanger", "instances": 26, "metric_value": 0.4141, "depth": 6}
if obj[0]<=2:
# {"feature": "Time", "instances": 20, "metric_value": 0.44, "depth": 7}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 15, "metric_value": 0.3909, "depth": 8}
if obj[8]<=0:
# {"feature": "Coffeehouse", "instances": 11, "metric_value": 0.2909, "depth": 9}
if obj[6]<=2.0:
# {"feature": "Distance", "instances": 10, "metric_value": 0.3, "depth": 10}
if obj[9]<=2:
return 'True'
elif obj[9]>2:
return 'True'
else: return 'True'
elif obj[6]>2.0:
return 'False'
else: return 'False'
elif obj[8]>0:
# {"feature": "Distance", "instances": 4, "metric_value": 0.0, "depth": 9}
if obj[9]>1:
return 'False'
elif obj[9]<=1:
return 'True'
else: return 'True'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Distance", "instances": 5, "metric_value": 0.0, "depth": 8}
if obj[9]<=2:
return 'True'
elif obj[9]>2:
return 'False'
else: return 'False'
else: return 'True'
elif obj[0]>2:
# {"feature": "Coffeehouse", "instances": 6, "metric_value": 0.2222, "depth": 7}
if obj[6]<=1.0:
# {"feature": "Time", "instances": 3, "metric_value": 0.0, "depth": 8}
if obj[1]<=2:
return 'True'
elif obj[1]>2:
return 'False'
else: return 'False'
elif obj[6]>1.0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'False'
elif obj[4]<=1.887387522319548:
# {"feature": "Education", "instances": 268, "metric_value": 0.3409, "depth": 4}
if obj[3]<=3:
# {"feature": "Restaurant20to50", "instances": 250, "metric_value": 0.3173, "depth": 5}
if obj[7]>0.0:
# {"feature": "Coffeehouse", "instances": 204, "metric_value": 0.3657, "depth": 6}
if obj[6]<=1.0:
# {"feature": "Passanger", "instances": 121, "metric_value": 0.3252, "depth": 7}
if obj[0]<=2:
# {"feature": "Time", "instances": 100, "metric_value": 0.3062, "depth": 8}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 70, "metric_value": 0.2832, "depth": 9}
if obj[8]<=0:
# {"feature": "Distance", "instances": 56, "metric_value": 0.2616, "depth": 10}
if obj[9]>1:
return 'False'
elif obj[9]<=1:
return 'False'
else: return 'False'
elif obj[8]>0:
# {"feature": "Distance", "instances": 14, "metric_value": 0.2449, "depth": 10}
if obj[9]>1:
return 'False'
elif obj[9]<=1:
return 'False'
else: return 'False'
else: return 'False'
elif obj[1]<=0:
# {"feature": "Distance", "instances": 30, "metric_value": 0.35, "depth": 9}
if obj[9]<=2:
# {"feature": "Direction_same", "instances": 28, "metric_value": 0.3743, "depth": 10}
if obj[8]>0:
return 'False'
elif obj[8]<=0:
return 'False'
else: return 'False'
elif obj[9]>2:
return 'False'
else: return 'False'
else: return 'False'
elif obj[0]>2:
# {"feature": "Time", "instances": 21, "metric_value": 0.3714, "depth": 8}
if obj[1]>2:
# {"feature": "Distance", "instances": 15, "metric_value": 0.3143, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 14, "metric_value": 0.3367, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[9]<=1:
return 'False'
else: return 'False'
elif obj[1]<=2:
# {"feature": "Direction_same", "instances": 6, "metric_value": 0.5, "depth": 9}
if obj[8]<=0:
# {"feature": "Distance", "instances": 6, "metric_value": 0.5, "depth": 10}
if obj[9]<=2:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'False'
elif obj[6]>1.0:
# {"feature": "Distance", "instances": 83, "metric_value": 0.4109, "depth": 7}
if obj[9]<=2:
# {"feature": "Passanger", "instances": 65, "metric_value": 0.4364, "depth": 8}
if obj[0]>0:
# {"feature": "Time", "instances": 60, "metric_value": 0.4303, "depth": 9}
if obj[1]<=3:
# {"feature": "Direction_same", "instances": 55, "metric_value": 0.4397, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[1]>3:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.32, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[0]<=0:
# {"feature": "Time", "instances": 5, "metric_value": 0.4667, "depth": 9}
if obj[1]<=0:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[1]>0:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[9]>2:
# {"feature": "Passanger", "instances": 18, "metric_value": 0.1961, "depth": 8}
if obj[0]<=1:
# {"feature": "Time", "instances": 17, "metric_value": 0.1991, "depth": 9}
if obj[1]>0:
# {"feature": "Direction_same", "instances": 13, "metric_value": 0.2604, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
elif obj[1]<=0:
return 'False'
else: return 'False'
elif obj[0]>1:
return 'True'
else: return 'True'
else: return 'False'
else: return 'False'
elif obj[7]<=0.0:
# {"feature": "Coffeehouse", "instances": 46, "metric_value": 0.0425, "depth": 6}
if obj[6]>-1.0:
# {"feature": "Passanger", "instances": 45, "metric_value": 0.0356, "depth": 7}
if obj[0]<=2:
return 'False'
elif obj[0]>2:
# {"feature": "Time", "instances": 5, "metric_value": 0.2, "depth": 8}
if obj[1]>2:
return 'False'
elif obj[1]<=2:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 9}
if obj[8]<=0:
# {"feature": "Distance", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[9]<=2:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[6]<=-1.0:
return 'True'
else: return 'True'
else: return 'False'
elif obj[3]>3:
# {"feature": "Coffeehouse", "instances": 18, "metric_value": 0.4, "depth": 5}
if obj[6]<=1.0:
# {"feature": "Distance", "instances": 15, "metric_value": 0.3692, "depth": 6}
if obj[9]<=2:
# {"feature": "Passanger", "instances": 13, "metric_value": 0.3462, "depth": 7}
if obj[0]>0:
# {"feature": "Direction_same", "instances": 12, "metric_value": 0.3333, "depth": 8}
if obj[8]<=0:
# {"feature": "Time", "instances": 9, "metric_value": 0.381, "depth": 9}
if obj[1]<=3:
# {"feature": "Restaurant20to50", "instances": 7, "metric_value": 0.4857, "depth": 10}
if obj[7]<=0.0:
return 'False'
elif obj[7]>0.0:
return 'False'
else: return 'False'
elif obj[1]>3:
return 'False'
else: return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[0]<=0:
return 'True'
else: return 'True'
elif obj[9]>2:
return 'True'
else: return 'True'
elif obj[6]>1.0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'False'
elif obj[5]>1.0:
# {"feature": "Restaurant20to50", "instances": 680, "metric_value": 0.4641, "depth": 3}
if obj[7]<=1.0:
# {"feature": "Time", "instances": 365, "metric_value": 0.4856, "depth": 4}
if obj[1]>0:
# {"feature": "Passanger", "instances": 267, "metric_value": 0.4792, "depth": 5}
if obj[0]<=2:
# {"feature": "Occupation", "instances": 207, "metric_value": 0.4675, "depth": 6}
if obj[4]<=14.155999220544217:
# {"feature": "Distance", "instances": 174, "metric_value": 0.4853, "depth": 7}
if obj[9]<=2:
# {"feature": "Coffeehouse", "instances": 128, "metric_value": 0.483, "depth": 8}
if obj[6]>-1.0:
# {"feature": "Education", "instances": 125, "metric_value": 0.4898, "depth": 9}
if obj[3]<=3:
# {"feature": "Direction_same", "instances": 119, "metric_value": 0.4906, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'False'
else: return 'False'
elif obj[3]>3:
# {"feature": "Direction_same", "instances": 6, "metric_value": 0.4444, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[6]<=-1.0:
return 'False'
else: return 'False'
elif obj[9]>2:
# {"feature": "Coffeehouse", "instances": 46, "metric_value": 0.4536, "depth": 8}
if obj[6]<=3.0:
# {"feature": "Education", "instances": 40, "metric_value": 0.4677, "depth": 9}
if obj[3]>0:
# {"feature": "Direction_same", "instances": 29, "metric_value": 0.4946, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[3]<=0:
# {"feature": "Direction_same", "instances": 11, "metric_value": 0.3967, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[6]>3.0:
# {"feature": "Education", "instances": 6, "metric_value": 0.2222, "depth": 9}
if obj[3]>0:
return 'True'
elif obj[3]<=0:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>14.155999220544217:
# {"feature": "Coffeehouse", "instances": 33, "metric_value": 0.2857, "depth": 7}
if obj[6]<=3.0:
# {"feature": "Distance", "instances": 28, "metric_value": 0.3222, "depth": 8}
if obj[9]>1:
# {"feature": "Education", "instances": 18, "metric_value": 0.3571, "depth": 9}
if obj[3]<=2:
# {"feature": "Direction_same", "instances": 14, "metric_value": 0.3956, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'True'
else: return 'True'
elif obj[3]>2:
return 'False'
else: return 'False'
elif obj[9]<=1:
# {"feature": "Education", "instances": 10, "metric_value": 0.1, "depth": 9}
if obj[3]<=2:
return 'False'
elif obj[3]>2:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'False'
elif obj[6]>3.0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[0]>2:
# {"feature": "Occupation", "instances": 60, "metric_value": 0.4169, "depth": 6}
if obj[4]>0:
# {"feature": "Coffeehouse", "instances": 59, "metric_value": 0.3999, "depth": 7}
if obj[6]<=2.0:
# {"feature": "Education", "instances": 43, "metric_value": 0.4543, "depth": 8}
if obj[3]<=2:
# {"feature": "Distance", "instances": 40, "metric_value": 0.4524, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 33, "metric_value": 0.4444, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[9]<=1:
# {"feature": "Direction_same", "instances": 7, "metric_value": 0.4898, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[3]>2:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.4444, "depth": 9}
if obj[8]<=0:
# {"feature": "Distance", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[9]<=2:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[6]>2.0:
# {"feature": "Education", "instances": 16, "metric_value": 0.1786, "depth": 8}
if obj[3]<=2:
# {"feature": "Distance", "instances": 14, "metric_value": 0.131, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 12, "metric_value": 0.1528, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[9]<=1:
return 'True'
else: return 'True'
elif obj[3]>2:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 9}
if obj[8]<=0:
# {"feature": "Distance", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[9]<=2:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
elif obj[4]<=0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Passanger", "instances": 98, "metric_value": 0.4319, "depth": 5}
if obj[0]<=1:
# {"feature": "Distance", "instances": 90, "metric_value": 0.4178, "depth": 6}
if obj[9]<=1:
# {"feature": "Occupation", "instances": 46, "metric_value": 0.3188, "depth": 7}
if obj[4]>3:
# {"feature": "Coffeehouse", "instances": 33, "metric_value": 0.4167, "depth": 8}
if obj[6]<=2.0:
# {"feature": "Education", "instances": 25, "metric_value": 0.4762, "depth": 9}
if obj[3]<=2:
# {"feature": "Direction_same", "instances": 21, "metric_value": 0.4717, "depth": 10}
if obj[8]<=1:
return 'True'
else: return 'True'
elif obj[3]>2:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.5, "depth": 10}
if obj[8]<=1:
return 'False'
else: return 'False'
else: return 'False'
elif obj[6]>2.0:
# {"feature": "Education", "instances": 8, "metric_value": 0.125, "depth": 9}
if obj[3]<=2:
return 'True'
elif obj[3]>2:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=1:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
elif obj[4]<=3:
return 'True'
else: return 'True'
elif obj[9]>1:
# {"feature": "Occupation", "instances": 44, "metric_value": 0.4325, "depth": 7}
if obj[4]>4:
# {"feature": "Education", "instances": 33, "metric_value": 0.3866, "depth": 8}
if obj[3]>0:
# {"feature": "Coffeehouse", "instances": 23, "metric_value": 0.4551, "depth": 9}
if obj[6]<=2.0:
# {"feature": "Direction_same", "instances": 15, "metric_value": 0.4978, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[6]>2.0:
# {"feature": "Direction_same", "instances": 8, "metric_value": 0.375, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[3]<=0:
# {"feature": "Direction_same", "instances": 10, "metric_value": 0.0, "depth": 9}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[4]<=4:
# {"feature": "Coffeehouse", "instances": 11, "metric_value": 0.3697, "depth": 8}
if obj[6]>1.0:
# {"feature": "Education", "instances": 6, "metric_value": 0.1667, "depth": 9}
if obj[3]>0:
return 'False'
elif obj[3]<=0:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.0, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'True'
else: return 'True'
else: return 'False'
elif obj[6]<=1.0:
# {"feature": "Education", "instances": 5, "metric_value": 0.4, "depth": 9}
if obj[3]<=0:
# {"feature": "Direction_same", "instances": 4, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[3]>0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'False'
else: return 'True'
elif obj[0]>1:
# {"feature": "Occupation", "instances": 8, "metric_value": 0.3, "depth": 6}
if obj[4]<=6:
# {"feature": "Distance", "instances": 5, "metric_value": 0.3, "depth": 7}
if obj[9]>1:
# {"feature": "Coffeehouse", "instances": 4, "metric_value": 0.25, "depth": 8}
if obj[6]<=2.0:
return 'True'
elif obj[6]>2.0:
# {"feature": "Education", "instances": 2, "metric_value": 0.5, "depth": 9}
if obj[3]<=2:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[9]<=1:
return 'False'
else: return 'False'
elif obj[4]>6:
return 'False'
else: return 'False'
else: return 'False'
else: return 'True'
elif obj[7]>1.0:
# {"feature": "Education", "instances": 315, "metric_value": 0.417, "depth": 4}
if obj[3]>1:
# {"feature": "Time", "instances": 197, "metric_value": 0.451, "depth": 5}
if obj[1]>0:
# {"feature": "Passanger", "instances": 150, "metric_value": 0.4737, "depth": 6}
if obj[0]<=2:
# {"feature": "Coffeehouse", "instances": 119, "metric_value": 0.462, "depth": 7}
if obj[6]<=3.0:
# {"feature": "Occupation", "instances": 94, "metric_value": 0.4693, "depth": 8}
if obj[4]<=17:
# {"feature": "Distance", "instances": 82, "metric_value": 0.4883, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 49, "metric_value": 0.4624, "depth": 10}
if obj[8]<=0:
return 'False'
elif obj[8]>0:
return 'True'
else: return 'True'
elif obj[9]<=1:
# {"feature": "Direction_same", "instances": 33, "metric_value": 0.4953, "depth": 10}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]>17:
# {"feature": "Distance", "instances": 12, "metric_value": 0.2333, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 10, "metric_value": 0.175, "depth": 10}
if obj[8]<=0:
return 'True'
elif obj[8]>0:
return 'True'
else: return 'True'
elif obj[9]<=1:
# {"feature": "Direction_same", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[6]>3.0:
# {"feature": "Direction_same", "instances": 25, "metric_value": 0.2087, "depth": 8}
if obj[8]<=0:
# {"feature": "Occupation", "instances": 23, "metric_value": 0.2008, "depth": 9}
if obj[4]<=12:
# {"feature": "Distance", "instances": 21, "metric_value": 0.1655, "depth": 10}
if obj[9]>1:
return 'True'
elif obj[9]<=1:
return 'True'
else: return 'True'
elif obj[4]>12:
# {"feature": "Distance", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[9]<=1:
return 'True'
else: return 'True'
else: return 'True'
elif obj[8]>0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[0]>2:
# {"feature": "Coffeehouse", "instances": 31, "metric_value": 0.2184, "depth": 7}
if obj[6]<=3.0:
# {"feature": "Occupation", "instances": 26, "metric_value": 0.1918, "depth": 8}
if obj[4]<=17:
# {"feature": "Distance", "instances": 23, "metric_value": 0.1556, "depth": 9}
if obj[9]>1:
# {"feature": "Direction_same", "instances": 19, "metric_value": 0.1884, "depth": 10}
if obj[8]<=0:
return 'True'
else: return 'True'
elif obj[9]<=1:
return 'True'
else: return 'True'
elif obj[4]>17:
# {"feature": "Direction_same", "instances": 3, "metric_value": 0.4444, "depth": 9}
if obj[8]<=0:
# {"feature": "Distance", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[9]<=2:
return 'False'
else: return 'False'
else: return 'False'
else: return 'False'
elif obj[6]>3.0:
return 'False'
else: return 'False'
else: return 'True'
elif obj[1]<=0:
# {"feature": "Direction_same", "instances": 47, "metric_value": 0.3225, "depth": 6}
if obj[8]<=0:
# {"feature": "Coffeehouse", "instances": 25, "metric_value": 0.426, "depth": 7}
if obj[6]>1.0:
# {"feature": "Passanger", "instances": 18, "metric_value": 0.3519, "depth": 8}
if obj[0]>0:
# {"feature": "Occupation", "instances": 12, "metric_value": 0.2381, "depth": 9}
if obj[4]<=7:
# {"feature": "Distance", "instances": 7, "metric_value": 0.4082, "depth": 10}
if obj[9]<=2:
return 'True'
else: return 'True'
elif obj[4]>7:
return 'True'
else: return 'True'
elif obj[0]<=0:
# {"feature": "Occupation", "instances": 6, "metric_value": 0.4, "depth": 9}
if obj[4]<=12:
# {"feature": "Distance", "instances": 5, "metric_value": 0.48, "depth": 10}
if obj[9]<=2:
return 'True'
else: return 'True'
elif obj[4]>12:
return 'False'
else: return 'False'
else: return 'False'
elif obj[6]<=1.0:
# {"feature": "Passanger", "instances": 7, "metric_value": 0.2286, "depth": 8}
if obj[0]>0:
# {"feature": "Occupation", "instances": 5, "metric_value": 0.2, "depth": 9}
if obj[4]<=9:
return 'False'
elif obj[4]>9:
# {"feature": "Distance", "instances": 2, "metric_value": 0.5, "depth": 10}
if obj[9]<=2:
return 'True'
else: return 'True'
else: return 'True'
elif obj[0]<=0:
return 'True'
else: return 'True'
else: return 'False'
elif obj[8]>0:
# {"feature": "Occupation", "instances": 22, "metric_value": 0.0909, "depth": 7}
if obj[4]<=16:
return 'True'
elif obj[4]>16:
# {"feature": "Coffeehouse", "instances": 4, "metric_value": 0.3333, "depth": 8}
if obj[6]>0.0:
# {"feature": "Passanger", "instances": 3, "metric_value": 0.4444, "depth": 9}
if obj[0]<=1:
# {"feature": "Distance", "instances": 3, "metric_value": 0.4444, "depth": 10}
if obj[9]<=1:
return 'False'
else: return 'False'
else: return 'False'
elif obj[6]<=0.0:
return 'True'
else: return 'True'
else: return 'False'
else: return 'True'
else: return 'True'
elif obj[3]<=1:
# {"feature": "Occupation", "instances": 118, "metric_value": 0.3338, "depth": 5}
if obj[4]>7:
# {"feature": "Time", "instances": 64, "metric_value": 0.2462, "depth": 6}
if obj[1]<=2:
# {"feature": "Coffeehouse", "instances": 38, "metric_value": 0.1373, "depth": 7}
if obj[6]<=2.0:
# {"feature": "Direction_same", "instances": 23, "metric_value": 0.1978, "depth": 8}
if obj[8]<=0:
# {"feature": "Distance", "instances": 17, "metric_value": 0.1078, "depth": 9}
if obj[9]<=2:
# {"feature": "Passanger", "instances": 12, "metric_value": 0.15, "depth": 10}
if obj[0]>0:
return 'True'
elif obj[0]<=0:
return 'True'
else: return 'True'
elif obj[9]>2:
return 'True'
else: return 'True'
elif obj[8]>0:
# {"feature": "Passanger", "instances": 6, "metric_value": 0.4444, "depth": 9}
if obj[0]<=1:
# {"feature": "Distance", "instances": 6, "metric_value": 0.4444, "depth": 10}
if obj[9]<=1:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
elif obj[6]>2.0:
return 'True'
else: return 'True'
elif obj[1]>2:
# {"feature": "Passanger", "instances": 26, "metric_value": 0.3401, "depth": 7}
if obj[0]<=2:
# {"feature": "Direction_same", "instances": 19, "metric_value": 0.4145, "depth": 8}
if obj[8]<=0:
# {"feature": "Distance", "instances": 16, "metric_value": 0.4667, "depth": 9}
if obj[9]<=2:
# {"feature": "Coffeehouse", "instances": 15, "metric_value": 0.4636, "depth": 10}
if obj[6]>0.0:
return 'False'
elif obj[6]<=0.0:
return 'True'
else: return 'True'
elif obj[9]>2:
return 'True'
else: return 'True'
elif obj[8]>0:
return 'True'
else: return 'True'
elif obj[0]>2:
return 'True'
else: return 'True'
else: return 'True'
elif obj[4]<=7:
# {"feature": "Coffeehouse", "instances": 54, "metric_value": 0.3991, "depth": 6}
if obj[6]>0.0:
# {"feature": "Distance", "instances": 49, "metric_value": 0.4314, "depth": 7}
if obj[9]<=2:
# {"feature": "Direction_same", "instances": 43, "metric_value": 0.4197, "depth": 8}
if obj[8]<=0:
# {"feature": "Passanger", "instances": 31, "metric_value": 0.4334, "depth": 9}
if obj[0]<=2:
# {"feature": "Time", "instances": 23, "metric_value": 0.4503, "depth": 10}
if obj[1]<=3:
return 'True'
elif obj[1]>3:
return 'True'
else: return 'True'
elif obj[0]>2:
# {"feature": "Time", "instances": 8, "metric_value": 0.3571, "depth": 10}
if obj[1]<=3:
return 'True'
elif obj[1]>3:
return 'True'
else: return 'True'
else: return 'True'
elif obj[8]>0:
# {"feature": "Time", "instances": 12, "metric_value": 0.3636, "depth": 9}
if obj[1]<=1:
# {"feature": "Passanger", "instances": 11, "metric_value": 0.3967, "depth": 10}
if obj[0]<=1:
return 'True'
else: return 'True'
elif obj[1]>1:
return 'True'
else: return 'True'
else: return 'True'
elif obj[9]>2:
# {"feature": "Passanger", "instances": 6, "metric_value": 0.4, "depth": 8}
if obj[0]>0:
# {"feature": "Time", "instances": 5, "metric_value": 0.48, "depth": 9}
if obj[1]<=1:
# {"feature": "Direction_same", "instances": 5, "metric_value": 0.48, "depth": 10}
if obj[8]<=0:
return 'False'
else: return 'False'
else: return 'False'
elif obj[0]<=0:
return 'True'
else: return 'True'
else: return 'True'
elif obj[6]<=0.0:
return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'True'
else: return 'False'
| def find_decision(obj):
if obj[2] > 1:
if obj[6] > 0.0:
if obj[9] <= 2:
if obj[0] <= 2:
if obj[1] <= 3:
if obj[5] <= 3.0:
if obj[8] <= 0:
if obj[4] > 0:
if obj[7] <= 3.0:
if obj[3] <= 4:
return 'True'
elif obj[3] > 4:
return 'True'
else:
return 'True'
elif obj[7] > 3.0:
if obj[3] > 0:
return 'True'
elif obj[3] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] <= 0:
if obj[3] <= 0:
return 'True'
elif obj[3] > 0:
if obj[7] <= 1.0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[8] > 0:
if obj[4] > 0:
if obj[7] <= 2.0:
if obj[3] <= 2:
return 'True'
elif obj[3] > 2:
return 'True'
else:
return 'True'
elif obj[7] > 2.0:
if obj[3] <= 3:
return 'True'
elif obj[3] > 3:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[5] > 3.0:
if obj[4] <= 7:
if obj[3] <= 2:
if obj[7] > 0.0:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'True'
else:
return 'True'
elif obj[7] <= 0.0:
if obj[8] > 0:
return 'False'
elif obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[3] > 2:
if obj[8] <= 0:
if obj[7] <= 4.0:
return 'False'
else:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[4] > 7:
if obj[7] <= 3.0:
if obj[3] > 0:
return 'False'
elif obj[3] <= 0:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[7] > 3.0:
if obj[8] <= 0:
if obj[3] <= 0:
return 'True'
elif obj[3] > 0:
return 'False'
else:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[1] > 3:
if obj[3] > 0:
if obj[5] <= 1.0:
if obj[4] <= 13.096181893771217:
if obj[7] <= 2.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] > 2.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 13.096181893771217:
if obj[7] > 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] <= 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[5] > 1.0:
if obj[4] <= 19:
if obj[7] <= 3.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] > 3.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 19:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[3] <= 0:
if obj[5] <= 2.0:
if obj[4] > 2:
if obj[7] <= 2.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] > 2.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] <= 2:
if obj[7] > 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] <= 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[5] > 2.0:
if obj[4] > 4:
if obj[7] <= 1.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] <= 4:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[0] > 2:
if obj[5] <= 3.0:
if obj[3] <= 3:
if obj[4] <= 7.746388443017657:
if obj[7] <= 1.0:
if obj[1] <= 3:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] > 3:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
if obj[1] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 7.746388443017657:
if obj[7] > -1.0:
if obj[1] <= 3:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] > 3:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[7] <= -1.0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[3] > 3:
if obj[4] <= 12:
if obj[7] > 0.0:
if obj[1] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[7] <= 0.0:
if obj[1] <= 2:
return 'True'
elif obj[1] > 2:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 12:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[5] > 3.0:
if obj[4] <= 12:
if obj[3] > 0:
if obj[7] > 0.0:
if obj[1] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[7] <= 0.0:
return 'True'
else:
return 'True'
elif obj[3] <= 0:
if obj[1] <= 2:
if obj[7] > 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] <= 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[1] > 2:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 12:
if obj[1] > 0:
if obj[3] <= 0:
if obj[7] > 1.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] <= 1.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[3] > 0:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'True'
elif obj[9] > 2:
if obj[0] > 0:
if obj[3] > 0:
if obj[1] > 0:
if obj[5] > -1.0:
if obj[7] <= 2.0:
if obj[4] > 0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[4] <= 0:
return 'False'
else:
return 'False'
elif obj[7] > 2.0:
if obj[4] <= 12:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[4] > 12:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[5] <= -1.0:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
if obj[4] <= 11:
if obj[5] <= 1.0:
if obj[7] > 0.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[7] <= 0.0:
return 'True'
else:
return 'True'
elif obj[5] > 1.0:
if obj[7] > 0.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[7] <= 0.0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[4] > 11:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[3] <= 0:
if obj[7] <= 3.0:
if obj[1] > 0:
if obj[4] <= 22:
if obj[5] <= 3.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[5] > 3.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[4] > 22:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
if obj[4] > 1:
if obj[5] <= 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[5] > 0.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[4] <= 1:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[7] > 3.0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[0] <= 0:
if obj[7] <= 1.0:
return 'True'
elif obj[7] > 1.0:
if obj[5] > 1.0:
return 'True'
elif obj[5] <= 1.0:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[6] <= 0.0:
if obj[0] <= 1:
if obj[9] <= 1:
if obj[1] > 0:
if obj[5] <= 0.0:
if obj[8] > 0:
if obj[4] > 3:
if obj[3] <= 3:
if obj[7] > 0.0:
return 'True'
elif obj[7] <= 0.0:
return 'True'
else:
return 'True'
elif obj[3] > 3:
if obj[7] > 0.0:
return 'True'
elif obj[7] <= 0.0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[4] <= 3:
if obj[7] <= 1.0:
if obj[3] <= 1:
return 'True'
elif obj[3] > 1:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
if obj[3] <= 0:
return 'True'
elif obj[3] > 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[8] <= 0:
if obj[3] > 0:
if obj[7] <= 1.0:
if obj[4] <= 6:
return 'True'
elif obj[4] > 6:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
return 'True'
else:
return 'True'
elif obj[3] <= 0:
if obj[4] > 4:
if obj[7] > 0.0:
return 'True'
elif obj[7] <= 0.0:
return 'True'
else:
return 'True'
elif obj[4] <= 4:
if obj[7] > 0.0:
return 'True'
elif obj[7] <= 0.0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'True'
elif obj[5] > 0.0:
if obj[4] <= 20:
if obj[3] > 1:
if obj[8] > 0:
if obj[7] <= 2.0:
return 'False'
elif obj[7] > 2.0:
return 'False'
else:
return 'False'
elif obj[8] <= 0:
if obj[7] > 0.0:
return 'True'
elif obj[7] <= 0.0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[3] <= 1:
if obj[7] <= 1.0:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[7] > 1.0:
if obj[8] > 0:
return 'True'
elif obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 20:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
if obj[4] <= 7.951351351351351:
if obj[3] <= 3:
if obj[5] > -1.0:
if obj[8] <= 0:
if obj[7] > 0.0:
return 'False'
elif obj[7] <= 0.0:
return 'False'
else:
return 'False'
elif obj[8] > 0:
if obj[7] <= 1.0:
return 'False'
elif obj[7] > 1.0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[5] <= -1.0:
return 'True'
else:
return 'True'
elif obj[3] > 3:
if obj[7] <= 1.0:
if obj[8] <= 0:
if obj[5] > 0.0:
return 'True'
elif obj[5] <= 0.0:
return 'True'
else:
return 'True'
elif obj[8] > 0:
if obj[5] <= 0.0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[7] > 1.0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 7.951351351351351:
if obj[8] <= 0:
if obj[3] > 0:
if obj[5] <= 3.0:
if obj[7] > 0.0:
return 'False'
elif obj[7] <= 0.0:
return 'False'
else:
return 'False'
elif obj[5] > 3.0:
return 'False'
else:
return 'False'
elif obj[3] <= 0:
if obj[7] <= 1.0:
if obj[5] <= 0.0:
return 'False'
elif obj[5] > 0.0:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[8] > 0:
if obj[5] <= 1.0:
if obj[7] <= 0.0:
if obj[3] > 0:
return 'True'
elif obj[3] <= 0:
return 'True'
else:
return 'True'
elif obj[7] > 0.0:
if obj[3] > 0:
return 'True'
elif obj[3] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[5] > 1.0:
if obj[3] <= 0:
if obj[7] > 1.0:
return 'True'
elif obj[7] <= 1.0:
return 'True'
else:
return 'True'
elif obj[3] > 0:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[9] > 1:
if obj[5] <= 1.0:
if obj[7] <= 1.0:
if obj[4] <= 6:
if obj[1] <= 3:
if obj[3] <= 3:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[3] > 3:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[1] > 3:
if obj[3] <= 0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[3] > 0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[4] > 6:
if obj[3] <= 3:
if obj[8] <= 0:
if obj[1] > 0:
return 'False'
elif obj[1] <= 0:
return 'False'
else:
return 'False'
elif obj[8] > 0:
if obj[1] > 0:
return 'False'
elif obj[1] <= 0:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[3] > 3:
if obj[1] <= 2:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[1] > 2:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'False'
elif obj[7] > 1.0:
if obj[3] > 0:
if obj[1] > 0:
if obj[4] <= 12:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[4] > 12:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
if obj[4] <= 12:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[4] > 12:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[3] <= 0:
if obj[4] <= 7:
if obj[1] <= 3:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[1] > 3:
return 'True'
else:
return 'True'
elif obj[4] > 7:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'True'
else:
return 'True'
else:
return 'False'
else:
return 'True'
else:
return 'False'
elif obj[5] > 1.0:
if obj[4] > 5:
if obj[3] <= 2:
if obj[1] > 0:
if obj[7] <= 2.0:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[7] > 2.0:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
if obj[8] > 0:
if obj[7] > 0.0:
return 'True'
elif obj[7] <= 0.0:
return 'True'
else:
return 'True'
elif obj[8] <= 0:
if obj[7] > 0.0:
return 'False'
elif obj[7] <= 0.0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[3] > 2:
if obj[8] <= 0:
if obj[1] <= 1:
if obj[7] <= 1.0:
return 'True'
else:
return 'True'
elif obj[1] > 1:
return 'True'
else:
return 'True'
elif obj[8] > 0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[4] <= 5:
if obj[1] > 0:
return 'False'
elif obj[1] <= 0:
if obj[3] > 0:
if obj[7] <= 1.0:
return 'False'
elif obj[7] > 1.0:
return 'True'
else:
return 'True'
elif obj[3] <= 0:
return 'True'
else:
return 'True'
else:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] > 1:
if obj[9] > 1:
if obj[5] <= 2.0:
if obj[1] > 0:
if obj[7] > -1.0:
if obj[4] <= 7.132780082987552:
if obj[3] <= 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[3] > 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 7.132780082987552:
if obj[3] <= 3:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[3] > 3:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[7] <= -1.0:
if obj[4] > 6:
if obj[3] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[3] > 0:
return 'True'
else:
return 'True'
elif obj[4] <= 6:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
if obj[7] > -1.0:
if obj[4] <= 9:
if obj[3] <= 2:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[3] > 2:
return 'True'
else:
return 'True'
elif obj[4] > 9:
if obj[3] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[3] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[7] <= -1.0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[5] > 2.0:
if obj[4] <= 18:
if obj[1] > 0:
if obj[3] <= 2:
if obj[7] > 0.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[7] <= 0.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[3] > 2:
if obj[7] <= 1.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
if obj[7] <= 1.0:
return 'True'
elif obj[7] > 1.0:
if obj[3] <= 2:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 18:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[9] <= 1:
if obj[4] > 1.3264107549745603:
if obj[3] <= 3:
if obj[1] > 0:
if obj[5] <= 3.0:
if obj[7] <= 2.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[7] > 2.0:
return 'False'
else:
return 'False'
elif obj[5] > 3.0:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
if obj[5] > -1.0:
if obj[7] <= 1.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[5] <= -1.0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[3] > 3:
if obj[5] <= 0.0:
return 'True'
elif obj[5] > 0.0:
if obj[7] <= 0.0:
if obj[1] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
return 'False'
else:
return 'False'
elif obj[7] > 0.0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[4] <= 1.3264107549745603:
if obj[3] > 1:
if obj[7] <= 1.0:
if obj[5] <= 2.0:
if obj[1] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] <= 0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[5] > 2.0:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
return 'True'
else:
return 'True'
elif obj[3] <= 1:
if obj[7] <= 1.0:
if obj[1] <= 2:
if obj[5] <= 0.0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[5] > 0.0:
return 'False'
else:
return 'False'
elif obj[1] > 2:
if obj[5] <= 0.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
if obj[1] <= 3:
return 'True'
elif obj[1] > 3:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'False'
else:
return 'True'
else:
return 'False'
else:
return 'True'
else:
return 'True'
elif obj[2] <= 1:
if obj[5] <= 1.0:
if obj[4] > 1.887387522319548:
if obj[3] > 0:
if obj[1] > 0:
if obj[6] <= 3.0:
if obj[8] <= 0:
if obj[7] <= 1.0:
if obj[0] <= 2:
if obj[9] <= 2:
return 'False'
elif obj[9] > 2:
return 'False'
else:
return 'False'
elif obj[0] > 2:
if obj[9] > 1:
return 'False'
elif obj[9] <= 1:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[7] > 1.0:
if obj[9] > 1:
if obj[0] <= 2:
return 'False'
elif obj[0] > 2:
return 'False'
else:
return 'False'
elif obj[9] <= 1:
if obj[0] <= 1:
return 'True'
elif obj[0] > 1:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'False'
elif obj[8] > 0:
if obj[7] <= 3.0:
if obj[0] <= 1:
if obj[9] > 1:
return 'False'
elif obj[9] <= 1:
return 'False'
else:
return 'False'
elif obj[0] > 1:
if obj[9] <= 2:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[7] > 3.0:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[6] > 3.0:
if obj[0] <= 2:
if obj[9] <= 2:
if obj[8] <= 0:
if obj[7] <= 2.0:
return 'False'
elif obj[7] > 2.0:
return 'False'
else:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[9] > 2:
return 'False'
else:
return 'False'
elif obj[0] > 2:
if obj[7] <= 1.0:
if obj[8] <= 0:
if obj[9] <= 2:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[7] > 1.0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
if obj[7] <= 1.0:
if obj[6] > -1.0:
if obj[9] <= 2:
if obj[8] <= 0:
if obj[0] > 0:
return 'False'
elif obj[0] <= 0:
return 'False'
else:
return 'False'
elif obj[8] > 0:
if obj[0] <= 1:
return 'False'
elif obj[0] > 1:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[9] > 2:
if obj[0] <= 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[0] > 1:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[6] <= -1.0:
return 'False'
else:
return 'False'
elif obj[7] > 1.0:
if obj[0] <= 1:
if obj[9] <= 2:
if obj[6] <= 1.0:
if obj[8] > 0:
return 'True'
elif obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[6] > 1.0:
if obj[8] > 0:
return 'True'
elif obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[9] > 2:
if obj[6] <= 1.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[6] > 1.0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] > 1:
if obj[9] > 1:
if obj[6] > 1.0:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[6] <= 1.0:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[9] <= 1:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
else:
return 'False'
elif obj[3] <= 0:
if obj[7] <= 2.0:
if obj[6] > -1.0:
if obj[1] <= 3:
if obj[0] > 0:
if obj[9] > 1:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[9] <= 1:
if obj[8] > 0:
return 'False'
elif obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] <= 0:
if obj[9] > 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[9] <= 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[1] > 3:
if obj[0] > 0:
if obj[9] <= 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[9] > 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] <= 0:
if obj[9] <= 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[9] > 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[6] <= -1.0:
return 'True'
else:
return 'True'
elif obj[7] > 2.0:
if obj[0] <= 2:
if obj[1] > 0:
if obj[8] <= 0:
if obj[6] <= 2.0:
if obj[9] <= 2:
return 'True'
elif obj[9] > 2:
return 'True'
else:
return 'True'
elif obj[6] > 2.0:
return 'False'
else:
return 'False'
elif obj[8] > 0:
if obj[9] > 1:
return 'False'
elif obj[9] <= 1:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[1] <= 0:
if obj[9] <= 2:
return 'True'
elif obj[9] > 2:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[0] > 2:
if obj[6] <= 1.0:
if obj[1] <= 2:
return 'True'
elif obj[1] > 2:
return 'False'
else:
return 'False'
elif obj[6] > 1.0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[4] <= 1.887387522319548:
if obj[3] <= 3:
if obj[7] > 0.0:
if obj[6] <= 1.0:
if obj[0] <= 2:
if obj[1] > 0:
if obj[8] <= 0:
if obj[9] > 1:
return 'False'
elif obj[9] <= 1:
return 'False'
else:
return 'False'
elif obj[8] > 0:
if obj[9] > 1:
return 'False'
elif obj[9] <= 1:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
if obj[9] <= 2:
if obj[8] > 0:
return 'False'
elif obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[9] > 2:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] > 2:
if obj[1] > 2:
if obj[9] > 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[9] <= 1:
return 'False'
else:
return 'False'
elif obj[1] <= 2:
if obj[8] <= 0:
if obj[9] <= 2:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[6] > 1.0:
if obj[9] <= 2:
if obj[0] > 0:
if obj[1] <= 3:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[1] > 3:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] <= 0:
if obj[1] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[1] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[9] > 2:
if obj[0] <= 1:
if obj[1] > 0:
if obj[8] <= 0:
return 'False'
else:
return 'False'
elif obj[1] <= 0:
return 'False'
else:
return 'False'
elif obj[0] > 1:
return 'True'
else:
return 'True'
else:
return 'False'
else:
return 'False'
elif obj[7] <= 0.0:
if obj[6] > -1.0:
if obj[0] <= 2:
return 'False'
elif obj[0] > 2:
if obj[1] > 2:
return 'False'
elif obj[1] <= 2:
if obj[8] <= 0:
if obj[9] <= 2:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[6] <= -1.0:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[3] > 3:
if obj[6] <= 1.0:
if obj[9] <= 2:
if obj[0] > 0:
if obj[8] <= 0:
if obj[1] <= 3:
if obj[7] <= 0.0:
return 'False'
elif obj[7] > 0.0:
return 'False'
else:
return 'False'
elif obj[1] > 3:
return 'False'
else:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[0] <= 0:
return 'True'
else:
return 'True'
elif obj[9] > 2:
return 'True'
else:
return 'True'
elif obj[6] > 1.0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[5] > 1.0:
if obj[7] <= 1.0:
if obj[1] > 0:
if obj[0] <= 2:
if obj[4] <= 14.155999220544217:
if obj[9] <= 2:
if obj[6] > -1.0:
if obj[3] <= 3:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'False'
else:
return 'False'
elif obj[3] > 3:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[6] <= -1.0:
return 'False'
else:
return 'False'
elif obj[9] > 2:
if obj[6] <= 3.0:
if obj[3] > 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[3] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[6] > 3.0:
if obj[3] > 0:
return 'True'
elif obj[3] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 14.155999220544217:
if obj[6] <= 3.0:
if obj[9] > 1:
if obj[3] <= 2:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'True'
else:
return 'True'
elif obj[3] > 2:
return 'False'
else:
return 'False'
elif obj[9] <= 1:
if obj[3] <= 2:
return 'False'
elif obj[3] > 2:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[6] > 3.0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] > 2:
if obj[4] > 0:
if obj[6] <= 2.0:
if obj[3] <= 2:
if obj[9] > 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[9] <= 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[3] > 2:
if obj[8] <= 0:
if obj[9] <= 2:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[6] > 2.0:
if obj[3] <= 2:
if obj[9] > 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[9] <= 1:
return 'True'
else:
return 'True'
elif obj[3] > 2:
if obj[8] <= 0:
if obj[9] <= 2:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[4] <= 0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[1] <= 0:
if obj[0] <= 1:
if obj[9] <= 1:
if obj[4] > 3:
if obj[6] <= 2.0:
if obj[3] <= 2:
if obj[8] <= 1:
return 'True'
else:
return 'True'
elif obj[3] > 2:
if obj[8] <= 1:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[6] > 2.0:
if obj[3] <= 2:
return 'True'
elif obj[3] > 2:
if obj[8] <= 1:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[4] <= 3:
return 'True'
else:
return 'True'
elif obj[9] > 1:
if obj[4] > 4:
if obj[3] > 0:
if obj[6] <= 2.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[6] > 2.0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[3] <= 0:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[4] <= 4:
if obj[6] > 1.0:
if obj[3] > 0:
return 'False'
elif obj[3] <= 0:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[6] <= 1.0:
if obj[3] <= 0:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[3] > 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'False'
else:
return 'True'
elif obj[0] > 1:
if obj[4] <= 6:
if obj[9] > 1:
if obj[6] <= 2.0:
return 'True'
elif obj[6] > 2.0:
if obj[3] <= 2:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[9] <= 1:
return 'False'
else:
return 'False'
elif obj[4] > 6:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[7] > 1.0:
if obj[3] > 1:
if obj[1] > 0:
if obj[0] <= 2:
if obj[6] <= 3.0:
if obj[4] <= 17:
if obj[9] > 1:
if obj[8] <= 0:
return 'False'
elif obj[8] > 0:
return 'True'
else:
return 'True'
elif obj[9] <= 1:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] > 17:
if obj[9] > 1:
if obj[8] <= 0:
return 'True'
elif obj[8] > 0:
return 'True'
else:
return 'True'
elif obj[9] <= 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[6] > 3.0:
if obj[8] <= 0:
if obj[4] <= 12:
if obj[9] > 1:
return 'True'
elif obj[9] <= 1:
return 'True'
else:
return 'True'
elif obj[4] > 12:
if obj[9] <= 1:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[8] > 0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[0] > 2:
if obj[6] <= 3.0:
if obj[4] <= 17:
if obj[9] > 1:
if obj[8] <= 0:
return 'True'
else:
return 'True'
elif obj[9] <= 1:
return 'True'
else:
return 'True'
elif obj[4] > 17:
if obj[8] <= 0:
if obj[9] <= 2:
return 'False'
else:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[6] > 3.0:
return 'False'
else:
return 'False'
else:
return 'True'
elif obj[1] <= 0:
if obj[8] <= 0:
if obj[6] > 1.0:
if obj[0] > 0:
if obj[4] <= 7:
if obj[9] <= 2:
return 'True'
else:
return 'True'
elif obj[4] > 7:
return 'True'
else:
return 'True'
elif obj[0] <= 0:
if obj[4] <= 12:
if obj[9] <= 2:
return 'True'
else:
return 'True'
elif obj[4] > 12:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[6] <= 1.0:
if obj[0] > 0:
if obj[4] <= 9:
return 'False'
elif obj[4] > 9:
if obj[9] <= 2:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[0] <= 0:
return 'True'
else:
return 'True'
else:
return 'False'
elif obj[8] > 0:
if obj[4] <= 16:
return 'True'
elif obj[4] > 16:
if obj[6] > 0.0:
if obj[0] <= 1:
if obj[9] <= 1:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[6] <= 0.0:
return 'True'
else:
return 'True'
else:
return 'False'
else:
return 'True'
else:
return 'True'
elif obj[3] <= 1:
if obj[4] > 7:
if obj[1] <= 2:
if obj[6] <= 2.0:
if obj[8] <= 0:
if obj[9] <= 2:
if obj[0] > 0:
return 'True'
elif obj[0] <= 0:
return 'True'
else:
return 'True'
elif obj[9] > 2:
return 'True'
else:
return 'True'
elif obj[8] > 0:
if obj[0] <= 1:
if obj[9] <= 1:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[6] > 2.0:
return 'True'
else:
return 'True'
elif obj[1] > 2:
if obj[0] <= 2:
if obj[8] <= 0:
if obj[9] <= 2:
if obj[6] > 0.0:
return 'False'
elif obj[6] <= 0.0:
return 'True'
else:
return 'True'
elif obj[9] > 2:
return 'True'
else:
return 'True'
elif obj[8] > 0:
return 'True'
else:
return 'True'
elif obj[0] > 2:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[4] <= 7:
if obj[6] > 0.0:
if obj[9] <= 2:
if obj[8] <= 0:
if obj[0] <= 2:
if obj[1] <= 3:
return 'True'
elif obj[1] > 3:
return 'True'
else:
return 'True'
elif obj[0] > 2:
if obj[1] <= 3:
return 'True'
elif obj[1] > 3:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[8] > 0:
if obj[1] <= 1:
if obj[0] <= 1:
return 'True'
else:
return 'True'
elif obj[1] > 1:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[9] > 2:
if obj[0] > 0:
if obj[1] <= 1:
if obj[8] <= 0:
return 'False'
else:
return 'False'
else:
return 'False'
elif obj[0] <= 0:
return 'True'
else:
return 'True'
else:
return 'True'
elif obj[6] <= 0.0:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'True'
else:
return 'False' |
del_items(0x80124F0C)
SetType(0x80124F0C, "void GameOnlyTestRoutine__Fv()")
del_items(0x80124F14)
SetType(0x80124F14, "int vecleny__Fii(int a, int b)")
del_items(0x80124F38)
SetType(0x80124F38, "int veclenx__Fii(int a, int b)")
del_items(0x80124F64)
SetType(0x80124F64, "void GetDamageAmt__FiPiT1(int i, int *mind, int *maxd)")
del_items(0x8012555C)
SetType(0x8012555C, "int CheckBlock__Fiiii(int fx, int fy, int tx, int ty)")
del_items(0x80125644)
SetType(0x80125644, "int FindClosest__Fiii(int sx, int sy, int rad)")
del_items(0x801257E0)
SetType(0x801257E0, "int GetSpellLevel__Fii(int id, int sn)")
del_items(0x80125854)
SetType(0x80125854, "int GetDirection8__Fiiii(int x1, int y1, int x2, int y2)")
del_items(0x80125A70)
SetType(0x80125A70, "void DeleteMissile__Fii(int mi, int i)")
del_items(0x80125AC8)
SetType(0x80125AC8, "void GetMissileVel__Fiiiiii(int i, int sx, int sy, int dx, int dy, int v)")
del_items(0x80125C7C)
SetType(0x80125C7C, "void PutMissile__Fi(int i)")
del_items(0x80125D80)
SetType(0x80125D80, "void GetMissilePos__Fi(int i)")
del_items(0x80125EA8)
SetType(0x80125EA8, "void MoveMissilePos__Fi(int i)")
del_items(0x80126010)
SetType(0x80126010, "unsigned char MonsterTrapHit__FiiiiiUc(int m, int mindam, int maxdam, int dist, int t, int shift)")
del_items(0x80126384)
SetType(0x80126384, "unsigned char MonsterMHit__FiiiiiiUc(int pnum, int m, int mindam, int maxdam, int dist, int t, int shift)")
del_items(0x80126AE4)
SetType(0x80126AE4, "unsigned char PlayerMHit__FiiiiiiUcUc(int pnum, int m, int dist, int mind, int maxd, int mtype, int shift, int earflag)")
del_items(0x80127550)
SetType(0x80127550, "unsigned char Plr2PlrMHit__FiiiiiiUc(int pnum, int p, int mindam, int maxdam, int dist, int mtype, int shift)")
del_items(0x80127D2C)
SetType(0x80127D2C, "void CheckMissileCol__FiiiUciiUc(int i, int mindam, int maxdam, unsigned char shift, int mx, int my, int nodel)")
del_items(0x8012846C)
SetType(0x8012846C, "unsigned char GetTableValue__FUci(unsigned char code, int dir)")
del_items(0x80128500)
SetType(0x80128500, "void SetMissAnim__Fii(int mi, int animtype)")
del_items(0x801285D0)
SetType(0x801285D0, "void SetMissDir__Fii(int mi, int dir)")
del_items(0x80128614)
SetType(0x80128614, "void AddLArrow__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x801287F4)
SetType(0x801287F4, "void AddArrow__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x801289B0)
SetType(0x801289B0, "void GetVileMissPos__Fiii(int mi, int dx, int dy)")
del_items(0x80128AD4)
SetType(0x80128AD4, "void AddRndTeleport__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x80128E44)
SetType(0x80128E44, "void AddFirebolt__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int micaster, int id, int dam)")
del_items(0x801290B0)
SetType(0x801290B0, "void AddMagmaball__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x801291C4)
SetType(0x801291C4, "void AddTeleport__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x801293BC)
SetType(0x801293BC, "void AddLightball__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x80129510)
SetType(0x80129510, "void AddFirewall__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x801296F8)
SetType(0x801296F8, "void AddFireball__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x80129954)
SetType(0x80129954, "void AddLightctrl__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x80129A3C)
SetType(0x80129A3C, "void AddLightning__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x80129C04)
SetType(0x80129C04, "void AddMisexp__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x80129E10)
SetType(0x80129E10, "unsigned char CheckIfTrig__Fii(int x, int y)")
del_items(0x80129EF4)
SetType(0x80129EF4, "void AddTown__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012A318)
SetType(0x8012A318, "void AddFlash__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012A528)
SetType(0x8012A528, "void AddFlash2__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012A708)
SetType(0x8012A708, "void AddManashield__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012A7D0)
SetType(0x8012A7D0, "void AddFiremove__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012A92C)
SetType(0x8012A92C, "void AddGuardian__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012AD98)
SetType(0x8012AD98, "void AddChain__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012ADF4)
SetType(0x8012ADF4, "void AddRhino__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012AFB0)
SetType(0x8012AFB0, "void AddFlare__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012B2A8)
SetType(0x8012B2A8, "void AddAcid__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012B3AC)
SetType(0x8012B3AC, "void AddAcidpud__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012B484)
SetType(0x8012B484, "void AddStone__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012B77C)
SetType(0x8012B77C, "void AddGolem__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012B934)
SetType(0x8012B934, "void AddBoom__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012B9C8)
SetType(0x8012B9C8, "void AddHeal__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012BBF0)
SetType(0x8012BBF0, "void AddHealOther__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012BC58)
SetType(0x8012BC58, "void AddElement__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012BE84)
SetType(0x8012BE84, "void AddIdentify__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012BF34)
SetType(0x8012BF34, "void AddFirewallC__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C1E4)
SetType(0x8012C1E4, "void AddInfra__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C2E0)
SetType(0x8012C2E0, "void AddWave__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C364)
SetType(0x8012C364, "void AddNova__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C57C)
SetType(0x8012C57C, "void AddRepair__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C62C)
SetType(0x8012C62C, "void AddRecharge__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C6DC)
SetType(0x8012C6DC, "void AddDisarm__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C744)
SetType(0x8012C744, "void AddApoca__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012C980)
SetType(0x8012C980, "void AddFlame__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int seqno)")
del_items(0x8012CB9C)
SetType(0x8012CB9C, "void AddFlamec__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012CC8C)
SetType(0x8012CC8C, "void AddCbolt__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int micaster, int id, int dam)")
del_items(0x8012CE80)
SetType(0x8012CE80, "void AddHbolt__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int micaster, int id, int dam)")
del_items(0x8012D040)
SetType(0x8012D040, "void AddResurrect__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012D0B4)
SetType(0x8012D0B4, "void AddResurrectBeam__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012D13C)
SetType(0x8012D13C, "void AddTelekinesis__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012D1A4)
SetType(0x8012D1A4, "void AddBoneSpirit__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012D3A0)
SetType(0x8012D3A0, "void AddRportal__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012D440)
SetType(0x8012D440, "void AddDiabApoca__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)")
del_items(0x8012D57C)
SetType(0x8012D57C, "int AddMissile__Fiiiiiiciii(int sx, int sy, int v1, int v2, int midir, int mitype, int micaster, int id, int v3, int spllvl)")
del_items(0x8012D8C8)
SetType(0x8012D8C8, "int Sentfire__Fiii(int i, int sx, int sy)")
del_items(0x8012DAAC)
SetType(0x8012DAAC, "void MI_Dummy__Fi(int i)")
del_items(0x8012DAB4)
SetType(0x8012DAB4, "void MI_Golem__Fi(int i)")
del_items(0x8012DD10)
SetType(0x8012DD10, "void MI_SetManashield__Fi(int i)")
del_items(0x8012DD4C)
SetType(0x8012DD4C, "void MI_LArrow__Fi(int i)")
del_items(0x8012E508)
SetType(0x8012E508, "void MI_Arrow__Fi(int i)")
del_items(0x8012E724)
SetType(0x8012E724, "void MI_Firebolt__Fi(int i)")
del_items(0x8012EDF0)
SetType(0x8012EDF0, "void MI_Lightball__Fi(int i)")
del_items(0x8012F078)
SetType(0x8012F078, "void MI_Acidpud__Fi(int i)")
del_items(0x8012F188)
SetType(0x8012F188, "void MI_Firewall__Fi(int i)")
del_items(0x8012F44C)
SetType(0x8012F44C, "void MI_Fireball__Fi(int i)")
del_items(0x8012FE10)
SetType(0x8012FE10, "void MI_Lightctrl__Fi(int i)")
del_items(0x8013037C)
SetType(0x8013037C, "void MI_Lightning__Fi(int i)")
del_items(0x801304F8)
SetType(0x801304F8, "void MI_Town__Fi(int i)")
del_items(0x80130740)
SetType(0x80130740, "void MI_Flash__Fi(int i)")
del_items(0x80130B78)
SetType(0x80130B78, "void MI_Flash2__Fi(int i)")
del_items(0x80130DC0)
SetType(0x80130DC0, "void MI_Manashield__Fi(int i)")
del_items(0x801313C8)
SetType(0x801313C8, "void MI_Firemove__Fi(int i)")
del_items(0x80131804)
SetType(0x80131804, "void MI_Guardian__Fi(int i)")
del_items(0x80131BD0)
SetType(0x80131BD0, "void MI_Chain__Fi(int i)")
del_items(0x80131ECC)
SetType(0x80131ECC, "void MI_Misexp__Fi(int i)")
del_items(0x801321CC)
SetType(0x801321CC, "void MI_Acidsplat__Fi(int i)")
del_items(0x80132368)
SetType(0x80132368, "void MI_Teleport__Fi(int i)")
del_items(0x80132730)
SetType(0x80132730, "void MI_Stone__Fi(int i)")
del_items(0x801328DC)
SetType(0x801328DC, "void MI_Boom__Fi(int i)")
del_items(0x801329D4)
SetType(0x801329D4, "void MI_Rhino__Fi(int i)")
del_items(0x80132D80)
SetType(0x80132D80, "void MI_FirewallC__Fi(int i)")
del_items(0x801330E8)
SetType(0x801330E8, "void MI_Infra__Fi(int i)")
del_items(0x801331A0)
SetType(0x801331A0, "void MI_Apoca__Fi(int i)")
del_items(0x80133434)
SetType(0x80133434, "void MI_Wave__Fi(int i)")
del_items(0x80133930)
SetType(0x80133930, "void MI_Nova__Fi(int i)")
del_items(0x80133BF0)
SetType(0x80133BF0, "void MI_Flame__Fi(int i)")
del_items(0x80133DE8)
SetType(0x80133DE8, "void MI_Flamec__Fi(int i)")
del_items(0x80134070)
SetType(0x80134070, "void MI_Cbolt__Fi(int i)")
del_items(0x80134374)
SetType(0x80134374, "void MI_Hbolt__Fi(int i)")
del_items(0x80134680)
SetType(0x80134680, "void MI_Element__Fi(int i)")
del_items(0x80134D38)
SetType(0x80134D38, "void MI_Bonespirit__Fi(int i)")
del_items(0x80135140)
SetType(0x80135140, "void MI_ResurrectBeam__Fi(int i)")
del_items(0x801351B0)
SetType(0x801351B0, "void MI_Rportal__Fi(int i)")
del_items(0x801353D4)
SetType(0x801353D4, "void ProcessMissiles__Fv()")
del_items(0x801357C8)
SetType(0x801357C8, "void ClearMissileSpot__Fi(int mi)")
del_items(0x80135880)
SetType(0x80135880, "void MoveToScrollTarget__7CBlocks(struct CBlocks *this)")
del_items(0x80135894)
SetType(0x80135894, "void MonstPartJump__Fi(int m)")
del_items(0x80135A28)
SetType(0x80135A28, "void DeleteMonster__Fi(int i)")
del_items(0x80135A60)
SetType(0x80135A60, "int M_GetDir__Fi(int i)")
del_items(0x80135ABC)
SetType(0x80135ABC, "void M_StartDelay__Fii(int i, int len)")
del_items(0x80135B04)
SetType(0x80135B04, "void M_StartRAttack__Fiii(int i, int missile_type, int dam)")
del_items(0x80135C1C)
SetType(0x80135C1C, "void M_StartRSpAttack__Fiii(int i, int missile_type, int dam)")
del_items(0x80135D40)
SetType(0x80135D40, "void M_StartSpAttack__Fi(int i)")
del_items(0x80135E28)
SetType(0x80135E28, "void M_StartEat__Fi(int i)")
del_items(0x80135EF8)
SetType(0x80135EF8, "void M_GetKnockback__Fi(int i)")
del_items(0x801360D0)
SetType(0x801360D0, "void M_StartHit__Fiii(int i, int pnum, int dam)")
del_items(0x801363C8)
SetType(0x801363C8, "void M_DiabloDeath__FiUc(int i, unsigned char sendmsg)")
del_items(0x801366EC)
SetType(0x801366EC, "void M2MStartHit__Fiii(int mid, int i, int dam)")
del_items(0x80136998)
SetType(0x80136998, "void MonstStartKill__FiiUc(int i, int pnum, unsigned char sendmsg)")
del_items(0x80136C6C)
SetType(0x80136C6C, "void M2MStartKill__Fii(int i, int mid)")
del_items(0x80137034)
SetType(0x80137034, "void M_StartKill__Fii(int i, int pnum)")
del_items(0x80137124)
SetType(0x80137124, "void M_StartFadein__FiiUc(int i, int md, unsigned char backwards)")
del_items(0x80137278)
SetType(0x80137278, "void M_StartFadeout__FiiUc(int i, int md, unsigned char backwards)")
del_items(0x801373C0)
SetType(0x801373C0, "void M_StartHeal__Fi(int i)")
del_items(0x80137440)
SetType(0x80137440, "void M_ChangeLightOffset__Fi(int monst)")
del_items(0x801374E0)
SetType(0x801374E0, "int M_DoStand__Fi(int i)")
del_items(0x80137548)
SetType(0x80137548, "int M_DoWalk__Fi(int i)")
del_items(0x801377CC)
SetType(0x801377CC, "int M_DoWalk2__Fi(int i)")
del_items(0x801379B8)
SetType(0x801379B8, "int M_DoWalk3__Fi(int i)")
del_items(0x80137C7C)
SetType(0x80137C7C, "void M_TryM2MHit__Fiiiii(int i, int mid, int hper, int mind, int maxd)")
del_items(0x80137E44)
SetType(0x80137E44, "void M_TryH2HHit__Fiiiii(int i, int pnum, int Hit, int MinDam, int MaxDam)")
del_items(0x80138458)
SetType(0x80138458, "int M_DoAttack__Fi(int i)")
del_items(0x801385FC)
SetType(0x801385FC, "int M_DoRAttack__Fi(int i)")
del_items(0x80138774)
SetType(0x80138774, "int M_DoRSpAttack__Fi(int i)")
del_items(0x80138964)
SetType(0x80138964, "int M_DoSAttack__Fi(int i)")
del_items(0x80138A38)
SetType(0x80138A38, "int M_DoFadein__Fi(int i)")
del_items(0x80138B08)
SetType(0x80138B08, "int M_DoFadeout__Fi(int i)")
del_items(0x80138C1C)
SetType(0x80138C1C, "int M_DoHeal__Fi(int i)")
del_items(0x80138CC8)
SetType(0x80138CC8, "int M_DoTalk__Fi(int i)")
del_items(0x80139134)
SetType(0x80139134, "void M_Teleport__Fi(int i)")
del_items(0x80139368)
SetType(0x80139368, "int M_DoGotHit__Fi(int i)")
del_items(0x801393C8)
SetType(0x801393C8, "void DoEnding__Fv()")
del_items(0x80139474)
SetType(0x80139474, "void PrepDoEnding__Fv()")
del_items(0x80139598)
SetType(0x80139598, "int M_DoDeath__Fi(int i)")
del_items(0x80139768)
SetType(0x80139768, "int M_DoSpStand__Fi(int i)")
del_items(0x8013980C)
SetType(0x8013980C, "int M_DoDelay__Fi(int i)")
del_items(0x801398FC)
SetType(0x801398FC, "int M_DoStone__Fi(int i)")
del_items(0x80139980)
SetType(0x80139980, "void M_WalkDir__Fii(int i, int md)")
del_items(0x80139BA8)
SetType(0x80139BA8, "void GroupUnity__Fi(int i)")
del_items(0x80139F94)
SetType(0x80139F94, "unsigned char M_CallWalk__Fii(int i, int md)")
del_items(0x8013A180)
SetType(0x8013A180, "unsigned char M_PathWalk__Fi(int i, char plr2monst[9], unsigned char (*Check)())")
del_items(0x8013A244)
SetType(0x8013A244, "unsigned char M_CallWalk2__Fii(int i, int md)")
del_items(0x8013A358)
SetType(0x8013A358, "unsigned char M_DumbWalk__Fii(int i, int md)")
del_items(0x8013A3AC)
SetType(0x8013A3AC, "unsigned char M_RoundWalk__FiiRi(int i, int md, int *dir)")
del_items(0x8013A54C)
SetType(0x8013A54C, "void MAI_Zombie__Fi(int i)")
del_items(0x8013A744)
SetType(0x8013A744, "void MAI_SkelSd__Fi(int i)")
del_items(0x8013A8DC)
SetType(0x8013A8DC, "void MAI_Snake__Fi(int i)")
del_items(0x8013ACC0)
SetType(0x8013ACC0, "void MAI_Bat__Fi(int i)")
del_items(0x8013B078)
SetType(0x8013B078, "void MAI_SkelBow__Fi(int i)")
del_items(0x8013B25C)
SetType(0x8013B25C, "void MAI_Fat__Fi(int i)")
del_items(0x8013B40C)
SetType(0x8013B40C, "void MAI_Sneak__Fi(int i)")
del_items(0x8013B7F8)
SetType(0x8013B7F8, "void MAI_Fireman__Fi(int i)")
del_items(0x8013BAF0)
SetType(0x8013BAF0, "void MAI_Fallen__Fi(int i)")
del_items(0x8013BE0C)
SetType(0x8013BE0C, "void MAI_Cleaver__Fi(int i)")
del_items(0x8013BEF4)
SetType(0x8013BEF4, "void MAI_Round__FiUc(int i, unsigned char special)")
del_items(0x8013C360)
SetType(0x8013C360, "void MAI_GoatMc__Fi(int i)")
del_items(0x8013C380)
SetType(0x8013C380, "void MAI_Ranged__FiiUc(int i, int missile_type, unsigned char special)")
del_items(0x8013C5A0)
SetType(0x8013C5A0, "void MAI_GoatBow__Fi(int i)")
del_items(0x8013C5C4)
SetType(0x8013C5C4, "void MAI_Succ__Fi(int i)")
del_items(0x8013C5E8)
SetType(0x8013C5E8, "void MAI_AcidUniq__Fi(int i)")
del_items(0x8013C60C)
SetType(0x8013C60C, "void MAI_Scav__Fi(int i)")
del_items(0x8013CA24)
SetType(0x8013CA24, "void MAI_Garg__Fi(int i)")
del_items(0x8013CC04)
SetType(0x8013CC04, "void MAI_RoundRanged__FiiUciUc(int i, int missile_type, unsigned char checkdoors, int dam, int lessmissiles)")
del_items(0x8013D118)
SetType(0x8013D118, "void MAI_Magma__Fi(int i)")
del_items(0x8013D144)
SetType(0x8013D144, "void MAI_Storm__Fi(int i)")
del_items(0x8013D170)
SetType(0x8013D170, "void MAI_Acid__Fi(int i)")
del_items(0x8013D1A0)
SetType(0x8013D1A0, "void MAI_Diablo__Fi(int i)")
del_items(0x8013D1CC)
SetType(0x8013D1CC, "void MAI_RR2__Fiii(int i, int mistype, int dam)")
del_items(0x8013D6CC)
SetType(0x8013D6CC, "void MAI_Mega__Fi(int i)")
del_items(0x8013D6F0)
SetType(0x8013D6F0, "void MAI_SkelKing__Fi(int i)")
del_items(0x8013DC2C)
SetType(0x8013DC2C, "void MAI_Rhino__Fi(int i)")
del_items(0x8013E0D4)
SetType(0x8013E0D4, "void MAI_Counselor__Fi(int i, unsigned char counsmiss[4], int _mx, int _my)")
del_items(0x8013E5A0)
SetType(0x8013E5A0, "void MAI_Garbud__Fi(int i)")
del_items(0x8013E750)
SetType(0x8013E750, "void MAI_Zhar__Fi(int i)")
del_items(0x8013E948)
SetType(0x8013E948, "void MAI_SnotSpil__Fi(int i)")
del_items(0x8013EB7C)
SetType(0x8013EB7C, "void MAI_Lazurus__Fi(int i)")
del_items(0x8013EDF4)
SetType(0x8013EDF4, "void MAI_Lazhelp__Fi(int i)")
del_items(0x8013EF14)
SetType(0x8013EF14, "void MAI_Lachdanan__Fi(int i)")
del_items(0x8013F0A4)
SetType(0x8013F0A4, "void MAI_Warlord__Fi(int i)")
del_items(0x8013F1F0)
SetType(0x8013F1F0, "void DeleteMonsterList__Fv()")
del_items(0x8013F30C)
SetType(0x8013F30C, "void ProcessMonsters__Fv()")
del_items(0x8013F894)
SetType(0x8013F894, "unsigned char DirOK__Fii(int i, int mdir)")
del_items(0x8013FC7C)
SetType(0x8013FC7C, "unsigned char PosOkMissile__Fii(int x, int y)")
del_items(0x8013FCE4)
SetType(0x8013FCE4, "unsigned char CheckNoSolid__Fii(int x, int y)")
del_items(0x8013FD28)
SetType(0x8013FD28, "unsigned char LineClearF__FPFii_Uciiii(unsigned char (*Clear)(), int x1, int y1, int x2, int y2)")
del_items(0x8013FFB0)
SetType(0x8013FFB0, "unsigned char LineClear__Fiiii(int x1, int y1, int x2, int y2)")
del_items(0x8013FFF0)
SetType(0x8013FFF0, "unsigned char LineClearF1__FPFiii_Uciiiii(unsigned char (*Clear)(), int monst, int x1, int y1, int x2, int y2)")
del_items(0x80140284)
SetType(0x80140284, "void M_FallenFear__Fii(int x, int y)")
del_items(0x80140454)
SetType(0x80140454, "void PrintMonstHistory__Fi(int mt)")
del_items(0x8014067C)
SetType(0x8014067C, "void PrintUniqueHistory__Fv()")
del_items(0x801407A0)
SetType(0x801407A0, "void MissToMonst__Fiii(int i, int x, int y)")
del_items(0x80140C04)
SetType(0x80140C04, "unsigned char PosOkMonst2__Fiii(int i, int x, int y)")
del_items(0x80140E20)
SetType(0x80140E20, "unsigned char PosOkMonst3__Fiii(int i, int x, int y)")
del_items(0x80141114)
SetType(0x80141114, "int M_SpawnSkel__Fiii(int x, int y, int dir)")
del_items(0x8014126C)
SetType(0x8014126C, "void TalktoMonster__Fi(int i)")
del_items(0x8014138C)
SetType(0x8014138C, "void SpawnGolum__Fiiii(int i, int x, int y, int mi)")
del_items(0x801415E4)
SetType(0x801415E4, "unsigned char CanTalkToMonst__Fi(int m)")
del_items(0x8014161C)
SetType(0x8014161C, "unsigned char CheckMonsterHit__FiRUc(int m, unsigned char *ret)")
del_items(0x801416E8)
SetType(0x801416E8, "void MAI_Golum__Fi(int i)")
del_items(0x80141A5C)
SetType(0x80141A5C, "unsigned char MAI_Path__Fi(int i)")
del_items(0x80141BC0)
SetType(0x80141BC0, "void M_StartAttack__Fi(int i)")
del_items(0x80141CA8)
SetType(0x80141CA8, "void M_StartWalk__Fiiiiii(int i, int xvel, int yvel, int xadd, int yadd, int EndDir)")
del_items(0x80141E08)
SetType(0x80141E08, "void FreeInvGFX__Fv()")
del_items(0x80141E10)
SetType(0x80141E10, "void InvDrawSlot__Fiii(int X, int Y, int Frame)")
del_items(0x80141E94)
SetType(0x80141E94, "void InvDrawSlotBack__FiiiiUc(int X, int Y, int W, int H, int Flag)")
del_items(0x801420E8)
SetType(0x801420E8, "void InvDrawItem__FiiiUci(int ItemX, int ItemY, int ItemNo, unsigned char StatFlag, int TransFlag)")
del_items(0x801421B8)
SetType(0x801421B8, "void InvDrawSlots__Fv()")
del_items(0x80142490)
SetType(0x80142490, "void PrintStat__FiiPcUc(int Y, int Txt0, char *Txt1, unsigned char Col)")
del_items(0x8014255C)
SetType(0x8014255C, "void DrawInvStats__Fv()")
del_items(0x801430E8)
SetType(0x801430E8, "void DrawInvBack__Fv()")
del_items(0x80143170)
SetType(0x80143170, "void DrawInvCursor__Fv()")
del_items(0x8014364C)
SetType(0x8014364C, "void DrawInvMsg__Fv()")
del_items(0x80143814)
SetType(0x80143814, "void DrawInvUnique__Fv()")
del_items(0x80143938)
SetType(0x80143938, "void DrawInv__Fv()")
del_items(0x80143978)
SetType(0x80143978, "void DrawInvTSK__FP4TASK(struct TASK *T)")
del_items(0x80143CA8)
SetType(0x80143CA8, "void DoThatDrawInv__Fv()")
del_items(0x80144470)
SetType(0x80144470, "unsigned char AutoPlace__FiiiiUc(int pnum, int ii, int sx, int sy, int saveflag)")
del_items(0x80144790)
SetType(0x80144790, "unsigned char SpecialAutoPlace__FiiiiUc(int pnum, int ii, int sx, int sy, int saveflag)")
del_items(0x80144B2C)
SetType(0x80144B2C, "unsigned char GoldAutoPlace__Fi(int pnum)")
del_items(0x80144FFC)
SetType(0x80144FFC, "unsigned char WeaponAutoPlace__Fi(int pnum)")
del_items(0x80145288)
SetType(0x80145288, "int SwapItem__FP10ItemStructT0(struct ItemStruct *a, struct ItemStruct *b)")
del_items(0x80145384)
SetType(0x80145384, "void CheckInvPaste__Fiii(int pnum, int mx, int my)")
del_items(0x80147070)
SetType(0x80147070, "void CheckInvCut__Fiii(int pnum, int mx, int my)")
del_items(0x80147B20)
SetType(0x80147B20, "void RemoveInvItem__Fii(int pnum, int iv)")
del_items(0x80147DC8)
SetType(0x80147DC8, "void RemoveSpdBarItem__Fii(int pnum, int iv)")
del_items(0x80147EC8)
SetType(0x80147EC8, "void CheckInvScrn__Fv()")
del_items(0x80147F40)
SetType(0x80147F40, "void CheckItemStats__Fi(int pnum)")
del_items(0x80147FC4)
SetType(0x80147FC4, "void CheckBookLevel__Fi(int pnum)")
del_items(0x801480F8)
SetType(0x801480F8, "void CheckQuestItem__Fi(int pnum)")
del_items(0x80148520)
SetType(0x80148520, "void InvGetItem__Fii(int pnum, int ii)")
del_items(0x8014881C)
SetType(0x8014881C, "void AutoGetItem__Fii(int pnum, int ii)")
del_items(0x8014928C)
SetType(0x8014928C, "int FindGetItem__FiUsi(int idx, unsigned short ci, int iseed)")
del_items(0x80149340)
SetType(0x80149340, "void SyncGetItem__FiiiUsi(int x, int y, int idx, unsigned short ci, int iseed)")
del_items(0x801494CC)
SetType(0x801494CC, "unsigned char TryInvPut__Fv()")
del_items(0x80149694)
SetType(0x80149694, "int InvPutItem__Fiii(int pnum, int x, int y)")
del_items(0x80149B3C)
SetType(0x80149B3C, "int SyncPutItem__FiiiiUsiUciiiiiUl(int pnum, int x, int y, int idx, int icreateinfo, int iseed, int Id, int dur, int mdur, int ch, int mch, int ivalue, unsigned long ibuff)")
del_items(0x8014A098)
SetType(0x8014A098, "char CheckInvHLight__Fv()")
del_items(0x8014A3E0)
SetType(0x8014A3E0, "void RemoveScroll__Fi(int pnum)")
del_items(0x8014A5C4)
SetType(0x8014A5C4, "unsigned char UseScroll__Fv()")
del_items(0x8014A82C)
SetType(0x8014A82C, "void UseStaffCharge__FP12PlayerStruct(struct PlayerStruct *ptrplr)")
del_items(0x8014A894)
SetType(0x8014A894, "unsigned char UseStaff__Fv()")
del_items(0x8014A954)
SetType(0x8014A954, "void StartGoldDrop__Fv()")
del_items(0x8014AA50)
SetType(0x8014AA50, "unsigned char UseInvItem__Fii(int pnum, int cii)")
del_items(0x8014AF74)
SetType(0x8014AF74, "void DoTelekinesis__Fv()")
del_items(0x8014B09C)
SetType(0x8014B09C, "long CalculateGold__Fi(int pnum)")
del_items(0x8014B1D4)
SetType(0x8014B1D4, "unsigned char DropItemBeforeTrig__Fv()")
del_items(0x8014B22C)
SetType(0x8014B22C, "void ControlInv__Fv()")
del_items(0x8014B50C)
SetType(0x8014B50C, "void InvGetItemWH__Fi(int Pos)")
del_items(0x8014B600)
SetType(0x8014B600, "void InvAlignObject__Fv()")
del_items(0x8014B7B4)
SetType(0x8014B7B4, "void InvSetItemCurs__Fv()")
del_items(0x8014B948)
SetType(0x8014B948, "void InvMoveCursLeft__Fv()")
del_items(0x8014BB34)
SetType(0x8014BB34, "void InvMoveCursRight__Fv()")
del_items(0x8014BE5C)
SetType(0x8014BE5C, "void InvMoveCursUp__Fv()")
del_items(0x8014C054)
SetType(0x8014C054, "void InvMoveCursDown__Fv()")
del_items(0x8014C37C)
SetType(0x8014C37C, "void DumpMonsters__7CBlocks(struct CBlocks *this)")
del_items(0x8014C3A4)
SetType(0x8014C3A4, "void Flush__4CPad(struct CPad *this)")
del_items(0x8014C3C8)
SetType(0x8014C3C8, "void SetRGB__6DialogUcUcUc(struct Dialog *this, unsigned char R, unsigned char G, unsigned char B)")
del_items(0x8014C3E8)
SetType(0x8014C3E8, "void SetBack__6Dialogi(struct Dialog *this, int Type)")
del_items(0x8014C3F0)
SetType(0x8014C3F0, "void SetBorder__6Dialogi(struct Dialog *this, int Type)")
del_items(0x8014C3F8)
SetType(0x8014C3F8, "int SetOTpos__6Dialogi(struct Dialog *this, int OT)")
del_items(0x8014C404)
SetType(0x8014C404, "void ___6Dialog(struct Dialog *this, int __in_chrg)")
del_items(0x8014C42C)
SetType(0x8014C42C, "struct Dialog *__6Dialog(struct Dialog *this)")
del_items(0x8014C488)
SetType(0x8014C488, "void StartAutomap__Fv()")
del_items(0x8014C4A0)
SetType(0x8014C4A0, "void AutomapUp__Fv()")
del_items(0x8014C4B8)
SetType(0x8014C4B8, "void AutomapDown__Fv()")
del_items(0x8014C4D0)
SetType(0x8014C4D0, "void AutomapLeft__Fv()")
del_items(0x8014C4E8)
SetType(0x8014C4E8, "void AutomapRight__Fv()")
del_items(0x8014C500)
SetType(0x8014C500, "struct LINE_F2 *AMGetLine__FUcUcUc(unsigned char R, unsigned char G, unsigned char B)")
del_items(0x8014C5AC)
SetType(0x8014C5AC, "void AmDrawLine__Fiiii(int x0, int y0, int x1, int y1)")
del_items(0x8014C614)
SetType(0x8014C614, "void AmDrawPlayer__Fiiii(int x0, int y0, int x1, int y1)")
del_items(0x8014C67C)
SetType(0x8014C67C, "void DrawAutomapPlr__Fv()")
del_items(0x8014CA00)
SetType(0x8014CA00, "void DrawAutoMapVertWall__Fiii(int X, int Y, int Length)")
del_items(0x8014CAD4)
SetType(0x8014CAD4, "void DrawAutoMapHorzWall__Fiii(int X, int Y, int Length)")
del_items(0x8014CBA8)
SetType(0x8014CBA8, "void DrawAutoMapVertDoor__Fii(int X, int Y)")
del_items(0x8014CD7C)
SetType(0x8014CD7C, "void DrawAutoMapHorzDoor__Fii(int X, int Y)")
del_items(0x8014CF54)
SetType(0x8014CF54, "void DrawAutoMapVertGrate__Fii(int X, int Y)")
del_items(0x8014D008)
SetType(0x8014D008, "void DrawAutoMapHorzGrate__Fii(int X, int Y)")
del_items(0x8014D0BC)
SetType(0x8014D0BC, "void DrawAutoMapSquare__Fii(int X, int Y)")
del_items(0x8014D204)
SetType(0x8014D204, "void DrawAutoMapStairs__Fii(int X, int Y)")
del_items(0x8014D404)
SetType(0x8014D404, "void DrawAutomap__Fv()")
del_items(0x8014D820)
SetType(0x8014D820, "void PRIM_GetPrim__FPP7LINE_F2(struct LINE_F2 **Prim)")
| del_items(2148683532)
set_type(2148683532, 'void GameOnlyTestRoutine__Fv()')
del_items(2148683540)
set_type(2148683540, 'int vecleny__Fii(int a, int b)')
del_items(2148683576)
set_type(2148683576, 'int veclenx__Fii(int a, int b)')
del_items(2148683620)
set_type(2148683620, 'void GetDamageAmt__FiPiT1(int i, int *mind, int *maxd)')
del_items(2148685148)
set_type(2148685148, 'int CheckBlock__Fiiii(int fx, int fy, int tx, int ty)')
del_items(2148685380)
set_type(2148685380, 'int FindClosest__Fiii(int sx, int sy, int rad)')
del_items(2148685792)
set_type(2148685792, 'int GetSpellLevel__Fii(int id, int sn)')
del_items(2148685908)
set_type(2148685908, 'int GetDirection8__Fiiii(int x1, int y1, int x2, int y2)')
del_items(2148686448)
set_type(2148686448, 'void DeleteMissile__Fii(int mi, int i)')
del_items(2148686536)
set_type(2148686536, 'void GetMissileVel__Fiiiiii(int i, int sx, int sy, int dx, int dy, int v)')
del_items(2148686972)
set_type(2148686972, 'void PutMissile__Fi(int i)')
del_items(2148687232)
set_type(2148687232, 'void GetMissilePos__Fi(int i)')
del_items(2148687528)
set_type(2148687528, 'void MoveMissilePos__Fi(int i)')
del_items(2148687888)
set_type(2148687888, 'unsigned char MonsterTrapHit__FiiiiiUc(int m, int mindam, int maxdam, int dist, int t, int shift)')
del_items(2148688772)
set_type(2148688772, 'unsigned char MonsterMHit__FiiiiiiUc(int pnum, int m, int mindam, int maxdam, int dist, int t, int shift)')
del_items(2148690660)
set_type(2148690660, 'unsigned char PlayerMHit__FiiiiiiUcUc(int pnum, int m, int dist, int mind, int maxd, int mtype, int shift, int earflag)')
del_items(2148693328)
set_type(2148693328, 'unsigned char Plr2PlrMHit__FiiiiiiUc(int pnum, int p, int mindam, int maxdam, int dist, int mtype, int shift)')
del_items(2148695340)
set_type(2148695340, 'void CheckMissileCol__FiiiUciiUc(int i, int mindam, int maxdam, unsigned char shift, int mx, int my, int nodel)')
del_items(2148697196)
set_type(2148697196, 'unsigned char GetTableValue__FUci(unsigned char code, int dir)')
del_items(2148697344)
set_type(2148697344, 'void SetMissAnim__Fii(int mi, int animtype)')
del_items(2148697552)
set_type(2148697552, 'void SetMissDir__Fii(int mi, int dir)')
del_items(2148697620)
set_type(2148697620, 'void AddLArrow__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148698100)
set_type(2148698100, 'void AddArrow__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148698544)
set_type(2148698544, 'void GetVileMissPos__Fiii(int mi, int dx, int dy)')
del_items(2148698836)
set_type(2148698836, 'void AddRndTeleport__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148699716)
set_type(2148699716, 'void AddFirebolt__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int micaster, int id, int dam)')
del_items(2148700336)
set_type(2148700336, 'void AddMagmaball__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148700612)
set_type(2148700612, 'void AddTeleport__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148701116)
set_type(2148701116, 'void AddLightball__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148701456)
set_type(2148701456, 'void AddFirewall__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148701944)
set_type(2148701944, 'void AddFireball__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148702548)
set_type(2148702548, 'void AddLightctrl__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148702780)
set_type(2148702780, 'void AddLightning__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148703236)
set_type(2148703236, 'void AddMisexp__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148703760)
set_type(2148703760, 'unsigned char CheckIfTrig__Fii(int x, int y)')
del_items(2148703988)
set_type(2148703988, 'void AddTown__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148705048)
set_type(2148705048, 'void AddFlash__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148705576)
set_type(2148705576, 'void AddFlash2__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148706056)
set_type(2148706056, 'void AddManashield__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148706256)
set_type(2148706256, 'void AddFiremove__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148706604)
set_type(2148706604, 'void AddGuardian__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148707736)
set_type(2148707736, 'void AddChain__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148707828)
set_type(2148707828, 'void AddRhino__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148708272)
set_type(2148708272, 'void AddFlare__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148709032)
set_type(2148709032, 'void AddAcid__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148709292)
set_type(2148709292, 'void AddAcidpud__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148709508)
set_type(2148709508, 'void AddStone__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148710268)
set_type(2148710268, 'void AddGolem__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148710708)
set_type(2148710708, 'void AddBoom__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148710856)
set_type(2148710856, 'void AddHeal__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148711408)
set_type(2148711408, 'void AddHealOther__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148711512)
set_type(2148711512, 'void AddElement__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148712068)
set_type(2148712068, 'void AddIdentify__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148712244)
set_type(2148712244, 'void AddFirewallC__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148712932)
set_type(2148712932, 'void AddInfra__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148713184)
set_type(2148713184, 'void AddWave__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148713316)
set_type(2148713316, 'void AddNova__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148713852)
set_type(2148713852, 'void AddRepair__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148714028)
set_type(2148714028, 'void AddRecharge__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148714204)
set_type(2148714204, 'void AddDisarm__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148714308)
set_type(2148714308, 'void AddApoca__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148714880)
set_type(2148714880, 'void AddFlame__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int seqno)')
del_items(2148715420)
set_type(2148715420, 'void AddFlamec__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148715660)
set_type(2148715660, 'void AddCbolt__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int micaster, int id, int dam)')
del_items(2148716160)
set_type(2148716160, 'void AddHbolt__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int micaster, int id, int dam)')
del_items(2148716608)
set_type(2148716608, 'void AddResurrect__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148716724)
set_type(2148716724, 'void AddResurrectBeam__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148716860)
set_type(2148716860, 'void AddTelekinesis__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148716964)
set_type(2148716964, 'void AddBoneSpirit__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148717472)
set_type(2148717472, 'void AddRportal__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148717632)
set_type(2148717632, 'void AddDiabApoca__Fiiiiiicii(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)')
del_items(2148717948)
set_type(2148717948, 'int AddMissile__Fiiiiiiciii(int sx, int sy, int v1, int v2, int midir, int mitype, int micaster, int id, int v3, int spllvl)')
del_items(2148718792)
set_type(2148718792, 'int Sentfire__Fiii(int i, int sx, int sy)')
del_items(2148719276)
set_type(2148719276, 'void MI_Dummy__Fi(int i)')
del_items(2148719284)
set_type(2148719284, 'void MI_Golem__Fi(int i)')
del_items(2148719888)
set_type(2148719888, 'void MI_SetManashield__Fi(int i)')
del_items(2148719948)
set_type(2148719948, 'void MI_LArrow__Fi(int i)')
del_items(2148721928)
set_type(2148721928, 'void MI_Arrow__Fi(int i)')
del_items(2148722468)
set_type(2148722468, 'void MI_Firebolt__Fi(int i)')
del_items(2148724208)
set_type(2148724208, 'void MI_Lightball__Fi(int i)')
del_items(2148724856)
set_type(2148724856, 'void MI_Acidpud__Fi(int i)')
del_items(2148725128)
set_type(2148725128, 'void MI_Firewall__Fi(int i)')
del_items(2148725836)
set_type(2148725836, 'void MI_Fireball__Fi(int i)')
del_items(2148728336)
set_type(2148728336, 'void MI_Lightctrl__Fi(int i)')
del_items(2148729724)
set_type(2148729724, 'void MI_Lightning__Fi(int i)')
del_items(2148730104)
set_type(2148730104, 'void MI_Town__Fi(int i)')
del_items(2148730688)
set_type(2148730688, 'void MI_Flash__Fi(int i)')
del_items(2148731768)
set_type(2148731768, 'void MI_Flash2__Fi(int i)')
del_items(2148732352)
set_type(2148732352, 'void MI_Manashield__Fi(int i)')
del_items(2148733896)
set_type(2148733896, 'void MI_Firemove__Fi(int i)')
del_items(2148734980)
set_type(2148734980, 'void MI_Guardian__Fi(int i)')
del_items(2148735952)
set_type(2148735952, 'void MI_Chain__Fi(int i)')
del_items(2148736716)
set_type(2148736716, 'void MI_Misexp__Fi(int i)')
del_items(2148737484)
set_type(2148737484, 'void MI_Acidsplat__Fi(int i)')
del_items(2148737896)
set_type(2148737896, 'void MI_Teleport__Fi(int i)')
del_items(2148738864)
set_type(2148738864, 'void MI_Stone__Fi(int i)')
del_items(2148739292)
set_type(2148739292, 'void MI_Boom__Fi(int i)')
del_items(2148739540)
set_type(2148739540, 'void MI_Rhino__Fi(int i)')
del_items(2148740480)
set_type(2148740480, 'void MI_FirewallC__Fi(int i)')
del_items(2148741352)
set_type(2148741352, 'void MI_Infra__Fi(int i)')
del_items(2148741536)
set_type(2148741536, 'void MI_Apoca__Fi(int i)')
del_items(2148742196)
set_type(2148742196, 'void MI_Wave__Fi(int i)')
del_items(2148743472)
set_type(2148743472, 'void MI_Nova__Fi(int i)')
del_items(2148744176)
set_type(2148744176, 'void MI_Flame__Fi(int i)')
del_items(2148744680)
set_type(2148744680, 'void MI_Flamec__Fi(int i)')
del_items(2148745328)
set_type(2148745328, 'void MI_Cbolt__Fi(int i)')
del_items(2148746100)
set_type(2148746100, 'void MI_Hbolt__Fi(int i)')
del_items(2148746880)
set_type(2148746880, 'void MI_Element__Fi(int i)')
del_items(2148748600)
set_type(2148748600, 'void MI_Bonespirit__Fi(int i)')
del_items(2148749632)
set_type(2148749632, 'void MI_ResurrectBeam__Fi(int i)')
del_items(2148749744)
set_type(2148749744, 'void MI_Rportal__Fi(int i)')
del_items(2148750292)
set_type(2148750292, 'void ProcessMissiles__Fv()')
del_items(2148751304)
set_type(2148751304, 'void ClearMissileSpot__Fi(int mi)')
del_items(2148751488)
set_type(2148751488, 'void MoveToScrollTarget__7CBlocks(struct CBlocks *this)')
del_items(2148751508)
set_type(2148751508, 'void MonstPartJump__Fi(int m)')
del_items(2148751912)
set_type(2148751912, 'void DeleteMonster__Fi(int i)')
del_items(2148751968)
set_type(2148751968, 'int M_GetDir__Fi(int i)')
del_items(2148752060)
set_type(2148752060, 'void M_StartDelay__Fii(int i, int len)')
del_items(2148752132)
set_type(2148752132, 'void M_StartRAttack__Fiii(int i, int missile_type, int dam)')
del_items(2148752412)
set_type(2148752412, 'void M_StartRSpAttack__Fiii(int i, int missile_type, int dam)')
del_items(2148752704)
set_type(2148752704, 'void M_StartSpAttack__Fi(int i)')
del_items(2148752936)
set_type(2148752936, 'void M_StartEat__Fi(int i)')
del_items(2148753144)
set_type(2148753144, 'void M_GetKnockback__Fi(int i)')
del_items(2148753616)
set_type(2148753616, 'void M_StartHit__Fiii(int i, int pnum, int dam)')
del_items(2148754376)
set_type(2148754376, 'void M_DiabloDeath__FiUc(int i, unsigned char sendmsg)')
del_items(2148755180)
set_type(2148755180, 'void M2MStartHit__Fiii(int mid, int i, int dam)')
del_items(2148755864)
set_type(2148755864, 'void MonstStartKill__FiiUc(int i, int pnum, unsigned char sendmsg)')
del_items(2148756588)
set_type(2148756588, 'void M2MStartKill__Fii(int i, int mid)')
del_items(2148757556)
set_type(2148757556, 'void M_StartKill__Fii(int i, int pnum)')
del_items(2148757796)
set_type(2148757796, 'void M_StartFadein__FiiUc(int i, int md, unsigned char backwards)')
del_items(2148758136)
set_type(2148758136, 'void M_StartFadeout__FiiUc(int i, int md, unsigned char backwards)')
del_items(2148758464)
set_type(2148758464, 'void M_StartHeal__Fi(int i)')
del_items(2148758592)
set_type(2148758592, 'void M_ChangeLightOffset__Fi(int monst)')
del_items(2148758752)
set_type(2148758752, 'int M_DoStand__Fi(int i)')
del_items(2148758856)
set_type(2148758856, 'int M_DoWalk__Fi(int i)')
del_items(2148759500)
set_type(2148759500, 'int M_DoWalk2__Fi(int i)')
del_items(2148759992)
set_type(2148759992, 'int M_DoWalk3__Fi(int i)')
del_items(2148760700)
set_type(2148760700, 'void M_TryM2MHit__Fiiiii(int i, int mid, int hper, int mind, int maxd)')
del_items(2148761156)
set_type(2148761156, 'void M_TryH2HHit__Fiiiii(int i, int pnum, int Hit, int MinDam, int MaxDam)')
del_items(2148762712)
set_type(2148762712, 'int M_DoAttack__Fi(int i)')
del_items(2148763132)
set_type(2148763132, 'int M_DoRAttack__Fi(int i)')
del_items(2148763508)
set_type(2148763508, 'int M_DoRSpAttack__Fi(int i)')
del_items(2148764004)
set_type(2148764004, 'int M_DoSAttack__Fi(int i)')
del_items(2148764216)
set_type(2148764216, 'int M_DoFadein__Fi(int i)')
del_items(2148764424)
set_type(2148764424, 'int M_DoFadeout__Fi(int i)')
del_items(2148764700)
set_type(2148764700, 'int M_DoHeal__Fi(int i)')
del_items(2148764872)
set_type(2148764872, 'int M_DoTalk__Fi(int i)')
del_items(2148766004)
set_type(2148766004, 'void M_Teleport__Fi(int i)')
del_items(2148766568)
set_type(2148766568, 'int M_DoGotHit__Fi(int i)')
del_items(2148766664)
set_type(2148766664, 'void DoEnding__Fv()')
del_items(2148766836)
set_type(2148766836, 'void PrepDoEnding__Fv()')
del_items(2148767128)
set_type(2148767128, 'int M_DoDeath__Fi(int i)')
del_items(2148767592)
set_type(2148767592, 'int M_DoSpStand__Fi(int i)')
del_items(2148767756)
set_type(2148767756, 'int M_DoDelay__Fi(int i)')
del_items(2148767996)
set_type(2148767996, 'int M_DoStone__Fi(int i)')
del_items(2148768128)
set_type(2148768128, 'void M_WalkDir__Fii(int i, int md)')
del_items(2148768680)
set_type(2148768680, 'void GroupUnity__Fi(int i)')
del_items(2148769684)
set_type(2148769684, 'unsigned char M_CallWalk__Fii(int i, int md)')
del_items(2148770176)
set_type(2148770176, 'unsigned char M_PathWalk__Fi(int i, char plr2monst[9], unsigned char (*Check)())')
del_items(2148770372)
set_type(2148770372, 'unsigned char M_CallWalk2__Fii(int i, int md)')
del_items(2148770648)
set_type(2148770648, 'unsigned char M_DumbWalk__Fii(int i, int md)')
del_items(2148770732)
set_type(2148770732, 'unsigned char M_RoundWalk__FiiRi(int i, int md, int *dir)')
del_items(2148771148)
set_type(2148771148, 'void MAI_Zombie__Fi(int i)')
del_items(2148771652)
set_type(2148771652, 'void MAI_SkelSd__Fi(int i)')
del_items(2148772060)
set_type(2148772060, 'void MAI_Snake__Fi(int i)')
del_items(2148773056)
set_type(2148773056, 'void MAI_Bat__Fi(int i)')
del_items(2148774008)
set_type(2148774008, 'void MAI_SkelBow__Fi(int i)')
del_items(2148774492)
set_type(2148774492, 'void MAI_Fat__Fi(int i)')
del_items(2148774924)
set_type(2148774924, 'void MAI_Sneak__Fi(int i)')
del_items(2148775928)
set_type(2148775928, 'void MAI_Fireman__Fi(int i)')
del_items(2148776688)
set_type(2148776688, 'void MAI_Fallen__Fi(int i)')
del_items(2148777484)
set_type(2148777484, 'void MAI_Cleaver__Fi(int i)')
del_items(2148777716)
set_type(2148777716, 'void MAI_Round__FiUc(int i, unsigned char special)')
del_items(2148778848)
set_type(2148778848, 'void MAI_GoatMc__Fi(int i)')
del_items(2148778880)
set_type(2148778880, 'void MAI_Ranged__FiiUc(int i, int missile_type, unsigned char special)')
del_items(2148779424)
set_type(2148779424, 'void MAI_GoatBow__Fi(int i)')
del_items(2148779460)
set_type(2148779460, 'void MAI_Succ__Fi(int i)')
del_items(2148779496)
set_type(2148779496, 'void MAI_AcidUniq__Fi(int i)')
del_items(2148779532)
set_type(2148779532, 'void MAI_Scav__Fi(int i)')
del_items(2148780580)
set_type(2148780580, 'void MAI_Garg__Fi(int i)')
del_items(2148781060)
set_type(2148781060, 'void MAI_RoundRanged__FiiUciUc(int i, int missile_type, unsigned char checkdoors, int dam, int lessmissiles)')
del_items(2148782360)
set_type(2148782360, 'void MAI_Magma__Fi(int i)')
del_items(2148782404)
set_type(2148782404, 'void MAI_Storm__Fi(int i)')
del_items(2148782448)
set_type(2148782448, 'void MAI_Acid__Fi(int i)')
del_items(2148782496)
set_type(2148782496, 'void MAI_Diablo__Fi(int i)')
del_items(2148782540)
set_type(2148782540, 'void MAI_RR2__Fiii(int i, int mistype, int dam)')
del_items(2148783820)
set_type(2148783820, 'void MAI_Mega__Fi(int i)')
del_items(2148783856)
set_type(2148783856, 'void MAI_SkelKing__Fi(int i)')
del_items(2148785196)
set_type(2148785196, 'void MAI_Rhino__Fi(int i)')
del_items(2148786388)
set_type(2148786388, 'void MAI_Counselor__Fi(int i, unsigned char counsmiss[4], int _mx, int _my)')
del_items(2148787616)
set_type(2148787616, 'void MAI_Garbud__Fi(int i)')
del_items(2148788048)
set_type(2148788048, 'void MAI_Zhar__Fi(int i)')
del_items(2148788552)
set_type(2148788552, 'void MAI_SnotSpil__Fi(int i)')
del_items(2148789116)
set_type(2148789116, 'void MAI_Lazurus__Fi(int i)')
del_items(2148789748)
set_type(2148789748, 'void MAI_Lazhelp__Fi(int i)')
del_items(2148790036)
set_type(2148790036, 'void MAI_Lachdanan__Fi(int i)')
del_items(2148790436)
set_type(2148790436, 'void MAI_Warlord__Fi(int i)')
del_items(2148790768)
set_type(2148790768, 'void DeleteMonsterList__Fv()')
del_items(2148791052)
set_type(2148791052, 'void ProcessMonsters__Fv()')
del_items(2148792468)
set_type(2148792468, 'unsigned char DirOK__Fii(int i, int mdir)')
del_items(2148793468)
set_type(2148793468, 'unsigned char PosOkMissile__Fii(int x, int y)')
del_items(2148793572)
set_type(2148793572, 'unsigned char CheckNoSolid__Fii(int x, int y)')
del_items(2148793640)
set_type(2148793640, 'unsigned char LineClearF__FPFii_Uciiii(unsigned char (*Clear)(), int x1, int y1, int x2, int y2)')
del_items(2148794288)
set_type(2148794288, 'unsigned char LineClear__Fiiii(int x1, int y1, int x2, int y2)')
del_items(2148794352)
set_type(2148794352, 'unsigned char LineClearF1__FPFiii_Uciiiii(unsigned char (*Clear)(), int monst, int x1, int y1, int x2, int y2)')
del_items(2148795012)
set_type(2148795012, 'void M_FallenFear__Fii(int x, int y)')
del_items(2148795476)
set_type(2148795476, 'void PrintMonstHistory__Fi(int mt)')
del_items(2148796028)
set_type(2148796028, 'void PrintUniqueHistory__Fv()')
del_items(2148796320)
set_type(2148796320, 'void MissToMonst__Fiii(int i, int x, int y)')
del_items(2148797444)
set_type(2148797444, 'unsigned char PosOkMonst2__Fiii(int i, int x, int y)')
del_items(2148797984)
set_type(2148797984, 'unsigned char PosOkMonst3__Fiii(int i, int x, int y)')
del_items(2148798740)
set_type(2148798740, 'int M_SpawnSkel__Fiii(int x, int y, int dir)')
del_items(2148799084)
set_type(2148799084, 'void TalktoMonster__Fi(int i)')
del_items(2148799372)
set_type(2148799372, 'void SpawnGolum__Fiiii(int i, int x, int y, int mi)')
del_items(2148799972)
set_type(2148799972, 'unsigned char CanTalkToMonst__Fi(int m)')
del_items(2148800028)
set_type(2148800028, 'unsigned char CheckMonsterHit__FiRUc(int m, unsigned char *ret)')
del_items(2148800232)
set_type(2148800232, 'void MAI_Golum__Fi(int i)')
del_items(2148801116)
set_type(2148801116, 'unsigned char MAI_Path__Fi(int i)')
del_items(2148801472)
set_type(2148801472, 'void M_StartAttack__Fi(int i)')
del_items(2148801704)
set_type(2148801704, 'void M_StartWalk__Fiiiiii(int i, int xvel, int yvel, int xadd, int yadd, int EndDir)')
del_items(2148802056)
set_type(2148802056, 'void FreeInvGFX__Fv()')
del_items(2148802064)
set_type(2148802064, 'void InvDrawSlot__Fiii(int X, int Y, int Frame)')
del_items(2148802196)
set_type(2148802196, 'void InvDrawSlotBack__FiiiiUc(int X, int Y, int W, int H, int Flag)')
del_items(2148802792)
set_type(2148802792, 'void InvDrawItem__FiiiUci(int ItemX, int ItemY, int ItemNo, unsigned char StatFlag, int TransFlag)')
del_items(2148803000)
set_type(2148803000, 'void InvDrawSlots__Fv()')
del_items(2148803728)
set_type(2148803728, 'void PrintStat__FiiPcUc(int Y, int Txt0, char *Txt1, unsigned char Col)')
del_items(2148803932)
set_type(2148803932, 'void DrawInvStats__Fv()')
del_items(2148806888)
set_type(2148806888, 'void DrawInvBack__Fv()')
del_items(2148807024)
set_type(2148807024, 'void DrawInvCursor__Fv()')
del_items(2148808268)
set_type(2148808268, 'void DrawInvMsg__Fv()')
del_items(2148808724)
set_type(2148808724, 'void DrawInvUnique__Fv()')
del_items(2148809016)
set_type(2148809016, 'void DrawInv__Fv()')
del_items(2148809080)
set_type(2148809080, 'void DrawInvTSK__FP4TASK(struct TASK *T)')
del_items(2148809896)
set_type(2148809896, 'void DoThatDrawInv__Fv()')
del_items(2148811888)
set_type(2148811888, 'unsigned char AutoPlace__FiiiiUc(int pnum, int ii, int sx, int sy, int saveflag)')
del_items(2148812688)
set_type(2148812688, 'unsigned char SpecialAutoPlace__FiiiiUc(int pnum, int ii, int sx, int sy, int saveflag)')
del_items(2148813612)
set_type(2148813612, 'unsigned char GoldAutoPlace__Fi(int pnum)')
del_items(2148814844)
set_type(2148814844, 'unsigned char WeaponAutoPlace__Fi(int pnum)')
del_items(2148815496)
set_type(2148815496, 'int SwapItem__FP10ItemStructT0(struct ItemStruct *a, struct ItemStruct *b)')
del_items(2148815748)
set_type(2148815748, 'void CheckInvPaste__Fiii(int pnum, int mx, int my)')
del_items(2148823152)
set_type(2148823152, 'void CheckInvCut__Fiii(int pnum, int mx, int my)')
del_items(2148825888)
set_type(2148825888, 'void RemoveInvItem__Fii(int pnum, int iv)')
del_items(2148826568)
set_type(2148826568, 'void RemoveSpdBarItem__Fii(int pnum, int iv)')
del_items(2148826824)
set_type(2148826824, 'void CheckInvScrn__Fv()')
del_items(2148826944)
set_type(2148826944, 'void CheckItemStats__Fi(int pnum)')
del_items(2148827076)
set_type(2148827076, 'void CheckBookLevel__Fi(int pnum)')
del_items(2148827384)
set_type(2148827384, 'void CheckQuestItem__Fi(int pnum)')
del_items(2148828448)
set_type(2148828448, 'void InvGetItem__Fii(int pnum, int ii)')
del_items(2148829212)
set_type(2148829212, 'void AutoGetItem__Fii(int pnum, int ii)')
del_items(2148831884)
set_type(2148831884, 'int FindGetItem__FiUsi(int idx, unsigned short ci, int iseed)')
del_items(2148832064)
set_type(2148832064, 'void SyncGetItem__FiiiUsi(int x, int y, int idx, unsigned short ci, int iseed)')
del_items(2148832460)
set_type(2148832460, 'unsigned char TryInvPut__Fv()')
del_items(2148832916)
set_type(2148832916, 'int InvPutItem__Fiii(int pnum, int x, int y)')
del_items(2148834108)
set_type(2148834108, 'int SyncPutItem__FiiiiUsiUciiiiiUl(int pnum, int x, int y, int idx, int icreateinfo, int iseed, int Id, int dur, int mdur, int ch, int mch, int ivalue, unsigned long ibuff)')
del_items(2148835480)
set_type(2148835480, 'char CheckInvHLight__Fv()')
del_items(2148836320)
set_type(2148836320, 'void RemoveScroll__Fi(int pnum)')
del_items(2148836804)
set_type(2148836804, 'unsigned char UseScroll__Fv()')
del_items(2148837420)
set_type(2148837420, 'void UseStaffCharge__FP12PlayerStruct(struct PlayerStruct *ptrplr)')
del_items(2148837524)
set_type(2148837524, 'unsigned char UseStaff__Fv()')
del_items(2148837716)
set_type(2148837716, 'void StartGoldDrop__Fv()')
del_items(2148837968)
set_type(2148837968, 'unsigned char UseInvItem__Fii(int pnum, int cii)')
del_items(2148839284)
set_type(2148839284, 'void DoTelekinesis__Fv()')
del_items(2148839580)
set_type(2148839580, 'long CalculateGold__Fi(int pnum)')
del_items(2148839892)
set_type(2148839892, 'unsigned char DropItemBeforeTrig__Fv()')
del_items(2148839980)
set_type(2148839980, 'void ControlInv__Fv()')
del_items(2148840716)
set_type(2148840716, 'void InvGetItemWH__Fi(int Pos)')
del_items(2148840960)
set_type(2148840960, 'void InvAlignObject__Fv()')
del_items(2148841396)
set_type(2148841396, 'void InvSetItemCurs__Fv()')
del_items(2148841800)
set_type(2148841800, 'void InvMoveCursLeft__Fv()')
del_items(2148842292)
set_type(2148842292, 'void InvMoveCursRight__Fv()')
del_items(2148843100)
set_type(2148843100, 'void InvMoveCursUp__Fv()')
del_items(2148843604)
set_type(2148843604, 'void InvMoveCursDown__Fv()')
del_items(2148844412)
set_type(2148844412, 'void DumpMonsters__7CBlocks(struct CBlocks *this)')
del_items(2148844452)
set_type(2148844452, 'void Flush__4CPad(struct CPad *this)')
del_items(2148844488)
set_type(2148844488, 'void SetRGB__6DialogUcUcUc(struct Dialog *this, unsigned char R, unsigned char G, unsigned char B)')
del_items(2148844520)
set_type(2148844520, 'void SetBack__6Dialogi(struct Dialog *this, int Type)')
del_items(2148844528)
set_type(2148844528, 'void SetBorder__6Dialogi(struct Dialog *this, int Type)')
del_items(2148844536)
set_type(2148844536, 'int SetOTpos__6Dialogi(struct Dialog *this, int OT)')
del_items(2148844548)
set_type(2148844548, 'void ___6Dialog(struct Dialog *this, int __in_chrg)')
del_items(2148844588)
set_type(2148844588, 'struct Dialog *__6Dialog(struct Dialog *this)')
del_items(2148844680)
set_type(2148844680, 'void StartAutomap__Fv()')
del_items(2148844704)
set_type(2148844704, 'void AutomapUp__Fv()')
del_items(2148844728)
set_type(2148844728, 'void AutomapDown__Fv()')
del_items(2148844752)
set_type(2148844752, 'void AutomapLeft__Fv()')
del_items(2148844776)
set_type(2148844776, 'void AutomapRight__Fv()')
del_items(2148844800)
set_type(2148844800, 'struct LINE_F2 *AMGetLine__FUcUcUc(unsigned char R, unsigned char G, unsigned char B)')
del_items(2148844972)
set_type(2148844972, 'void AmDrawLine__Fiiii(int x0, int y0, int x1, int y1)')
del_items(2148845076)
set_type(2148845076, 'void AmDrawPlayer__Fiiii(int x0, int y0, int x1, int y1)')
del_items(2148845180)
set_type(2148845180, 'void DrawAutomapPlr__Fv()')
del_items(2148846080)
set_type(2148846080, 'void DrawAutoMapVertWall__Fiii(int X, int Y, int Length)')
del_items(2148846292)
set_type(2148846292, 'void DrawAutoMapHorzWall__Fiii(int X, int Y, int Length)')
del_items(2148846504)
set_type(2148846504, 'void DrawAutoMapVertDoor__Fii(int X, int Y)')
del_items(2148846972)
set_type(2148846972, 'void DrawAutoMapHorzDoor__Fii(int X, int Y)')
del_items(2148847444)
set_type(2148847444, 'void DrawAutoMapVertGrate__Fii(int X, int Y)')
del_items(2148847624)
set_type(2148847624, 'void DrawAutoMapHorzGrate__Fii(int X, int Y)')
del_items(2148847804)
set_type(2148847804, 'void DrawAutoMapSquare__Fii(int X, int Y)')
del_items(2148848132)
set_type(2148848132, 'void DrawAutoMapStairs__Fii(int X, int Y)')
del_items(2148848644)
set_type(2148848644, 'void DrawAutomap__Fv()')
del_items(2148849696)
set_type(2148849696, 'void PRIM_GetPrim__FPP7LINE_F2(struct LINE_F2 **Prim)') |
info = {
'driver_path' : "\\\\webdriver\\\\content\\\\geckodriver.exe",
'profile_path' : "\\\\webdriver\\\\content\\\\firefox_profile",
'primary_url' : "https://web.whatsapp.com",
'send_url' : "https://web.whatsapp.com/send?phone={}&text={}",
'send_button_class_name' : "_2Ujuu"
}
| info = {'driver_path': '\\\\webdriver\\\\content\\\\geckodriver.exe', 'profile_path': '\\\\webdriver\\\\content\\\\firefox_profile', 'primary_url': 'https://web.whatsapp.com', 'send_url': 'https://web.whatsapp.com/send?phone={}&text={}', 'send_button_class_name': '_2Ujuu'} |
config = {
"colors": {
"WHITE": (255, 255, 255),
"RED": (255, 0, 0),
"GREEN": (0, 255, 0),
"BLACK": (0, 0, 0)
},
"globals": {
"WIDTH": 600,
"HEIGHT": 400,
"BALL_RADIUS": 20,
"PAD_WIDTH": 8,
"PAD_HEIGHT": 80
}
}
| config = {'colors': {'WHITE': (255, 255, 255), 'RED': (255, 0, 0), 'GREEN': (0, 255, 0), 'BLACK': (0, 0, 0)}, 'globals': {'WIDTH': 600, 'HEIGHT': 400, 'BALL_RADIUS': 20, 'PAD_WIDTH': 8, 'PAD_HEIGHT': 80}} |
#!/usr/bin/env python
# Income Share Agreement
min = 50000.0
max = 88235.3
max_pay = 30000.0
max_income = 2117647.06
monthly_increment = (max - min)/23
print('\n24 months maximum payment with a minimum of $50,000 annual income')
print('Maximum income for 24 month repayment is $88,235.30\n')
print('For incomes exceeding $88,235.30 see chart below,\nfor reduced payback period on $30,000 repayment cap')
print('\nmonth\tannual_income\tless_isa\tmonthly\t\tless_isa\tmonthly_payment\n')
for n in range(24):
print(
"%d\t%.2f\t%.2f\t%.2f\t\t%.2f\t\t%.2f" % (n+1, (min+(n*monthly_increment)), (min+(n*monthly_increment))*0.83, (min+(n*monthly_increment))/12, (min+(n*monthly_increment))*0.83/12, ((min+(n*monthly_increment))/12) - (min+(n*monthly_increment))*0.83/12
))
print('\n')
print('$30,000 Maximum Shared Income\n')
print('total\t\tannual\t\tmonthly\npayments\tincome\t\tpayment\n')
for n in range(24,0,-1):
print('%d\t\t%.2f\t%.2f' % (n, max/(max*n/max_income), max_pay/n))
print('\n')
| min = 50000.0
max = 88235.3
max_pay = 30000.0
max_income = 2117647.06
monthly_increment = (max - min) / 23
print('\n24 months maximum payment with a minimum of $50,000 annual income')
print('Maximum income for 24 month repayment is $88,235.30\n')
print('For incomes exceeding $88,235.30 see chart below,\nfor reduced payback period on $30,000 repayment cap')
print('\nmonth\tannual_income\tless_isa\tmonthly\t\tless_isa\tmonthly_payment\n')
for n in range(24):
print('%d\t%.2f\t%.2f\t%.2f\t\t%.2f\t\t%.2f' % (n + 1, min + n * monthly_increment, (min + n * monthly_increment) * 0.83, (min + n * monthly_increment) / 12, (min + n * monthly_increment) * 0.83 / 12, (min + n * monthly_increment) / 12 - (min + n * monthly_increment) * 0.83 / 12))
print('\n')
print('$30,000 Maximum Shared Income\n')
print('total\t\tannual\t\tmonthly\npayments\tincome\t\tpayment\n')
for n in range(24, 0, -1):
print('%d\t\t%.2f\t%.2f' % (n, max / (max * n / max_income), max_pay / n))
print('\n') |
#
# PySNMP MIB module IANA-IPPM-METRICS-REGISTRY-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IANA-IPPM-METRICS-REGISTRY-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:38:44 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
TimeTicks, mib_2, ObjectIdentity, NotificationType, IpAddress, Integer32, MibIdentifier, iso, Unsigned32, ModuleIdentity, Bits, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "mib-2", "ObjectIdentity", "NotificationType", "IpAddress", "Integer32", "MibIdentifier", "iso", "Unsigned32", "ModuleIdentity", "Bits", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Counter64")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
ianaIppmMetricsRegistry = ModuleIdentity((1, 3, 6, 1, 2, 1, 128))
ianaIppmMetricsRegistry.setRevisions(('2015-08-14 00:00', '2014-05-22 00:00', '2010-09-07 00:00', '2009-09-02 00:00', '2009-04-20 00:00', '2006-12-04 00:00', '2005-04-12 00:00',))
if mibBuilder.loadTexts: ianaIppmMetricsRegistry.setLastUpdated('201508140000Z')
if mibBuilder.loadTexts: ianaIppmMetricsRegistry.setOrganization('IANA')
ianaIppmMetrics = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1))
if mibBuilder.loadTexts: ianaIppmMetrics.setStatus('current')
ietfInstantUnidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 1))
if mibBuilder.loadTexts: ietfInstantUnidirConnectivity.setStatus('current')
ietfInstantBidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 2))
if mibBuilder.loadTexts: ietfInstantBidirConnectivity.setStatus('current')
ietfIntervalUnidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 3))
if mibBuilder.loadTexts: ietfIntervalUnidirConnectivity.setStatus('current')
ietfIntervalBidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 4))
if mibBuilder.loadTexts: ietfIntervalBidirConnectivity.setStatus('current')
ietfIntervalTemporalConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 5))
if mibBuilder.loadTexts: ietfIntervalTemporalConnectivity.setStatus('current')
ietfOneWayDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 6))
if mibBuilder.loadTexts: ietfOneWayDelay.setStatus('current')
ietfOneWayDelayPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 7))
if mibBuilder.loadTexts: ietfOneWayDelayPoissonStream.setStatus('current')
ietfOneWayDelayPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 8))
if mibBuilder.loadTexts: ietfOneWayDelayPercentile.setStatus('current')
ietfOneWayDelayMedian = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 9))
if mibBuilder.loadTexts: ietfOneWayDelayMedian.setStatus('current')
ietfOneWayDelayMinimum = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 10))
if mibBuilder.loadTexts: ietfOneWayDelayMinimum.setStatus('current')
ietfOneWayDelayInversePercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 11))
if mibBuilder.loadTexts: ietfOneWayDelayInversePercentile.setStatus('current')
ietfOneWayPktLoss = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 12))
if mibBuilder.loadTexts: ietfOneWayPktLoss.setStatus('current')
ietfOneWayPktLossPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 13))
if mibBuilder.loadTexts: ietfOneWayPktLossPoissonStream.setStatus('current')
ietfOneWayPktLossAverage = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 14))
if mibBuilder.loadTexts: ietfOneWayPktLossAverage.setStatus('current')
ietfRoundTripDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 15))
if mibBuilder.loadTexts: ietfRoundTripDelay.setStatus('current')
ietfRoundTripDelayPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 16))
if mibBuilder.loadTexts: ietfRoundTripDelayPoissonStream.setStatus('current')
ietfRoundTripDelayPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 17))
if mibBuilder.loadTexts: ietfRoundTripDelayPercentile.setStatus('current')
ietfRoundTripDelayMedian = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 18))
if mibBuilder.loadTexts: ietfRoundTripDelayMedian.setStatus('current')
ietfRoundTripDelayMinimum = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 19))
if mibBuilder.loadTexts: ietfRoundTripDelayMinimum.setStatus('current')
ietfRoundTripDelayInvPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 20))
if mibBuilder.loadTexts: ietfRoundTripDelayInvPercentile.setStatus('current')
ietfOneWayLossDistanceStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 21))
if mibBuilder.loadTexts: ietfOneWayLossDistanceStream.setStatus('current')
ietfOneWayLossPeriodStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 22))
if mibBuilder.loadTexts: ietfOneWayLossPeriodStream.setStatus('current')
ietfOneWayLossNoticeableRate = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 23))
if mibBuilder.loadTexts: ietfOneWayLossNoticeableRate.setStatus('current')
ietfOneWayLossPeriodTotal = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 24))
if mibBuilder.loadTexts: ietfOneWayLossPeriodTotal.setStatus('current')
ietfOneWayLossPeriodLengths = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 25))
if mibBuilder.loadTexts: ietfOneWayLossPeriodLengths.setStatus('current')
ietfOneWayInterLossPeriodLengths = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 26))
if mibBuilder.loadTexts: ietfOneWayInterLossPeriodLengths.setStatus('current')
ietfOneWayIpdv = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 27))
if mibBuilder.loadTexts: ietfOneWayIpdv.setStatus('current')
ietfOneWayIpdvPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 28))
if mibBuilder.loadTexts: ietfOneWayIpdvPoissonStream.setStatus('current')
ietfOneWayIpdvPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 29))
if mibBuilder.loadTexts: ietfOneWayIpdvPercentile.setStatus('current')
ietfOneWayIpdvInversePercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 30))
if mibBuilder.loadTexts: ietfOneWayIpdvInversePercentile.setStatus('current')
ietfOneWayIpdvJitter = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 31))
if mibBuilder.loadTexts: ietfOneWayIpdvJitter.setStatus('current')
ietfOneWayPeakToPeakIpdv = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 32))
if mibBuilder.loadTexts: ietfOneWayPeakToPeakIpdv.setStatus('current')
ietfOneWayDelayPeriodicStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 33))
if mibBuilder.loadTexts: ietfOneWayDelayPeriodicStream.setStatus('current')
ietfReorderedSingleton = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 34))
if mibBuilder.loadTexts: ietfReorderedSingleton.setStatus('current')
ietfReorderedPacketRatio = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 35))
if mibBuilder.loadTexts: ietfReorderedPacketRatio.setStatus('current')
ietfReorderingExtent = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 36))
if mibBuilder.loadTexts: ietfReorderingExtent.setStatus('current')
ietfReorderingLateTimeOffset = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 37))
if mibBuilder.loadTexts: ietfReorderingLateTimeOffset.setStatus('current')
ietfReorderingByteOffset = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 38))
if mibBuilder.loadTexts: ietfReorderingByteOffset.setStatus('current')
ietfReorderingGap = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 39))
if mibBuilder.loadTexts: ietfReorderingGap.setStatus('current')
ietfReorderingGapTime = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 40))
if mibBuilder.loadTexts: ietfReorderingGapTime.setStatus('current')
ietfReorderingFreeRunx = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 41))
if mibBuilder.loadTexts: ietfReorderingFreeRunx.setStatus('current')
ietfReorderingFreeRunq = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 42))
if mibBuilder.loadTexts: ietfReorderingFreeRunq.setStatus('current')
ietfReorderingFreeRunp = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 43))
if mibBuilder.loadTexts: ietfReorderingFreeRunp.setStatus('current')
ietfReorderingFreeRuna = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 44))
if mibBuilder.loadTexts: ietfReorderingFreeRuna.setStatus('current')
ietfnReordering = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 45))
if mibBuilder.loadTexts: ietfnReordering.setStatus('current')
ietfOneWayPacketArrivalCount = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 46))
if mibBuilder.loadTexts: ietfOneWayPacketArrivalCount.setStatus('current')
ietfOneWayPacketDuplication = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 47))
if mibBuilder.loadTexts: ietfOneWayPacketDuplication.setStatus('current')
ietfOneWayPacketDuplicationPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 48))
if mibBuilder.loadTexts: ietfOneWayPacketDuplicationPoissonStream.setStatus('current')
ietfOneWayPacketDuplicationPeriodicStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 49))
if mibBuilder.loadTexts: ietfOneWayPacketDuplicationPeriodicStream.setStatus('current')
ietfOneWayPacketDuplicationFraction = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 50))
if mibBuilder.loadTexts: ietfOneWayPacketDuplicationFraction.setStatus('current')
ietfOneWayReplicatedPacketRate = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 51))
if mibBuilder.loadTexts: ietfOneWayReplicatedPacketRate.setStatus('current')
ietfSpatialOneWayDelayVector = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 52))
if mibBuilder.loadTexts: ietfSpatialOneWayDelayVector.setStatus('current')
ietfSpatialPacketLossVector = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 53))
if mibBuilder.loadTexts: ietfSpatialPacketLossVector.setStatus('current')
ietfSpatialOneWayIpdvVector = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 54))
if mibBuilder.loadTexts: ietfSpatialOneWayIpdvVector.setStatus('current')
ietfSegmentOneWayDelayStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 55))
if mibBuilder.loadTexts: ietfSegmentOneWayDelayStream.setStatus('current')
ietfSegmentPacketLossStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 56))
if mibBuilder.loadTexts: ietfSegmentPacketLossStream.setStatus('current')
ietfSegmentIpdvPrevStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 57))
if mibBuilder.loadTexts: ietfSegmentIpdvPrevStream.setStatus('current')
ietfSegmentIpdvMinStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 58))
if mibBuilder.loadTexts: ietfSegmentIpdvMinStream.setStatus('current')
ietfOneToGroupDelayVector = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 59))
if mibBuilder.loadTexts: ietfOneToGroupDelayVector.setStatus('current')
ietfOneToGroupPacketLossVector = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 60))
if mibBuilder.loadTexts: ietfOneToGroupPacketLossVector.setStatus('current')
ietfOneToGroupIpdvVector = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 61))
if mibBuilder.loadTexts: ietfOneToGroupIpdvVector.setStatus('current')
ietfOnetoGroupReceiverNMeanDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 62))
if mibBuilder.loadTexts: ietfOnetoGroupReceiverNMeanDelay.setStatus('current')
ietfOneToGroupMeanDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 63))
if mibBuilder.loadTexts: ietfOneToGroupMeanDelay.setStatus('current')
ietfOneToGroupRangeMeanDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 64))
if mibBuilder.loadTexts: ietfOneToGroupRangeMeanDelay.setStatus('current')
ietfOneToGroupMaxMeanDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 65))
if mibBuilder.loadTexts: ietfOneToGroupMaxMeanDelay.setStatus('current')
ietfOneToGroupReceiverNLossRatio = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 66))
if mibBuilder.loadTexts: ietfOneToGroupReceiverNLossRatio.setStatus('current')
ietfOneToGroupReceiverNCompLossRatio = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 67))
if mibBuilder.loadTexts: ietfOneToGroupReceiverNCompLossRatio.setStatus('current')
ietfOneToGroupLossRatio = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 68))
if mibBuilder.loadTexts: ietfOneToGroupLossRatio.setStatus('current')
ietfOneToGroupRangeLossRatio = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 69))
if mibBuilder.loadTexts: ietfOneToGroupRangeLossRatio.setStatus('current')
ietfOneToGroupRangeDelayVariation = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 70))
if mibBuilder.loadTexts: ietfOneToGroupRangeDelayVariation.setStatus('current')
ietfFiniteOneWayDelayStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 71))
if mibBuilder.loadTexts: ietfFiniteOneWayDelayStream.setStatus('current')
ietfFiniteOneWayDelayMean = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 72))
if mibBuilder.loadTexts: ietfFiniteOneWayDelayMean.setStatus('current')
ietfCompositeOneWayDelayMean = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 73))
if mibBuilder.loadTexts: ietfCompositeOneWayDelayMean.setStatus('current')
ietfFiniteOneWayDelayMinimum = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 74))
if mibBuilder.loadTexts: ietfFiniteOneWayDelayMinimum.setStatus('current')
ietfCompositeOneWayDelayMinimum = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 75))
if mibBuilder.loadTexts: ietfCompositeOneWayDelayMinimum.setStatus('current')
ietfOneWayPktLossEmpiricProb = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 76))
if mibBuilder.loadTexts: ietfOneWayPktLossEmpiricProb.setStatus('current')
ietfCompositeOneWayPktLossEmpiricProb = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 77))
if mibBuilder.loadTexts: ietfCompositeOneWayPktLossEmpiricProb.setStatus('current')
ietfOneWayPdvRefminStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 78))
if mibBuilder.loadTexts: ietfOneWayPdvRefminStream.setStatus('current')
ietfOneWayPdvRefminMean = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 79))
if mibBuilder.loadTexts: ietfOneWayPdvRefminMean.setStatus('current')
ietfOneWayPdvRefminVariance = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 80))
if mibBuilder.loadTexts: ietfOneWayPdvRefminVariance.setStatus('current')
ietfOneWayPdvRefminSkewness = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 81))
if mibBuilder.loadTexts: ietfOneWayPdvRefminSkewness.setStatus('current')
ietfCompositeOneWayPdvRefminQtil = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 82))
if mibBuilder.loadTexts: ietfCompositeOneWayPdvRefminQtil.setStatus('current')
ietfCompositeOneWayPdvRefminNPA = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 83))
if mibBuilder.loadTexts: ietfCompositeOneWayPdvRefminNPA.setStatus('current')
mibBuilder.exportSymbols("IANA-IPPM-METRICS-REGISTRY-MIB", ietfRoundTripDelayInvPercentile=ietfRoundTripDelayInvPercentile, ietfOneWayLossNoticeableRate=ietfOneWayLossNoticeableRate, ietfOneWayPktLoss=ietfOneWayPktLoss, ietfOneWayIpdv=ietfOneWayIpdv, ietfOneWayInterLossPeriodLengths=ietfOneWayInterLossPeriodLengths, ietfOnetoGroupReceiverNMeanDelay=ietfOnetoGroupReceiverNMeanDelay, ietfOneWayDelayPoissonStream=ietfOneWayDelayPoissonStream, ietfCompositeOneWayPktLossEmpiricProb=ietfCompositeOneWayPktLossEmpiricProb, ietfOneWayPdvRefminMean=ietfOneWayPdvRefminMean, ietfnReordering=ietfnReordering, ietfSpatialOneWayDelayVector=ietfSpatialOneWayDelayVector, ietfOneWayPacketDuplicationFraction=ietfOneWayPacketDuplicationFraction, ietfSegmentPacketLossStream=ietfSegmentPacketLossStream, ietfSegmentIpdvMinStream=ietfSegmentIpdvMinStream, ietfCompositeOneWayPdvRefminQtil=ietfCompositeOneWayPdvRefminQtil, ietfReorderingExtent=ietfReorderingExtent, ietfOneToGroupRangeDelayVariation=ietfOneToGroupRangeDelayVariation, ietfOneToGroupRangeLossRatio=ietfOneToGroupRangeLossRatio, ietfOneWayIpdvPercentile=ietfOneWayIpdvPercentile, ietfInstantBidirConnectivity=ietfInstantBidirConnectivity, ietfCompositeOneWayDelayMean=ietfCompositeOneWayDelayMean, ietfOneToGroupDelayVector=ietfOneToGroupDelayVector, ietfRoundTripDelayMinimum=ietfRoundTripDelayMinimum, ietfFiniteOneWayDelayStream=ietfFiniteOneWayDelayStream, ietfOneWayDelayMinimum=ietfOneWayDelayMinimum, ietfOneWayDelayPeriodicStream=ietfOneWayDelayPeriodicStream, ietfOneToGroupIpdvVector=ietfOneToGroupIpdvVector, ietfOneWayPacketDuplicationPeriodicStream=ietfOneWayPacketDuplicationPeriodicStream, ietfReorderingByteOffset=ietfReorderingByteOffset, ietfReorderingFreeRuna=ietfReorderingFreeRuna, ietfOneWayLossPeriodLengths=ietfOneWayLossPeriodLengths, ietfOneToGroupMeanDelay=ietfOneToGroupMeanDelay, ietfOneToGroupReceiverNLossRatio=ietfOneToGroupReceiverNLossRatio, ietfReorderingGapTime=ietfReorderingGapTime, PYSNMP_MODULE_ID=ianaIppmMetricsRegistry, ietfCompositeOneWayPdvRefminNPA=ietfCompositeOneWayPdvRefminNPA, ietfOneWayPktLossEmpiricProb=ietfOneWayPktLossEmpiricProb, ietfOneWayPdvRefminVariance=ietfOneWayPdvRefminVariance, ietfOneWayPdvRefminSkewness=ietfOneWayPdvRefminSkewness, ietfOneToGroupReceiverNCompLossRatio=ietfOneToGroupReceiverNCompLossRatio, ietfReorderedPacketRatio=ietfReorderedPacketRatio, ietfOneWayPktLossAverage=ietfOneWayPktLossAverage, ietfOneToGroupLossRatio=ietfOneToGroupLossRatio, ietfOneWayDelay=ietfOneWayDelay, ietfReorderingGap=ietfReorderingGap, ietfOneToGroupMaxMeanDelay=ietfOneToGroupMaxMeanDelay, ietfSpatialPacketLossVector=ietfSpatialPacketLossVector, ietfOneWayDelayMedian=ietfOneWayDelayMedian, ietfCompositeOneWayDelayMinimum=ietfCompositeOneWayDelayMinimum, ietfReorderingLateTimeOffset=ietfReorderingLateTimeOffset, ietfOneWayPktLossPoissonStream=ietfOneWayPktLossPoissonStream, ietfIntervalBidirConnectivity=ietfIntervalBidirConnectivity, ietfOneWayPacketDuplication=ietfOneWayPacketDuplication, ietfOneWayPacketArrivalCount=ietfOneWayPacketArrivalCount, ietfIntervalUnidirConnectivity=ietfIntervalUnidirConnectivity, ietfSegmentIpdvPrevStream=ietfSegmentIpdvPrevStream, ietfReorderedSingleton=ietfReorderedSingleton, ietfIntervalTemporalConnectivity=ietfIntervalTemporalConnectivity, ietfReorderingFreeRunp=ietfReorderingFreeRunp, ietfFiniteOneWayDelayMinimum=ietfFiniteOneWayDelayMinimum, ianaIppmMetricsRegistry=ianaIppmMetricsRegistry, ietfOneToGroupRangeMeanDelay=ietfOneToGroupRangeMeanDelay, ietfOneWayIpdvInversePercentile=ietfOneWayIpdvInversePercentile, ietfOneWayIpdvJitter=ietfOneWayIpdvJitter, ietfOneWayPdvRefminStream=ietfOneWayPdvRefminStream, ietfOneToGroupPacketLossVector=ietfOneToGroupPacketLossVector, ietfOneWayDelayInversePercentile=ietfOneWayDelayInversePercentile, ietfReorderingFreeRunq=ietfReorderingFreeRunq, ietfOneWayPeakToPeakIpdv=ietfOneWayPeakToPeakIpdv, ianaIppmMetrics=ianaIppmMetrics, ietfInstantUnidirConnectivity=ietfInstantUnidirConnectivity, ietfRoundTripDelay=ietfRoundTripDelay, ietfRoundTripDelayPoissonStream=ietfRoundTripDelayPoissonStream, ietfReorderingFreeRunx=ietfReorderingFreeRunx, ietfFiniteOneWayDelayMean=ietfFiniteOneWayDelayMean, ietfOneWayIpdvPoissonStream=ietfOneWayIpdvPoissonStream, ietfOneWayDelayPercentile=ietfOneWayDelayPercentile, ietfSegmentOneWayDelayStream=ietfSegmentOneWayDelayStream, ietfOneWayLossDistanceStream=ietfOneWayLossDistanceStream, ietfOneWayLossPeriodStream=ietfOneWayLossPeriodStream, ietfOneWayReplicatedPacketRate=ietfOneWayReplicatedPacketRate, ietfRoundTripDelayPercentile=ietfRoundTripDelayPercentile, ietfOneWayPacketDuplicationPoissonStream=ietfOneWayPacketDuplicationPoissonStream, ietfRoundTripDelayMedian=ietfRoundTripDelayMedian, ietfOneWayLossPeriodTotal=ietfOneWayLossPeriodTotal, ietfSpatialOneWayIpdvVector=ietfSpatialOneWayIpdvVector)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, value_size_constraint, single_value_constraint, constraints_intersection, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(time_ticks, mib_2, object_identity, notification_type, ip_address, integer32, mib_identifier, iso, unsigned32, module_identity, bits, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'mib-2', 'ObjectIdentity', 'NotificationType', 'IpAddress', 'Integer32', 'MibIdentifier', 'iso', 'Unsigned32', 'ModuleIdentity', 'Bits', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Counter64')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
iana_ippm_metrics_registry = module_identity((1, 3, 6, 1, 2, 1, 128))
ianaIppmMetricsRegistry.setRevisions(('2015-08-14 00:00', '2014-05-22 00:00', '2010-09-07 00:00', '2009-09-02 00:00', '2009-04-20 00:00', '2006-12-04 00:00', '2005-04-12 00:00'))
if mibBuilder.loadTexts:
ianaIppmMetricsRegistry.setLastUpdated('201508140000Z')
if mibBuilder.loadTexts:
ianaIppmMetricsRegistry.setOrganization('IANA')
iana_ippm_metrics = object_identity((1, 3, 6, 1, 2, 1, 128, 1))
if mibBuilder.loadTexts:
ianaIppmMetrics.setStatus('current')
ietf_instant_unidir_connectivity = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 1))
if mibBuilder.loadTexts:
ietfInstantUnidirConnectivity.setStatus('current')
ietf_instant_bidir_connectivity = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 2))
if mibBuilder.loadTexts:
ietfInstantBidirConnectivity.setStatus('current')
ietf_interval_unidir_connectivity = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 3))
if mibBuilder.loadTexts:
ietfIntervalUnidirConnectivity.setStatus('current')
ietf_interval_bidir_connectivity = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 4))
if mibBuilder.loadTexts:
ietfIntervalBidirConnectivity.setStatus('current')
ietf_interval_temporal_connectivity = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 5))
if mibBuilder.loadTexts:
ietfIntervalTemporalConnectivity.setStatus('current')
ietf_one_way_delay = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 6))
if mibBuilder.loadTexts:
ietfOneWayDelay.setStatus('current')
ietf_one_way_delay_poisson_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 7))
if mibBuilder.loadTexts:
ietfOneWayDelayPoissonStream.setStatus('current')
ietf_one_way_delay_percentile = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 8))
if mibBuilder.loadTexts:
ietfOneWayDelayPercentile.setStatus('current')
ietf_one_way_delay_median = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 9))
if mibBuilder.loadTexts:
ietfOneWayDelayMedian.setStatus('current')
ietf_one_way_delay_minimum = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 10))
if mibBuilder.loadTexts:
ietfOneWayDelayMinimum.setStatus('current')
ietf_one_way_delay_inverse_percentile = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 11))
if mibBuilder.loadTexts:
ietfOneWayDelayInversePercentile.setStatus('current')
ietf_one_way_pkt_loss = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 12))
if mibBuilder.loadTexts:
ietfOneWayPktLoss.setStatus('current')
ietf_one_way_pkt_loss_poisson_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 13))
if mibBuilder.loadTexts:
ietfOneWayPktLossPoissonStream.setStatus('current')
ietf_one_way_pkt_loss_average = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 14))
if mibBuilder.loadTexts:
ietfOneWayPktLossAverage.setStatus('current')
ietf_round_trip_delay = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 15))
if mibBuilder.loadTexts:
ietfRoundTripDelay.setStatus('current')
ietf_round_trip_delay_poisson_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 16))
if mibBuilder.loadTexts:
ietfRoundTripDelayPoissonStream.setStatus('current')
ietf_round_trip_delay_percentile = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 17))
if mibBuilder.loadTexts:
ietfRoundTripDelayPercentile.setStatus('current')
ietf_round_trip_delay_median = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 18))
if mibBuilder.loadTexts:
ietfRoundTripDelayMedian.setStatus('current')
ietf_round_trip_delay_minimum = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 19))
if mibBuilder.loadTexts:
ietfRoundTripDelayMinimum.setStatus('current')
ietf_round_trip_delay_inv_percentile = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 20))
if mibBuilder.loadTexts:
ietfRoundTripDelayInvPercentile.setStatus('current')
ietf_one_way_loss_distance_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 21))
if mibBuilder.loadTexts:
ietfOneWayLossDistanceStream.setStatus('current')
ietf_one_way_loss_period_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 22))
if mibBuilder.loadTexts:
ietfOneWayLossPeriodStream.setStatus('current')
ietf_one_way_loss_noticeable_rate = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 23))
if mibBuilder.loadTexts:
ietfOneWayLossNoticeableRate.setStatus('current')
ietf_one_way_loss_period_total = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 24))
if mibBuilder.loadTexts:
ietfOneWayLossPeriodTotal.setStatus('current')
ietf_one_way_loss_period_lengths = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 25))
if mibBuilder.loadTexts:
ietfOneWayLossPeriodLengths.setStatus('current')
ietf_one_way_inter_loss_period_lengths = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 26))
if mibBuilder.loadTexts:
ietfOneWayInterLossPeriodLengths.setStatus('current')
ietf_one_way_ipdv = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 27))
if mibBuilder.loadTexts:
ietfOneWayIpdv.setStatus('current')
ietf_one_way_ipdv_poisson_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 28))
if mibBuilder.loadTexts:
ietfOneWayIpdvPoissonStream.setStatus('current')
ietf_one_way_ipdv_percentile = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 29))
if mibBuilder.loadTexts:
ietfOneWayIpdvPercentile.setStatus('current')
ietf_one_way_ipdv_inverse_percentile = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 30))
if mibBuilder.loadTexts:
ietfOneWayIpdvInversePercentile.setStatus('current')
ietf_one_way_ipdv_jitter = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 31))
if mibBuilder.loadTexts:
ietfOneWayIpdvJitter.setStatus('current')
ietf_one_way_peak_to_peak_ipdv = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 32))
if mibBuilder.loadTexts:
ietfOneWayPeakToPeakIpdv.setStatus('current')
ietf_one_way_delay_periodic_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 33))
if mibBuilder.loadTexts:
ietfOneWayDelayPeriodicStream.setStatus('current')
ietf_reordered_singleton = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 34))
if mibBuilder.loadTexts:
ietfReorderedSingleton.setStatus('current')
ietf_reordered_packet_ratio = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 35))
if mibBuilder.loadTexts:
ietfReorderedPacketRatio.setStatus('current')
ietf_reordering_extent = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 36))
if mibBuilder.loadTexts:
ietfReorderingExtent.setStatus('current')
ietf_reordering_late_time_offset = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 37))
if mibBuilder.loadTexts:
ietfReorderingLateTimeOffset.setStatus('current')
ietf_reordering_byte_offset = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 38))
if mibBuilder.loadTexts:
ietfReorderingByteOffset.setStatus('current')
ietf_reordering_gap = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 39))
if mibBuilder.loadTexts:
ietfReorderingGap.setStatus('current')
ietf_reordering_gap_time = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 40))
if mibBuilder.loadTexts:
ietfReorderingGapTime.setStatus('current')
ietf_reordering_free_runx = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 41))
if mibBuilder.loadTexts:
ietfReorderingFreeRunx.setStatus('current')
ietf_reordering_free_runq = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 42))
if mibBuilder.loadTexts:
ietfReorderingFreeRunq.setStatus('current')
ietf_reordering_free_runp = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 43))
if mibBuilder.loadTexts:
ietfReorderingFreeRunp.setStatus('current')
ietf_reordering_free_runa = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 44))
if mibBuilder.loadTexts:
ietfReorderingFreeRuna.setStatus('current')
ietfn_reordering = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 45))
if mibBuilder.loadTexts:
ietfnReordering.setStatus('current')
ietf_one_way_packet_arrival_count = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 46))
if mibBuilder.loadTexts:
ietfOneWayPacketArrivalCount.setStatus('current')
ietf_one_way_packet_duplication = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 47))
if mibBuilder.loadTexts:
ietfOneWayPacketDuplication.setStatus('current')
ietf_one_way_packet_duplication_poisson_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 48))
if mibBuilder.loadTexts:
ietfOneWayPacketDuplicationPoissonStream.setStatus('current')
ietf_one_way_packet_duplication_periodic_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 49))
if mibBuilder.loadTexts:
ietfOneWayPacketDuplicationPeriodicStream.setStatus('current')
ietf_one_way_packet_duplication_fraction = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 50))
if mibBuilder.loadTexts:
ietfOneWayPacketDuplicationFraction.setStatus('current')
ietf_one_way_replicated_packet_rate = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 51))
if mibBuilder.loadTexts:
ietfOneWayReplicatedPacketRate.setStatus('current')
ietf_spatial_one_way_delay_vector = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 52))
if mibBuilder.loadTexts:
ietfSpatialOneWayDelayVector.setStatus('current')
ietf_spatial_packet_loss_vector = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 53))
if mibBuilder.loadTexts:
ietfSpatialPacketLossVector.setStatus('current')
ietf_spatial_one_way_ipdv_vector = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 54))
if mibBuilder.loadTexts:
ietfSpatialOneWayIpdvVector.setStatus('current')
ietf_segment_one_way_delay_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 55))
if mibBuilder.loadTexts:
ietfSegmentOneWayDelayStream.setStatus('current')
ietf_segment_packet_loss_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 56))
if mibBuilder.loadTexts:
ietfSegmentPacketLossStream.setStatus('current')
ietf_segment_ipdv_prev_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 57))
if mibBuilder.loadTexts:
ietfSegmentIpdvPrevStream.setStatus('current')
ietf_segment_ipdv_min_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 58))
if mibBuilder.loadTexts:
ietfSegmentIpdvMinStream.setStatus('current')
ietf_one_to_group_delay_vector = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 59))
if mibBuilder.loadTexts:
ietfOneToGroupDelayVector.setStatus('current')
ietf_one_to_group_packet_loss_vector = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 60))
if mibBuilder.loadTexts:
ietfOneToGroupPacketLossVector.setStatus('current')
ietf_one_to_group_ipdv_vector = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 61))
if mibBuilder.loadTexts:
ietfOneToGroupIpdvVector.setStatus('current')
ietf_oneto_group_receiver_n_mean_delay = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 62))
if mibBuilder.loadTexts:
ietfOnetoGroupReceiverNMeanDelay.setStatus('current')
ietf_one_to_group_mean_delay = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 63))
if mibBuilder.loadTexts:
ietfOneToGroupMeanDelay.setStatus('current')
ietf_one_to_group_range_mean_delay = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 64))
if mibBuilder.loadTexts:
ietfOneToGroupRangeMeanDelay.setStatus('current')
ietf_one_to_group_max_mean_delay = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 65))
if mibBuilder.loadTexts:
ietfOneToGroupMaxMeanDelay.setStatus('current')
ietf_one_to_group_receiver_n_loss_ratio = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 66))
if mibBuilder.loadTexts:
ietfOneToGroupReceiverNLossRatio.setStatus('current')
ietf_one_to_group_receiver_n_comp_loss_ratio = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 67))
if mibBuilder.loadTexts:
ietfOneToGroupReceiverNCompLossRatio.setStatus('current')
ietf_one_to_group_loss_ratio = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 68))
if mibBuilder.loadTexts:
ietfOneToGroupLossRatio.setStatus('current')
ietf_one_to_group_range_loss_ratio = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 69))
if mibBuilder.loadTexts:
ietfOneToGroupRangeLossRatio.setStatus('current')
ietf_one_to_group_range_delay_variation = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 70))
if mibBuilder.loadTexts:
ietfOneToGroupRangeDelayVariation.setStatus('current')
ietf_finite_one_way_delay_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 71))
if mibBuilder.loadTexts:
ietfFiniteOneWayDelayStream.setStatus('current')
ietf_finite_one_way_delay_mean = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 72))
if mibBuilder.loadTexts:
ietfFiniteOneWayDelayMean.setStatus('current')
ietf_composite_one_way_delay_mean = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 73))
if mibBuilder.loadTexts:
ietfCompositeOneWayDelayMean.setStatus('current')
ietf_finite_one_way_delay_minimum = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 74))
if mibBuilder.loadTexts:
ietfFiniteOneWayDelayMinimum.setStatus('current')
ietf_composite_one_way_delay_minimum = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 75))
if mibBuilder.loadTexts:
ietfCompositeOneWayDelayMinimum.setStatus('current')
ietf_one_way_pkt_loss_empiric_prob = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 76))
if mibBuilder.loadTexts:
ietfOneWayPktLossEmpiricProb.setStatus('current')
ietf_composite_one_way_pkt_loss_empiric_prob = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 77))
if mibBuilder.loadTexts:
ietfCompositeOneWayPktLossEmpiricProb.setStatus('current')
ietf_one_way_pdv_refmin_stream = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 78))
if mibBuilder.loadTexts:
ietfOneWayPdvRefminStream.setStatus('current')
ietf_one_way_pdv_refmin_mean = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 79))
if mibBuilder.loadTexts:
ietfOneWayPdvRefminMean.setStatus('current')
ietf_one_way_pdv_refmin_variance = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 80))
if mibBuilder.loadTexts:
ietfOneWayPdvRefminVariance.setStatus('current')
ietf_one_way_pdv_refmin_skewness = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 81))
if mibBuilder.loadTexts:
ietfOneWayPdvRefminSkewness.setStatus('current')
ietf_composite_one_way_pdv_refmin_qtil = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 82))
if mibBuilder.loadTexts:
ietfCompositeOneWayPdvRefminQtil.setStatus('current')
ietf_composite_one_way_pdv_refmin_npa = object_identity((1, 3, 6, 1, 2, 1, 128, 1, 83))
if mibBuilder.loadTexts:
ietfCompositeOneWayPdvRefminNPA.setStatus('current')
mibBuilder.exportSymbols('IANA-IPPM-METRICS-REGISTRY-MIB', ietfRoundTripDelayInvPercentile=ietfRoundTripDelayInvPercentile, ietfOneWayLossNoticeableRate=ietfOneWayLossNoticeableRate, ietfOneWayPktLoss=ietfOneWayPktLoss, ietfOneWayIpdv=ietfOneWayIpdv, ietfOneWayInterLossPeriodLengths=ietfOneWayInterLossPeriodLengths, ietfOnetoGroupReceiverNMeanDelay=ietfOnetoGroupReceiverNMeanDelay, ietfOneWayDelayPoissonStream=ietfOneWayDelayPoissonStream, ietfCompositeOneWayPktLossEmpiricProb=ietfCompositeOneWayPktLossEmpiricProb, ietfOneWayPdvRefminMean=ietfOneWayPdvRefminMean, ietfnReordering=ietfnReordering, ietfSpatialOneWayDelayVector=ietfSpatialOneWayDelayVector, ietfOneWayPacketDuplicationFraction=ietfOneWayPacketDuplicationFraction, ietfSegmentPacketLossStream=ietfSegmentPacketLossStream, ietfSegmentIpdvMinStream=ietfSegmentIpdvMinStream, ietfCompositeOneWayPdvRefminQtil=ietfCompositeOneWayPdvRefminQtil, ietfReorderingExtent=ietfReorderingExtent, ietfOneToGroupRangeDelayVariation=ietfOneToGroupRangeDelayVariation, ietfOneToGroupRangeLossRatio=ietfOneToGroupRangeLossRatio, ietfOneWayIpdvPercentile=ietfOneWayIpdvPercentile, ietfInstantBidirConnectivity=ietfInstantBidirConnectivity, ietfCompositeOneWayDelayMean=ietfCompositeOneWayDelayMean, ietfOneToGroupDelayVector=ietfOneToGroupDelayVector, ietfRoundTripDelayMinimum=ietfRoundTripDelayMinimum, ietfFiniteOneWayDelayStream=ietfFiniteOneWayDelayStream, ietfOneWayDelayMinimum=ietfOneWayDelayMinimum, ietfOneWayDelayPeriodicStream=ietfOneWayDelayPeriodicStream, ietfOneToGroupIpdvVector=ietfOneToGroupIpdvVector, ietfOneWayPacketDuplicationPeriodicStream=ietfOneWayPacketDuplicationPeriodicStream, ietfReorderingByteOffset=ietfReorderingByteOffset, ietfReorderingFreeRuna=ietfReorderingFreeRuna, ietfOneWayLossPeriodLengths=ietfOneWayLossPeriodLengths, ietfOneToGroupMeanDelay=ietfOneToGroupMeanDelay, ietfOneToGroupReceiverNLossRatio=ietfOneToGroupReceiverNLossRatio, ietfReorderingGapTime=ietfReorderingGapTime, PYSNMP_MODULE_ID=ianaIppmMetricsRegistry, ietfCompositeOneWayPdvRefminNPA=ietfCompositeOneWayPdvRefminNPA, ietfOneWayPktLossEmpiricProb=ietfOneWayPktLossEmpiricProb, ietfOneWayPdvRefminVariance=ietfOneWayPdvRefminVariance, ietfOneWayPdvRefminSkewness=ietfOneWayPdvRefminSkewness, ietfOneToGroupReceiverNCompLossRatio=ietfOneToGroupReceiverNCompLossRatio, ietfReorderedPacketRatio=ietfReorderedPacketRatio, ietfOneWayPktLossAverage=ietfOneWayPktLossAverage, ietfOneToGroupLossRatio=ietfOneToGroupLossRatio, ietfOneWayDelay=ietfOneWayDelay, ietfReorderingGap=ietfReorderingGap, ietfOneToGroupMaxMeanDelay=ietfOneToGroupMaxMeanDelay, ietfSpatialPacketLossVector=ietfSpatialPacketLossVector, ietfOneWayDelayMedian=ietfOneWayDelayMedian, ietfCompositeOneWayDelayMinimum=ietfCompositeOneWayDelayMinimum, ietfReorderingLateTimeOffset=ietfReorderingLateTimeOffset, ietfOneWayPktLossPoissonStream=ietfOneWayPktLossPoissonStream, ietfIntervalBidirConnectivity=ietfIntervalBidirConnectivity, ietfOneWayPacketDuplication=ietfOneWayPacketDuplication, ietfOneWayPacketArrivalCount=ietfOneWayPacketArrivalCount, ietfIntervalUnidirConnectivity=ietfIntervalUnidirConnectivity, ietfSegmentIpdvPrevStream=ietfSegmentIpdvPrevStream, ietfReorderedSingleton=ietfReorderedSingleton, ietfIntervalTemporalConnectivity=ietfIntervalTemporalConnectivity, ietfReorderingFreeRunp=ietfReorderingFreeRunp, ietfFiniteOneWayDelayMinimum=ietfFiniteOneWayDelayMinimum, ianaIppmMetricsRegistry=ianaIppmMetricsRegistry, ietfOneToGroupRangeMeanDelay=ietfOneToGroupRangeMeanDelay, ietfOneWayIpdvInversePercentile=ietfOneWayIpdvInversePercentile, ietfOneWayIpdvJitter=ietfOneWayIpdvJitter, ietfOneWayPdvRefminStream=ietfOneWayPdvRefminStream, ietfOneToGroupPacketLossVector=ietfOneToGroupPacketLossVector, ietfOneWayDelayInversePercentile=ietfOneWayDelayInversePercentile, ietfReorderingFreeRunq=ietfReorderingFreeRunq, ietfOneWayPeakToPeakIpdv=ietfOneWayPeakToPeakIpdv, ianaIppmMetrics=ianaIppmMetrics, ietfInstantUnidirConnectivity=ietfInstantUnidirConnectivity, ietfRoundTripDelay=ietfRoundTripDelay, ietfRoundTripDelayPoissonStream=ietfRoundTripDelayPoissonStream, ietfReorderingFreeRunx=ietfReorderingFreeRunx, ietfFiniteOneWayDelayMean=ietfFiniteOneWayDelayMean, ietfOneWayIpdvPoissonStream=ietfOneWayIpdvPoissonStream, ietfOneWayDelayPercentile=ietfOneWayDelayPercentile, ietfSegmentOneWayDelayStream=ietfSegmentOneWayDelayStream, ietfOneWayLossDistanceStream=ietfOneWayLossDistanceStream, ietfOneWayLossPeriodStream=ietfOneWayLossPeriodStream, ietfOneWayReplicatedPacketRate=ietfOneWayReplicatedPacketRate, ietfRoundTripDelayPercentile=ietfRoundTripDelayPercentile, ietfOneWayPacketDuplicationPoissonStream=ietfOneWayPacketDuplicationPoissonStream, ietfRoundTripDelayMedian=ietfRoundTripDelayMedian, ietfOneWayLossPeriodTotal=ietfOneWayLossPeriodTotal, ietfSpatialOneWayIpdvVector=ietfSpatialOneWayIpdvVector) |
# colorsystem.py is the full list of colors that can be used to easily create themes.
class Gray:
B0 = '#000000'
B10 = '#19232D'
B20 = '#293544'
B30 = '#37414F'
B40 = '#455364'
B50 = '#54687A'
B60 = '#60798B'
B70 = '#788D9C'
B80 = '#9DA9B5'
B90 = '#ACB1B6'
B100 = '#B9BDC1'
B110 = '#C9CDD0'
B120 = '#CED1D4'
B130 = '#E0E1E3'
B140 = '#FAFAFA'
B150 = '#FFFFFF'
class Blue:
B0 = '#000000'
B10 = '#062647'
B20 = '#26486B'
B30 = '#375A7F'
B40 = '#346792'
B50 = '#1A72BB'
B60 = '#057DCE'
B70 = '#259AE9'
B80 = '#37AEFE'
B90 = '#73C7FF'
B100 = '#9FCBFF'
B110 = '#C2DFFA'
B120 = '#CEE8FF'
B130 = '#DAEDFF'
B140 = '#F5FAFF'
B150 = '##FFFFFF'
class Green:
B0 = '#000000'
B10 = '#064738'
B20 = '#055C49'
B30 = '#007A5E'
B40 = '#008760'
B50 = '#019D70'
B60 = '#02BA85'
B70 = '#20C997'
B80 = '#44DEB0'
B90 = '#3BEBB7'
B100 = '#88F2D3'
B110 = '#B0F5E1'
B120 = '#D1FBEE'
B130 = '#E4FFF7'
B140 = '#F5FFFD'
B150 = '#FFFFFF'
class Red:
B0 = '#000000'
B10 = '#470606'
B20 = '#760B0B'
B30 = '#AF0F0F'
B40 = '#D4140B'
B50 = '#DE321F'
B60 = '#E24232'
B70 = '#E74C3C'
B80 = '#F66657'
B90 = '#F88478'
B100 = '#FFACA4'
B110 = '#FFC3BD'
B120 = '#FEDDDA'
B130 = '#FFEEEE'
B140 = '#FFF5F5'
B150 = '#FFFFFF'
class Orange:
B0 = '#000000'
B10 = '#471D06'
B20 = '#692907'
B30 = '#AB3E00'
B40 = '#CE4B01'
B50 = '#E05E15'
B60 = '#E57004'
B70 = '#F37E12'
B80 = '#FF993B'
B90 = '#FFB950'
B100 = '#FFCF84'
B110 = '#FFDDA7'
B120 = '#FFEACA'
B130 = '#FFF3E2'
B140 = '#FFFBF5'
B150 = '#FFFFFF'
class GroupDark:
B10 = '#E11C1C'
B20 = '#FF8A00'
B30 = '#88BA00'
B40 = '#2DB500'
B50 = '#3FC6F0'
B60 = '#107EEC'
B70 = '#5C47E0'
B80 = '#7F27C5'
B90 = '#C88AFA'
B100 = '#AF2294'
B110 = '#DB4D8E'
B120 = '#38D4A4'
class GroupLight:
B10 = '#FF6700'
B20 = '#FFB000'
B30 = '#FFE600'
B40 = '#7FDD05'
B50 = '#00A585'
B60 = '#22BCF2'
B70 = '#1256CC'
B80 = '#803AD0'
B90 = '#B568F2'
B100 = '#CC2782'
B110 = '#FF71BF'
B120 = '#7EE8C7'
| class Gray:
b0 = '#000000'
b10 = '#19232D'
b20 = '#293544'
b30 = '#37414F'
b40 = '#455364'
b50 = '#54687A'
b60 = '#60798B'
b70 = '#788D9C'
b80 = '#9DA9B5'
b90 = '#ACB1B6'
b100 = '#B9BDC1'
b110 = '#C9CDD0'
b120 = '#CED1D4'
b130 = '#E0E1E3'
b140 = '#FAFAFA'
b150 = '#FFFFFF'
class Blue:
b0 = '#000000'
b10 = '#062647'
b20 = '#26486B'
b30 = '#375A7F'
b40 = '#346792'
b50 = '#1A72BB'
b60 = '#057DCE'
b70 = '#259AE9'
b80 = '#37AEFE'
b90 = '#73C7FF'
b100 = '#9FCBFF'
b110 = '#C2DFFA'
b120 = '#CEE8FF'
b130 = '#DAEDFF'
b140 = '#F5FAFF'
b150 = '##FFFFFF'
class Green:
b0 = '#000000'
b10 = '#064738'
b20 = '#055C49'
b30 = '#007A5E'
b40 = '#008760'
b50 = '#019D70'
b60 = '#02BA85'
b70 = '#20C997'
b80 = '#44DEB0'
b90 = '#3BEBB7'
b100 = '#88F2D3'
b110 = '#B0F5E1'
b120 = '#D1FBEE'
b130 = '#E4FFF7'
b140 = '#F5FFFD'
b150 = '#FFFFFF'
class Red:
b0 = '#000000'
b10 = '#470606'
b20 = '#760B0B'
b30 = '#AF0F0F'
b40 = '#D4140B'
b50 = '#DE321F'
b60 = '#E24232'
b70 = '#E74C3C'
b80 = '#F66657'
b90 = '#F88478'
b100 = '#FFACA4'
b110 = '#FFC3BD'
b120 = '#FEDDDA'
b130 = '#FFEEEE'
b140 = '#FFF5F5'
b150 = '#FFFFFF'
class Orange:
b0 = '#000000'
b10 = '#471D06'
b20 = '#692907'
b30 = '#AB3E00'
b40 = '#CE4B01'
b50 = '#E05E15'
b60 = '#E57004'
b70 = '#F37E12'
b80 = '#FF993B'
b90 = '#FFB950'
b100 = '#FFCF84'
b110 = '#FFDDA7'
b120 = '#FFEACA'
b130 = '#FFF3E2'
b140 = '#FFFBF5'
b150 = '#FFFFFF'
class Groupdark:
b10 = '#E11C1C'
b20 = '#FF8A00'
b30 = '#88BA00'
b40 = '#2DB500'
b50 = '#3FC6F0'
b60 = '#107EEC'
b70 = '#5C47E0'
b80 = '#7F27C5'
b90 = '#C88AFA'
b100 = '#AF2294'
b110 = '#DB4D8E'
b120 = '#38D4A4'
class Grouplight:
b10 = '#FF6700'
b20 = '#FFB000'
b30 = '#FFE600'
b40 = '#7FDD05'
b50 = '#00A585'
b60 = '#22BCF2'
b70 = '#1256CC'
b80 = '#803AD0'
b90 = '#B568F2'
b100 = '#CC2782'
b110 = '#FF71BF'
b120 = '#7EE8C7' |
# Power Drive System
# Controlword common bits.
IL_MC_CW_SO = (1 << 0)
IL_MC_CW_EV = (1 << 1)
IL_MC_CW_QS = (1 << 2)
IL_MC_CW_EO = (1 << 3)
IL_MC_CW_FR = (1 << 7)
IL_MC_CW_H = (1 << 8)
# Statusword common bits.
IL_MC_SW_RTSO = (1 << 0)
IL_MC_SW_SO = (1 << 1)
IL_MC_SW_OE = (1 << 2)
IL_MC_SW_F = (1 << 3)
IL_MC_SW_VE = (1 << 4)
IL_MC_SW_QS = (1 << 5)
IL_MC_SW_SOD = (1 << 6)
IL_MC_SW_W = (1 << 7)
IL_MC_SW_RM = (1 << 9)
IL_MC_SW_TR = (1 << 10)
IL_MC_SW_ILA = (1 << 11)
IL_MC_SW_IANGLE = (1 << 14)
# PDS FSA states
# Masks for PDS FSA states
IL_MC_PDS_STA_NRTSO_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD)
IL_MC_PDS_STA_SOD_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD)
IL_MC_PDS_STA_RTSO_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD)
IL_MC_PDS_STA_SO_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD)
IL_MC_PDS_STA_OE_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD)
IL_MC_PDS_STA_QSA_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD)
IL_MC_PDS_STA_FRA_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD)
IL_MC_PDS_STA_F_MSK = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD)
# Not ready to switch on.
IL_MC_PDS_STA_NRTSO = 0x0000
# Switch on disabled.
IL_MC_PDS_STA_SOD = IL_MC_SW_SOD
# Ready to switch on.
IL_MC_PDS_STA_RTSO = (IL_MC_SW_RTSO | IL_MC_SW_QS)
# Switched on.
IL_MC_PDS_STA_SO = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_QS)
# Operation enabled.
IL_MC_PDS_STA_OE = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_QS)
# Quick stop active.
IL_MC_PDS_STA_QSA = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE)
# Fault reaction active.
IL_MC_PDS_STA_FRA = (IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F)
# Fault.
IL_MC_PDS_STA_F = IL_MC_SW_F
# Unknown.
IL_MC_PDS_STA_UNKNOWN = 0xFFFF
# PDS FSA commands
# Shutdown.
IL_MC_PDS_CMD_SD = (IL_MC_CW_EV | IL_MC_CW_QS)
# Switch on.
IL_MC_PDS_CMD_SO = (IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS)
# Switch on + enable operation.
IL_MC_PDS_CMD_SOEO = (IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS | IL_MC_CW_EO)
# Disable voltage.
IL_MC_PDS_CMD_DV = 0x0000
# Quick stop.
IL_MC_PDS_CMD_QS = IL_MC_CW_EV
# Disable operation.
IL_MC_PDS_CMD_DO = (IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS)
# Enable operation.
IL_MC_PDS_CMD_EO = (IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS | IL_MC_CW_EO)
# Fault reset.
IL_MC_PDS_CMD_FR = IL_MC_CW_FR
# Unknown command.
IL_MC_PDS_CMD_UNKNOWN = 0xFFFF
# Homing controlword bits
# Homing operation start
IL_MC_HOMING_CW_START = (1 << 4)
# Halt
IL_MC_HOMING_CW_HALT = (1 << 8)
# Homing statusword bits
# Homing attained.
IL_MC_HOMING_SW_ATT = (1 << 12)
# Homing error.
IL_MC_HOMING_SW_ERR = (1 << 13)
# Homing states
# Homing state mask.
IL_MC_HOMING_STA_MSK= (IL_MC_SW_TR | IL_MC_HOMING_SW_ATT | IL_MC_HOMING_SW_ERR)
# Homing procedure is in progress.
IL_MC_HOMING_STA_INPROG = 0x0000
# Homing procedure is interrupted or not started.
IL_MC_HOMING_STA_INT= (IL_MC_SW_TR)
# Homing is attained, but target is not reached.
IL_MC_HOMING_STA_ATT= (IL_MC_HOMING_SW_ATT)
# Homing procedure is completed successfully.
IL_MC_HOMING_STA_SUCCESS = (IL_MC_SW_TR | IL_MC_HOMING_SW_ATT)
# Homing error occurred, velocity not zero.
IL_MC_HOMING_STA_ERR_VNZ = (IL_MC_HOMING_SW_ERR)
# Homing error ocurred, velocity is zero.
IL_MC_HOMING_STA_ERR_VZ= (IL_MC_SW_TR | IL_MC_HOMING_SW_ERR)
# Profile Position
# Profile position controlword bits
# New set-point.
IL_MC_PP_CW_NEWSP = (1 << 4)
# Change set immediately
IL_MC_PP_CW_IMMEDIATE = (1 << 5)
# Target position is relative.
IL_MC_PP_CW_REL= (1 << 6)
# Profile position specific statusword bits
# Set-point acknowledge.
IL_MC_PP_SW_SPACK = (1 << 12)
# Following error.
IL_MC_PP_SW_FOLLOWERR = (1 << 13)
# PDS
# PDS default timeout (ms).
PDS_TIMEOUT = 1000
# Flags position offset in statusword.
FLAGS_SW_POS = 10
# Number of retries to reset fault state
FAULT_RESET_RETRIES = 20
# General failure. */
IL_EFAIL = -1
# Invalid values. */
IL_EINVAL = -2
# Operation timed out. */
IL_ETIMEDOUT = -3
# Not enough memory. */
IL_ENOMEM = -4
# Already initialized. */
IL_EALREADY = -5
# Device disconnected. */
IL_EDISCONN = -6
# Access error. */
IL_EACCESS = -7
# State error. */
IL_ESTATE = -8
# I/O error. */
IL_EIO = -9
# Not supported. */
IL_ENOTSUP = -10 | il_mc_cw_so = 1 << 0
il_mc_cw_ev = 1 << 1
il_mc_cw_qs = 1 << 2
il_mc_cw_eo = 1 << 3
il_mc_cw_fr = 1 << 7
il_mc_cw_h = 1 << 8
il_mc_sw_rtso = 1 << 0
il_mc_sw_so = 1 << 1
il_mc_sw_oe = 1 << 2
il_mc_sw_f = 1 << 3
il_mc_sw_ve = 1 << 4
il_mc_sw_qs = 1 << 5
il_mc_sw_sod = 1 << 6
il_mc_sw_w = 1 << 7
il_mc_sw_rm = 1 << 9
il_mc_sw_tr = 1 << 10
il_mc_sw_ila = 1 << 11
il_mc_sw_iangle = 1 << 14
il_mc_pds_sta_nrtso_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD
il_mc_pds_sta_sod_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD
il_mc_pds_sta_rtso_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD
il_mc_pds_sta_so_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD
il_mc_pds_sta_oe_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD
il_mc_pds_sta_qsa_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_QS | IL_MC_SW_SOD
il_mc_pds_sta_fra_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD
il_mc_pds_sta_f_msk = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F | IL_MC_SW_SOD
il_mc_pds_sta_nrtso = 0
il_mc_pds_sta_sod = IL_MC_SW_SOD
il_mc_pds_sta_rtso = IL_MC_SW_RTSO | IL_MC_SW_QS
il_mc_pds_sta_so = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_QS
il_mc_pds_sta_oe = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_QS
il_mc_pds_sta_qsa = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE
il_mc_pds_sta_fra = IL_MC_SW_RTSO | IL_MC_SW_SO | IL_MC_SW_OE | IL_MC_SW_F
il_mc_pds_sta_f = IL_MC_SW_F
il_mc_pds_sta_unknown = 65535
il_mc_pds_cmd_sd = IL_MC_CW_EV | IL_MC_CW_QS
il_mc_pds_cmd_so = IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS
il_mc_pds_cmd_soeo = IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS | IL_MC_CW_EO
il_mc_pds_cmd_dv = 0
il_mc_pds_cmd_qs = IL_MC_CW_EV
il_mc_pds_cmd_do = IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS
il_mc_pds_cmd_eo = IL_MC_CW_SO | IL_MC_CW_EV | IL_MC_CW_QS | IL_MC_CW_EO
il_mc_pds_cmd_fr = IL_MC_CW_FR
il_mc_pds_cmd_unknown = 65535
il_mc_homing_cw_start = 1 << 4
il_mc_homing_cw_halt = 1 << 8
il_mc_homing_sw_att = 1 << 12
il_mc_homing_sw_err = 1 << 13
il_mc_homing_sta_msk = IL_MC_SW_TR | IL_MC_HOMING_SW_ATT | IL_MC_HOMING_SW_ERR
il_mc_homing_sta_inprog = 0
il_mc_homing_sta_int = IL_MC_SW_TR
il_mc_homing_sta_att = IL_MC_HOMING_SW_ATT
il_mc_homing_sta_success = IL_MC_SW_TR | IL_MC_HOMING_SW_ATT
il_mc_homing_sta_err_vnz = IL_MC_HOMING_SW_ERR
il_mc_homing_sta_err_vz = IL_MC_SW_TR | IL_MC_HOMING_SW_ERR
il_mc_pp_cw_newsp = 1 << 4
il_mc_pp_cw_immediate = 1 << 5
il_mc_pp_cw_rel = 1 << 6
il_mc_pp_sw_spack = 1 << 12
il_mc_pp_sw_followerr = 1 << 13
pds_timeout = 1000
flags_sw_pos = 10
fault_reset_retries = 20
il_efail = -1
il_einval = -2
il_etimedout = -3
il_enomem = -4
il_ealready = -5
il_edisconn = -6
il_eaccess = -7
il_estate = -8
il_eio = -9
il_enotsup = -10 |
class base_graph_style():
NAME:str = ''
class default_graph_style(base_graph_style):
NAME:str = 'default'
# Task Nodes:
TASK_NODE_STYLE = 'filled'
TASK_NODE_SHAPE = 'box3d'
TASK_NODE_PENWIDTH = 1,
TASK_NODE_FONTCOLOR = 'black'
DISABLED_TASK_COLOR = 'dimgrey'
DISABLED_TASK_FONTCOLOR = TASK_NODE_FONTCOLOR
DISABLED_TASK_STYLE = 'dashed'
START_TASK_COLOR = '#3E8DCF'
END_TASK_COLOR = '#E95C3F'
MID_TASK_COLOR = '#F2A93B'
# File Nodes:
FILE_NODE_STYLE = 'filled'
FILE_FILE_SHAPE = 'note'
FILE_DIR_SHAPE = 'tab'
FILE_NODE_COLOR = '#bbd698'
FILE_NODE_PENWIDTH = 1
# Source Nodes:
SOURCE_STYLE = 'filled'
SOURCE_FONT_COLOR = 'black'
SOURCE_FILL_COLOR = '#9d6edb'
SOURCE_SHAPE = 'component'
SOURCE_PENWIDTH = 1
# Edges:
EDGE_COLOR = '#828282'
EDGE_PEN_WIDTH = 1.5
class greyscale_graph_style(base_graph_style):
NAME:str = 'greyscale'
# Task Nodes:
TASK_NODE_STYLE = 'filled'
TASK_NODE_SHAPE = 'box3d'
TASK_NODE_PENWIDTH = 1,
TASK_NODE_FONTCOLOR = 'black'
DISABLED_TASK_COLOR = 'black'
DISABLED_TASK_FONTCOLOR = 'black'
DISABLED_TASK_STYLE = 'dashed'
START_TASK_COLOR = '#c4c4c4'
MID_TASK_COLOR = '#b0b0b0'
END_TASK_COLOR = '#787878'
# File Nodes:
FILE_NODE_STYLE = 'filled'
FILE_FILE_SHAPE = 'note'
FILE_DIR_SHAPE = 'tab'
FILE_NODE_COLOR = '#f0f0f0'
FILE_NODE_PENWIDTH = 1
# Source Nodes:
SOURCE_STYLE = 'filled'
SOURCE_FONT_COLOR = 'black'
SOURCE_FILL_COLOR = 'white'
SOURCE_SHAPE = 'component'
SOURCE_PENWIDTH = 1
# Edges:
EDGE_COLOR = '#828282'
EDGE_PEN_WIDTH = 1.5
| class Base_Graph_Style:
name: str = ''
class Default_Graph_Style(base_graph_style):
name: str = 'default'
task_node_style = 'filled'
task_node_shape = 'box3d'
task_node_penwidth = (1,)
task_node_fontcolor = 'black'
disabled_task_color = 'dimgrey'
disabled_task_fontcolor = TASK_NODE_FONTCOLOR
disabled_task_style = 'dashed'
start_task_color = '#3E8DCF'
end_task_color = '#E95C3F'
mid_task_color = '#F2A93B'
file_node_style = 'filled'
file_file_shape = 'note'
file_dir_shape = 'tab'
file_node_color = '#bbd698'
file_node_penwidth = 1
source_style = 'filled'
source_font_color = 'black'
source_fill_color = '#9d6edb'
source_shape = 'component'
source_penwidth = 1
edge_color = '#828282'
edge_pen_width = 1.5
class Greyscale_Graph_Style(base_graph_style):
name: str = 'greyscale'
task_node_style = 'filled'
task_node_shape = 'box3d'
task_node_penwidth = (1,)
task_node_fontcolor = 'black'
disabled_task_color = 'black'
disabled_task_fontcolor = 'black'
disabled_task_style = 'dashed'
start_task_color = '#c4c4c4'
mid_task_color = '#b0b0b0'
end_task_color = '#787878'
file_node_style = 'filled'
file_file_shape = 'note'
file_dir_shape = 'tab'
file_node_color = '#f0f0f0'
file_node_penwidth = 1
source_style = 'filled'
source_font_color = 'black'
source_fill_color = 'white'
source_shape = 'component'
source_penwidth = 1
edge_color = '#828282'
edge_pen_width = 1.5 |
num1 = int(input('Enter number 1: '))
num2 = int(input('Enter number 2: '))
num3 = int(input('Enter number 3: '))
if num1 > num2 and num1 > num3:
print(str(num1) + ' is the greatest!')
if num2 > num3 and num2 > num1:
print(str(num2) + ' is the greatest!')
if num3 > num1 and num3 > num2:
print(str(num3) + ' is the greatest!')
| num1 = int(input('Enter number 1: '))
num2 = int(input('Enter number 2: '))
num3 = int(input('Enter number 3: '))
if num1 > num2 and num1 > num3:
print(str(num1) + ' is the greatest!')
if num2 > num3 and num2 > num1:
print(str(num2) + ' is the greatest!')
if num3 > num1 and num3 > num2:
print(str(num3) + ' is the greatest!') |
MainWindow.clearData()
MainWindow.openPost3D()
PostProcess.script_openFile(-1,"Post3D","%examplesPath%/water.vtk")
PostProcess.script_openFile(-1,"Post3D","%examplesPath%/platform.vtk")
PostProcess.script_applyClicked(-1,"Post3D")
PostProcess.script_Properties_streamline_integration_direction(-1,"Post3D",3,2)
PostProcess.script_Properties_streamline_integration_type(-1,"Post3D",3,1)
PostProcess.script_Properties_streamline_integration_stepUnit(-1,"Post3D",3,2)
PostProcess.script_Properties_streamline_seeds_num_points(-1,"Post3D",3,100)
PostProcess.script_FilterStreamLine(-1,"Post3D",1)
PostProcess.script_applyClicked(-1,"Post3D")
| MainWindow.clearData()
MainWindow.openPost3D()
PostProcess.script_openFile(-1, 'Post3D', '%examplesPath%/water.vtk')
PostProcess.script_openFile(-1, 'Post3D', '%examplesPath%/platform.vtk')
PostProcess.script_applyClicked(-1, 'Post3D')
PostProcess.script_Properties_streamline_integration_direction(-1, 'Post3D', 3, 2)
PostProcess.script_Properties_streamline_integration_type(-1, 'Post3D', 3, 1)
PostProcess.script_Properties_streamline_integration_stepUnit(-1, 'Post3D', 3, 2)
PostProcess.script_Properties_streamline_seeds_num_points(-1, 'Post3D', 3, 100)
PostProcess.script_FilterStreamLine(-1, 'Post3D', 1)
PostProcess.script_applyClicked(-1, 'Post3D') |
class deques():
def __init__(self):
self.items = []
def addFront(self,item):
return self.items.append(item)
def addRear(self,item):
return self.items.insert(0,item)
def removeFront(self):
return self.items.pop()
def removeRear(self):
return self.items.pop(1)
def length(self):
return len(self.items)
def IsEmpty(self):
return self.items == []
d = deques()
d.IsEmpty()
d.addFront(10)
d.addFront(20)
d.addRear(30)
d.length()
d.removeRear()
d.removeRear()
d.IsEmpty()
d.removeFront()
d.IsEmpty() | class Deques:
def __init__(self):
self.items = []
def add_front(self, item):
return self.items.append(item)
def add_rear(self, item):
return self.items.insert(0, item)
def remove_front(self):
return self.items.pop()
def remove_rear(self):
return self.items.pop(1)
def length(self):
return len(self.items)
def is_empty(self):
return self.items == []
d = deques()
d.IsEmpty()
d.addFront(10)
d.addFront(20)
d.addRear(30)
d.length()
d.removeRear()
d.removeRear()
d.IsEmpty()
d.removeFront()
d.IsEmpty() |
Despesas = float(input("Quanto foi gasto?"))
Gorjeta = Despesas / 100 * 10
Total = Despesas + Gorjeta
print("--------------------------------------- \n O total foi de R${:.2f} \n Com uma gorjeta de R${:.2f} \n --------------------------------------- ".format(Total, Gorjeta))
| despesas = float(input('Quanto foi gasto?'))
gorjeta = Despesas / 100 * 10
total = Despesas + Gorjeta
print('--------------------------------------- \n O total foi de R${:.2f} \n Com uma gorjeta de R${:.2f} \n --------------------------------------- '.format(Total, Gorjeta)) |
def cc_lint_test_impl(ctx):
args = " ".join(
[ctx.expand_make_variables("cmd", arg, {})
for arg in ctx.attr.linter_args])
ctx.file_action(
content = "%s %s %s" % (
ctx.executable.linter.short_path,
args,
" ".join([src.short_path for src in ctx.files.srcs])),
output = ctx.outputs.executable,
executable = True)
return struct(
runfiles = ctx.runfiles(files = ctx.files.linter + ctx.files.srcs),
)
cc_lint_test = rule(
attrs = {
"srcs": attr.label_list(allow_files = True),
"linter": attr.label(
default = Label("@styleguide//:cpplint"),
executable = True,
cfg = "host"),
"linter_args": attr.string_list(
default=["--root=$$(pwd)"]),
},
test = True,
implementation = cc_lint_test_impl,
)
def cc_clang_format_test_impl(ctx):
cmds = []
cmds.append("for src in %s; do" % (
" ".join([src.short_path for src in ctx.files.srcs])))
cmds.append("clang-format -style=google $src > /tmp/formatted_src ;")
cmds.append("diff -u $src /tmp/formatted_src ;")
cmds.append("done")
ctx.file_action(
content = " ".join(cmds),
output = ctx.outputs.executable,
executable = True)
return struct(
runfiles = ctx.runfiles(files = ctx.files.srcs),
)
cc_clang_format_test = rule(
attrs = {
"srcs": attr.label_list(allow_files = True),
},
test = True,
implementation = cc_clang_format_test_impl,
)
| def cc_lint_test_impl(ctx):
args = ' '.join([ctx.expand_make_variables('cmd', arg, {}) for arg in ctx.attr.linter_args])
ctx.file_action(content='%s %s %s' % (ctx.executable.linter.short_path, args, ' '.join([src.short_path for src in ctx.files.srcs])), output=ctx.outputs.executable, executable=True)
return struct(runfiles=ctx.runfiles(files=ctx.files.linter + ctx.files.srcs))
cc_lint_test = rule(attrs={'srcs': attr.label_list(allow_files=True), 'linter': attr.label(default=label('@styleguide//:cpplint'), executable=True, cfg='host'), 'linter_args': attr.string_list(default=['--root=$$(pwd)'])}, test=True, implementation=cc_lint_test_impl)
def cc_clang_format_test_impl(ctx):
cmds = []
cmds.append('for src in %s; do' % ' '.join([src.short_path for src in ctx.files.srcs]))
cmds.append('clang-format -style=google $src > /tmp/formatted_src ;')
cmds.append('diff -u $src /tmp/formatted_src ;')
cmds.append('done')
ctx.file_action(content=' '.join(cmds), output=ctx.outputs.executable, executable=True)
return struct(runfiles=ctx.runfiles(files=ctx.files.srcs))
cc_clang_format_test = rule(attrs={'srcs': attr.label_list(allow_files=True)}, test=True, implementation=cc_clang_format_test_impl) |
fname = input('Enter a file name:')
try :
fhand = open('ch07\\' + fname)
except :
print('File cannot be opened:',fname)
quit()
for str in fhand :
print(str.upper().rstrip())
try :
fhand.close()
except :
pass | fname = input('Enter a file name:')
try:
fhand = open('ch07\\' + fname)
except:
print('File cannot be opened:', fname)
quit()
for str in fhand:
print(str.upper().rstrip())
try:
fhand.close()
except:
pass |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.