content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class Solution: def isMatch(self, s, p): dp = [[False for _ in range(len(p)+1)] for i in range(len(s)+1)] dp[0][0] = True for j in range(1, len(p)+1): if p[j-1] != '*': break dp[0][j] = True for i in range(1, len(s)+1): for j in range(1, len(p)+1): if p[j-1] in {s[i-1], '?'}: dp[i][j] = dp[i-1][j-1] elif p[j-1] == '*': dp[i][j] = dp[i-1][j-1] or dp[i-1][j] or dp[i][j-1] return dp[-1][-1]
class Solution: def is_match(self, s, p): dp = [[False for _ in range(len(p) + 1)] for i in range(len(s) + 1)] dp[0][0] = True for j in range(1, len(p) + 1): if p[j - 1] != '*': break dp[0][j] = True for i in range(1, len(s) + 1): for j in range(1, len(p) + 1): if p[j - 1] in {s[i - 1], '?'}: dp[i][j] = dp[i - 1][j - 1] elif p[j - 1] == '*': dp[i][j] = dp[i - 1][j - 1] or dp[i - 1][j] or dp[i][j - 1] return dp[-1][-1]
{ 'total_returned': 1, 'host_list': [ { 'name': 'i-deadbeef', 'up': True, 'is_muted': False, 'apps': [ 'agent' ], 'tags_by_source': { 'Datadog': [ 'host:i-deadbeef' ], 'Amazon Web Services': [ 'account:staging' ] }, 'aws_name': 'mycoolhost-1', 'metrics': { 'load': 0.5, 'iowait': 3.2, 'cpu': 99.0 }, 'sources': [ 'aws', 'agent' ], 'meta': { 'nixV': [ 'Ubuntu', '14.04', 'trusty' ] }, 'host_name': 'i-deadbeef', 'id': 123456, 'aliases': [ 'mycoolhost-1' ] } ], 'total_matching': 1 }
{'total_returned': 1, 'host_list': [{'name': 'i-deadbeef', 'up': True, 'is_muted': False, 'apps': ['agent'], 'tags_by_source': {'Datadog': ['host:i-deadbeef'], 'Amazon Web Services': ['account:staging']}, 'aws_name': 'mycoolhost-1', 'metrics': {'load': 0.5, 'iowait': 3.2, 'cpu': 99.0}, 'sources': ['aws', 'agent'], 'meta': {'nixV': ['Ubuntu', '14.04', 'trusty']}, 'host_name': 'i-deadbeef', 'id': 123456, 'aliases': ['mycoolhost-1']}], 'total_matching': 1}
class Solution: def maximumProduct(self, nums): """ :type nums: List[int] :rtype: int """ max1, max2, max3 = sorted(nums[:3])[::-1] min1, min2 = max3, max2 for num in nums[3:]: if num >= max1: max1, max2, max3 = num, max1, max2 elif num >= max2: max2, max3 = num, max2 elif num >= max3: max3 = num if num <= min1: min1, min2 = num, min1 elif num <= min2: min2 = num return max(max1 * max2 * max3, min1 * min2 * max1)
class Solution: def maximum_product(self, nums): """ :type nums: List[int] :rtype: int """ (max1, max2, max3) = sorted(nums[:3])[::-1] (min1, min2) = (max3, max2) for num in nums[3:]: if num >= max1: (max1, max2, max3) = (num, max1, max2) elif num >= max2: (max2, max3) = (num, max2) elif num >= max3: max3 = num if num <= min1: (min1, min2) = (num, min1) elif num <= min2: min2 = num return max(max1 * max2 * max3, min1 * min2 * max1)
# 2. Todo List # You will receive a todo-notes until you get the command "End". # The notes will be in the format: "{importance}-{value}". Return the list of todo-notes sorted by importance. # The maximum importance will be 10 note = input() todo_list = [0] * 10 while not note == 'End': importance, task = note.split('-') # remove one in order for the importance to match the index of the list importance = int(importance) - 1 todo_list[importance] = task note = input() print([task for task in todo_list if not task == 0])
note = input() todo_list = [0] * 10 while not note == 'End': (importance, task) = note.split('-') importance = int(importance) - 1 todo_list[importance] = task note = input() print([task for task in todo_list if not task == 0])
n1 = float(input('fale a primeira nota: ')) n2 = float(input('fale a segunda nota: ')) media = (n1 + n2) / 2 if media < 6: print('voce foi reprovado seu burro!!') elif media < 9: print('voce foi aprovado !!') elif media <= 10: print('parabens otimo aluno !!') print('voce foi aprovado !!')
n1 = float(input('fale a primeira nota: ')) n2 = float(input('fale a segunda nota: ')) media = (n1 + n2) / 2 if media < 6: print('voce foi reprovado seu burro!!') elif media < 9: print('voce foi aprovado !!') elif media <= 10: print('parabens otimo aluno !!') print('voce foi aprovado !!')
# TODO: Fill in meta tags. meta = { "title" : "", "author" : "", "description" : "", "url" : "", "icon_path" : "", "keywords" : "" } # TODO: Make additional links in nav-bar here. nav = [ { "name" : "projects", "link" : "index.html#projects" }, { "name" : "blog", "link" : "blog", }, { "name" : "resume", "link" : "resume" } ] # TODO: Fill in one or multple description dicts. about = [ { "description" : "" } ] # TODO: Fill in one or multiple project dicts. The code field executes any html/js you specify. # icon_class is a font-awesome icon and any other classes you might want to specify (see css). # For layout purposes, the code field is optional. projects = [ { "link" : "", "icon_class" : "", "name" : "", "description" : "", "code" : "" } ]
meta = {'title': '', 'author': '', 'description': '', 'url': '', 'icon_path': '', 'keywords': ''} nav = [{'name': 'projects', 'link': 'index.html#projects'}, {'name': 'blog', 'link': 'blog'}, {'name': 'resume', 'link': 'resume'}] about = [{'description': ''}] projects = [{'link': '', 'icon_class': '', 'name': '', 'description': '', 'code': ''}]
#!/usr/bin/python # # check_mk is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation in version 2. check_mk is distributed # in the hope that it will be useful, but WITHOUT ANY WARRANTY; with- # out even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. See the GNU General Public License for more de- # tails. You should have received a copy of the GNU General Public # License along with GNU Make; see the file COPYING. If not, write # to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, # Boston, MA 02110-1301 USA. _health_map = {"1": 0, "2": 1, "3": 1, "4": 2, "5": 3, "6": 3} _health_str = {0: "OK", 1: "WARNING", 2: "CRITICAL", 3: "ABSENCE", 4: "UNKOWN"} def inventory_hw_memory_health(info): return [('MEMORY status', None)] def check_hw_memory_health(item, params, info): _health_status = 3 _msg = '' try: for state in info[0][0]: _health_status = _health_map.get(state) for state, index in info[1]: _each_status = _health_map.get(state) if _each_status is not None: if _each_status == 3: continue _health_msg = _health_str.get(_each_status) _msg = _msg + " %s health status is %s;" % (str(index), _health_msg) return _health_status, "healthy status is %s, %s" % (_health_str.get(_health_status), _msg) except IndexError: return "healthy status is not queried." check_info["huawei_ibmc_memory_check"] = { "inventory_function": inventory_hw_memory_health, "check_function": check_hw_memory_health, "service_description": "%s", "includes": ["huawei_ibmc_util_.include"], "snmp_info": [ (".1.3.6.1.4.1.2011.2.235.1.1.16", ["1.0", ]), (".1.3.6.1.4.1.2011.2.235.1.1.16", ["50.1.6", "50.1.10"]) ], "snmp_scan_function": scan, }
_health_map = {'1': 0, '2': 1, '3': 1, '4': 2, '5': 3, '6': 3} _health_str = {0: 'OK', 1: 'WARNING', 2: 'CRITICAL', 3: 'ABSENCE', 4: 'UNKOWN'} def inventory_hw_memory_health(info): return [('MEMORY status', None)] def check_hw_memory_health(item, params, info): _health_status = 3 _msg = '' try: for state in info[0][0]: _health_status = _health_map.get(state) for (state, index) in info[1]: _each_status = _health_map.get(state) if _each_status is not None: if _each_status == 3: continue _health_msg = _health_str.get(_each_status) _msg = _msg + ' %s health status is %s;' % (str(index), _health_msg) return (_health_status, 'healthy status is %s, %s' % (_health_str.get(_health_status), _msg)) except IndexError: return 'healthy status is not queried.' check_info['huawei_ibmc_memory_check'] = {'inventory_function': inventory_hw_memory_health, 'check_function': check_hw_memory_health, 'service_description': '%s', 'includes': ['huawei_ibmc_util_.include'], 'snmp_info': [('.1.3.6.1.4.1.2011.2.235.1.1.16', ['1.0']), ('.1.3.6.1.4.1.2011.2.235.1.1.16', ['50.1.6', '50.1.10'])], 'snmp_scan_function': scan}
def pallindrom(n): a=str(n) b=a[::-1] if(a==b): return True p=0 lp=0 for i in range(100,1000): for j in range(100,1000): p=i*j if(pallindrom(p)): if(p>lp): lp=p print(lp)
def pallindrom(n): a = str(n) b = a[::-1] if a == b: return True p = 0 lp = 0 for i in range(100, 1000): for j in range(100, 1000): p = i * j if pallindrom(p): if p > lp: lp = p print(lp)
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': 9.4469e-07, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202689, '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': 5.06007e-06, '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.631853, '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': 1.09414, '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.627521, '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': 2.35352, '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.62456, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 6.12332, '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': 9.55956e-07, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0229052, '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.165634, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.169398, '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.165635, 'Execution Unit/Register Files/Runtime Dynamic': 0.192303, '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.400239, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.04956, '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': 4.20345, '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.0062532, '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.0062532, '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.0054389, '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.00210131, '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.00243341, '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.0203787, '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.0602278, '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.162846, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.648647, '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.5531, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.4452, '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.0435797, 'L2/Runtime Dynamic': 0.00818343, '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': 6.19231, 'Load Store Unit/Data Cache/Runtime Dynamic': 2.38379, '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.160312, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.160312, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 6.95242, 'Load Store Unit/Runtime Dynamic': 3.33471, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.395303, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.790605, '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.140294, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.140675, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.107146, '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.801035, 'Memory Management Unit/Runtime Dynamic': 0.247821, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 27.4508, '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': 3.05404e-06, '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.0323095, '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.329529, '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.361842, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 9.6012, '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': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, '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': 1.26502e-05, '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.169558, '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.27349, '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.138049, '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.581097, '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.193924, '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.20236, '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': 2.38989e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00711201, '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.0514297, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0525977, '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.0514321, 'Execution Unit/Register Files/Runtime Dynamic': 0.0597097, '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.108348, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.285179, '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.53405, '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.00220355, '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.00220355, '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.0019779, '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.000797737, '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.00075557, '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.00714058, '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.0190333, '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.0505635, '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': 3.21627, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.199183, '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.171736, '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': 5.59088, 'Instruction Fetch Unit/Runtime Dynamic': 0.447657, '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.0392283, 'L2/Runtime Dynamic': 0.00781246, '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.90697, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.80578, '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.0540236, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0540235, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.16208, 'Load Store Unit/Runtime Dynamic': 1.12623, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.133213, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.266425, '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.0472777, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0476133, '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.199976, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0334039, '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.4373, 'Memory Management Unit/Runtime Dynamic': 0.0810172, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 17.0213, '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': 6.79532e-06, '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.00765006, '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.0865085, '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.0941654, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 3.29093, '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': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, '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': 1.26502e-05, '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.14782, '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.238429, '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.120351, '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.5066, '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.169061, '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.15367, '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': 2.38989e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00620025, '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.044836, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0458546, '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.0448384, 'Execution Unit/Register Files/Runtime Dynamic': 0.0520549, '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.0944574, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.248641, '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.41536, '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.00193243, '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.00193243, '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.00173501, '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.000700015, '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.000658705, '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.00625858, '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.0166751, '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.0440812, '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.80394, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.173524, '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.14972, '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': 5.15854, 'Instruction Fetch Unit/Runtime Dynamic': 0.390258, '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.0358134, 'L2/Runtime Dynamic': 0.00704565, '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.70866, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.710347, '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.0476079, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0476078, '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.93348, 'Load Store Unit/Runtime Dynamic': 0.992741, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.117393, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.234786, '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.0416631, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0419689, '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.174339, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0291342, '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.402018, 'Memory Management Unit/Runtime Dynamic': 0.071103, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 16.273, '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': 6.53416e-06, '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.00666932, '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.0753966, '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.0820725, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.95858, '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': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, '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': 1.01201e-05, '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.149396, '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.24097, '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.121634, '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.512, '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.170865, '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.1572, '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': 1.91191e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00626634, '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.0453144, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0463434, '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.0453163, 'Execution Unit/Register Files/Runtime Dynamic': 0.0526098, '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.0954651, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.251155, '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.42383, '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.0019555, '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.0019555, '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.00175657, '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.000709169, '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.000665727, '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.00633329, '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.0168435, '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.0445511, '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.83383, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.174625, '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.151316, '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': 5.18988, 'Instruction Fetch Unit/Runtime Dynamic': 0.393669, '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.0368771, 'L2/Runtime Dynamic': 0.00718455, '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.72432, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.717875, '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.0481146, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0481147, '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.95153, 'Load Store Unit/Runtime Dynamic': 1.00328, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.118642, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.237285, '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.0421066, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0424236, '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.176197, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.029329, '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.404638, 'Memory Management Unit/Runtime Dynamic': 0.0717526, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 16.3296, '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': 5.23898e-06, '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.0067404, '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.0762029, '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.0829485, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.98266, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 0.7808241157476576, 'Runtime Dynamic': 0.7808241157476576, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.0767166, 'Runtime Dynamic': 0.0319482, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 77.1514, 'Peak Power': 110.264, 'Runtime Dynamic': 18.8653, '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': 77.0747, 'Total Cores/Runtime Dynamic': 18.8334, '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.0767166, 'Total L3s/Runtime Dynamic': 0.0319482, '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': 9.4469e-07, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202689, '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': 5.06007e-06, '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.631853, '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': 1.09414, '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.627521, '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': 2.35352, '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.62456, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 6.12332, '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': 9.55956e-07, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0229052, '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.165634, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.169398, '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.165635, 'Execution Unit/Register Files/Runtime Dynamic': 0.192303, '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.400239, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.04956, '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': 4.20345, '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.0062532, '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.0062532, '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.0054389, '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.00210131, '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.00243341, '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.0203787, '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.0602278, '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.162846, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.648647, '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.5531, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.4452, '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.0435797, 'L2/Runtime Dynamic': 0.00818343, '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': 6.19231, 'Load Store Unit/Data Cache/Runtime Dynamic': 2.38379, '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.160312, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.160312, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 6.95242, 'Load Store Unit/Runtime Dynamic': 3.33471, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.395303, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.790605, '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.140294, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.140675, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.107146, '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.801035, 'Memory Management Unit/Runtime Dynamic': 0.247821, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 27.4508, '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': 3.05404e-06, '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.0323095, '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.329529, '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.361842, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 9.6012, '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': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, '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': 1.26502e-05, '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.169558, '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.27349, '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.138049, '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.581097, '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.193924, '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.20236, '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': 2.38989e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00711201, '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.0514297, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0525977, '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.0514321, 'Execution Unit/Register Files/Runtime Dynamic': 0.0597097, '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.108348, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.285179, '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.53405, '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.00220355, '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.00220355, '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.0019779, '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.000797737, '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.00075557, '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.00714058, '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.0190333, '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.0505635, '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': 3.21627, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.199183, '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.171736, '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': 5.59088, 'Instruction Fetch Unit/Runtime Dynamic': 0.447657, '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.0392283, 'L2/Runtime Dynamic': 0.00781246, '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.90697, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.80578, '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.0540236, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0540235, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.16208, 'Load Store Unit/Runtime Dynamic': 1.12623, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.133213, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.266425, '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.0472777, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0476133, '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.199976, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0334039, '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.4373, 'Memory Management Unit/Runtime Dynamic': 0.0810172, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 17.0213, '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': 6.79532e-06, '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.00765006, '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.0865085, '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.0941654, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 3.29093, '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': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, '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': 1.26502e-05, '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.14782, '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.238429, '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.120351, '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.5066, '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.169061, '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.15367, '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': 2.38989e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00620025, '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.044836, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0458546, '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.0448384, 'Execution Unit/Register Files/Runtime Dynamic': 0.0520549, '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.0944574, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.248641, '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.41536, '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.00193243, '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.00193243, '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.00173501, '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.000700015, '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.000658705, '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.00625858, '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.0166751, '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.0440812, '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.80394, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.173524, '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.14972, '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': 5.15854, 'Instruction Fetch Unit/Runtime Dynamic': 0.390258, '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.0358134, 'L2/Runtime Dynamic': 0.00704565, '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.70866, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.710347, '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.0476079, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0476078, '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.93348, 'Load Store Unit/Runtime Dynamic': 0.992741, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.117393, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.234786, '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.0416631, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0419689, '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.174339, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0291342, '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.402018, 'Memory Management Unit/Runtime Dynamic': 0.071103, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 16.273, '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': 6.53416e-06, '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.00666932, '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.0753966, '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.0820725, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.95858, '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': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, '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': 1.01201e-05, '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.149396, '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.24097, '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.121634, '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.512, '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.170865, '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.1572, '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': 1.91191e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00626634, '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.0453144, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0463434, '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.0453163, 'Execution Unit/Register Files/Runtime Dynamic': 0.0526098, '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.0954651, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.251155, '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.42383, '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.0019555, '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.0019555, '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.00175657, '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.000709169, '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.000665727, '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.00633329, '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.0168435, '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.0445511, '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.83383, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.174625, '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.151316, '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': 5.18988, 'Instruction Fetch Unit/Runtime Dynamic': 0.393669, '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.0368771, 'L2/Runtime Dynamic': 0.00718455, '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.72432, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.717875, '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.0481146, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0481147, '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.95153, 'Load Store Unit/Runtime Dynamic': 1.00328, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.118642, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.237285, '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.0421066, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0424236, '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.176197, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.029329, '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.404638, 'Memory Management Unit/Runtime Dynamic': 0.0717526, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 16.3296, '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': 5.23898e-06, '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.0067404, '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.0762029, '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.0829485, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.98266, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 0.7808241157476576, 'Runtime Dynamic': 0.7808241157476576, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.0767166, 'Runtime Dynamic': 0.0319482, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 77.1514, 'Peak Power': 110.264, 'Runtime Dynamic': 18.8653, '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': 77.0747, 'Total Cores/Runtime Dynamic': 18.8334, '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.0767166, 'Total L3s/Runtime Dynamic': 0.0319482, '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}}
"""VmTool. """ __version__ = '1.0'
"""VmTool. """ __version__ = '1.0'
if __name__ == '__main__': students = [] scores = set() for _ in range(int(input())): name = input() score = float(input()) scores.add(score) students.append([name,score]) students.sort() scores = list(scores) scores.sort() second = scores[1] for student in students: if student[1] == second: print(student[0])
if __name__ == '__main__': students = [] scores = set() for _ in range(int(input())): name = input() score = float(input()) scores.add(score) students.append([name, score]) students.sort() scores = list(scores) scores.sort() second = scores[1] for student in students: if student[1] == second: print(student[0])
""" Opcodes dictionary for assembly and disassembly """ lookup = { "0x0": [1, "NOP", 0], "0x1": [3, "LXI\tB,#$", 1], "0x2": [1, "STAX\tB", 0], "0x3": [1, "INX\tB", 0], "0x4": [1, "INR\tB", 0], "0x5": [1, "DCR\tB", 0], "0x6": [2, "MVI\tB,#$", 1], "0x7": [1, "RLC", 0], "0x8": [1, "08", 0], "0x9": [1, "DAD\tB", 0], "0xa": [1, "LDAX\tB", 0], "0xb": [1, "DCX\tB", 0], "0xc": [1, "INR\tC", 0], "0xd": [1, "DCR\tC", 0], "0xe": [2, "MVI\tC,#$", 1], "0xf": [1, "RRC", 0], "0x10": [1, "10", 0], "0x11": [3, "LXI\tD,#$", 1], "0x12": [1, "STAX\tD", 0], "0x13": [1, "INX\tD", 0], "0x14": [1, "INR\tD", 0], "0x15": [1, "DCR\tD", 0], "0x16": [2, "MVI\tD,#$", 1], "0x17": [1, "RAL", 0], "0x18": [1, "18", 0], "0x19": [1, 'DAD\tD', 0], "0x1a": [1, 'LDAX\tD', 0], "0x1b": [1, 'DCX\tD', 0], "0x1c": [1, 'INR\tE', 0], "0x1d": [1, 'DCR\tE', 0], "0x1e": [2, 'MVI\tE,#$', 1], "0x1f": [1, 'RAR', 0], "0x20": [1, "20", 0], "0x21": [3, 'LXI\tH,#$', 1], "0x22": [3, 'SHLD\t$', 1], "0x23": [1, 'INX\tH', 0], "0x24": [1, 'INR\tH', 0], "0x25": [1, 'DCR\tH', 0], "0x26": [2, 'MVI\tH,#$', 1], "0x27": [1, 'DAA', 0], "0x28": [1, "28", 0], "0x29": [1, 'DAD\tH', 0], "0x2a": [3, 'LHLD\t$', 1], "0x2b": [1, 'DCX\tH', 0], "0x2c": [1, 'INR\tL', 0], "0x2d": [1, 'DCR\tL', 0], "0x2e": [2, 'MVI\tL,#$', 1], "0x2f": [1, 'CMA', 0], "0x30": [1, "30", 0], "0x31": [3, 'LXI\tSP,#$', 1], "0x32": [3, 'STA\t$', 1], "0x33": [1, 'INX\tSP', 0], "0x34": [1, 'INR\tM', 0], "0x35": [1, 'DCR\tM', 0], "0x36": [2, 'MVI\tM,#$', 1], "0x37": [1, 'STC', 0], "0x38": [1, "38", 0], "0x39": [1, 'DAD\tSP', 0], "0x3a": [3, 'LDA\t$', 1], "0x3b": [1, 'DCX\tSP', 0], "0x3c": [1, 'INR\tA', 0], "0x3d": [1, 'DCR\tA', 0], "0x3e": [2, 'MVI\tA,#$', 1], "0x3f": [1, 'CMC', 0], "0x40": [1, 'MOV\tB,B', 0], "0x41": [1, 'MOV\tB,C', 0], "0x42": [1, 'MOV\tB,D', 0], "0x43": [1, 'MOV\tB,E', 0], "0x44": [1, 'MOV\tB,H', 0], "0x45": [1, 'MOV\tB,L', 0], "0x46": [1, 'MOV\tB,M', 0], "0x47": [1, 'MOV\tB,A', 0], "0x48": [1, 'MOV\tC,B', 0], "0x49": [1, 'MOV\tC,C', 0], "0x4a": [1, 'MOV\tC,D', 0], "0x4b": [1, 'MOV\tC,E', 0], "0x4c": [1, 'MOV\tC,H', 0], "0x4d": [1, 'MOV\tC,L', 0], "0x4e": [1, 'MOV\tC,M', 0], "0x4f": [1, 'MOV\tC,A', 0], "0x50": [1, 'MOV\tD,B', 0], "0x51": [1, 'MOV\tD,C', 0], "0x52": [1, 'MOV\tD,D', 0], "0x53": [1, 'MOV\tD,E', 0], "0x54": [1, 'MOV\tD,H', 0], "0x55": [1, 'MOV\tD,L', 0], "0x56": [1, 'MOV\tD,M', 0], "0x57": [1, 'MOV\tD,A', 0], "0x58": [1, 'MOV\tE,B', 0], "0x59": [1, 'MOV\tE,C', 0], "0x5a": [1, 'MOV\tE,D', 0], "0x5b": [1, 'MOV\tE,E', 0], "0x5c": [1, 'MOV\tE,H', 0], "0x5d": [1, 'MOV\tE,L', 0], "0x5e": [1, 'MOV\tE,M', 0], "0x5f": [1, 'MOV\tE,A', 0], "0x60": [1, 'MOV\tH,B', 0], "0x61": [1, 'MOV\tH,C', 0], "0x62": [1, 'MOV\tH,D', 0], "0x63": [1, 'MOV\tH,E', 0], "0x64": [1, 'MOV\tH,H', 0], "0x65": [1, 'MOV\tH,L', 0], "0x66": [1, 'MOV\tH,M', 0], "0x67": [1, 'MOV\tH,A', 0], "0x68": [1, 'MOV\tL,B', 0], "0x69": [1, 'MOV\tL,C', 0], "0x6a": [1, 'MOV\tL,D', 0], "0x6b": [1, 'MOV\tL,E', 0], "0x6c": [1, 'MOV\tL,H', 0], "0x6d": [1, 'MOV\tL,L', 0], "0x6e": [1, 'MOV\tL,M', 0], "0x6f": [1, 'MOV\tL,A', 0], "0x70": [1, 'MOV\tM,B', 0], "0x71": [1, 'MOV\tM,C', 0], "0x72": [1, 'MOV\tM,D', 0], "0x73": [1, 'MOV\tM,E', 0], "0x74": [1, 'MOV\tM,H', 0], "0x75": [1, 'MOV\tM,L', 0], "0x76": [1, 'HLT', 0], "0x77": [1, 'MOV\tM,A', 0], "0x78": [1, 'MOV\tA,B', 0], "0x79": [1, 'MOV\tA,C', 0], "0x7a": [1, 'MOV\tA,D', 0], "0x7b": [1, 'MOV\tA,E', 0], "0x7c": [1, 'MOV\tA,H', 0], "0x7d": [1, 'MOV\tA,L', 0], "0x7e": [1, 'MOV\tA,M', 0], "0x7f": [1, 'MOV\tA,A', 0], "0x80": [1, 'ADD\tB', 0], "0x81": [1, 'ADD\tC', 0], "0x82": [1, 'ADD\tD', 0], "0x83": [1, 'ADD\tE', 0], "0x84": [1, 'ADD\tH', 0], "0x85": [1, 'ADD\tL', 0], "0x86": [1, 'ADD\tM', 0], "0x87": [1, 'ADD\tA', 0], "0x88": [1, 'ADC\tB', 0], "0x89": [1, 'ADC\tC', 0], "0x8a": [1, 'ADC\tD', 0], "0x8b": [1, 'ADC\tE', 0], "0x8c": [1, 'ADC\tH', 0], "0x8d": [1, 'ADC\tL', 0], "0x8e": [1, 'ADC\tM', 0], "0x8f": [1, 'ADC\tA', 0], "0x90": [1, 'SUB\tB', 0], "0x91": [1, 'SUB\tC', 0], "0x92": [1, 'SUB\tD', 0], "0x93": [1, 'SUB\tE', 0], "0x94": [1, 'SUB\tH', 0], "0x95": [1, 'SUB\tL', 0], "0x96": [1, 'SUB\tM', 0], "0x97": [1, 'SUB\tA', 0], "0x98": [1, 'SBB\tB', 0], "0x99": [1, 'SBB\tC', 0], "0x9a": [1, 'SBB\tD', 0], "0x9b": [1, 'SBB\tE', 0], "0x9c": [1, 'SBB\tH', 0], "0x9d": [1, 'SBB\tL', 0], "0x9e": [1, 'SBB\tM', 0], "0x9f": [1, 'SBB\tA', 0], "0xa0": [1, 'ANA\tB', 0], "0xa1": [1, 'ANA\tC', 0], "0xa2": [1, 'ANA\tD', 0], "0xa3": [1, 'ANA\tE', 0], "0xa4": [1, 'ANA\tH', 0], "0xa5": [1, 'ANA\tL', 0], "0xa6": [1, 'ANA\tM', 0], "0xa7": [1, 'ANA\tA', 0], "0xa8": [1, 'XRA\tB', 0], "0xa9": [1, 'XRA\tC', 0], "0xaa": [1, 'XRA\tD', 0], "0xab": [1, 'XRA\tE', 0], "0xac": [1, 'XRA\tH', 0], "0xad": [1, 'XRA\tL', 0], "0xae": [1, 'XRA\tM', 0], "0xaf": [1, 'XRA\tA', 0], "0xb0": [1, 'ORA\tB', 0], "0xb1": [1, 'ORA\tC', 0], "0xb2": [1, 'ORA\tD', 0], "0xb3": [1, 'ORA\tE', 0], "0xb4": [1, 'ORA\tH', 0], "0xb5": [1, 'ORA\tL', 0], "0xb6": [1, 'ORA\tM', 0], "0xb7": [1, 'ORA\tA', 0], "0xb8": [1, 'CMP\tB', 0], "0xb9": [1, 'CMP\tC', 0], "0xba": [1, 'CMP\tD', 0], "0xbb": [1, 'CMP\tE', 0], "0xbc": [1, 'CMP\tH', 0], "0xbd": [1, 'CMP\tL', 0], "0xbe": [1, 'CMP\tM', 0], "0xbf": [1, 'CMP\tA', 0], "0xc0": [1, 'RNZ', 0], "0xc1": [1, 'POP\tB', 0], "0xc2": [3, 'JNZ\t$', 1], "0xc3": [3, 'JMP\t$', 1], "0xc4": [3, 'CNZ\t$', 1], "0xc5": [1, 'PUSH\tB', 0], "0xc6": [2, 'ADI\t#$', 1], "0xc7": [1, 'RST\t0', 0], "0xc8": [1, 'RZ', 0], "0xc9": [1, 'RET', 0], "0xca": [3, 'JZ\t$', 1], "0xcb": [1, "cb", 0], "0xcc": [3, 'CZ\t$', 1], "0xcd": [3, 'CALL\t$', 1], "0xce": [2, 'ACI\t#$', 1], "0xcf": [1, 'RST\t1', 0], "0xd0": [1, 'RNC', 0], "0xd1": [1, 'POP\tD', 0], "0xd2": [3, 'JNC\t$', 1], "0xd3": [2, 'OUT\t#$', 1], "0xd4": [3, 'CNC\t$', 1], "0xd5": [1, 'PUSH\tD', 0], "0xd6": [2, 'SUI\t#$', 1], "0xd7": [1, 'RST\t2', 0], "0xd8": [1, 'RC', 0], "0xd9": [1, "d9", 0], "0xda": [3, 'JC\t$', 1], "0xdb": [2, 'IN\t#$', 1], "0xdc": [3, 'CC\t$', 1], "0xdd": [1, "dd", 0], "0xde": [2, 'SBI\t#$', 1], "0xdf": [1, 'RST\t3', 0], "0xe0": [1, 'RPO', 0], "0xe1": [1, 'POP\tH', 0], "0xe2": [3, 'JPO\t$', 1], "0xe3": [1, 'XTHL', 0], "0xe4": [3, 'CPO\t$', 1], "0xe5": [1, "PUSH\tH", 0], "0xe6": [2, 'ANI\t#$', 1], "0xe7": [1, 'RST\t4', 0], "0xe8": [1, 'RPE', 0], "0xe9": [1, 'PCHL', 0], "0xea": [3, 'JPE\t$', 1], "0xeb": [1, 'XCHG', 0], "0xec": [3, 'CPE\t$', 1], "0xed": [1, "ed", 0], "0xee": [2, 'XRI\t#$', 1], "0xef": [1, 'RST\t5', 0], "0xf0": [1, 'RP', 0], "0xf1": [1, 'POP\tPSW', 0], "0xf2": [3, 'JP\t$', 1], "0xf3": [1, 'DI', 0], "0xf4": [3, 'CP\t$', 1], "0xf5": [1, 'PUSH\tPSW', 0], "0xf6": [2, 'ORI\t#$', 1], "0xf7": [1, 'RST\t6', 0], "0xf8": [1, 'RM', 0], "0xf9": [1, 'SPHL', 0], "0xfa": [3, 'JM\t$', 1], "0xfb": [1, 'EI', 0], "0xfc": [3, 'CM\t$', 1], "0xfd": [1, "fd", 0], "0xfe": [2, 'CPI\t#$', 1], "0xff": [1, 'RST\t7', 0] }
""" Opcodes dictionary for assembly and disassembly """ lookup = {'0x0': [1, 'NOP', 0], '0x1': [3, 'LXI\tB,#$', 1], '0x2': [1, 'STAX\tB', 0], '0x3': [1, 'INX\tB', 0], '0x4': [1, 'INR\tB', 0], '0x5': [1, 'DCR\tB', 0], '0x6': [2, 'MVI\tB,#$', 1], '0x7': [1, 'RLC', 0], '0x8': [1, '08', 0], '0x9': [1, 'DAD\tB', 0], '0xa': [1, 'LDAX\tB', 0], '0xb': [1, 'DCX\tB', 0], '0xc': [1, 'INR\tC', 0], '0xd': [1, 'DCR\tC', 0], '0xe': [2, 'MVI\tC,#$', 1], '0xf': [1, 'RRC', 0], '0x10': [1, '10', 0], '0x11': [3, 'LXI\tD,#$', 1], '0x12': [1, 'STAX\tD', 0], '0x13': [1, 'INX\tD', 0], '0x14': [1, 'INR\tD', 0], '0x15': [1, 'DCR\tD', 0], '0x16': [2, 'MVI\tD,#$', 1], '0x17': [1, 'RAL', 0], '0x18': [1, '18', 0], '0x19': [1, 'DAD\tD', 0], '0x1a': [1, 'LDAX\tD', 0], '0x1b': [1, 'DCX\tD', 0], '0x1c': [1, 'INR\tE', 0], '0x1d': [1, 'DCR\tE', 0], '0x1e': [2, 'MVI\tE,#$', 1], '0x1f': [1, 'RAR', 0], '0x20': [1, '20', 0], '0x21': [3, 'LXI\tH,#$', 1], '0x22': [3, 'SHLD\t$', 1], '0x23': [1, 'INX\tH', 0], '0x24': [1, 'INR\tH', 0], '0x25': [1, 'DCR\tH', 0], '0x26': [2, 'MVI\tH,#$', 1], '0x27': [1, 'DAA', 0], '0x28': [1, '28', 0], '0x29': [1, 'DAD\tH', 0], '0x2a': [3, 'LHLD\t$', 1], '0x2b': [1, 'DCX\tH', 0], '0x2c': [1, 'INR\tL', 0], '0x2d': [1, 'DCR\tL', 0], '0x2e': [2, 'MVI\tL,#$', 1], '0x2f': [1, 'CMA', 0], '0x30': [1, '30', 0], '0x31': [3, 'LXI\tSP,#$', 1], '0x32': [3, 'STA\t$', 1], '0x33': [1, 'INX\tSP', 0], '0x34': [1, 'INR\tM', 0], '0x35': [1, 'DCR\tM', 0], '0x36': [2, 'MVI\tM,#$', 1], '0x37': [1, 'STC', 0], '0x38': [1, '38', 0], '0x39': [1, 'DAD\tSP', 0], '0x3a': [3, 'LDA\t$', 1], '0x3b': [1, 'DCX\tSP', 0], '0x3c': [1, 'INR\tA', 0], '0x3d': [1, 'DCR\tA', 0], '0x3e': [2, 'MVI\tA,#$', 1], '0x3f': [1, 'CMC', 0], '0x40': [1, 'MOV\tB,B', 0], '0x41': [1, 'MOV\tB,C', 0], '0x42': [1, 'MOV\tB,D', 0], '0x43': [1, 'MOV\tB,E', 0], '0x44': [1, 'MOV\tB,H', 0], '0x45': [1, 'MOV\tB,L', 0], '0x46': [1, 'MOV\tB,M', 0], '0x47': [1, 'MOV\tB,A', 0], '0x48': [1, 'MOV\tC,B', 0], '0x49': [1, 'MOV\tC,C', 0], '0x4a': [1, 'MOV\tC,D', 0], '0x4b': [1, 'MOV\tC,E', 0], '0x4c': [1, 'MOV\tC,H', 0], '0x4d': [1, 'MOV\tC,L', 0], '0x4e': [1, 'MOV\tC,M', 0], '0x4f': [1, 'MOV\tC,A', 0], '0x50': [1, 'MOV\tD,B', 0], '0x51': [1, 'MOV\tD,C', 0], '0x52': [1, 'MOV\tD,D', 0], '0x53': [1, 'MOV\tD,E', 0], '0x54': [1, 'MOV\tD,H', 0], '0x55': [1, 'MOV\tD,L', 0], '0x56': [1, 'MOV\tD,M', 0], '0x57': [1, 'MOV\tD,A', 0], '0x58': [1, 'MOV\tE,B', 0], '0x59': [1, 'MOV\tE,C', 0], '0x5a': [1, 'MOV\tE,D', 0], '0x5b': [1, 'MOV\tE,E', 0], '0x5c': [1, 'MOV\tE,H', 0], '0x5d': [1, 'MOV\tE,L', 0], '0x5e': [1, 'MOV\tE,M', 0], '0x5f': [1, 'MOV\tE,A', 0], '0x60': [1, 'MOV\tH,B', 0], '0x61': [1, 'MOV\tH,C', 0], '0x62': [1, 'MOV\tH,D', 0], '0x63': [1, 'MOV\tH,E', 0], '0x64': [1, 'MOV\tH,H', 0], '0x65': [1, 'MOV\tH,L', 0], '0x66': [1, 'MOV\tH,M', 0], '0x67': [1, 'MOV\tH,A', 0], '0x68': [1, 'MOV\tL,B', 0], '0x69': [1, 'MOV\tL,C', 0], '0x6a': [1, 'MOV\tL,D', 0], '0x6b': [1, 'MOV\tL,E', 0], '0x6c': [1, 'MOV\tL,H', 0], '0x6d': [1, 'MOV\tL,L', 0], '0x6e': [1, 'MOV\tL,M', 0], '0x6f': [1, 'MOV\tL,A', 0], '0x70': [1, 'MOV\tM,B', 0], '0x71': [1, 'MOV\tM,C', 0], '0x72': [1, 'MOV\tM,D', 0], '0x73': [1, 'MOV\tM,E', 0], '0x74': [1, 'MOV\tM,H', 0], '0x75': [1, 'MOV\tM,L', 0], '0x76': [1, 'HLT', 0], '0x77': [1, 'MOV\tM,A', 0], '0x78': [1, 'MOV\tA,B', 0], '0x79': [1, 'MOV\tA,C', 0], '0x7a': [1, 'MOV\tA,D', 0], '0x7b': [1, 'MOV\tA,E', 0], '0x7c': [1, 'MOV\tA,H', 0], '0x7d': [1, 'MOV\tA,L', 0], '0x7e': [1, 'MOV\tA,M', 0], '0x7f': [1, 'MOV\tA,A', 0], '0x80': [1, 'ADD\tB', 0], '0x81': [1, 'ADD\tC', 0], '0x82': [1, 'ADD\tD', 0], '0x83': [1, 'ADD\tE', 0], '0x84': [1, 'ADD\tH', 0], '0x85': [1, 'ADD\tL', 0], '0x86': [1, 'ADD\tM', 0], '0x87': [1, 'ADD\tA', 0], '0x88': [1, 'ADC\tB', 0], '0x89': [1, 'ADC\tC', 0], '0x8a': [1, 'ADC\tD', 0], '0x8b': [1, 'ADC\tE', 0], '0x8c': [1, 'ADC\tH', 0], '0x8d': [1, 'ADC\tL', 0], '0x8e': [1, 'ADC\tM', 0], '0x8f': [1, 'ADC\tA', 0], '0x90': [1, 'SUB\tB', 0], '0x91': [1, 'SUB\tC', 0], '0x92': [1, 'SUB\tD', 0], '0x93': [1, 'SUB\tE', 0], '0x94': [1, 'SUB\tH', 0], '0x95': [1, 'SUB\tL', 0], '0x96': [1, 'SUB\tM', 0], '0x97': [1, 'SUB\tA', 0], '0x98': [1, 'SBB\tB', 0], '0x99': [1, 'SBB\tC', 0], '0x9a': [1, 'SBB\tD', 0], '0x9b': [1, 'SBB\tE', 0], '0x9c': [1, 'SBB\tH', 0], '0x9d': [1, 'SBB\tL', 0], '0x9e': [1, 'SBB\tM', 0], '0x9f': [1, 'SBB\tA', 0], '0xa0': [1, 'ANA\tB', 0], '0xa1': [1, 'ANA\tC', 0], '0xa2': [1, 'ANA\tD', 0], '0xa3': [1, 'ANA\tE', 0], '0xa4': [1, 'ANA\tH', 0], '0xa5': [1, 'ANA\tL', 0], '0xa6': [1, 'ANA\tM', 0], '0xa7': [1, 'ANA\tA', 0], '0xa8': [1, 'XRA\tB', 0], '0xa9': [1, 'XRA\tC', 0], '0xaa': [1, 'XRA\tD', 0], '0xab': [1, 'XRA\tE', 0], '0xac': [1, 'XRA\tH', 0], '0xad': [1, 'XRA\tL', 0], '0xae': [1, 'XRA\tM', 0], '0xaf': [1, 'XRA\tA', 0], '0xb0': [1, 'ORA\tB', 0], '0xb1': [1, 'ORA\tC', 0], '0xb2': [1, 'ORA\tD', 0], '0xb3': [1, 'ORA\tE', 0], '0xb4': [1, 'ORA\tH', 0], '0xb5': [1, 'ORA\tL', 0], '0xb6': [1, 'ORA\tM', 0], '0xb7': [1, 'ORA\tA', 0], '0xb8': [1, 'CMP\tB', 0], '0xb9': [1, 'CMP\tC', 0], '0xba': [1, 'CMP\tD', 0], '0xbb': [1, 'CMP\tE', 0], '0xbc': [1, 'CMP\tH', 0], '0xbd': [1, 'CMP\tL', 0], '0xbe': [1, 'CMP\tM', 0], '0xbf': [1, 'CMP\tA', 0], '0xc0': [1, 'RNZ', 0], '0xc1': [1, 'POP\tB', 0], '0xc2': [3, 'JNZ\t$', 1], '0xc3': [3, 'JMP\t$', 1], '0xc4': [3, 'CNZ\t$', 1], '0xc5': [1, 'PUSH\tB', 0], '0xc6': [2, 'ADI\t#$', 1], '0xc7': [1, 'RST\t0', 0], '0xc8': [1, 'RZ', 0], '0xc9': [1, 'RET', 0], '0xca': [3, 'JZ\t$', 1], '0xcb': [1, 'cb', 0], '0xcc': [3, 'CZ\t$', 1], '0xcd': [3, 'CALL\t$', 1], '0xce': [2, 'ACI\t#$', 1], '0xcf': [1, 'RST\t1', 0], '0xd0': [1, 'RNC', 0], '0xd1': [1, 'POP\tD', 0], '0xd2': [3, 'JNC\t$', 1], '0xd3': [2, 'OUT\t#$', 1], '0xd4': [3, 'CNC\t$', 1], '0xd5': [1, 'PUSH\tD', 0], '0xd6': [2, 'SUI\t#$', 1], '0xd7': [1, 'RST\t2', 0], '0xd8': [1, 'RC', 0], '0xd9': [1, 'd9', 0], '0xda': [3, 'JC\t$', 1], '0xdb': [2, 'IN\t#$', 1], '0xdc': [3, 'CC\t$', 1], '0xdd': [1, 'dd', 0], '0xde': [2, 'SBI\t#$', 1], '0xdf': [1, 'RST\t3', 0], '0xe0': [1, 'RPO', 0], '0xe1': [1, 'POP\tH', 0], '0xe2': [3, 'JPO\t$', 1], '0xe3': [1, 'XTHL', 0], '0xe4': [3, 'CPO\t$', 1], '0xe5': [1, 'PUSH\tH', 0], '0xe6': [2, 'ANI\t#$', 1], '0xe7': [1, 'RST\t4', 0], '0xe8': [1, 'RPE', 0], '0xe9': [1, 'PCHL', 0], '0xea': [3, 'JPE\t$', 1], '0xeb': [1, 'XCHG', 0], '0xec': [3, 'CPE\t$', 1], '0xed': [1, 'ed', 0], '0xee': [2, 'XRI\t#$', 1], '0xef': [1, 'RST\t5', 0], '0xf0': [1, 'RP', 0], '0xf1': [1, 'POP\tPSW', 0], '0xf2': [3, 'JP\t$', 1], '0xf3': [1, 'DI', 0], '0xf4': [3, 'CP\t$', 1], '0xf5': [1, 'PUSH\tPSW', 0], '0xf6': [2, 'ORI\t#$', 1], '0xf7': [1, 'RST\t6', 0], '0xf8': [1, 'RM', 0], '0xf9': [1, 'SPHL', 0], '0xfa': [3, 'JM\t$', 1], '0xfb': [1, 'EI', 0], '0xfc': [3, 'CM\t$', 1], '0xfd': [1, 'fd', 0], '0xfe': [2, 'CPI\t#$', 1], '0xff': [1, 'RST\t7', 0]}
#!/usr/bin/python #Configuration file for run_experiments.py istc_uname = 'rhardin' # ISTC Machines ranked by clock skew istc_machines=[ #GOOD "istc1", "istc3", #"istc4", "istc6", "istc8", #OK "istc7", "istc9", "istc10", "istc13", #BAD "istc11", "istc12", "istc2", "istc5", ] vcloud_uname = 'centos' #identity = "/usr0/home/dvanaken/.ssh/id_rsa_vcloud" # vcloud_machines = [ # "146", # "147" # ] vcloud_machines = [ "204", "205", "206", "207", "208", "209", "210", "211", "212", "213", "214", "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "202", "203", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253", "111", "113", "114", "115", "116", "117", "143", "144", "145", "146", "147", "148" ] local_uname = 'centos' local_machines = [ "146", "147" ]
istc_uname = 'rhardin' istc_machines = ['istc1', 'istc3', 'istc6', 'istc8', 'istc7', 'istc9', 'istc10', 'istc13', 'istc11', 'istc12', 'istc2', 'istc5'] vcloud_uname = 'centos' vcloud_machines = ['204', '205', '206', '207', '208', '209', '210', '211', '212', '213', '214', '215', '216', '217', '218', '219', '220', '221', '222', '223', '224', '225', '226', '227', '228', '229', '230', '202', '203', '231', '232', '233', '234', '235', '236', '237', '238', '239', '240', '241', '242', '243', '244', '245', '246', '247', '248', '249', '250', '251', '252', '253', '111', '113', '114', '115', '116', '117', '143', '144', '145', '146', '147', '148'] local_uname = 'centos' local_machines = ['146', '147']
"""Top-level package for Covid Vision.""" __author__ = """Edson Cavalcanti Neto""" __email__ = 'profedsoncavalcanti@gmail.com' __version__ = '0.1.0'
"""Top-level package for Covid Vision.""" __author__ = 'Edson Cavalcanti Neto' __email__ = 'profedsoncavalcanti@gmail.com' __version__ = '0.1.0'
#!/usr/bin/env python #-*- coding: utf-8 -*- #This software is distributed under the Creative Commons license (CC0) version 1.0. A copy of this license should have been distributed with this software. #The license can also be read online: <https://creativecommons.org/publicdomain/zero/1.0/>. If this online license differs from the license provided with this software, the license provided with this software should be applied. """ Defines a class of exceptions used to denote a false state of being for configuration. """ class ConfigurationError(Exception): """ This exception denotes that something went wrong in the configuration. It is mostly a marker class, but also provides the type of configuration in which something went wrong. """ def __init__(self, message, configuration_type): """ Creates a new ConfigurationError. :param message: The message describing the error that occurred. :param configuration_type: The configuration type with which the error occurred. """ #Prepend the configuration type before the error message. super(ConfigurationError, self).__init__("{configuration_type}: {message}".format(configuration_type=configuration_type, message=message)) self.configuration_type = configuration_type #Also store it here for debugging purposes.
""" Defines a class of exceptions used to denote a false state of being for configuration. """ class Configurationerror(Exception): """ This exception denotes that something went wrong in the configuration. It is mostly a marker class, but also provides the type of configuration in which something went wrong. """ def __init__(self, message, configuration_type): """ Creates a new ConfigurationError. :param message: The message describing the error that occurred. :param configuration_type: The configuration type with which the error occurred. """ super(ConfigurationError, self).__init__('{configuration_type}: {message}'.format(configuration_type=configuration_type, message=message)) self.configuration_type = configuration_type
class Solution: def maxScore(self, cardPoints: List[int], k: int) -> int: max_sum = sum(cardPoints[:k]) cur_sum = max_sum for i in range(k): cur_sum = cur_sum - cardPoints[k-1-i] + cardPoints[-1*i-1] max_sum = max(max_sum, cur_sum) return max_sum
class Solution: def max_score(self, cardPoints: List[int], k: int) -> int: max_sum = sum(cardPoints[:k]) cur_sum = max_sum for i in range(k): cur_sum = cur_sum - cardPoints[k - 1 - i] + cardPoints[-1 * i - 1] max_sum = max(max_sum, cur_sum) return max_sum
# -*- coding: utf-8 -*- """ Created on Fri Mar 5 14:51:57 2021 @author: caear """ class inSet(object): """An inSet is a set of integers The value is represented by a list of ints, self.vals. Each int in the set occurs in self.vals exactly once.""" def __init__(self): """Create an empty set of integers""" self.vals = [] def insert(self, e): """Assumes e is an integer and inserts e into self""" if not e in self.vals: self.vals.append(e) def member(self, e): """Assumes e is an integer Return True if e is in self, and False otherwise""" return e in self.vals def remove(self, e): """Assumes e is an integer and removes e from self Raises ValueError if e is not in self""" try: self.vals.remove(e) except: raise ValueError(str(e) + ' not found') def __str__(self): """Return a string representation of self""" self.vals.sort() result = '' for e in self.vals: result += str(e) + ',' return '{' + result[:-1] + '}'
""" Created on Fri Mar 5 14:51:57 2021 @author: caear """ class Inset(object): """An inSet is a set of integers The value is represented by a list of ints, self.vals. Each int in the set occurs in self.vals exactly once.""" def __init__(self): """Create an empty set of integers""" self.vals = [] def insert(self, e): """Assumes e is an integer and inserts e into self""" if not e in self.vals: self.vals.append(e) def member(self, e): """Assumes e is an integer Return True if e is in self, and False otherwise""" return e in self.vals def remove(self, e): """Assumes e is an integer and removes e from self Raises ValueError if e is not in self""" try: self.vals.remove(e) except: raise value_error(str(e) + ' not found') def __str__(self): """Return a string representation of self""" self.vals.sort() result = '' for e in self.vals: result += str(e) + ',' return '{' + result[:-1] + '}'
NON_MODIFIER_SCOPES = { 'variable': 'variable.other.lsp', 'parameter': 'variable.parameter.lsp', 'function': 'variable.function.lsp', 'method': 'variable.function.lsp', 'property': 'variable.other.member.lsp', 'class': 'support.type.lsp', 'enum': 'variable.enum.lsp', 'enumMember': 'constant.other.enum.lsp', 'type': 'storage.type.lsp', 'macro': 'variable.other.constant.lsp', 'namespace': 'variable.other.namespace.lsp', 'typeParameter': 'variable.parameter.generic.lsp', 'comment': 'comment.block.documentation.lsp', 'dependent': '', 'concept': '', 'module': '', 'magicFunction': '', 'selfParameter': '', } DECLARATION_SCOPES = { 'namespace': 'entity.name.namespace.lsp', 'type': 'entity.name.type.lsp', 'class': 'entity.name.class.lsp', 'enum': 'entity.name.enum.lsp', 'interface': 'entity.name.interface.lsp', 'struct': 'entity.name.struct.lsp', 'function': 'entity.name.function.lsp', 'method': 'entity.name.function.lsp', 'macro': 'entity.name.macro.lsp' } STATIC_SCOPES = NON_MODIFIER_SCOPES.copy() DEPRECATED_SCOPES = NON_MODIFIER_SCOPES.copy() ABSTRACT_SCOPES = NON_MODIFIER_SCOPES.copy() ASYNC_SCOPES = NON_MODIFIER_SCOPES.copy() MODIFICATION_SCOPES = NON_MODIFIER_SCOPES.copy() DEFAULT_LIB_SCOPES = NON_MODIFIER_SCOPES.copy() [NON_MODIFIER_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.lsp'}) for k, v in NON_MODIFIER_SCOPES.items()] [DECLARATION_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.declaration.lsp'}) for k, v in DECLARATION_SCOPES.items()] [STATIC_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.static.lsp'}) for k, v in STATIC_SCOPES.items()] [DEPRECATED_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.deprecated.lsp'}) for k, v in DEPRECATED_SCOPES.items()] [ABSTRACT_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.abstract.lsp'}) for k, v in ABSTRACT_SCOPES.items()] [ASYNC_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.async.lsp'}) for k, v in ASYNC_SCOPES.items()] [MODIFICATION_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.modification.lsp'}) for k, v in MODIFICATION_SCOPES.items()] [DEFAULT_LIB_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.defaultLibrary.lsp'}) for k, v in DEFAULT_LIB_SCOPES.items()] SEMANTIC_SCOPES = { '': NON_MODIFIER_SCOPES, # if no modifiers are provided "declaration": DECLARATION_SCOPES, "definition": DECLARATION_SCOPES, "readonly": {'variable': 'constant.other.lsp, meta.semantic-token.variable.readonly.lsp'}, "static": STATIC_SCOPES, # these are temporary, should be filled with real scopes "deprecated": DEPRECATED_SCOPES, "abstract": ABSTRACT_SCOPES, "async": ASYNC_SCOPES, "modification": MODIFICATION_SCOPES, "documentation": {'comment': 'comment.block.documentation'}, "defaultLibrary": DEFAULT_LIB_SCOPES } def get_semantic_scope_from_modifier(encoded_token: list, semantic_tokens_legends: dict) -> str: token_int = encoded_token[3] modifier_int = encoded_token[4] token_type = semantic_tokens_legends['tokenTypes'][token_int] if not modifier_int: try: return(SEMANTIC_SCOPES[''][token_type]) except KeyError: pass # print('scope not defined for tokenType: ', token_type) modifier_binary = [int(x) for x in reversed(bin(modifier_int)[2:])] modifiers = [semantic_tokens_legends['tokenModifiers'][i] for i in range(len(modifier_binary)) if i] # print('tokenType: ' + token_type + '-- modifiers: ',modifiers) scopes = [] for modifier in modifiers: scope = None try: scope = SEMANTIC_SCOPES[modifier][token_type] except KeyError: pass # print('scope not defined for modifier/tokenType: ', modifier+'/'+token_type) if scope and scope not in scopes: scopes.append(scope) if not scopes: try: return(SEMANTIC_SCOPES[''][token_type]) except KeyError: pass # print('scope not defined for tokenType: ', token_type) else: return ', '.join(scopes) return ''
non_modifier_scopes = {'variable': 'variable.other.lsp', 'parameter': 'variable.parameter.lsp', 'function': 'variable.function.lsp', 'method': 'variable.function.lsp', 'property': 'variable.other.member.lsp', 'class': 'support.type.lsp', 'enum': 'variable.enum.lsp', 'enumMember': 'constant.other.enum.lsp', 'type': 'storage.type.lsp', 'macro': 'variable.other.constant.lsp', 'namespace': 'variable.other.namespace.lsp', 'typeParameter': 'variable.parameter.generic.lsp', 'comment': 'comment.block.documentation.lsp', 'dependent': '', 'concept': '', 'module': '', 'magicFunction': '', 'selfParameter': ''} declaration_scopes = {'namespace': 'entity.name.namespace.lsp', 'type': 'entity.name.type.lsp', 'class': 'entity.name.class.lsp', 'enum': 'entity.name.enum.lsp', 'interface': 'entity.name.interface.lsp', 'struct': 'entity.name.struct.lsp', 'function': 'entity.name.function.lsp', 'method': 'entity.name.function.lsp', 'macro': 'entity.name.macro.lsp'} static_scopes = NON_MODIFIER_SCOPES.copy() deprecated_scopes = NON_MODIFIER_SCOPES.copy() abstract_scopes = NON_MODIFIER_SCOPES.copy() async_scopes = NON_MODIFIER_SCOPES.copy() modification_scopes = NON_MODIFIER_SCOPES.copy() default_lib_scopes = NON_MODIFIER_SCOPES.copy() [NON_MODIFIER_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.lsp'}) for (k, v) in NON_MODIFIER_SCOPES.items()] [DECLARATION_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.declaration.lsp'}) for (k, v) in DECLARATION_SCOPES.items()] [STATIC_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.static.lsp'}) for (k, v) in STATIC_SCOPES.items()] [DEPRECATED_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.deprecated.lsp'}) for (k, v) in DEPRECATED_SCOPES.items()] [ABSTRACT_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.abstract.lsp'}) for (k, v) in ABSTRACT_SCOPES.items()] [ASYNC_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.async.lsp'}) for (k, v) in ASYNC_SCOPES.items()] [MODIFICATION_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.modification.lsp'}) for (k, v) in MODIFICATION_SCOPES.items()] [DEFAULT_LIB_SCOPES.update({k: v + ' meta.semantic-token.' + k + '.defaultLibrary.lsp'}) for (k, v) in DEFAULT_LIB_SCOPES.items()] semantic_scopes = {'': NON_MODIFIER_SCOPES, 'declaration': DECLARATION_SCOPES, 'definition': DECLARATION_SCOPES, 'readonly': {'variable': 'constant.other.lsp, meta.semantic-token.variable.readonly.lsp'}, 'static': STATIC_SCOPES, 'deprecated': DEPRECATED_SCOPES, 'abstract': ABSTRACT_SCOPES, 'async': ASYNC_SCOPES, 'modification': MODIFICATION_SCOPES, 'documentation': {'comment': 'comment.block.documentation'}, 'defaultLibrary': DEFAULT_LIB_SCOPES} def get_semantic_scope_from_modifier(encoded_token: list, semantic_tokens_legends: dict) -> str: token_int = encoded_token[3] modifier_int = encoded_token[4] token_type = semantic_tokens_legends['tokenTypes'][token_int] if not modifier_int: try: return SEMANTIC_SCOPES[''][token_type] except KeyError: pass modifier_binary = [int(x) for x in reversed(bin(modifier_int)[2:])] modifiers = [semantic_tokens_legends['tokenModifiers'][i] for i in range(len(modifier_binary)) if i] scopes = [] for modifier in modifiers: scope = None try: scope = SEMANTIC_SCOPES[modifier][token_type] except KeyError: pass if scope and scope not in scopes: scopes.append(scope) if not scopes: try: return SEMANTIC_SCOPES[''][token_type] except KeyError: pass else: return ', '.join(scopes) return ''
class Crypt: def __init__(self, primesAlgorithm): self.primes = primesAlgorithm def isPrime(self, n): return self.primes.isPrime(n); def previousPrime(self, n): while (n > 1): n -= 1 if self.primes.isPrime(n): return n def nextPrime(self, n): while (True): n += 1 if self.primes.isPrime(n): return n def nthPrimeAfterNumber(self, skip, start): number = start for i in range(skip): number = self.nextPrime(number) return number
class Crypt: def __init__(self, primesAlgorithm): self.primes = primesAlgorithm def is_prime(self, n): return self.primes.isPrime(n) def previous_prime(self, n): while n > 1: n -= 1 if self.primes.isPrime(n): return n def next_prime(self, n): while True: n += 1 if self.primes.isPrime(n): return n def nth_prime_after_number(self, skip, start): number = start for i in range(skip): number = self.nextPrime(number) return number
# Python - 3.6.0 Test.it('Basic tests') Test.assert_equals(odd_ball(['even', 4, 'even', 7, 'even', 55, 'even', 6, 'even', 10, 'odd', 3, 'even']), True) Test.assert_equals(odd_ball(['even', 4, 'even', 7, 'even', 55, 'even', 6, 'even', 9, 'odd', 3, 'even']), False) Test.assert_equals(odd_ball(['even', 10, 'odd', 2, 'even']), True)
Test.it('Basic tests') Test.assert_equals(odd_ball(['even', 4, 'even', 7, 'even', 55, 'even', 6, 'even', 10, 'odd', 3, 'even']), True) Test.assert_equals(odd_ball(['even', 4, 'even', 7, 'even', 55, 'even', 6, 'even', 9, 'odd', 3, 'even']), False) Test.assert_equals(odd_ball(['even', 10, 'odd', 2, 'even']), True)
class Solution: def reverseString(self, s): """ :type s: str :rtype: str """ # return s[::-1] result = "" if not s: return result n = len(s) for i in range(n-1, -1, -1): result = result + (s[i]) return result
class Solution: def reverse_string(self, s): """ :type s: str :rtype: str """ result = '' if not s: return result n = len(s) for i in range(n - 1, -1, -1): result = result + s[i] return result
#crate lists with motorcycle brands to learn how to create, change and append #create a list motorcycles = ['honda','kawasaki','ducati','yamaha','suzuki','norton'] motorcycles_orig = motorcycles print(motorcycles) #change an item motorcycles[5] = 'harley davidson' print(motorcycles) #add an item motorcycles.append('norton') print(motorcycles) #build a list from scratch motorcycles = [] motorcycles.append('bmw') motorcycles.append('husqwarna') motorcycles.append('vespa') print(motorcycles) #insert an item in a list motorcycles.insert(0,'puch') print(motorcycles) #delete item in list based on position del motorcycles[2] print(motorcycles) #delete an item and keep the value for re-use print(motorcycles.pop(1)) print(motorcycles) #delete an item based on value is done with the remove() mothod motorcycles = motorcycles_orig print(motorcycles) motorcycles.remove('ducati') print(motorcycles)
motorcycles = ['honda', 'kawasaki', 'ducati', 'yamaha', 'suzuki', 'norton'] motorcycles_orig = motorcycles print(motorcycles) motorcycles[5] = 'harley davidson' print(motorcycles) motorcycles.append('norton') print(motorcycles) motorcycles = [] motorcycles.append('bmw') motorcycles.append('husqwarna') motorcycles.append('vespa') print(motorcycles) motorcycles.insert(0, 'puch') print(motorcycles) del motorcycles[2] print(motorcycles) print(motorcycles.pop(1)) print(motorcycles) motorcycles = motorcycles_orig print(motorcycles) motorcycles.remove('ducati') print(motorcycles)
"""Photos bundle entities module.""" class Photo: """Photo entity."""
"""Photos bundle entities module.""" class Photo: """Photo entity."""
def merge_adjacent_text_locations(text_locations): if len(text_locations) == 0: return [] current_low = text_locations[0][0] current_high = text_locations[0][1] output = [] for low, high in text_locations[1:]: if low <= current_high + 1: current_high = high else: output.append((current_low, current_high)) current_low = low current_high = high output.append((current_low, current_high)) return output
def merge_adjacent_text_locations(text_locations): if len(text_locations) == 0: return [] current_low = text_locations[0][0] current_high = text_locations[0][1] output = [] for (low, high) in text_locations[1:]: if low <= current_high + 1: current_high = high else: output.append((current_low, current_high)) current_low = low current_high = high output.append((current_low, current_high)) return output
""" Package for skvalidate commands. All modules in this folder are automatically loaded as commands available through `skvalidate`. """
""" Package for skvalidate commands. All modules in this folder are automatically loaded as commands available through `skvalidate`. """
# Copyright 2012 ThoughtWorks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. class ExecutingServiceConfigurator: def validate(self, service_name, service_definition, abs_path_to_conf, error_list): if not 'execute' in service_definition: error_list.append("Must specify an execute parameter for the command to run") return False return True def config(self, node, service_definition, service_to_dns): node.run_command(service_definition.execute)
class Executingserviceconfigurator: def validate(self, service_name, service_definition, abs_path_to_conf, error_list): if not 'execute' in service_definition: error_list.append('Must specify an execute parameter for the command to run') return False return True def config(self, node, service_definition, service_to_dns): node.run_command(service_definition.execute)
# https://open.kattis.com/problems/boundingrobots def walk_think(x, y, c, v): if c == 'u': return x, y + v if c == 'r': return x + v, y if c == 'd': return x, y - v return x - v, y def walk_actual(w, l, x, y, c, v): x, y = walk_think(x, y, c, v) return min(max(0, x), w - 1), min(max(0, y), l - 1) w, l = map(int, input().split()) while w != 0 and l != 0: n = int(input()) tx, ty, ax, ay = 0, 0, 0, 0 for _ in range(n): c, v = input().split() tx, ty = walk_think(tx, ty, c, int(v)) ax, ay = walk_actual(w, l, ax, ay, c, int(v)) print('Robot thinks %s %s' % (tx, ty)) print('Actually at %s %s' % (ax, ay)) print() w, l = map(int, input().split())
def walk_think(x, y, c, v): if c == 'u': return (x, y + v) if c == 'r': return (x + v, y) if c == 'd': return (x, y - v) return (x - v, y) def walk_actual(w, l, x, y, c, v): (x, y) = walk_think(x, y, c, v) return (min(max(0, x), w - 1), min(max(0, y), l - 1)) (w, l) = map(int, input().split()) while w != 0 and l != 0: n = int(input()) (tx, ty, ax, ay) = (0, 0, 0, 0) for _ in range(n): (c, v) = input().split() (tx, ty) = walk_think(tx, ty, c, int(v)) (ax, ay) = walk_actual(w, l, ax, ay, c, int(v)) print('Robot thinks %s %s' % (tx, ty)) print('Actually at %s %s' % (ax, ay)) print() (w, l) = map(int, input().split())
# test yield class Solution: def fibo(self, N): if N == 1 or N == 2: return 1 first = self.fibo(N-1) second = self.fibo(N-2) yield first + second test = Solution().fibo(3) next(test)
class Solution: def fibo(self, N): if N == 1 or N == 2: return 1 first = self.fibo(N - 1) second = self.fibo(N - 2) yield (first + second) test = solution().fibo(3) next(test)
def solution(A): # write your code in Python 3.6 length = len(A) next_high, next_low = [0] * length, [0] * length stack = [] first = [(number, i) for i, number in enumerate(A)] first.sort(key=lambda x: x[0]) print(first) for (number, i) in first: while stack and stack[-1] < i and A[stack[-1]] < number: next_high[stack.pop()] = i stack.append(i) stack = [] second = [(-number, i) for i, number in enumerate(A)] # second = first[::-1] second.sort(key=lambda x: x[0]) print(second) for number, i in second: while stack and stack[-1] < i and A[stack[-1]] > -number: next_low[stack.pop()] = i stack.append(i) high, low = [0] * length, [0] * length high[-1] = 1 low[-1] = 1 for i in range(length - 1)[::-1]: high[i] = low[next_high[i]] low[i] = high[next_low[i]] print(high, low) return sum() print(solution([10, 13, 12, 14, 15])) print(solution([10, 11, 14, 11, 10]))
def solution(A): length = len(A) (next_high, next_low) = ([0] * length, [0] * length) stack = [] first = [(number, i) for (i, number) in enumerate(A)] first.sort(key=lambda x: x[0]) print(first) for (number, i) in first: while stack and stack[-1] < i and (A[stack[-1]] < number): next_high[stack.pop()] = i stack.append(i) stack = [] second = [(-number, i) for (i, number) in enumerate(A)] second.sort(key=lambda x: x[0]) print(second) for (number, i) in second: while stack and stack[-1] < i and (A[stack[-1]] > -number): next_low[stack.pop()] = i stack.append(i) (high, low) = ([0] * length, [0] * length) high[-1] = 1 low[-1] = 1 for i in range(length - 1)[::-1]: high[i] = low[next_high[i]] low[i] = high[next_low[i]] print(high, low) return sum() print(solution([10, 13, 12, 14, 15])) print(solution([10, 11, 14, 11, 10]))
# Your old mobile phone gets broken and so you want to purchase a new smartphone and decide to go through all the online websites to find out which dealer has the best offer for a particular model. You document the prices of N dealers. Dealer ids start from 0 and go up to N. Find out which dealer has the best price for you. N = int(input('')) array = list(map(int, input().split(' ')[:N])) min = array[0] result = 0 for index in range(1, N): if(min > array[index]): min = array[index] result = index print('Dealer'+str(result))
n = int(input('')) array = list(map(int, input().split(' ')[:N])) min = array[0] result = 0 for index in range(1, N): if min > array[index]: min = array[index] result = index print('Dealer' + str(result))
class Make(object): KEY = 'make' @staticmethod def addParserItems(subparsers): parser = subparsers.add_parser(Make.KEY, help='Process a makefile to carry out accel builds.') parser.add_argument('-j', '--cores', type=int, default=1, help='Number of cores allowed.') @staticmethod def fromArgs(args): return Make(args.cores) def __init__(self, cores): raise NotImplementedError
class Make(object): key = 'make' @staticmethod def add_parser_items(subparsers): parser = subparsers.add_parser(Make.KEY, help='Process a makefile to carry out accel builds.') parser.add_argument('-j', '--cores', type=int, default=1, help='Number of cores allowed.') @staticmethod def from_args(args): return make(args.cores) def __init__(self, cores): raise NotImplementedError
class MockFP16DeepSpeedZeroOptimizer: def __init__(self, optimizer): self.optimizer = optimizer def step(self, closure=None): self.optimizer.step() def _get_param_groups(self): return self.optimizer.param_groups def _set_param_groups(self, value): self.optimizer.param_groups = value param_groups = property(_get_param_groups, _set_param_groups)
class Mockfp16Deepspeedzerooptimizer: def __init__(self, optimizer): self.optimizer = optimizer def step(self, closure=None): self.optimizer.step() def _get_param_groups(self): return self.optimizer.param_groups def _set_param_groups(self, value): self.optimizer.param_groups = value param_groups = property(_get_param_groups, _set_param_groups)
# The file contains example SPARQL queries that populate SPARQL query editor example_query_1 = """# The query searches for all datasets that are licensed under the CC BY-NC-SA license. PREFIX sdo: <https://schema.org/> SELECT DISTINCT ?title ?license_name WHERE { ?dataset a sdo:Dataset; sdo:name ?title; sdo:license ?license. ?license sdo:name ?license_name. FILTER (?license_name = "CC BY-NC-SA"^^sdo:Text) } """ example_query_2 = """# The query searches for all datasets that are about Alzheimer's disease. PREFIX sdo: <https://schema.org/> SELECT DISTINCT ?dataset ?title ?about_name WHERE { ?dataset a sdo:Dataset; sdo:name ?title; sdo:about ?about. ?about sdo:name ?about_name. FILTER regex(lcase(str(?about_name)), "alzheimer", "i") } """ example_query_3 = """# The query searches for all datasets that have distribution in the MINC file format. PREFIX sdo: <https://schema.org/> PREFIX conp: <https://reservoir.global/v1/vocabs/Public/CONP/> SELECT DISTINCT ?dataset ?title ?format WHERE { ?dataset a sdo:Dataset; sdo:name ?title; sdo:distribution ?distribution. ?distribution conp:formats ?format. FILTER (regex(?format, "MINC", "i")) } """ example_query_4 = """# The query searches for datasets that have an authorization type set to "Public". PREFIX sdo: <https://schema.org/> PREFIX conp: <https://reservoir.global/v1/vocabs/Public/CONP/> SELECT DISTINCT ?dataset_name ?value WHERE { ?dataset a sdo:Dataset; sdo:name ?dataset_name; sdo:distribution ?distribution. ?distribution sdo:accessMode ?access_mode. ?access_mode conp:authorizations ?authorization. ?authorization sdo:value ?value. FILTER regex(lcase(str(?value)), "public", "i") } """ example_query_5 = """# The query returns a list of cited papers (including their doi) with datasets that cited them. PREFIX sdo: <https://schema.org/> SELECT DISTINCT ?citation_name ?doi (GROUP_CONCAT(DISTINCT ?title; separator=" | ") as ?datasets) (COUNT(DISTINCT ?title) as ?citation_count) WHERE { ?dataset a sdo:Dataset; sdo:name ?title; sdo:citation ?citation. ?citation sdo:identifier ?value; sdo:name ?citation_name. ?value sdo:identifier ?doi. } GROUP BY ?citation_name ?doi """
example_query_1 = '# The query searches for all datasets that are licensed under the CC BY-NC-SA license.\n\nPREFIX sdo: <https://schema.org/>\nSELECT DISTINCT ?title ?license_name WHERE {\n?dataset a sdo:Dataset;\n sdo:name ?title;\n sdo:license ?license.\n?license sdo:name ?license_name.\nFILTER (?license_name = "CC BY-NC-SA"^^sdo:Text)\n}\n' example_query_2 = '# The query searches for all datasets that are about Alzheimer\'s disease.\n\nPREFIX sdo: <https://schema.org/>\nSELECT DISTINCT ?dataset ?title ?about_name WHERE {\n?dataset a sdo:Dataset;\n sdo:name ?title;\n sdo:about ?about.\n?about sdo:name ?about_name. \nFILTER regex(lcase(str(?about_name)), "alzheimer", "i")\n}\n' example_query_3 = '# The query searches for all datasets that have distribution in the MINC file format.\n\nPREFIX sdo: <https://schema.org/>\nPREFIX conp: <https://reservoir.global/v1/vocabs/Public/CONP/>\nSELECT DISTINCT ?dataset ?title ?format WHERE {\n?dataset a sdo:Dataset;\n sdo:name ?title;\n sdo:distribution ?distribution.\n?distribution conp:formats ?format.\nFILTER (regex(?format, "MINC", "i"))\n}\n' example_query_4 = '# The query searches for datasets that have an authorization type set to "Public".\n\nPREFIX sdo: <https://schema.org/>\nPREFIX conp: <https://reservoir.global/v1/vocabs/Public/CONP/>\nSELECT DISTINCT ?dataset_name ?value WHERE {\n?dataset a sdo:Dataset;\n sdo:name ?dataset_name;\n sdo:distribution ?distribution.\n?distribution sdo:accessMode ?access_mode.\n?access_mode conp:authorizations ?authorization.\n?authorization sdo:value ?value.\nFILTER regex(lcase(str(?value)), "public", "i")\n}\n' example_query_5 = '# The query returns a list of cited papers (including their doi) with datasets that cited them.\n\nPREFIX sdo: <https://schema.org/>\nSELECT DISTINCT ?citation_name ?doi\n(GROUP_CONCAT(DISTINCT ?title; separator=" | ") as ?datasets) \n(COUNT(DISTINCT ?title) as ?citation_count) WHERE {\n?dataset a sdo:Dataset;\n sdo:name ?title;\n sdo:citation ?citation.\n?citation sdo:identifier ?value;\n sdo:name ?citation_name.\n?value sdo:identifier ?doi.\n}\nGROUP BY ?citation_name ?doi\n'
#!/usr/bin/env python3 N = [int(_) for _ in input().split()] x = N[0] y = N[1] if x % y == 0: print(-1) else: for i in range(2, 1000000000): # for i in range(2, 1000): a = x * i # print(a, x, i) if a % y == 0: continue print(a) break
n = [int(_) for _ in input().split()] x = N[0] y = N[1] if x % y == 0: print(-1) else: for i in range(2, 1000000000): a = x * i if a % y == 0: continue print(a) break
DEPS = [ 'recipe_engine/json', 'recipe_engine/python', 'recipe_engine/raw_io', 'recipe_engine/step', 'depot_tools/tryserver', ]
deps = ['recipe_engine/json', 'recipe_engine/python', 'recipe_engine/raw_io', 'recipe_engine/step', 'depot_tools/tryserver']
"""Settings for the ``admin_tools`` app.""" ADMIN_TOOLS_MENU = 'multilingual_project_blog.admin_menu.CustomMenu' ADMIN_TOOLS_INDEX_DASHBOARD = 'multilingual_project_blog.admin_dashboard.CustomIndexDashboard' # NOPEP8 ADMIN_TOOLS_APP_INDEX_DASHBOARD = 'multilingual_project_blog.admin_dashboard.CustomAppIndexDashboard' # NOPEP8
"""Settings for the ``admin_tools`` app.""" admin_tools_menu = 'multilingual_project_blog.admin_menu.CustomMenu' admin_tools_index_dashboard = 'multilingual_project_blog.admin_dashboard.CustomIndexDashboard' admin_tools_app_index_dashboard = 'multilingual_project_blog.admin_dashboard.CustomAppIndexDashboard'
#!/usr/local/bin/python # -*- coding: utf-8 -*- #################################################################### # Animus AI Developed by Kuldeep Paul Dated 13th March 2018 # #################################################################### #EchoSkill.py def echo(Message): return Message ###################################################################### #System wide voice implementation through the echo skill in Animus AI# #Copyright Kuldeep Paul # ######################################################################
def echo(Message): return Message
"""ex088 - Boletim com listas compostas Crie um programa que leia nome e duas notas de varios alunos e guarde tudo em uma lista composta. No final, mostre um boletim contendo a media de cada um e permita que o usuario possa mostar as notas de cada aluno individualmente""" ficha = [] while True: nome = str(input("Nome: ")) nota1 = float(input("Nota 1: ")) nota2 = float(input("Nota 2: ")) media = (nota1 + nota2) / 2 ficha.append([nome, [nota1, nota2], media]) while True: resp = str(input("Quer continuar? [S/N] ")).upper()[0] if resp in "NS": break else: print("INVALIDO") if resp == "N": break print("-=" * 30) print("{:<4}{:<10}{:>8}".format("No.", "NOME", "MEDIA")) print("-" * 26) for i, a in enumerate(ficha): print("{:<4}{:<10}{:>8.1f}".format(i, a[0], a[2])) while True: print("-" * 35) opc = int(input("Mostar notas de qual aluno? (999 interrope): ")) if opc == 999: break if opc <= len(ficha) - 1: print("Notas de {} sao {}".format(ficha[opc][0], ficha[opc][1])) print("<<< VOLTE SEMPRE >>>")
"""ex088 - Boletim com listas compostas Crie um programa que leia nome e duas notas de varios alunos e guarde tudo em uma lista composta. No final, mostre um boletim contendo a media de cada um e permita que o usuario possa mostar as notas de cada aluno individualmente""" ficha = [] while True: nome = str(input('Nome: ')) nota1 = float(input('Nota 1: ')) nota2 = float(input('Nota 2: ')) media = (nota1 + nota2) / 2 ficha.append([nome, [nota1, nota2], media]) while True: resp = str(input('Quer continuar? [S/N] ')).upper()[0] if resp in 'NS': break else: print('INVALIDO') if resp == 'N': break print('-=' * 30) print('{:<4}{:<10}{:>8}'.format('No.', 'NOME', 'MEDIA')) print('-' * 26) for (i, a) in enumerate(ficha): print('{:<4}{:<10}{:>8.1f}'.format(i, a[0], a[2])) while True: print('-' * 35) opc = int(input('Mostar notas de qual aluno? (999 interrope): ')) if opc == 999: break if opc <= len(ficha) - 1: print('Notas de {} sao {}'.format(ficha[opc][0], ficha[opc][1])) print('<<< VOLTE SEMPRE >>>')
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @author : microfat # @time : 01/26/21 20:40:02 # @File : production_design.py def blueprint(cache, material): return "",{}
def blueprint(cache, material): return ('', {})
''' This component inverses pixel colours in a channel''' class Component(): def __init__(self): self._components = [] self.name = "inverse" def components(self): # Components are tuples with the data (id, title, init, min, max, type, is_headsup) self._components.append( (1, "R Inverse", False, 0, 0, 7, True) ) self._components.append( (2, "G Inverse", False, 0, 0, 7, True) ) self._components.append( (3, "B Inverse", False, 0, 0, 7, True) ) #TODO: Add some cool multichannel inversing. def run(self, image_data, component_values, width, height): is_r_inv = component_values[0] is_g_inv = component_values[1] is_b_inv = component_values[2] for index in range(0, len(image_data)): r_val = (255 - image_data[index][0]) if is_r_inv else image_data[index][0] g_val = (255 - image_data[index][1]) if is_g_inv else image_data[index][1] b_val = (255 - image_data[index][2]) if is_b_inv else image_data[index][2] image_data[index] = [r_val, g_val, b_val, 255] return image_data # This must return image_data.
""" This component inverses pixel colours in a channel""" class Component: def __init__(self): self._components = [] self.name = 'inverse' def components(self): self._components.append((1, 'R Inverse', False, 0, 0, 7, True)) self._components.append((2, 'G Inverse', False, 0, 0, 7, True)) self._components.append((3, 'B Inverse', False, 0, 0, 7, True)) def run(self, image_data, component_values, width, height): is_r_inv = component_values[0] is_g_inv = component_values[1] is_b_inv = component_values[2] for index in range(0, len(image_data)): r_val = 255 - image_data[index][0] if is_r_inv else image_data[index][0] g_val = 255 - image_data[index][1] if is_g_inv else image_data[index][1] b_val = 255 - image_data[index][2] if is_b_inv else image_data[index][2] image_data[index] = [r_val, g_val, b_val, 255] return image_data
class aluno: def __init__(self,matricula,nome,notas): self.matricula = matricula self.nome = nome self.notas = notas def imprimir(self): print(f"\nmatricula: {self.matricula}") print(f"nome: {self.nome}") print(f"notas: {self.notas}\n") class turma: def __init__(self): self.turma = {} def insere_aluno(self,matricula,nome,notas): if(self.busca(matricula)): return False else: p = aluno(matricula, nome, notas) self.turma[matricula] = p return True def imprimir_alunos(self): for v in self.turma.values(): v.imprimir() def media(self,notas): #recebe as medias de um aluno inserido no dicionario media = (notas[0]*2 + notas[1]*3 + notas[2] * 5)/(2+3+5) return media def final(self,aluno): #recebe um aluno inserido no dicionario F = 0 M = self.media(aluno.notas) if(M < 7): F = 14-M return F def encerramento_turma(self): self.L_alunos = [] if( self.tem_aluno()): for v in self.turma.values(): aux = [] m = self.media(v.notas) aux.append(v.nome) aux.append(m) self.L_alunos.append(aux) return True return False def listagem_alunos(self): if (self.tem_aluno()): for i in self.L_alunos: print(f"\nnome do aluno: {i[0]}") print(f"media: {i[1]}\n") return True return False def busca(self,mat): if mat in self.turma.keys(): return True else: return False def tem_aluno(self): if len(self.turma) > 0: return True return False
class Aluno: def __init__(self, matricula, nome, notas): self.matricula = matricula self.nome = nome self.notas = notas def imprimir(self): print(f'\nmatricula: {self.matricula}') print(f'nome: {self.nome}') print(f'notas: {self.notas}\n') class Turma: def __init__(self): self.turma = {} def insere_aluno(self, matricula, nome, notas): if self.busca(matricula): return False else: p = aluno(matricula, nome, notas) self.turma[matricula] = p return True def imprimir_alunos(self): for v in self.turma.values(): v.imprimir() def media(self, notas): media = (notas[0] * 2 + notas[1] * 3 + notas[2] * 5) / (2 + 3 + 5) return media def final(self, aluno): f = 0 m = self.media(aluno.notas) if M < 7: f = 14 - M return F def encerramento_turma(self): self.L_alunos = [] if self.tem_aluno(): for v in self.turma.values(): aux = [] m = self.media(v.notas) aux.append(v.nome) aux.append(m) self.L_alunos.append(aux) return True return False def listagem_alunos(self): if self.tem_aluno(): for i in self.L_alunos: print(f'\nnome do aluno: {i[0]}') print(f'media: {i[1]}\n') return True return False def busca(self, mat): if mat in self.turma.keys(): return True else: return False def tem_aluno(self): if len(self.turma) > 0: return True return False
def qs(arr): if len(arr) <= 1: return arr smaller = [] larger = [] pivot = 0 pivot_element = arr[pivot] for i in range(1, len(arr)): if arr[i] > pivot_element: larger.append(arr[i]) else: smaller.append(arr[i]) sorted_smaller = qs(smaller) sorted_larger = qs(larger) return sorted_smaller + [pivot_element] + sorted_larger
def qs(arr): if len(arr) <= 1: return arr smaller = [] larger = [] pivot = 0 pivot_element = arr[pivot] for i in range(1, len(arr)): if arr[i] > pivot_element: larger.append(arr[i]) else: smaller.append(arr[i]) sorted_smaller = qs(smaller) sorted_larger = qs(larger) return sorted_smaller + [pivot_element] + sorted_larger
def rename(names, input_div, output_div): return [name.replace(inputdiv,output_div) for name in names] def c_rename(names): newnames = [] for name in names: name = name.split("_") newname = [name[0]] newname.extend(name[1].split("-")) newnames.append("_".join(newname)) return newnames
def rename(names, input_div, output_div): return [name.replace(inputdiv, output_div) for name in names] def c_rename(names): newnames = [] for name in names: name = name.split('_') newname = [name[0]] newname.extend(name[1].split('-')) newnames.append('_'.join(newname)) return newnames
# Actually generated with an internal hamming distance of 3, isolation of 2 HAMMING_WEIGHT = 1 DEFAULT_HEADER_CODE = (0, 41) DEFAULT_MESSAGE_CODE = (54, 31) class Code(object): def __init__(self, code, hamming_weight): # Naively assume that all codes are binary assert len(code) == 2, "Non binary code" self.code = code self.lookup_tables = self.setup_lookup_tables(code, hamming_weight) def lookup(self, k): return self.lookup_tables[k] @staticmethod def setup_lookup_tables(code, hamming_weight): lookup = {} if hamming_weight != 1: raise Exception("Don't really have a good story for >1 hamming weights right now") for value, codepoint in enumerate(code): # Insert the raw keys lookup[codepoint] = value # Setup a lookup for the hammed keys for weight in range(hamming_weight): for bit in range(0,8): lookup[codepoint ^ 1 << bit] = value return lookup DEFAULT_LOOKUP = { "message": Code(DEFAULT_MESSAGE_CODE, 1), "header": Code(DEFAULT_HEADER_CODE, 1) } class UnknownCodeCategory(Exception): pass def chunks(length, buf): i = 0 buf_length = len(buf) while i < buf_length: yield buf[i:i+length] i+=length class UnambiguousEncoder(object): def __init__(self, codes=DEFAULT_LOOKUP): self.codes = codes def encode(self, cat, buf): """ Encodes from LSB""" if cat not in self.codes: raise UnknownCodeCategory("Unknown code category: %s" % cat) code = self.codes[cat] out = [] bit = 1 for i in buf: # Map the bits onto the binary code for bit in range(8): f = i & (1 << bit) idx = 1 if f else 0 val = code.code[idx] out.append(val) return out def decode(self, cat, buf): if cat not in self.codes: raise UnknownCodeCategory("Unknown code category: %s" % cat) code = self.codes[cat] out = [] values = chunks(8, buf) # Slice off 8 byte chunks because we're encoding from LSB for chunk in values: bit = 0 this = 0 for byt in chunk: if code.lookup(byt): this |= (1 << bit) bit += 1 out.append(this) return out
hamming_weight = 1 default_header_code = (0, 41) default_message_code = (54, 31) class Code(object): def __init__(self, code, hamming_weight): assert len(code) == 2, 'Non binary code' self.code = code self.lookup_tables = self.setup_lookup_tables(code, hamming_weight) def lookup(self, k): return self.lookup_tables[k] @staticmethod def setup_lookup_tables(code, hamming_weight): lookup = {} if hamming_weight != 1: raise exception("Don't really have a good story for >1 hamming weights right now") for (value, codepoint) in enumerate(code): lookup[codepoint] = value for weight in range(hamming_weight): for bit in range(0, 8): lookup[codepoint ^ 1 << bit] = value return lookup default_lookup = {'message': code(DEFAULT_MESSAGE_CODE, 1), 'header': code(DEFAULT_HEADER_CODE, 1)} class Unknowncodecategory(Exception): pass def chunks(length, buf): i = 0 buf_length = len(buf) while i < buf_length: yield buf[i:i + length] i += length class Unambiguousencoder(object): def __init__(self, codes=DEFAULT_LOOKUP): self.codes = codes def encode(self, cat, buf): """ Encodes from LSB""" if cat not in self.codes: raise unknown_code_category('Unknown code category: %s' % cat) code = self.codes[cat] out = [] bit = 1 for i in buf: for bit in range(8): f = i & 1 << bit idx = 1 if f else 0 val = code.code[idx] out.append(val) return out def decode(self, cat, buf): if cat not in self.codes: raise unknown_code_category('Unknown code category: %s' % cat) code = self.codes[cat] out = [] values = chunks(8, buf) for chunk in values: bit = 0 this = 0 for byt in chunk: if code.lookup(byt): this |= 1 << bit bit += 1 out.append(this) return out
with open('input.txt') as f: chunks = list(map(lambda line: line.strip(), f.readlines())) mapper = { '(': ')', '[': ']', '{': '}', '<': '>' } error_score = { ')': 3, ']': 57, '}': 1197, '>': 25137 } def validate(line): stack = [] for ch in line: if ch in ['(', '[', '{', '<']: stack.append(ch) elif ch in [')', ']', '}', '>']: expect = mapper[stack.pop()] if ch != expect: return ch return stack res = 0 for line in chunks: result = validate(line) if isinstance(result, list): continue else: res += error_score[result] print(res)
with open('input.txt') as f: chunks = list(map(lambda line: line.strip(), f.readlines())) mapper = {'(': ')', '[': ']', '{': '}', '<': '>'} error_score = {')': 3, ']': 57, '}': 1197, '>': 25137} def validate(line): stack = [] for ch in line: if ch in ['(', '[', '{', '<']: stack.append(ch) elif ch in [')', ']', '}', '>']: expect = mapper[stack.pop()] if ch != expect: return ch return stack res = 0 for line in chunks: result = validate(line) if isinstance(result, list): continue else: res += error_score[result] print(res)
def Dict(a): b={} for x in a: b[x]=len(x) return b a=[] for x in range(int(input("Enter Limit:"))): a.append(input("Enter String:")) print (Dict(a))
def dict(a): b = {} for x in a: b[x] = len(x) return b a = [] for x in range(int(input('Enter Limit:'))): a.append(input('Enter String:')) print(dict(a))
PLUS, MINUS, NUM, EOF = "plus", "minus", "num", "eof" class Token: def __init__(self, token_type, value): self.token_type = token_type self.value = value def __str__(self): return "(type:{},value:{})".format(self.token_type, self.value) class Interpreter: def __init__(self, text): self.text = text self.pos = -1 self.curr_token = None self.curr_char = None def error(self, s): raise RuntimeError(s) def next_char(self): self.pos += 1 if self.pos >= len(self.text): self.curr_char = None return self.curr_char = self.text[self.pos] def back_char(self): self.pos -= 1 self.curr_char = self.text[self.pos] def next_token(self): if self.pos >= len(self.text): self.curr_token = Token(EOF, None) return self.next_char() if self.curr_char == "+": self.curr_token = Token(PLUS, None) return if self.curr_char == "-": self.curr_token = Token(MINUS, None) return val = "" while True: if not self.curr_char: break if self.curr_char.isdigit(): val += self.curr_char self.next_char() else: self.back_char() break if val: num = int(val) self.curr_token = Token(NUM, num) return self.error("No Token Left") def eat(self, token_type): if self.curr_token.token_type == token_type: self.next_token() else: self.error("syntax error") def expr(self): self.next_token() left = self.curr_token self.eat(NUM) sign = self.curr_token calc = None if sign.token_type == PLUS: self.eat(PLUS) calc = lambda x, y : x + y elif sign.token_type == MINUS: self.eat(MINUS) calc = lambda x, y : x - y else: self.error("sysntax error") right = self.curr_token self.eat(NUM) return calc(left.value, right.value) def main(): while True: try: text = input("expr> ") except Exception: print("EOF Error") if (text == "q"): print("bye bye") break i = Interpreter(text) print(i.expr()) if __name__ == "__main__": main()
(plus, minus, num, eof) = ('plus', 'minus', 'num', 'eof') class Token: def __init__(self, token_type, value): self.token_type = token_type self.value = value def __str__(self): return '(type:{},value:{})'.format(self.token_type, self.value) class Interpreter: def __init__(self, text): self.text = text self.pos = -1 self.curr_token = None self.curr_char = None def error(self, s): raise runtime_error(s) def next_char(self): self.pos += 1 if self.pos >= len(self.text): self.curr_char = None return self.curr_char = self.text[self.pos] def back_char(self): self.pos -= 1 self.curr_char = self.text[self.pos] def next_token(self): if self.pos >= len(self.text): self.curr_token = token(EOF, None) return self.next_char() if self.curr_char == '+': self.curr_token = token(PLUS, None) return if self.curr_char == '-': self.curr_token = token(MINUS, None) return val = '' while True: if not self.curr_char: break if self.curr_char.isdigit(): val += self.curr_char self.next_char() else: self.back_char() break if val: num = int(val) self.curr_token = token(NUM, num) return self.error('No Token Left') def eat(self, token_type): if self.curr_token.token_type == token_type: self.next_token() else: self.error('syntax error') def expr(self): self.next_token() left = self.curr_token self.eat(NUM) sign = self.curr_token calc = None if sign.token_type == PLUS: self.eat(PLUS) calc = lambda x, y: x + y elif sign.token_type == MINUS: self.eat(MINUS) calc = lambda x, y: x - y else: self.error('sysntax error') right = self.curr_token self.eat(NUM) return calc(left.value, right.value) def main(): while True: try: text = input('expr> ') except Exception: print('EOF Error') if text == 'q': print('bye bye') break i = interpreter(text) print(i.expr()) if __name__ == '__main__': main()
class SPARQL: def __init__(self, raw_query, parser): self.raw_query = raw_query self.query, self.supported, self.uris = parser(raw_query) self.where_clause, self.where_clause_template = self.__extrat_where() def __extrat_where(self): WHERE = "WHERE" sparql_query = self.query.strip(" {};\t") idx = sparql_query.find(WHERE) where_clause_raw = sparql_query[idx + len(WHERE):].strip(" {}") where_clause_raw = [item.replace(".", "").strip(" .") for item in where_clause_raw.split(" ")] where_clause_raw = [item for item in where_clause_raw if item != ""] buffer = [] where_clause = [] for item in where_clause_raw: buffer.append(item) if len(buffer) == 3: where_clause.append(buffer) buffer = [] if len(buffer) > 0: where_clause.append(buffer) where_clause_template = " ".join([" ".join(item) for item in where_clause]) for uri in set(self.uris): where_clause_template = where_clause_template.replace(uri.uri, uri.uri_type) return where_clause, where_clause_template def query_features(self): features = {"boolean": ["ask "], "count": ["count("], "filter": ["filter("], "comparison": ["<= ", ">= ", " < ", " > "], "sort": ["order by"], "aggregate": ["max(", "min("] } output = set() if self.where_clause_template.count(" ") > 3: output.add("compound") else: output.add("single") generic_uris = set() for uri in self.uris: if uri.is_generic(): generic_uris.add(uri) if len(generic_uris) > 1: output.add("multivar") break if len(generic_uris) <= 1: output.add("singlevar") raw_query = self.raw_query.lower() for feature in features: for constraint in features[feature]: if constraint in raw_query: output.add(feature) return output def __eq__(self, other): if isinstance(other, SPARQL): mapping = {} for line in self.where_clause: found = False for other_line in other.where_clause: match = 0 mapping_buffer = mapping.copy() for i in range(len(line)): if line[i] == other_line[i]: match += 1 elif line[i].startswith("?") and other_line[i].startswith("?"): if line[i] not in mapping_buffer: mapping_buffer[line[i]] = other_line[i] match += 1 else: match += mapping_buffer[line[i]] == other_line[i] if match == len(line): found = True mapping = mapping_buffer break if not found: return False return True def __ne__(self, other): return not self == other def __str__(self): return self.query.encode("ascii", "ignore") # return self.query
class Sparql: def __init__(self, raw_query, parser): self.raw_query = raw_query (self.query, self.supported, self.uris) = parser(raw_query) (self.where_clause, self.where_clause_template) = self.__extrat_where() def __extrat_where(self): where = 'WHERE' sparql_query = self.query.strip(' {};\t') idx = sparql_query.find(WHERE) where_clause_raw = sparql_query[idx + len(WHERE):].strip(' {}') where_clause_raw = [item.replace('.', '').strip(' .') for item in where_clause_raw.split(' ')] where_clause_raw = [item for item in where_clause_raw if item != ''] buffer = [] where_clause = [] for item in where_clause_raw: buffer.append(item) if len(buffer) == 3: where_clause.append(buffer) buffer = [] if len(buffer) > 0: where_clause.append(buffer) where_clause_template = ' '.join([' '.join(item) for item in where_clause]) for uri in set(self.uris): where_clause_template = where_clause_template.replace(uri.uri, uri.uri_type) return (where_clause, where_clause_template) def query_features(self): features = {'boolean': ['ask '], 'count': ['count('], 'filter': ['filter('], 'comparison': ['<= ', '>= ', ' < ', ' > '], 'sort': ['order by'], 'aggregate': ['max(', 'min(']} output = set() if self.where_clause_template.count(' ') > 3: output.add('compound') else: output.add('single') generic_uris = set() for uri in self.uris: if uri.is_generic(): generic_uris.add(uri) if len(generic_uris) > 1: output.add('multivar') break if len(generic_uris) <= 1: output.add('singlevar') raw_query = self.raw_query.lower() for feature in features: for constraint in features[feature]: if constraint in raw_query: output.add(feature) return output def __eq__(self, other): if isinstance(other, SPARQL): mapping = {} for line in self.where_clause: found = False for other_line in other.where_clause: match = 0 mapping_buffer = mapping.copy() for i in range(len(line)): if line[i] == other_line[i]: match += 1 elif line[i].startswith('?') and other_line[i].startswith('?'): if line[i] not in mapping_buffer: mapping_buffer[line[i]] = other_line[i] match += 1 else: match += mapping_buffer[line[i]] == other_line[i] if match == len(line): found = True mapping = mapping_buffer break if not found: return False return True def __ne__(self, other): return not self == other def __str__(self): return self.query.encode('ascii', 'ignore')
grades_list = [87, 80, 90] #list grades_tuple = (89, 93, 95) #immutable grades_set = {70, 71, 74} #unique & unordered ## Set Operation my_numbers = {1,2,3,4,5} winning_numbers = {1,3,5,7,9,11} #print( my_numbers.intersection(winning_numbers)) #print(my_numbers.union(winning_numbers)) print(my_numbers.difference(winning_numbers))
grades_list = [87, 80, 90] grades_tuple = (89, 93, 95) grades_set = {70, 71, 74} my_numbers = {1, 2, 3, 4, 5} winning_numbers = {1, 3, 5, 7, 9, 11} print(my_numbers.difference(winning_numbers))
fin = open("input_10_test.txt") numbers = [int(line) for line in fin] numbers.append(0) numbers.append(max(numbers)+3) fin.close() numbers.sort() count1 = 0 count3 = 0 for i,number in enumerate(numbers[:-1]): diff = numbers[i+1]-number if diff == 3: count3 += 1 elif diff == 1: count1 += 1 print(count1, count3, count1*count3)
fin = open('input_10_test.txt') numbers = [int(line) for line in fin] numbers.append(0) numbers.append(max(numbers) + 3) fin.close() numbers.sort() count1 = 0 count3 = 0 for (i, number) in enumerate(numbers[:-1]): diff = numbers[i + 1] - number if diff == 3: count3 += 1 elif diff == 1: count1 += 1 print(count1, count3, count1 * count3)
A = list(map(int, input().split())) B = list(map(int, input().split())) C = list(map(int, input().split())) t = (A[3]*3600+A[4]*60+A[5])-(A[0]*3600+A[1]*60+A[2]) h, t = divmod(t, 3600) m, s = divmod(t, 60) print(h, m, s) t = (B[3]*3600+B[4]*60+B[5])-(B[0]*3600+B[1]*60+B[2]) h, t = divmod(t, 3600) m, s = divmod(t, 60) print(h, m, s) t = (C[3]*3600+C[4]*60+C[5])-(C[0]*3600+C[1]*60+C[2]) h, t = divmod(t, 3600) m, s = divmod(t, 60) print(h, m, s)
a = list(map(int, input().split())) b = list(map(int, input().split())) c = list(map(int, input().split())) t = A[3] * 3600 + A[4] * 60 + A[5] - (A[0] * 3600 + A[1] * 60 + A[2]) (h, t) = divmod(t, 3600) (m, s) = divmod(t, 60) print(h, m, s) t = B[3] * 3600 + B[4] * 60 + B[5] - (B[0] * 3600 + B[1] * 60 + B[2]) (h, t) = divmod(t, 3600) (m, s) = divmod(t, 60) print(h, m, s) t = C[3] * 3600 + C[4] * 60 + C[5] - (C[0] * 3600 + C[1] * 60 + C[2]) (h, t) = divmod(t, 3600) (m, s) = divmod(t, 60) print(h, m, s)
WIDTH = 800 HEIGHT = 600 TITLE = "O.K. Team" SPEED = 50 ANIMATION_SPEED = 5 BACKGROUND = (253, 246, 227) WALK_IMAGES = ("walk0", "walk1", "walk1") HAPPY_IMAGES = ("happy0", "happy1") FLOWER_IMAGES = ("flower0", "flower1", "flower2")
width = 800 height = 600 title = 'O.K. Team' speed = 50 animation_speed = 5 background = (253, 246, 227) walk_images = ('walk0', 'walk1', 'walk1') happy_images = ('happy0', 'happy1') flower_images = ('flower0', 'flower1', 'flower2')
''' Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum. ''' n = 100 sqos = pow(sum([x for x in range(1, n+1)]), 2) sosq = sum([x*x for x in range(1, n+1)]) print(sqos-sosq)
""" Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum. """ n = 100 sqos = pow(sum([x for x in range(1, n + 1)]), 2) sosq = sum([x * x for x in range(1, n + 1)]) print(sqos - sosq)
GENOMES_DIR = '/home/cmb-panasas2/skchoudh/genomes' OUT_DIR = '/staging/as/skchoudh/rna/September_2017_Shalgi_et_al_Cell_2013' SRC_DIR = '/home/cmb-panasas2/skchoudh/github_projects/clip_seq_pipeline/scripts' RAWDATA_DIR = '/home/cmb-06/as/skchoudh/dna/September_2017_Shalgi_et_al_Cell_2013/sra_single_end_mouse' GENOME_BUILD = 'mm10' GENOME_FASTA = GENOMES_DIR + '/' + GENOME_BUILD + '/fasta/'+ GENOME_BUILD+ '.fa' STAR_INDEX = GENOMES_DIR + '/' + GENOME_BUILD + '/star_annotated' GTF = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.annotation.without_rRNA_tRNA.gtf' GENE_NAMES = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + GENOME_BUILD+'_gene_names_stripped.tsv' GTF_UTR = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.gffutils.modifiedUTRs.gtf' GENE_LENGTHS = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.coding_lengths.tsv' #+ GENOME_BUILD+'_gene_lengths.tsv' HTSEQ_STRANDED = 'yes' FEATURECOUNTS_S = '-s 1' GENE_BED = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'mm10.vM11.genes.fromUCSC.bed' #+ GENOME_BUILD+'_gene_lengths.tsv' START_CODON_BED = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.gffutils.start_codon.bed' #+ GENOME_BUILD+'_gene_lengths.tsv' STOP_CODON_BED = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.gffutils.stop_codon.bed' #+ GENOME_BUILD+'_gene_lengths.tsv' FEATURECOUNTS_T='CDS' HTSEQ_MODE='intersection-strict'
genomes_dir = '/home/cmb-panasas2/skchoudh/genomes' out_dir = '/staging/as/skchoudh/rna/September_2017_Shalgi_et_al_Cell_2013' src_dir = '/home/cmb-panasas2/skchoudh/github_projects/clip_seq_pipeline/scripts' rawdata_dir = '/home/cmb-06/as/skchoudh/dna/September_2017_Shalgi_et_al_Cell_2013/sra_single_end_mouse' genome_build = 'mm10' genome_fasta = GENOMES_DIR + '/' + GENOME_BUILD + '/fasta/' + GENOME_BUILD + '.fa' star_index = GENOMES_DIR + '/' + GENOME_BUILD + '/star_annotated' gtf = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.annotation.without_rRNA_tRNA.gtf' gene_names = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + GENOME_BUILD + '_gene_names_stripped.tsv' gtf_utr = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.gffutils.modifiedUTRs.gtf' gene_lengths = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.coding_lengths.tsv' htseq_stranded = 'yes' featurecounts_s = '-s 1' gene_bed = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'mm10.vM11.genes.fromUCSC.bed' start_codon_bed = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.gffutils.start_codon.bed' stop_codon_bed = GENOMES_DIR + '/' + GENOME_BUILD + '/annotation/' + 'gencode.vM11.gffutils.stop_codon.bed' featurecounts_t = 'CDS' htseq_mode = 'intersection-strict'
class JobInterruptedException(Exception): def __init__(self, *args,**kwargs): Exception.__init__(self,*args,**kwargs) class RequestFailedException(Exception): def __init__(self, error_msg, *args,**kwargs): Exception.__init__(self,*args,**kwargs) self.error_msg = error_msg
class Jobinterruptedexception(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs) class Requestfailedexception(Exception): def __init__(self, error_msg, *args, **kwargs): Exception.__init__(self, *args, **kwargs) self.error_msg = error_msg
def count_symbol_occurrences(text): occurrences = {} for symbol in text: if symbol not in occurrences: occurrences[symbol] = 0 occurrences[symbol] += 1 return occurrences def print_result(occurrences): for symbol, count in sorted(occurrences.items()): print(f"{symbol}: {count} time/s") symbol_occurrences = count_symbol_occurrences(input()) print_result(symbol_occurrences)
def count_symbol_occurrences(text): occurrences = {} for symbol in text: if symbol not in occurrences: occurrences[symbol] = 0 occurrences[symbol] += 1 return occurrences def print_result(occurrences): for (symbol, count) in sorted(occurrences.items()): print(f'{symbol}: {count} time/s') symbol_occurrences = count_symbol_occurrences(input()) print_result(symbol_occurrences)
sum=0 num=int(input("enter ")) while 1: sum+=num num-=1 print(sum) if(num==0): break print(sum)
sum = 0 num = int(input('enter ')) while 1: sum += num num -= 1 print(sum) if num == 0: break print(sum)
# -*- coding:utf-8 -*- # Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). # # # For example: # Given binary tree [3,9,20,null,null,15,7], # # 3 # / \ # 9 20 # / \ # 15 7 # # # # return its bottom-up level order traversal as: # # [ # [15,7], # [9,20], # [3] # ] # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): rlst = [] def levelOrderBottom(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ if not root: return [] self.rlst=[] self.levelList(root, 0) mx = max([item['hight'] for item in self.rlst]) rst = [list() for _ in range(mx+1)] for item in self.rlst: rst[mx - item['hight']].append(item['val']) return rst def levelList(self, root, hight): if root: self.rlst.append({'val': root.val, 'hight': hight}) hight = hight + 1 if root.left: self.levelList(root.left, hight) if root.right: self.levelList(root.right, hight)
class Solution(object): rlst = [] def level_order_bottom(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ if not root: return [] self.rlst = [] self.levelList(root, 0) mx = max([item['hight'] for item in self.rlst]) rst = [list() for _ in range(mx + 1)] for item in self.rlst: rst[mx - item['hight']].append(item['val']) return rst def level_list(self, root, hight): if root: self.rlst.append({'val': root.val, 'hight': hight}) hight = hight + 1 if root.left: self.levelList(root.left, hight) if root.right: self.levelList(root.right, hight)
# -*- coding: utf-8 -*- # algorithm_diagnosis/diagnose.py """ Created on Thu Jan 25 16:10:00 2018 @author: jercas """
""" Created on Thu Jan 25 16:10:00 2018 @author: jercas """
# -*- coding: utf-8 -*- # invoice2py: an invoice web interface app for web2py # # Project page: http://code.google.com/p/ivoice2py # # Copyright (C) 2013 Alan Etkin <spametki@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see http://www.gnu.org/licenses/ # # Developed with web2py, by Massimo Di Pierro ######################################################################### ## Customize your APP title, subtitle and menus here ######################################################################### response.logo = A(B('web',SPAN(2),'py'),XML('&trade;&nbsp;'), _class="brand",_href="http://www.web2py.com/") response.title = request.application.replace('_',' ').title() response.subtitle = T('A simple online invoice interface') ## read more at http://dev.w3.org/html5/markup/meta.name.html response.meta.author = 'Alan Etkin <spametki@gmail.com>' response.meta.description = 'a cool new app' response.meta.keywords = 'web2py, python, framework, invoice' response.meta.generator = 'Web2py Web Framework' ## your http://google.com/analytics id response.google_analytics_id = None ######################################################################### ## this is the main application menu add/remove items as required ######################################################################### response.menu = [ (T('My invoices'), False, URL('default', 'index'), []) ] DEVELOPMENT_MENU = False INVOICE_ID = session.invoice_id if request.args(0) == "invoice": INVOICE_ID = request.args(1) # Invoice menu. It gives acces to: # - header CRUD (shows the current invoice id) # - details (items CRUD) # - close (set as complete)/cancel/clear invoice actions response.menu += [(T("Invoice No. %(number)s") % \ dict(number=INVOICE_ID or "(%s)" % T("Create")), True, URL(c="default", f="invoice")), (T("Invoice details"), True, URL(c="default", f="details"))] if INVOICE_ID: response.menu += [(T("Clear"), True, URL(c="default", f="status", args=["invoice", "none", "status", "clear"])),] if "auth" in locals(): auth.wikimenu()
response.logo = a(b('web', span(2), 'py'), xml('&trade;&nbsp;'), _class='brand', _href='http://www.web2py.com/') response.title = request.application.replace('_', ' ').title() response.subtitle = t('A simple online invoice interface') response.meta.author = 'Alan Etkin <spametki@gmail.com>' response.meta.description = 'a cool new app' response.meta.keywords = 'web2py, python, framework, invoice' response.meta.generator = 'Web2py Web Framework' response.google_analytics_id = None response.menu = [(t('My invoices'), False, url('default', 'index'), [])] development_menu = False invoice_id = session.invoice_id if request.args(0) == 'invoice': invoice_id = request.args(1) response.menu += [(t('Invoice No. %(number)s') % dict(number=INVOICE_ID or '(%s)' % t('Create')), True, url(c='default', f='invoice')), (t('Invoice details'), True, url(c='default', f='details'))] if INVOICE_ID: response.menu += [(t('Clear'), True, url(c='default', f='status', args=['invoice', 'none', 'status', 'clear']))] if 'auth' in locals(): auth.wikimenu()
def get_res(regular_alu,regular_nalurp,regular_nrp,hyper,output): falu=open(regular_alu) fnalurp=open(regular_nalurp) fnrp=open(regular_nrp) fhyper=open(hyper) fo_AI=open(output+'_A_to_I_regular.res','w') fo_hAI=open(output+'_A_to_I_hyper.res','w') fo_CU=open(output+'_C_to_U.res','w') for line in falu: seq=line.rstrip().split('\t') if seq[3]=='AG' or seq[3]=='TC': fo_AI.write(line) for line in fnalurp: seq=line.rstrip().split('\t') if seq[3]=='AG' or seq[3]=='TC': fo_AI.write(line) if seq[3]=='CT' or seq[3]=='GA': fo_CU.write(line) for line in fnrp: seq=line.rstrip().split('\t') if seq[3]=='AG' or seq[3]=='TC': fo_AI.write(line) if seq[3]=='CT' or seq[3]=='GA': fo_CU.write(line) for line in fhyper: seq=line.rstrip().split('\t') if seq[3]=='AG' or seq[3]=='TC': fo_hAI.write(line)
def get_res(regular_alu, regular_nalurp, regular_nrp, hyper, output): falu = open(regular_alu) fnalurp = open(regular_nalurp) fnrp = open(regular_nrp) fhyper = open(hyper) fo_ai = open(output + '_A_to_I_regular.res', 'w') fo_h_ai = open(output + '_A_to_I_hyper.res', 'w') fo_cu = open(output + '_C_to_U.res', 'w') for line in falu: seq = line.rstrip().split('\t') if seq[3] == 'AG' or seq[3] == 'TC': fo_AI.write(line) for line in fnalurp: seq = line.rstrip().split('\t') if seq[3] == 'AG' or seq[3] == 'TC': fo_AI.write(line) if seq[3] == 'CT' or seq[3] == 'GA': fo_CU.write(line) for line in fnrp: seq = line.rstrip().split('\t') if seq[3] == 'AG' or seq[3] == 'TC': fo_AI.write(line) if seq[3] == 'CT' or seq[3] == 'GA': fo_CU.write(line) for line in fhyper: seq = line.rstrip().split('\t') if seq[3] == 'AG' or seq[3] == 'TC': fo_hAI.write(line)
n=6 x=1 for i in range(1,n+1): for j in range(1,i+1): ch=chr(ord('A')+j-1) print(ch,end="") x=x+1 print()
n = 6 x = 1 for i in range(1, n + 1): for j in range(1, i + 1): ch = chr(ord('A') + j - 1) print(ch, end='') x = x + 1 print()
#!/usr/bin/env python3 REPLACE_MASK = "@MASK" BLANK_SPACE = " " FILE_EXTENSION_SEPARATOR = "." TAB_SPACE = 4 * BLANK_SPACE WRITE_MODE = "w" READ_MODE = "r" EOL = "\n" XML_HEADER = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + 2 * EOL XML_FILE_EXTENSION = FILE_EXTENSION_SEPARATOR + "xml" SOLR_XML_ADD_OPEN_TAG = "<add>" SOLR_XML_ADD_CLOSE_TAG = "</add>" SOLR_XML_DOCUMENT_OPEN_TAG = "<doc>" SOLR_XML_DOCUMENT_CLOSE_TAG = "</doc>" SOLR_XML_FIELD_OPEN_TAG = "<field name=\"" + REPLACE_MASK + "\">" SOLR_XML_FIELD_CLOSE_TAG = "</field>" DOCUMENT_FIELD_NAME_INDEX = 0 DOCUMENT_FIELD_VALUE_INDEX = 1 XML_CHARS_TO_ESCAPE_LIST = ["&", "<", ">", "'", "\""] XML_ESCAPE_DICTIONARY = {"&":"&amp;", "<":"&lt;", ">":"&gt;", "'":"&apos;", "\"":"&quot;"} DOCUMENT_IDENTIFIER_FIELD_NAME = "id" DECODE_ERROR_LOG = REPLACE_MASK + " could not be decoded" EMPTY_STRING = "" BACKUP_SYMBOL = "~" LINUX_PATH_SEPARATOR = "/" CDATA_OPEN_TAG = "<![CDATA[" CDATA_CLOSE_TAG = "]]>" CONTROL_CHARS_TO_IGNORE = {} for i in range(1, 10): CONTROL_CHARS_TO_IGNORE[i] = None for i in range(11, 32): CONTROL_CHARS_TO_IGNORE[i] = None
replace_mask = '@MASK' blank_space = ' ' file_extension_separator = '.' tab_space = 4 * BLANK_SPACE write_mode = 'w' read_mode = 'r' eol = '\n' xml_header = '<?xml version="1.0" encoding="utf-8"?>' + 2 * EOL xml_file_extension = FILE_EXTENSION_SEPARATOR + 'xml' solr_xml_add_open_tag = '<add>' solr_xml_add_close_tag = '</add>' solr_xml_document_open_tag = '<doc>' solr_xml_document_close_tag = '</doc>' solr_xml_field_open_tag = '<field name="' + REPLACE_MASK + '">' solr_xml_field_close_tag = '</field>' document_field_name_index = 0 document_field_value_index = 1 xml_chars_to_escape_list = ['&', '<', '>', "'", '"'] xml_escape_dictionary = {'&': '&amp;', '<': '&lt;', '>': '&gt;', "'": '&apos;', '"': '&quot;'} document_identifier_field_name = 'id' decode_error_log = REPLACE_MASK + ' could not be decoded' empty_string = '' backup_symbol = '~' linux_path_separator = '/' cdata_open_tag = '<![CDATA[' cdata_close_tag = ']]>' control_chars_to_ignore = {} for i in range(1, 10): CONTROL_CHARS_TO_IGNORE[i] = None for i in range(11, 32): CONTROL_CHARS_TO_IGNORE[i] = None
# Generators are functions that create an iterable. They use the special yield syntax. def gen(): n = 0 while n < 10: # yielding a value is similiar to returning it yield n # The code continues to the next line on the next call to next() n += 1 for i in gen(): print(i)
def gen(): n = 0 while n < 10: yield n n += 1 for i in gen(): print(i)
class Restaurant: def __init__(self, restaurant_name, cuisine_type): self.name = restaurant_name self.cuisine = cuisine_type self.number_served = 0 def describe_restaurant(self): print(f"The restaurant's name is {self.name}, its cuisine type is {self.cuisine}") def open_restaurant(self): print("The restaurant is openning!") def set_number_served(self, served_number): self.number_served = served_number def increment_number_served(self, number): self.number_served += number restaurant = Restaurant('KFC', 'noshery') print(f"There are {restaurant.number_served} customers in this restaurant") restaurant.set_number_served(10) print(f"There are {restaurant.number_served} customers in this restaurant") restaurant.increment_number_served(50) print(f"There are {restaurant.number_served} customers in this restaurant")
class Restaurant: def __init__(self, restaurant_name, cuisine_type): self.name = restaurant_name self.cuisine = cuisine_type self.number_served = 0 def describe_restaurant(self): print(f"The restaurant's name is {self.name}, its cuisine type is {self.cuisine}") def open_restaurant(self): print('The restaurant is openning!') def set_number_served(self, served_number): self.number_served = served_number def increment_number_served(self, number): self.number_served += number restaurant = restaurant('KFC', 'noshery') print(f'There are {restaurant.number_served} customers in this restaurant') restaurant.set_number_served(10) print(f'There are {restaurant.number_served} customers in this restaurant') restaurant.increment_number_served(50) print(f'There are {restaurant.number_served} customers in this restaurant')
asset_types = { 'file': {'name': 'file', 'contents':{'suff_list':['']}}, 'lastdb': {'name': 'lastdb', 'contents': { 'suff_patt': '[0-9]*\.(prj|suf|bck|ssp|tis|sds|des)$', } }, 'taxdump': {'name': 'taxdump', 'contents': { 'suff_list': ['/names.dmp', '/nodes.dmp'] } }, 'bwadb': {'name': 'bwadb', 'contents': { 'suff_patt': '\.[a-z]+$' } }, 'prefix': {'name': 'prefix', 'contents': {'suff_patt': '[^/]*$'} }, } def cleanup_asset_types(asset_types): for name, type_def in asset_types.items(): # add name to def, so we don't have to keep track type_def['name'] = name # if suff_xxxx definitions are top level, move to contents for key in type_def: if key.startswith('suff_'): type_def.setdefault('contents', {})[key] = type_def[key]
asset_types = {'file': {'name': 'file', 'contents': {'suff_list': ['']}}, 'lastdb': {'name': 'lastdb', 'contents': {'suff_patt': '[0-9]*\\.(prj|suf|bck|ssp|tis|sds|des)$'}}, 'taxdump': {'name': 'taxdump', 'contents': {'suff_list': ['/names.dmp', '/nodes.dmp']}}, 'bwadb': {'name': 'bwadb', 'contents': {'suff_patt': '\\.[a-z]+$'}}, 'prefix': {'name': 'prefix', 'contents': {'suff_patt': '[^/]*$'}}} def cleanup_asset_types(asset_types): for (name, type_def) in asset_types.items(): type_def['name'] = name for key in type_def: if key.startswith('suff_'): type_def.setdefault('contents', {})[key] = type_def[key]
class Solution: def preorderTraversal(self, root: Optional[TreeNode]) -> List[int]: ans = [] def preorder(root: Optional[TreeNode]) -> None: if not root: return ans.append(root.val) preorder(root.left) preorder(root.right) preorder(root) return ans
class Solution: def preorder_traversal(self, root: Optional[TreeNode]) -> List[int]: ans = [] def preorder(root: Optional[TreeNode]) -> None: if not root: return ans.append(root.val) preorder(root.left) preorder(root.right) preorder(root) return ans
abc = 'abcdefghijklmnopqrstuvwxyz' xyz = input() frs = input() for i in frs: print(abc[xyz.find(i)], end='') print()
abc = 'abcdefghijklmnopqrstuvwxyz' xyz = input() frs = input() for i in frs: print(abc[xyz.find(i)], end='') print()
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right # class Solution: # def postorderTraversal(self, root: TreeNode) -> List[int]: # ''' # recursion solution # ''' # res = [] # if root: # if root.left: # res += self.postorderTraversal(root.left) # if root.right: # res += self.postorderTraversal(root.right) # res.append(root.val) # return res # class Solution: # def postorderTraversal(self, root: TreeNode) -> List[int]: # ''' # iterative solution, preorder reversed # ''' # res = [] # stack = [] # if root: # stack.append(root) # while stack: # node = stack.pop() # res.append(node.val) # if node.left: # stack.append(node.left) # if node.right: # stack.append(node.right) # return res[::-1] class Solution: def postorderTraversal(self, root: TreeNode) -> List[int]: ''' iterative solution ''' res = [] if root: stack = [(root, False)] while stack: node, visited = stack.pop() if visited: res.append(node.val) else: stack.append((node, True)) if node.right: stack.append((node.right, False)) if node.left: stack.append((node.left, False)) return res
class Solution: def postorder_traversal(self, root: TreeNode) -> List[int]: """ iterative solution """ res = [] if root: stack = [(root, False)] while stack: (node, visited) = stack.pop() if visited: res.append(node.val) else: stack.append((node, True)) if node.right: stack.append((node.right, False)) if node.left: stack.append((node.left, False)) return res
class ParticleSystem(object): """Holds the position and name of ptf file for a particle system in a level""" def __init__(self, ptfFile, particlePos): self.ptfFile = ptfFile self.particlePos = particlePos def __repr__(self): return "Particle System '" + self.ptfFile + "' at " + str(self.particlePos) class Model(object): """Holds the position and name of model file for a model in a level""" def __init__(self, modelName, modelPos): self.modelName = modelName self.modelPos = modelPos def __repr__(self): return "Model '" + self.modelName + "' at " + str(self.modelPos) def parseMissionFile(filename): """Returns a list of ParticleSystem and Model objects with file names and positions of objects in the level from the .mission file.""" f = open(filename, "r") file = f.read() f.close() models = [] #model name: pos for line in file.split("\n"): #go through each line lineContents = line.split(":") pos = lineContents[1].split(",") if lineContents[0].startswith("particle"): models.append(ParticleSystem(ptfFile = lineContents[0][8:], particlePos = (float(pos[0]), float(pos[1]), float(pos[2])))) else: models.append(Model(modelName = lineContents[0], modelPos = (float(pos[0]), float(pos[1]), float(pos[2])))) return models if __name__ == "__main__": print(str(parseMissionFile("models/m1.mission")))
class Particlesystem(object): """Holds the position and name of ptf file for a particle system in a level""" def __init__(self, ptfFile, particlePos): self.ptfFile = ptfFile self.particlePos = particlePos def __repr__(self): return "Particle System '" + self.ptfFile + "' at " + str(self.particlePos) class Model(object): """Holds the position and name of model file for a model in a level""" def __init__(self, modelName, modelPos): self.modelName = modelName self.modelPos = modelPos def __repr__(self): return "Model '" + self.modelName + "' at " + str(self.modelPos) def parse_mission_file(filename): """Returns a list of ParticleSystem and Model objects with file names and positions of objects in the level from the .mission file.""" f = open(filename, 'r') file = f.read() f.close() models = [] for line in file.split('\n'): line_contents = line.split(':') pos = lineContents[1].split(',') if lineContents[0].startswith('particle'): models.append(particle_system(ptfFile=lineContents[0][8:], particlePos=(float(pos[0]), float(pos[1]), float(pos[2])))) else: models.append(model(modelName=lineContents[0], modelPos=(float(pos[0]), float(pos[1]), float(pos[2])))) return models if __name__ == '__main__': print(str(parse_mission_file('models/m1.mission')))
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def levelOrder(self, root: Optional[TreeNode]) -> List[List[int]]: if not root: return [] ## Queue, result intialization q = deque([root]) result = [] ## Traversing the q while q: ## Intializing level_nodes level_nodes = [] ## Now we want to go through the queue and remove every ## element that are currently in it ## So however many hence for i in range(len(q)): node = q.popleft() ## Adding the nodes at that level level_nodes.append(node.val) ## Add the children of the removed node to the right if node.left: q.append(node.left) if node.right: q.append(node.right) ## Adding the level nodes to main result result.append(level_nodes) return result
class Solution: def level_order(self, root: Optional[TreeNode]) -> List[List[int]]: if not root: return [] q = deque([root]) result = [] while q: level_nodes = [] for i in range(len(q)): node = q.popleft() level_nodes.append(node.val) if node.left: q.append(node.left) if node.right: q.append(node.right) result.append(level_nodes) return result
i = 0 while i <= 2: if i == 1.0: i = 1 elif i == 2.0: i = 2 for j in range(1,4): print("I={0} J={1}".format(i, j + i)) i += 0.2 i = round(i,1)
i = 0 while i <= 2: if i == 1.0: i = 1 elif i == 2.0: i = 2 for j in range(1, 4): print('I={0} J={1}'.format(i, j + i)) i += 0.2 i = round(i, 1)
#-*- coding: utf-8 -*- ''' Exceptions for steamwatch. ''' class ConfigurationError(Exception): pass # not used in the template - delete if not required. class ApplicationError(Exception): '''Base class for errors in the application logic.''' pass class GameNotFoundError(ApplicationError): pass
""" Exceptions for steamwatch. """ class Configurationerror(Exception): pass class Applicationerror(Exception): """Base class for errors in the application logic.""" pass class Gamenotfounderror(ApplicationError): pass
class Person: def __init__(self, id: id, name: str, emails: str, categories: str) -> None: self.id = id self.name = name self.emails = self.__no_duplicates(emails) self.categories = self.__no_duplicates(categories) def linked_emails(self) -> str: return ", ".join([f"__{email}__" for email in self.emails.split(", ") if email]) def __no_duplicates( self, list_as_str: str, sep_in: str = ",", sep_out: str = ", " ) -> str: return ( sep_out.join({elem.strip() for elem in list_as_str.split(sep_in)}) if list_as_str else "" )
class Person: def __init__(self, id: id, name: str, emails: str, categories: str) -> None: self.id = id self.name = name self.emails = self.__no_duplicates(emails) self.categories = self.__no_duplicates(categories) def linked_emails(self) -> str: return ', '.join([f'__{email}__' for email in self.emails.split(', ') if email]) def __no_duplicates(self, list_as_str: str, sep_in: str=',', sep_out: str=', ') -> str: return sep_out.join({elem.strip() for elem in list_as_str.split(sep_in)}) if list_as_str else ''
# Finding HCF (GCD) and LCM using Recursive Function # Defining function def hcf(a,b): if b==0: return a else: return hcf(b, a%b) # this is recursion as hcf() calls itself # Reading numbers from user first = int(input('Enter first number: ')) second = int(input('Enter second number: ')) # Function call & displaying output HCF (GCD) print('HCF or GCD of %d and %d is %d' %(first, second, hcf(first, second))) print('LCM of %d and %d is %d' %(first, second, first*second/hcf(first, second)))
def hcf(a, b): if b == 0: return a else: return hcf(b, a % b) first = int(input('Enter first number: ')) second = int(input('Enter second number: ')) print('HCF or GCD of %d and %d is %d' % (first, second, hcf(first, second))) print('LCM of %d and %d is %d' % (first, second, first * second / hcf(first, second)))
SKILLS = [30010166, 30011167, 30011168, 30011169, 30011170] ARKARIUM = 2159309 sm.completeQuestNoRewards(parentID) sm.deleteQuest(parentID) for i in range(5): if sm.hasSkill(SKILLS[i]): sm.removeSkill(SKILLS[i]) # remove the skill sm.removeNpc(ARKARIUM) sm.warpInstanceIn(927000070, 0)
skills = [30010166, 30011167, 30011168, 30011169, 30011170] arkarium = 2159309 sm.completeQuestNoRewards(parentID) sm.deleteQuest(parentID) for i in range(5): if sm.hasSkill(SKILLS[i]): sm.removeSkill(SKILLS[i]) sm.removeNpc(ARKARIUM) sm.warpInstanceIn(927000070, 0)
key = int(input()) lanes = int(input()) message = [] for symbol in range(lanes): letter = input() decrypt_letter = ord(letter) + key message.append(chr(decrypt_letter)) print(f"{''.join(message)}")
key = int(input()) lanes = int(input()) message = [] for symbol in range(lanes): letter = input() decrypt_letter = ord(letter) + key message.append(chr(decrypt_letter)) print(f"{''.join(message)}")
# -*- coding: utf-8 -*- # created: 2021-07-12 # creator: liguopeng@liguopeng.net def split(list_obj, count): return list_obj[:count], list_obj[count:]
def split(list_obj, count): return (list_obj[:count], list_obj[count:])
# complex() returns a complex number with the value real + imag * 1j or # converts a string or number to a complex number. # If the first parameter is a string, it will be interpreted as a complex # number and the function must be called without a second parameter. # The second parameter can never be a string. # Each argument may be any numeric type (including complex). If imag is omitted, # it defaults to zero and the constructor serves as a numeric conversion like # int and float. If both arguments are omitted, returns 0j. print(f"complex(2): {complex(2)}") print(f"complex(2, 3): {complex(2, 3)}") print(f"complex('2+3j'): {complex('2+3j')}")
print(f'complex(2): {complex(2)}') print(f'complex(2, 3): {complex(2, 3)}') print(f"complex('2+3j'): {complex('2+3j')}")
""" API 1. Name: ShortenURLAPIView URL: localhost:8000/r/short-url Method: POST Description: Add new long url to make it short Header : {Authorization: Token [Token Returned from login]} Request json example: """ Json_1 = { "long_url": "https://google.com", "suggested_path": "google" # Optional field } """ API 2. Name: ShortenURLAPIView URL: localhost:8000/r/short-url Method: GET Description: Get urls analytics of a user Header : {Authorization: Token [Token Returned from login]} Request json example: """ Json_2 = { # Leave Emtpy if not needed } """ API 3. Name: RedirectAPIView URL: localhost:8000/r/<slug> Method: GET Description: Redirect the short to the real long url Request json example: """ Json_3 = { # Leave Emtpy if not needed }
""" API 1. Name: ShortenURLAPIView URL: localhost:8000/r/short-url Method: POST Description: Add new long url to make it short Header : {Authorization: Token [Token Returned from login]} Request json example: """ json_1 = {'long_url': 'https://google.com', 'suggested_path': 'google'} ' API 2.\n\nName: ShortenURLAPIView\n\nURL: localhost:8000/r/short-url\n\nMethod: GET\n\nDescription: Get urls analytics of a user\n\n Header : {Authorization: Token [Token Returned from login]}\n\n\n Request json example: \n' json_2 = {} ' API 3.\n\nName: RedirectAPIView\n\nURL: localhost:8000/r/<slug>\n\nMethod: GET\n\nDescription: Redirect the short to the real long url\n\n\n Request json example: \n' json_3 = {}
def CompareLists(headA, headB): currentA=headA currentB=headB while currentA!=None or currentB!=None: if currentA==None: return 0 elif currentB==None: return 0 if currentA.data!=currentB.data: return 0 currentA=currentA.next currentB=currentB.next return 1
def compare_lists(headA, headB): current_a = headA current_b = headB while currentA != None or currentB != None: if currentA == None: return 0 elif currentB == None: return 0 if currentA.data != currentB.data: return 0 current_a = currentA.next current_b = currentB.next return 1
for _ in range(int(input())): n,k=map(int,input().split()) x,y=n-(k-1),n-2*(k-1) if x%2!=0 and x>0: print("YES") print('1 '*(k-1)+str(x)) elif y%2==0 and y>0: print("YES") print('2 '*(k-1)+str(y)) else: print("NO")
for _ in range(int(input())): (n, k) = map(int, input().split()) (x, y) = (n - (k - 1), n - 2 * (k - 1)) if x % 2 != 0 and x > 0: print('YES') print('1 ' * (k - 1) + str(x)) elif y % 2 == 0 and y > 0: print('YES') print('2 ' * (k - 1) + str(y)) else: print('NO')
class Script: @staticmethod def main(): superhero_ranks = dict() superhero_ranks["Aquaman"] = 1 superhero_ranks["Superman"] = 2 print(str(superhero_ranks)) Script.main()
class Script: @staticmethod def main(): superhero_ranks = dict() superhero_ranks['Aquaman'] = 1 superhero_ranks['Superman'] = 2 print(str(superhero_ranks)) Script.main()
def test_breadcrumbs(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_with_one_level(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_with_multiple_levels(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_without_the_home_section(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_with_last_breadcrumb_as_current_page( env, similar, template, expected ): template = env.from_string(template) assert similar(template.render(), expected)
def test_breadcrumbs(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_with_one_level(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_with_multiple_levels(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_without_the_home_section(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected) def test_breadcrumbs_with_last_breadcrumb_as_current_page(env, similar, template, expected): template = env.from_string(template) assert similar(template.render(), expected)
counts = dict() print('Enter a line of text:') line = input('') words = line.split() print('Words:', words) print('Counting...') for word in words: counts[word] = counts.get(word, 0) + 1 print('Counts', counts)
counts = dict() print('Enter a line of text:') line = input('') words = line.split() print('Words:', words) print('Counting...') for word in words: counts[word] = counts.get(word, 0) + 1 print('Counts', counts)
def unique_list(l): """Returns a list of unique values from given list l.""" x = [] #iterate over provided list for a in l: #check if number is in new list if a not in x: #add it to new list x.append(a) return x print(unique_list([1,2, 3, 3, 3, 3, 3, 4, 5]))
def unique_list(l): """Returns a list of unique values from given list l.""" x = [] for a in l: if a not in x: x.append(a) return x print(unique_list([1, 2, 3, 3, 3, 3, 3, 4, 5]))
# MIT License # (C) Copyright 2021 Hewlett Packard Enterprise Development LP. # # applianceRebootHistory : returns all Appliances reboot history def get_appliance_reboot_history( self, action: str = None, ) -> list: """Get all appliance reboot history, optionally send reboot reports to Cloud Portal .. list-table:: :header-rows: 1 * - Swagger Section - Method - Endpoint * - applianceRebootHistory - GET - /gms/applianceRebootHistory :param action: If None, returns all the appliance history otherwise it will send all the reboot reports to portal, defaults to None :type action: string, optional :return: Returns list of dictionaries for each appliance reboot history \n [`dict`]: list of reboot history dictionaries \n * keyword **nePk** (`str, optional`): This is the primary key of the appliance. e.g. ``3.NE`` * keyword **time** (`int, optional`): Epoch time of Appliance reboot Time * keyword **version** (`str, optional`): Appliance version before it rebooted * keyword **rootCause** (`str, optional`): Root cause for the reboot. ``Normal`` indicates reboot was initiated by user. ``Unexpected shutdown`` - indicates there could be a appliance crash * keyword **sentToPortal** (`bool, optional`): boolean flag to indicate whether the reboot record sent to portal or not :rtype: list """ path = "/gms/applianceRebootHistory" if action is not None: path = path + "?action={}".format(action) return self._get(path)
def get_appliance_reboot_history(self, action: str=None) -> list: """Get all appliance reboot history, optionally send reboot reports to Cloud Portal .. list-table:: :header-rows: 1 * - Swagger Section - Method - Endpoint * - applianceRebootHistory - GET - /gms/applianceRebootHistory :param action: If None, returns all the appliance history otherwise it will send all the reboot reports to portal, defaults to None :type action: string, optional :return: Returns list of dictionaries for each appliance reboot history [`dict`]: list of reboot history dictionaries * keyword **nePk** (`str, optional`): This is the primary key of the appliance. e.g. ``3.NE`` * keyword **time** (`int, optional`): Epoch time of Appliance reboot Time * keyword **version** (`str, optional`): Appliance version before it rebooted * keyword **rootCause** (`str, optional`): Root cause for the reboot. ``Normal`` indicates reboot was initiated by user. ``Unexpected shutdown`` - indicates there could be a appliance crash * keyword **sentToPortal** (`bool, optional`): boolean flag to indicate whether the reboot record sent to portal or not :rtype: list """ path = '/gms/applianceRebootHistory' if action is not None: path = path + '?action={}'.format(action) return self._get(path)
########################################################################################## # Author: Jared L. Ostmeyer # Date Started: 2016-05-02 # Environment: Python3 # License: See LICENSE # Purpose: Tools for describing an amino acid sequence as a sequence of Atchley factors. ########################################################################################## __path = '/'.join(__file__.split('/')[:-1])+'/atchley_factors.csv' vecs = dict() with open(__path, 'r') as stream: for line in stream: row = line.split(',') key = row[0] values = [] for value in row[1:]: values.append(float(value)) vecs[key] = values length = len(vecs['A']) labels = ['I', 'II', 'III', 'IV', 'V'] def features(sequence): values = [] for aa in sequence: values += vecs[aa] return values
__path = '/'.join(__file__.split('/')[:-1]) + '/atchley_factors.csv' vecs = dict() with open(__path, 'r') as stream: for line in stream: row = line.split(',') key = row[0] values = [] for value in row[1:]: values.append(float(value)) vecs[key] = values length = len(vecs['A']) labels = ['I', 'II', 'III', 'IV', 'V'] def features(sequence): values = [] for aa in sequence: values += vecs[aa] return values
qa_calcs_all = { 'H': ( {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'HF', 'basis_set': basis_set, 'lambda_limits': '(0, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'He': ( {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'HF', 'basis_set': basis_set, 'lambda_limits': '(-1, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Li': ( {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'HF', 'basis_set': basis_set, 'lambda_limits': '(-2, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Be': ( {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'B': ( {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'C': ( {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'N': ( {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'O': ( {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'F': ( {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Ne': ( {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Na': ( {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Mg': ( {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Al': ( {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Si': ( {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'P': ( {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'S': ( {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Cl': ( {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), 'Ar': ( {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, ), }
qa_calcs_all = {'H': ({'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'HF', 'basis_set': basis_set, 'lambda_limits': '(0, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'He': ({'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'HF', 'basis_set': basis_set, 'lambda_limits': '(-1, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Li': ({'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'HF', 'basis_set': basis_set, 'lambda_limits': '(-2, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Be': ({'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'B': ({'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'C': ({'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'N': ({'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'O': ({'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'F': ({'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Ne': ({'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Na': ({'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Mg': ({'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Al': ({'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Si': ({'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 4)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'P': ({'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 3)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'S': ({'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(0, 2)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Cl': ({'state': 'chrg0.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg-1.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-1, 1)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}), 'Ar': ({'state': 'chrg0.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg0.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-2, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult2', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg1.mult4', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-3, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult3', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta}, {'state': 'chrg2.mult1', 'try_easier_state_if_fail': 'None', 'qc_method': 'CCSD(T)', 'basis_set': basis_set, 'lambda_limits': '(-4, 0)', 'dimer_sep_range': 'None', 'dimer_sep_step': 'None', 'broken_symmetry': 'False', 'force_unrestrict_spin': 'False', 'specific_atom_lambda': 'None', 'max_qats_order': '4', 'lambda_step': '0.25', 'finite_diff_accuracy': finite_diff_accuracy, 'finite_diff_delta': finite_diff_delta})}
# coding=utf-8 """Top-level package for NKI-AI Boilerplate.""" __author__ = """NKI AI for Oncology Lab""" __email__ = "j.teuwen@nki.nl" __version__ = "0.0.1"
"""Top-level package for NKI-AI Boilerplate.""" __author__ = 'NKI AI for Oncology Lab' __email__ = 'j.teuwen@nki.nl' __version__ = '0.0.1'
def balsa_example_error_callback(log_record): try: # in case formatting is not yet set asc_time = log_record.asctime except AttributeError: asc_time = None if asc_time is None: print(f'{log_record.levelname} : "{log_record.msg}"') else: print(f"{log_record.levelname} : it's {asc_time}, do you know where your code is?")
def balsa_example_error_callback(log_record): try: asc_time = log_record.asctime except AttributeError: asc_time = None if asc_time is None: print(f'{log_record.levelname} : "{log_record.msg}"') else: print(f"{log_record.levelname} : it's {asc_time}, do you know where your code is?")
# -*- coding: utf-8 -*- """ Created on Tue Aug 6 18:14:12 2019 @author: Maverick1 """ def rk4(f, t_n, x_n, u_n, h): k1 = h * f(t_n, x_n, u_n) k2 = h * f(t_n + 0.5 * h , x_n + 0.5 * k1, u_n) k3 = h * f(t_n + 0.5 * h , x_n + 0.5 * k2, u_n) k4 = h * f(t_n + h, x_n + k3, u_n) return x_n + ((k1 + 2.0 * k2 + 2.0 * k3 + k4) / 6.0) def euler(f, t_n, x_n, u_n, h): return x_n + h * f(t_n, x_n, u_n)
""" Created on Tue Aug 6 18:14:12 2019 @author: Maverick1 """ def rk4(f, t_n, x_n, u_n, h): k1 = h * f(t_n, x_n, u_n) k2 = h * f(t_n + 0.5 * h, x_n + 0.5 * k1, u_n) k3 = h * f(t_n + 0.5 * h, x_n + 0.5 * k2, u_n) k4 = h * f(t_n + h, x_n + k3, u_n) return x_n + (k1 + 2.0 * k2 + 2.0 * k3 + k4) / 6.0 def euler(f, t_n, x_n, u_n, h): return x_n + h * f(t_n, x_n, u_n)
"""Conversions and constants for Feet and Metere Converter program.""" METERS_PER_FOOT = 0.3048 def to_feet(meters: float) -> float: """Return the meter value as feet.""" return meters / METERS_PER_FOOT def to_meters(feet: float) -> float: """Return the feet value as meters""" return feet * METERS_PER_FOOT
"""Conversions and constants for Feet and Metere Converter program.""" meters_per_foot = 0.3048 def to_feet(meters: float) -> float: """Return the meter value as feet.""" return meters / METERS_PER_FOOT def to_meters(feet: float) -> float: """Return the feet value as meters""" return feet * METERS_PER_FOOT
#!/usr/bin/env python3 #finds number of letters and digits inp = input("Enter key: ") digit = 0 letter = 0 for i in inp: if i.isdigit(): digit+=1 elif i.isalpha(): letter+=1 else: pass print("Letter = ",letter) print("Digit = ",digit)
inp = input('Enter key: ') digit = 0 letter = 0 for i in inp: if i.isdigit(): digit += 1 elif i.isalpha(): letter += 1 else: pass print('Letter = ', letter) print('Digit = ', digit)
def test_comment(client, commentable, real_login): comment = 'comment here' commentable.post_comment(comment) [c] = _get_comments(client, commentable) assert c['comment'] == comment assert commentable.refresh().num_comments == 1 def test_delete_comment(client, commentable, real_login): comment = 'comment here' commentable.post_comment(comment) [c] = _get_comments(client, commentable) client.api.delete('/rest/comments/{}'.format(c['id'])) assert commentable.refresh().num_comments == 0 assert _get_comments(client, commentable) == [] def _get_comments(client, commentable): returned = client.api.get('/rest/comments', params={ type(commentable).__name__.lower() + '_id': commentable.id }) return returned['comments']
def test_comment(client, commentable, real_login): comment = 'comment here' commentable.post_comment(comment) [c] = _get_comments(client, commentable) assert c['comment'] == comment assert commentable.refresh().num_comments == 1 def test_delete_comment(client, commentable, real_login): comment = 'comment here' commentable.post_comment(comment) [c] = _get_comments(client, commentable) client.api.delete('/rest/comments/{}'.format(c['id'])) assert commentable.refresh().num_comments == 0 assert _get_comments(client, commentable) == [] def _get_comments(client, commentable): returned = client.api.get('/rest/comments', params={type(commentable).__name__.lower() + '_id': commentable.id}) return returned['comments']
def strip_all(v): """ Strips every string in array :param v: list/tuple of strings :return: list """ return [s.strip() for s in v] def split(inp,n): """ Splits an input list into a list of lists. Length of each sub-list is n. :param inp: :param n: :return: """ if len(inp) % n != 0: raise ValueError i = j = 0 w = [] w2 = [] while i<len(inp): # print(i,j) if j==n: j = 0 w2.append(w.copy()) w = [] w.append(inp[i]) i += 1 j += 1 w2.append(w.copy()) return w2 def get_range(s): """ Takes a string of format [RANGE] and expands RANGE into the list of ints :param s: :return: """ s_range = strip_all(s.split(',')) v_res = [] for s_element in s_range: if '-' in s_element: v = s_element.split('-') i = int(v[0]) j = int(v[1]) if i > j: raise SyntaxError for k in range(i,j+1): v_res.append(k) else: i = int(s_element) v_res.append(i) return v_res def unquote_if_quoted(s): if s[0]==s[-1] == "\'": return s[1:-1] else: return s def is_number(s): try: float(s) return True except (ValueError,TypeError): return False def to_int(s): try: return int(s) except: return None
def strip_all(v): """ Strips every string in array :param v: list/tuple of strings :return: list """ return [s.strip() for s in v] def split(inp, n): """ Splits an input list into a list of lists. Length of each sub-list is n. :param inp: :param n: :return: """ if len(inp) % n != 0: raise ValueError i = j = 0 w = [] w2 = [] while i < len(inp): if j == n: j = 0 w2.append(w.copy()) w = [] w.append(inp[i]) i += 1 j += 1 w2.append(w.copy()) return w2 def get_range(s): """ Takes a string of format [RANGE] and expands RANGE into the list of ints :param s: :return: """ s_range = strip_all(s.split(',')) v_res = [] for s_element in s_range: if '-' in s_element: v = s_element.split('-') i = int(v[0]) j = int(v[1]) if i > j: raise SyntaxError for k in range(i, j + 1): v_res.append(k) else: i = int(s_element) v_res.append(i) return v_res def unquote_if_quoted(s): if s[0] == s[-1] == "'": return s[1:-1] else: return s def is_number(s): try: float(s) return True except (ValueError, TypeError): return False def to_int(s): try: return int(s) except: return None
accuracy_scores = { 'id1': 0.27, 'id2': 0.75, 'id3': 0.61, 'id4': 0.05, 'id5': 0.4, 'id6': 0.67, 'id7': 0.69, 'id8': 0.52, 'id9': 0.7, 'id10': 0.3 } # store the top 3 values from the dictionary as a list max_accs = ___ # create an empty list that will hold ids of participants with the highes accuracy max_ids = ___ # create an empty list for ___ in ___: # iterate over all keys in the dictionary if ___ in ___: # check if the value of this key is in top 3 ____ # if so, append the list print(max_ids)
accuracy_scores = {'id1': 0.27, 'id2': 0.75, 'id3': 0.61, 'id4': 0.05, 'id5': 0.4, 'id6': 0.67, 'id7': 0.69, 'id8': 0.52, 'id9': 0.7, 'id10': 0.3} max_accs = ___ max_ids = ___ for ___ in ___: if ___ in ___: ____ print(max_ids)
class RFIDReaderException(Exception): pass class RFIDReaderTypeException(RFIDReaderException): pass
class Rfidreaderexception(Exception): pass class Rfidreadertypeexception(RFIDReaderException): pass
__MAJOR = "0" __MINOR = "0" __MICRO = "1.post1" __VERSION__ = "{}.{}.{}".format(__MAJOR, __MINOR, __MICRO)
__major = '0' __minor = '0' __micro = '1.post1' __version__ = '{}.{}.{}'.format(__MAJOR, __MINOR, __MICRO)
class FSM(object): def __init__(self, instructions): self.result={} self.instructions={} for i in instructions.split("\n"): temp=i.split("; ") self.result[temp[0]]=int(temp[-1]) self.instructions[temp[0]]=temp[1].split(", ") def run_fsm(self, start, sequence): path=[start] for i in sequence: path.append(self.instructions[path[-1]][i]) return (path[-1], self.result[path[-1]], path)
class Fsm(object): def __init__(self, instructions): self.result = {} self.instructions = {} for i in instructions.split('\n'): temp = i.split('; ') self.result[temp[0]] = int(temp[-1]) self.instructions[temp[0]] = temp[1].split(', ') def run_fsm(self, start, sequence): path = [start] for i in sequence: path.append(self.instructions[path[-1]][i]) return (path[-1], self.result[path[-1]], path)