hexsha
string | size
int64 | ext
string | lang
string | max_stars_repo_path
string | max_stars_repo_name
string | max_stars_repo_head_hexsha
string | max_stars_repo_licenses
list | max_stars_count
int64 | max_stars_repo_stars_event_min_datetime
string | max_stars_repo_stars_event_max_datetime
string | max_issues_repo_path
string | max_issues_repo_name
string | max_issues_repo_head_hexsha
string | max_issues_repo_licenses
list | max_issues_count
int64 | max_issues_repo_issues_event_min_datetime
string | max_issues_repo_issues_event_max_datetime
string | max_forks_repo_path
string | max_forks_repo_name
string | max_forks_repo_head_hexsha
string | max_forks_repo_licenses
list | max_forks_count
int64 | max_forks_repo_forks_event_min_datetime
string | max_forks_repo_forks_event_max_datetime
string | content
string | avg_line_length
float64 | max_line_length
int64 | alphanum_fraction
float64 | qsc_code_num_words_quality_signal
int64 | qsc_code_num_chars_quality_signal
float64 | qsc_code_mean_word_length_quality_signal
float64 | qsc_code_frac_words_unique_quality_signal
float64 | qsc_code_frac_chars_top_2grams_quality_signal
float64 | qsc_code_frac_chars_top_3grams_quality_signal
float64 | qsc_code_frac_chars_top_4grams_quality_signal
float64 | qsc_code_frac_chars_dupe_5grams_quality_signal
float64 | qsc_code_frac_chars_dupe_6grams_quality_signal
float64 | qsc_code_frac_chars_dupe_7grams_quality_signal
float64 | qsc_code_frac_chars_dupe_8grams_quality_signal
float64 | qsc_code_frac_chars_dupe_9grams_quality_signal
float64 | qsc_code_frac_chars_dupe_10grams_quality_signal
float64 | qsc_code_frac_chars_replacement_symbols_quality_signal
float64 | qsc_code_frac_chars_digital_quality_signal
float64 | qsc_code_frac_chars_whitespace_quality_signal
float64 | qsc_code_size_file_byte_quality_signal
float64 | qsc_code_num_lines_quality_signal
float64 | qsc_code_num_chars_line_max_quality_signal
float64 | qsc_code_num_chars_line_mean_quality_signal
float64 | qsc_code_frac_chars_alphabet_quality_signal
float64 | qsc_code_frac_chars_comments_quality_signal
float64 | qsc_code_cate_xml_start_quality_signal
float64 | qsc_code_frac_lines_dupe_lines_quality_signal
float64 | qsc_code_cate_autogen_quality_signal
float64 | qsc_code_frac_lines_long_string_quality_signal
float64 | qsc_code_frac_chars_string_length_quality_signal
float64 | qsc_code_frac_chars_long_word_length_quality_signal
float64 | qsc_code_frac_lines_string_concat_quality_signal
float64 | qsc_code_cate_encoded_data_quality_signal
float64 | qsc_code_frac_chars_hex_words_quality_signal
float64 | qsc_code_frac_lines_prompt_comments_quality_signal
float64 | qsc_code_frac_lines_assert_quality_signal
float64 | qsc_codepython_cate_ast_quality_signal
float64 | qsc_codepython_frac_lines_func_ratio_quality_signal
float64 | qsc_codepython_cate_var_zero_quality_signal
bool | qsc_codepython_frac_lines_pass_quality_signal
float64 | qsc_codepython_frac_lines_import_quality_signal
float64 | qsc_codepython_frac_lines_simplefunc_quality_signal
float64 | qsc_codepython_score_lines_no_logic_quality_signal
float64 | qsc_codepython_frac_lines_print_quality_signal
float64 | qsc_code_num_words
int64 | qsc_code_num_chars
int64 | qsc_code_mean_word_length
int64 | qsc_code_frac_words_unique
null | qsc_code_frac_chars_top_2grams
int64 | qsc_code_frac_chars_top_3grams
int64 | qsc_code_frac_chars_top_4grams
int64 | qsc_code_frac_chars_dupe_5grams
int64 | qsc_code_frac_chars_dupe_6grams
int64 | qsc_code_frac_chars_dupe_7grams
int64 | qsc_code_frac_chars_dupe_8grams
int64 | qsc_code_frac_chars_dupe_9grams
int64 | qsc_code_frac_chars_dupe_10grams
int64 | qsc_code_frac_chars_replacement_symbols
int64 | qsc_code_frac_chars_digital
int64 | qsc_code_frac_chars_whitespace
int64 | qsc_code_size_file_byte
int64 | qsc_code_num_lines
int64 | qsc_code_num_chars_line_max
int64 | qsc_code_num_chars_line_mean
int64 | qsc_code_frac_chars_alphabet
int64 | qsc_code_frac_chars_comments
int64 | qsc_code_cate_xml_start
int64 | qsc_code_frac_lines_dupe_lines
int64 | qsc_code_cate_autogen
int64 | qsc_code_frac_lines_long_string
int64 | qsc_code_frac_chars_string_length
int64 | qsc_code_frac_chars_long_word_length
int64 | qsc_code_frac_lines_string_concat
null | qsc_code_cate_encoded_data
int64 | qsc_code_frac_chars_hex_words
int64 | qsc_code_frac_lines_prompt_comments
int64 | qsc_code_frac_lines_assert
int64 | qsc_codepython_cate_ast
int64 | qsc_codepython_frac_lines_func_ratio
int64 | qsc_codepython_cate_var_zero
int64 | qsc_codepython_frac_lines_pass
int64 | qsc_codepython_frac_lines_import
int64 | qsc_codepython_frac_lines_simplefunc
int64 | qsc_codepython_score_lines_no_logic
int64 | qsc_codepython_frac_lines_print
int64 | effective
string | hits
int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90690c22ebcbb724f123c7ae91889c5084836dfd
| 73,098
|
py
|
Python
|
spacy/lang/hy/tag_map.py
|
michael-k/spaCy
|
481574cbc865211e35faf6e36f5ece203ee59e60
|
[
"MIT"
] | 1
|
2020-12-20T21:09:19.000Z
|
2020-12-20T21:09:19.000Z
|
spacy/lang/hy/tag_map.py
|
Jorgecardenas1/spaCy
|
fb73d4943a91d18cd36ded98994a932515f4bf05
|
[
"MIT"
] | 3
|
2021-09-21T18:04:50.000Z
|
2022-02-26T02:14:42.000Z
|
spacy/lang/hy/tag_map.py
|
Jorgecardenas1/spaCy
|
fb73d4943a91d18cd36ded98994a932515f4bf05
|
[
"MIT"
] | null | null | null |
# coding: utf8
from __future__ import unicode_literals
from ...symbols import POS, SYM, ADJ, NUM, DET, ADV, ADP, X, VERB, NOUN
from ...symbols import PROPN, PART, INTJ, PRON, SCONJ, AUX, CCONJ
TAG_MAP = {
"ADJ_Abbr=Yes": {POS: ADJ, "Abbr": "Yes"},
"ADJ_Degree=Pos|NumForm=Word|NumType=Ord": {
POS: ADJ,
"Degree": "Pos",
"NumForm": "Word",
"NumType": "Ord",
},
"ADJ_Degree=Pos": {POS: ADJ, "Degree": "Pos"},
"ADJ_Degree=Pos|Style=Coll": {POS: ADJ, "Degree": "Pos", "Style": "Coll"},
"ADJ_Degree=Pos|Style=Expr": {POS: ADJ, "Degree": "Pos", "Style": "Expr"},
"ADJ_Degree=Sup": {POS: ADJ, "Degree": "Sup"},
"ADJ_NumForm=Digit|NumType=Ord": {POS: ADJ, "NumForm": "Digit", "NumType": "Ord"},
"ADJ_NumForm=Word|NumType=Card": {POS: ADJ, "NumForm": "Word", "NumType": "Card"},
"ADJ_NumForm=Word|NumType=Ord": {POS: ADJ, "NumForm": "Word", "NumType": "Ord"},
"ADJ_Style=Coll": {POS: ADJ, "Style": "Coll"},
"ADJ_Style=Expr": {POS: ADJ, "Style": "Expr"},
"ADP_AdpType=Post|Case=Dat": {POS: ADP, "AdpType": "Post", "Case": "Dat"},
"ADP_AdpType=Post|Case=Nom": {POS: ADP, "AdpType": "Post", "Case": "Nom"},
"ADP_AdpType=Post|Number=Plur|Person=3": {
POS: ADP,
"AdpType": "Post",
"Number": "Plur",
"Person": "3",
},
"ADP_AdpType=Post": {POS: ADP, "AdpType": "Post"},
"ADP_AdpType=Prep": {POS: ADP, "AdpType": "Prep"},
"ADP_AdpType=Prep|Style=Arch": {POS: ADP, "AdpType": "Prep", "Style": "Arch"},
"ADV_Degree=Cmp": {POS: ADV, "Degree": "Cmp"},
"ADV_Degree=Pos": {POS: ADV, "Degree": "Pos"},
"ADV_Degree=Sup": {POS: ADV, "Degree": "Sup"},
"ADV_Distance=Dist|PronType=Dem": {POS: ADV, "Distance": "Dist", "PronType": "Dem"},
"ADV_Distance=Dist|PronType=Exc": {POS: ADV, "Distance": "Dist", "PronType": "Exc"},
"ADV_Distance=Med|PronType=Dem": {POS: ADV, "Distance": "Med", "PronType": "Dem"},
"ADV_Distance=Med|PronType=Dem|Style=Coll": {
POS: ADV,
"Distance": "Med",
"PronType": "Dem",
"Style": "Coll",
},
"ADV_NumForm=Word|NumType=Card|PronType=Tot": {
POS: ADV,
"NumForm": "Word",
"NumType": "Card",
"PronType": "Tot",
},
"ADV_PronType=Dem": {POS: ADV, "PronType": "Dem"},
"ADV_PronType=Exc": {POS: ADV, "PronType": "Exc"},
"ADV_PronType=Ind": {POS: ADV, "PronType": "Ind"},
"ADV_PronType=Int": {POS: ADV, "PronType": "Int"},
"ADV_PronType=Int|Style=Coll": {POS: ADV, "PronType": "Int", "Style": "Coll"},
"ADV_PronType=Rel": {POS: ADV, "PronType": "Rel"},
"ADV_Style=Coll": {POS: ADV, "Style": "Coll"},
"ADV_Style=Rare": {POS: ADV, "Style": "Rare"},
"AUX_Aspect=Imp|Mood=Ind|Number=Plur|Person=1|Polarity=Neg|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "1",
"Polarity": "Neg",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Plur|Person=2|Polarity=Pos|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "2",
"Polarity": "Pos",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Plur|Person=3|Polarity=Neg|Tense=Imp|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Neg",
"Tense": "Imp",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Plur|Person=3|Polarity=Neg|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Neg",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Plur|Person=3|Polarity=Pos|Tense=Imp|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Tense": "Imp",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Plur|Person=3|Polarity=Pos|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=1|Polarity=Neg|Tense=Imp|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Neg",
"Tense": "Imp",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=1|Polarity=Neg|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Neg",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=1|Polarity=Pos|Tense=Imp|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Tense": "Imp",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=1|Polarity=Pos|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=2|Polarity=Neg|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "2",
"Polarity": "Neg",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=2|Polarity=Pos|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "2",
"Polarity": "Pos",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Neg|Tense=Imp|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Neg",
"Tense": "Imp",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Neg|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Neg",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Tense=Imp|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Tense": "Imp",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Tense=Pres|VerbForm=Fin": {
POS: AUX,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Tense": "Pres",
"VerbForm": "Fin",
},
"AUX_Aspect=Imp|VerbForm=Part": {POS: AUX, "Aspect": "Imp", "VerbForm": "Part"},
"AUX_Aspect=Perf|VerbForm=Part": {POS: AUX, "Aspect": "Perf", "VerbForm": "Part"},
"AUX_Aspect=Prosp|VerbForm=Part": {POS: AUX, "Aspect": "Prosp", "VerbForm": "Part"},
"AUX_Polarity=Pos": {POS: AUX, "Polarity": "Pos"},
"CCONJ_ConjType=Comp": {POS: CCONJ, "ConjType": "Comp"},
"CCONJ_ConjType=Comp|Style=Coll": {POS: CCONJ, "ConjType": "Comp", "Style": "Coll"},
"DET_Case=Gen|Distance=Med|Number=Plur|Poss=Yes|PronType=Dem": {
POS: DET,
"Case": "Gen",
"Distance": "Med",
"Number": "Plur",
"Poss": "Yes",
"PronType": "Dem",
},
"DET_Case=Gen|Distance=Med|Number=Sing|Poss=Yes|PronType=Dem": {
POS: DET,
"Case": "Gen",
"Distance": "Med",
"Number": "Sing",
"Poss": "Yes",
"PronType": "Dem",
},
"DET_Case=Gen|Number=Plur|Person=1|Poss=Yes|PronType=Prs": {
POS: DET,
"Case": "Gen",
"Number": "Plur",
"Person": "1",
"Poss": "Yes",
"PronType": "Prs",
},
"DET_Case=Gen|Number=Plur|Person=2|Polite=Infm|Poss=Yes|PronType=Prs": {
POS: DET,
"Case": "Gen",
"Number": "Plur",
"Person": "2",
"Polite": "Infm",
"Poss": "Yes",
"PronType": "Prs",
},
"DET_Case=Gen|Number=Plur|Person=3|Poss=Yes|PronType=Emp": {
POS: DET,
"Case": "Gen",
"Number": "Plur",
"Person": "3",
"Poss": "Yes",
"PronType": "Emp",
},
"DET_Case=Gen|Number=Plur|Person=3|Poss=Yes|PronType=Emp|Reflex=Yes": {
POS: DET,
"Case": "Gen",
"Number": "Plur",
"Person": "3",
"Poss": "Yes",
"PronType": "Emp",
"Reflex": "Yes",
},
"DET_Case=Gen|Number=Sing|Person=1|Poss=Yes|PronType=Prs": {
POS: DET,
"Case": "Gen",
"Number": "Sing",
"Person": "1",
"Poss": "Yes",
"PronType": "Prs",
},
"DET_Case=Gen|Number=Sing|Person=2|Polite=Infm|Poss=Yes|PronType=Prs": {
POS: DET,
"Case": "Gen",
"Number": "Sing",
"Person": "2",
"Polite": "Infm",
"Poss": "Yes",
"PronType": "Prs",
},
"DET_Case=Gen|Number=Sing|Person=3|Poss=Yes|PronType=Emp": {
POS: DET,
"Case": "Gen",
"Number": "Sing",
"Person": "3",
"Poss": "Yes",
"PronType": "Emp",
},
"DET_Case=Gen|Number=Sing|Person=3|Poss=Yes|PronType=Emp|Reflex=Yes": {
POS: DET,
"Case": "Gen",
"Number": "Sing",
"Person": "3",
"Poss": "Yes",
"PronType": "Emp",
"Reflex": "Yes",
},
"DET_Case=Gen|Number=Sing|Person=3|Poss=Yes|PronType=Prs": {
POS: DET,
"Case": "Gen",
"Number": "Sing",
"Person": "3",
"Poss": "Yes",
"PronType": "Prs",
},
"DET_Case=Gen|Number=Sing|Poss=Yes|PronType=Rel": {
POS: DET,
"Case": "Gen",
"Number": "Sing",
"Poss": "Yes",
"PronType": "Rel",
},
"DET_Distance=Dist|PronType=Dem": {POS: DET, "Distance": "Dist", "PronType": "Dem"},
"DET_Distance=Dist|PronType=Dem|Style=Coll": {
POS: DET,
"Distance": "Dist",
"PronType": "Dem",
"Style": "Coll",
},
"DET_Distance=Dist|PronType=Dem|Style=Vrnc": {
POS: DET,
"Distance": "Dist",
"PronType": "Dem",
"Style": "Vrnc",
},
"DET_Distance=Med|PronType=Dem": {POS: DET, "Distance": "Med", "PronType": "Dem"},
"DET_Distance=Med|PronType=Dem|Style=Coll": {
POS: DET,
"Distance": "Med",
"PronType": "Dem",
"Style": "Coll",
},
"DET_Distance=Prox|PronType=Dem": {POS: DET, "Distance": "Prox", "PronType": "Dem"},
"DET_Distance=Prox|PronType=Dem|Style=Coll": {
POS: DET,
"Distance": "Prox",
"PronType": "Dem",
"Style": "Coll",
},
"DET_PronType=Art": {POS: DET, "PronType": "Art"},
"DET_PronType=Exc": {POS: DET, "PronType": "Exc"},
"DET_PronType=Ind": {POS: DET, "PronType": "Ind"},
"DET_PronType=Int": {POS: DET, "PronType": "Int"},
"DET_PronType=Tot": {POS: DET, "PronType": "Tot"},
"DET_PronType=Tot|Style=Arch": {POS: DET, "PronType": "Tot", "Style": "Arch"},
"INTJ_Style=Vrnc": {POS: INTJ, "Style": "Vrnc"},
"NOUN_Abbr=Yes|Animacy=Nhum|Case=Dat|Definite=Ind|Number=Plur": {
POS: NOUN,
"Abbr": "Yes",
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Abbr=Yes|Animacy=Nhum|Case=Nom|Definite=Ind|Number=Sing": {
POS: NOUN,
"Abbr": "Yes",
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Hum|Case=Abl|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Hum|Case=Abl|Definite=Ind|Number=Plur|Style=Slng": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Plur",
"Style": "Slng",
},
"NOUN_Animacy=Hum|Case=Abl|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Def|Number=Plur": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Def",
"Number": "Plur",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Def|Number=Sing": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Def|Number=Sing|Style=Slng": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
"Style": "Slng",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Ind|Number=Assoc": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Assoc",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Ind|Number=Plur|Style=Coll": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Plur",
"Style": "Coll",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Ind|Number=Plur|Style=Slng": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Plur",
"Style": "Slng",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Hum|Case=Dat|Definite=Ind|Number=Sing|Style=Arch": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Sing",
"Style": "Arch",
},
"NOUN_Animacy=Hum|Case=Dat|Number=Sing|Number=Sing|Person=1": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Number": "Sing",
"Number": "Sing",
"Person": "1",
},
"NOUN_Animacy=Hum|Case=Dat|Number=Sing|Number=Sing|Person=1|Style=Coll": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Dat",
"Number": "Sing",
"Number": "Sing",
"Person": "1",
"Style": "Coll",
},
"NOUN_Animacy=Hum|Case=Ins|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Ins",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Def|Number=Plur": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Def",
"Number": "Plur",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Def|Number=Plur|Style=Slng": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Def",
"Number": "Plur",
"Style": "Slng",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Def|Number=Sing": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Def",
"Number": "Sing",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Def|Number=Sing|Style=Coll": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Def",
"Number": "Sing",
"Style": "Coll",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Ind|Number=Assoc": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Assoc",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Ind|Number=Plur|Style=Coll": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Plur",
"Style": "Coll",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Ind|Number=Plur|Style=Slng": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Plur",
"Style": "Slng",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Ind|Number=Plur|Typo=Yes": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Plur",
"Typo": "Yes",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Hum|Case=Nom|Definite=Ind|Number=Sing|Style=Coll": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Sing",
"Style": "Coll",
},
"NOUN_Animacy=Hum|Case=Nom|Number=Sing|Number=Sing|Person=1": {
POS: NOUN,
"Animacy": "Hum",
"Case": "Nom",
"Number": "Sing",
"Number": "Sing",
"Person": "1",
},
"NOUN_Animacy=Nhum|Case=Abl|Definite=Ind|Number=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Coll",
},
"NOUN_Animacy=Nhum|Case=Abl|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Nhum|Case=Abl|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Nhum|Case=Abl|Definite=Ind|Number=Sing|Style=Arch": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Sing",
"Style": "Arch",
},
"NOUN_Animacy=Nhum|Case=Abl|Number=Sing|Number=Sing|Person=2": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Abl",
"Number": "Sing",
"Number": "Sing",
"Person": "2",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Def|Number=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Def",
"Number": "Coll",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Def|Number=Plur": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Def",
"Number": "Plur",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Def|Number=Sing|NumForm=Digit": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
"NumForm": "Digit",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Def|Number=Sing|NumForm=Word": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
"NumForm": "Word",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Def|Number=Sing": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Def|Number=Sing|Style=Rare": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
"Style": "Rare",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Def|Number=Sing|Style=Vrnc": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
"Style": "Vrnc",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Ind|Number=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Coll",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Ind|Number=Sing|NumForm=Digit": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Sing",
"NumForm": "Digit",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Ind|Number=Sing|Style=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Sing",
"Style": "Coll",
},
"NOUN_Animacy=Nhum|Case=Dat|Definite=Ind|Number=Sing|Style=Vrnc": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"Number": "Sing",
"Style": "Vrnc",
},
"NOUN_Animacy=Nhum|Case=Dat|Number=Coll|Number=Sing|Person=1": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Number": "Coll",
"Number": "Sing",
"Person": "1",
},
"NOUN_Animacy=Nhum|Case=Dat|Number=Sing|Number=Sing|Person=1": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Number": "Sing",
"Number": "Sing",
"Person": "1",
},
"NOUN_Animacy=Nhum|Case=Dat|Number=Sing|Number=Sing|Person=2": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Dat",
"Number": "Sing",
"Number": "Sing",
"Person": "2",
},
"NOUN_Animacy=Nhum|Case=Gen|Definite=Ind|Number=Sing|Style=Arch": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Gen",
"Definite": "Ind",
"Number": "Sing",
"Style": "Arch",
},
"NOUN_Animacy=Nhum|Case=Ins|Definite=Ind|Number=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Ins",
"Definite": "Ind",
"Number": "Coll",
},
"NOUN_Animacy=Nhum|Case=Ins|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Ins",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Nhum|Case=Ins|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Ins",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Nhum|Case=Ins|Definite=Ind|Number=Sing|Style=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Ins",
"Definite": "Ind",
"Number": "Sing",
"Style": "Coll",
},
"NOUN_Animacy=Nhum|Case=Ins|Number=Sing|Number=Sing|Person=1": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Ins",
"Number": "Sing",
"Number": "Sing",
"Person": "1",
},
"NOUN_Animacy=Nhum|Case=Loc|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Loc",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Nhum|Case=Loc|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Loc",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Nhum|Case=Loc|Number=Sing|Number=Sing|Person=2": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Loc",
"Number": "Sing",
"Number": "Sing",
"Person": "2",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Def|Number=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Def",
"Number": "Coll",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Def|Number=Plur|Number=Sing|Poss=Yes": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Def",
"Number": "Plur",
"Number": "Sing",
"Poss": "Yes",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Def|Number=Plur": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Def",
"Number": "Plur",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Def|Number=Sing|NumForm=Digit": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Def",
"Number": "Sing",
"NumForm": "Digit",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Def|Number=Sing": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Def",
"Number": "Sing",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Ind|Number=Coll": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Coll",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Ind|Number=Coll|Typo=Yes": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Coll",
"Typo": "Yes",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Ind|Number=Plur": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Plur",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Ind|Number=Sing": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"Number": "Sing",
},
"NOUN_Animacy=Nhum|Case=Nom|Definite=Ind": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
},
"NOUN_Animacy=Nhum|Case=Nom|Number=Plur|Number=Sing|Person=2": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Number": "Plur",
"Number": "Sing",
"Person": "2",
},
"NOUN_Animacy=Nhum|Case=Nom|Number=Sing|Number=Sing|Person=1": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Number": "Sing",
"Number": "Sing",
"Person": "1",
},
"NOUN_Animacy=Nhum|Case=Nom|Number=Sing|Number=Sing|Person=2": {
POS: NOUN,
"Animacy": "Nhum",
"Case": "Nom",
"Number": "Sing",
"Number": "Sing",
"Person": "2",
},
"NUM_NumForm=Digit|NumType=Card": {POS: NUM, "NumForm": "Digit", "NumType": "Card"},
"NUM_NumForm=Digit|NumType=Frac|Typo=Yes": {
POS: NUM,
"NumForm": "Digit",
"NumType": "Frac",
"Typo": "Yes",
},
"NUM_NumForm=Digit|NumType=Range": {
POS: NUM,
"NumForm": "Digit",
"NumType": "Range",
},
"NUM_NumForm=Word|NumType=Card": {POS: NUM, "NumForm": "Word", "NumType": "Card"},
"NUM_NumForm=Word|NumType=Dist": {POS: NUM, "NumForm": "Word", "NumType": "Dist"},
"NUM_NumForm=Word|NumType=Range": {POS: NUM, "NumForm": "Word", "NumType": "Range"},
"PART_Polarity=Neg": {POS: PART, "Polarity": "Neg"},
"PRON_Case=Abl|Definite=Ind|Number=Sing|Person=3|PronType=Prs": {
POS: PRON,
"Case": "Abl",
"Definite": "Ind",
"Number": "Sing",
"Person": "3",
"PronType": "Prs",
},
"PRON_Case=Abl|Number=Plur|Person=3|PronType=Prs": {
POS: PRON,
"Case": "Abl",
"Number": "Plur",
"Person": "3",
"PronType": "Prs",
},
"PRON_Case=Abl|Number=Sing|Person=2|Polite=Infm|PronType=Prs": {
POS: PRON,
"Case": "Abl",
"Number": "Sing",
"Person": "2",
"Polite": "Infm",
"PronType": "Prs",
},
"PRON_Case=Dat|Definite=Def|Distance=Dist|Number=Sing|PronType=Dem": {
POS: PRON,
"Case": "Dat",
"Definite": "Def",
"Distance": "Dist",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Case=Dat|Definite=Def|Number=Sing|Person=3|PronType=Prs": {
POS: PRON,
"Case": "Dat",
"Definite": "Def",
"Number": "Sing",
"Person": "3",
"PronType": "Prs",
},
"PRON_Case=Dat|Definite=Ind|Number=Sing|PronType=Int": {
POS: PRON,
"Case": "Dat",
"Definite": "Ind",
"Number": "Sing",
"PronType": "Int",
},
"PRON_Case=Dat|Distance=Dist|Number=Sing|PronType=Dem": {
POS: PRON,
"Case": "Dat",
"Distance": "Dist",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Case=Dat|Distance=Med|Number=Plur|PronType=Dem": {
POS: PRON,
"Case": "Dat",
"Distance": "Med",
"Number": "Plur",
"PronType": "Dem",
},
"PRON_Case=Dat|Number=Plur|Person=1|PronType=Prs": {
POS: PRON,
"Case": "Dat",
"Number": "Plur",
"Person": "1",
"PronType": "Prs",
},
"PRON_Case=Dat|Number=Plur|Person=2|Polite=Infm|PronType=Prs": {
POS: PRON,
"Case": "Dat",
"Number": "Plur",
"Person": "2",
"Polite": "Infm",
"PronType": "Prs",
},
"PRON_Case=Dat|Number=Plur|Person=3|PronType=Emp|Reflex=Yes": {
POS: PRON,
"Case": "Dat",
"Number": "Plur",
"Person": "3",
"PronType": "Emp",
"Reflex": "Yes",
},
"PRON_Case=Dat|Number=Plur|Person=3|PronType=Prs": {
POS: PRON,
"Case": "Dat",
"Number": "Plur",
"Person": "3",
"PronType": "Prs",
},
"PRON_Case=Dat|Number=Plur|PronType=Rcp": {
POS: PRON,
"Case": "Dat",
"Number": "Plur",
"PronType": "Rcp",
},
"PRON_Case=Dat|Number=Sing|Person=1|PronType=Prs": {
POS: PRON,
"Case": "Dat",
"Number": "Sing",
"Person": "1",
"PronType": "Prs",
},
"PRON_Case=Dat|Number=Sing|Person=2|Polite=Infm|PronType=Prs": {
POS: PRON,
"Case": "Dat",
"Number": "Sing",
"Person": "2",
"Polite": "Infm",
"PronType": "Prs",
},
"PRON_Case=Dat|Number=Sing|Person=3|PronType=Emp": {
POS: PRON,
"Case": "Dat",
"Number": "Sing",
"Person": "3",
"PronType": "Emp",
},
"PRON_Case=Dat|Number=Sing|Person=3|PronType=Emp|Reflex=Yes": {
POS: PRON,
"Case": "Dat",
"Number": "Sing",
"Person": "3",
"PronType": "Emp",
"Reflex": "Yes",
},
"PRON_Case=Dat|Number=Sing|PronType=Int": {
POS: PRON,
"Case": "Dat",
"Number": "Sing",
"PronType": "Int",
},
"PRON_Case=Dat|Number=Sing|PronType=Rel": {
POS: PRON,
"Case": "Dat",
"Number": "Sing",
"PronType": "Rel",
},
"PRON_Case=Dat|PronType=Tot": {POS: PRON, "Case": "Dat", "PronType": "Tot"},
"PRON_Case=Gen|Distance=Med|Number=Sing|PronType=Dem": {
POS: PRON,
"Case": "Gen",
"Distance": "Med",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Case=Gen|Number=Plur|Person=1|PronType=Prs": {
POS: PRON,
"Case": "Gen",
"Number": "Plur",
"Person": "1",
"PronType": "Prs",
},
"PRON_Case=Gen|Number=Sing|Person=2|PronType=Prs": {
POS: PRON,
"Case": "Gen",
"Number": "Sing",
"Person": "2",
"PronType": "Prs",
},
"PRON_Case=Gen|Number=Sing|Person=3|PronType=Prs": {
POS: PRON,
"Case": "Gen",
"Number": "Sing",
"Person": "3",
"PronType": "Prs",
},
"PRON_Case=Gen|PronType=Tot": {POS: PRON, "Case": "Gen", "PronType": "Tot"},
"PRON_Case=Ins|Definite=Ind|Number=Sing|PronType=Rel": {
POS: PRON,
"Case": "Ins",
"Definite": "Ind",
"Number": "Sing",
"PronType": "Rel",
},
"PRON_Case=Ins|Distance=Med|Number=Sing|PronType=Dem": {
POS: PRON,
"Case": "Ins",
"Distance": "Med",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Case=Loc|Definite=Ind|Number=Sing|PronType=Rel": {
POS: PRON,
"Case": "Loc",
"Definite": "Ind",
"Number": "Sing",
"PronType": "Rel",
},
"PRON_Case=Loc|Distance=Med|Number=Sing|PronType=Dem": {
POS: PRON,
"Case": "Loc",
"Distance": "Med",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Case=Nom|Definite=Def|Distance=Dist|Number=Plur|PronType=Dem": {
POS: PRON,
"Case": "Nom",
"Definite": "Def",
"Distance": "Dist",
"Number": "Plur",
"PronType": "Dem",
},
"PRON_Case=Nom|Definite=Def|Distance=Med|Number=Sing|PronType=Dem|Style=Coll": {
POS: PRON,
"Case": "Nom",
"Definite": "Def",
"Distance": "Med",
"Number": "Sing",
"PronType": "Dem",
"Style": "Coll",
},
"PRON_Case=Nom|Definite=Def|Number=Sing|PronType=Int": {
POS: PRON,
"Case": "Nom",
"Definite": "Def",
"Number": "Sing",
"PronType": "Int",
},
"PRON_Case=Nom|Definite=Def|Number=Sing|PronType=Rel": {
POS: PRON,
"Case": "Nom",
"Definite": "Def",
"Number": "Sing",
"PronType": "Rel",
},
"PRON_Case=Nom|Definite=Ind|Number=Sing|PronType=Int": {
POS: PRON,
"Case": "Nom",
"Definite": "Ind",
"Number": "Sing",
"PronType": "Int",
},
"PRON_Case=Nom|Definite=Ind|Number=Sing|PronType=Neg": {
POS: PRON,
"Case": "Nom",
"Definite": "Ind",
"Number": "Sing",
"PronType": "Neg",
},
"PRON_Case=Nom|Definite=Ind|Number=Sing|PronType=Rel": {
POS: PRON,
"Case": "Nom",
"Definite": "Ind",
"Number": "Sing",
"PronType": "Rel",
},
"PRON_Case=Nom|Distance=Dist|Number=Plur|Person=1|PronType=Dem": {
POS: PRON,
"Case": "Nom",
"Distance": "Dist",
"Number": "Plur",
"Person": "1",
"PronType": "Dem",
},
"PRON_Case=Nom|Distance=Med|Number=Plur|PronType=Dem": {
POS: PRON,
"Case": "Nom",
"Distance": "Med",
"Number": "Plur",
"PronType": "Dem",
},
"PRON_Case=Nom|Distance=Med|Number=Sing|PronType=Dem": {
POS: PRON,
"Case": "Nom",
"Distance": "Med",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Case=Nom|Distance=Prox|Number=Sing|PronType=Dem": {
POS: PRON,
"Case": "Nom",
"Distance": "Prox",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Case=Nom|Number=Plur|Person=1|PronType=Prs": {
POS: PRON,
"Case": "Nom",
"Number": "Plur",
"Person": "1",
"PronType": "Prs",
},
"PRON_Case=Nom|Number=Plur|Person=3|PronType=Emp": {
POS: PRON,
"Case": "Nom",
"Number": "Plur",
"Person": "3",
"PronType": "Emp",
},
"PRON_Case=Nom|Number=Plur|Person=3|PronType=Prs": {
POS: PRON,
"Case": "Nom",
"Number": "Plur",
"Person": "3",
"PronType": "Prs",
},
"PRON_Case=Nom|Number=Plur|PronType=Rel": {
POS: PRON,
"Case": "Nom",
"Number": "Plur",
"PronType": "Rel",
},
"PRON_Case=Nom|Number=Sing|Number=Plur|Person=3|Person=1|PronType=Emp": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"Number": "Plur",
"Person": "3",
"Person": "1",
"PronType": "Emp",
},
"PRON_Case=Nom|Number=Sing|Person=1|PronType=Int": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"Person": "1",
"PronType": "Int",
},
"PRON_Case=Nom|Number=Sing|Person=1|PronType=Prs": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"Person": "1",
"PronType": "Prs",
},
"PRON_Case=Nom|Number=Sing|Person=2|Polite=Infm|PronType=Prs": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"Person": "2",
"Polite": "Infm",
"PronType": "Prs",
},
"PRON_Case=Nom|Number=Sing|Person=3|PronType=Emp": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"Person": "3",
"PronType": "Emp",
},
"PRON_Case=Nom|Number=Sing|Person=3|PronType=Prs": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"Person": "3",
"PronType": "Prs",
},
"PRON_Case=Nom|Number=Sing|PronType=Int": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"PronType": "Int",
},
"PRON_Case=Nom|Number=Sing|PronType=Rel": {
POS: PRON,
"Case": "Nom",
"Number": "Sing",
"PronType": "Rel",
},
"PRON_Case=Nom|Person=1|PronType=Tot": {
POS: PRON,
"Case": "Nom",
"Person": "1",
"PronType": "Tot",
},
"PRON_Case=Nom|PronType=Ind": {POS: PRON, "Case": "Nom", "PronType": "Ind"},
"PRON_Case=Nom|PronType=Tot": {POS: PRON, "Case": "Nom", "PronType": "Tot"},
"PRON_Distance=Dist|Number=Sing|PronType=Dem": {
POS: PRON,
"Distance": "Dist",
"Number": "Sing",
"PronType": "Dem",
},
"PRON_Distance=Med|PronType=Dem|Style=Coll": {
POS: PRON,
"Distance": "Med",
"PronType": "Dem",
"Style": "Coll",
},
"PRON_Distance=Prox|PronType=Dem|Style=Coll": {
POS: PRON,
"Distance": "Prox",
"PronType": "Dem",
"Style": "Coll",
},
"PRON_Number=Plur|PronType=Rel": {POS: PRON, "Number": "Plur", "PronType": "Rel"},
"PROPN_Abbr=Yes|Animacy=Hum|Case=Nom|Definite=Ind|NameType=Giv|Number=Sing": {
POS: PROPN,
"Abbr": "Yes",
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"NameType": "Giv",
"Number": "Sing",
},
"PROPN_Abbr=Yes|Animacy=Nhum|Case=Nom|Definite=Ind|NameType=Com|Number=Sing": {
POS: PROPN,
"Abbr": "Yes",
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"NameType": "Com",
"Number": "Sing",
},
"PROPN_Animacy=Hum|Case=Dat|Definite=Def|NameType=Sur|Number=Sing": {
POS: PROPN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Def",
"NameType": "Sur",
"Number": "Sing",
},
"PROPN_Animacy=Hum|Case=Dat|Definite=Ind|NameType=Prs|Number=Sing": {
POS: PROPN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"NameType": "Prs",
"Number": "Sing",
},
"PROPN_Animacy=Hum|Case=Dat|Definite=Ind|NameType=Sur|Number=Sing": {
POS: PROPN,
"Animacy": "Hum",
"Case": "Dat",
"Definite": "Ind",
"NameType": "Sur",
"Number": "Sing",
},
"PROPN_Animacy=Hum|Case=Nom|Definite=Def|NameType=Giv|Number=Sing": {
POS: PROPN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Def",
"NameType": "Giv",
"Number": "Sing",
},
"PROPN_Animacy=Hum|Case=Nom|Definite=Def|NameType=Sur|Number=Sing": {
POS: PROPN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Def",
"NameType": "Sur",
"Number": "Sing",
},
"PROPN_Animacy=Hum|Case=Nom|Definite=Ind|NameType=Giv|Number=Sing": {
POS: PROPN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"NameType": "Giv",
"Number": "Sing",
},
"PROPN_Animacy=Hum|Case=Nom|Definite=Ind|NameType=Sur|Number=Sing": {
POS: PROPN,
"Animacy": "Hum",
"Case": "Nom",
"Definite": "Ind",
"NameType": "Sur",
"Number": "Sing",
},
"PROPN_Animacy=Nhum|Case=Abl|Definite=Ind|NameType=Geo|Number=Coll": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Abl",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Coll",
},
"PROPN_Animacy=Nhum|Case=Abl|Definite=Ind|NameType=Geo|Number=Sing": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Abl",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Sing",
},
"PROPN_Animacy=Nhum|Case=Abl|Definite=Ind|Number=Plur": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Abl",
"Definite": "Ind",
"Number": "Plur",
},
"PROPN_Animacy=Nhum|Case=Dat|Definite=Ind|NameType=Geo|Number=Sing": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Sing",
},
"PROPN_Animacy=Nhum|Case=Dat|Definite=Ind|NameType=Geo|Number=Sing|Style=Coll": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Dat",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Sing",
"Style": "Coll",
},
"PROPN_Animacy=Nhum|Case=Loc|Definite=Ind|NameType=Geo|Number=Sing": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Loc",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Sing",
},
"PROPN_Animacy=Nhum|Case=Nom|Definite=Def|NameType=Geo|Number=Sing": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Def",
"NameType": "Geo",
"Number": "Sing",
},
"PROPN_Animacy=Nhum|Case=Nom|Definite=Def|NameType=Pro|Number=Sing|Style=Coll": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Def",
"NameType": "Pro",
"Number": "Sing",
"Style": "Coll",
},
"PROPN_Animacy=Nhum|Case=Nom|Definite=Ind|NameType=Geo|Number=Coll": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Coll",
},
"PROPN_Animacy=Nhum|Case=Nom|Definite=Ind|NameType=Geo|Number=Sing": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Sing",
},
"PROPN_Animacy=Nhum|Case=Nom|Definite=Ind|NameType=Geo|Number=Sing|Style=Vrnc": {
POS: PROPN,
"Animacy": "Nhum",
"Case": "Nom",
"Definite": "Ind",
"NameType": "Geo",
"Number": "Sing",
"Style": "Vrnc",
},
"SCONJ_Style=Coll": {POS: SCONJ, "Style": "Coll"},
"VERB_Aspect=Dur|Polarity=Neg|Subcat=Intr|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Dur",
"Polarity": "Neg",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Dur|Polarity=Pos|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Dur",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Dur|Polarity=Pos|Subcat=Intr|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Dur",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Dur|Polarity=Pos|Subcat=Tran|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Dur",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Aspect=Dur|Polarity=Pos|Subcat=Tran|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Dur",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Plur|Person=1|Polarity=Neg|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "1",
"Polarity": "Neg",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Plur|Person=1|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Plur|Person=3|Polarity=Neg|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Neg",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Plur|Person=3|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Sing|Person=1|Polarity=Pos|Subcat=Tran|Tense=Imp|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Imp",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Sing|Person=2|Polarity=Neg|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "2",
"Polarity": "Neg",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Neg|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Neg",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Neg|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Neg",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Imp|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Imp",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Imp|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Imp|Style=Coll|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Imp",
"Style": "Coll",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Style=Vrnc|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Imp",
"Style": "Vrnc",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Subcat=Intr|VerbForm=Part": {
POS: VERB,
"Aspect": "Imp",
"Subcat": "Intr",
"VerbForm": "Part",
},
"VERB_Aspect=Imp|Subcat=Intr|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Aspect=Imp|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Imp",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Imp|Subcat=Intr|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Imp",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Imp|Subcat=Tran|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Imp",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Aspect=Imp|Subcat=Tran|VerbForm=Part|Voice=Cau": {
POS: VERB,
"Aspect": "Imp",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Cau",
},
"VERB_Aspect=Iter|Case=Ins|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Intr|VerbForm=Gdv|Voice=Mid": {
POS: VERB,
"Aspect": "Iter",
"Case": "Ins",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Mid",
},
"VERB_Aspect=Iter|Case=Ins|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Tran|VerbForm=Gdv|Voice=Act": {
POS: VERB,
"Aspect": "Iter",
"Case": "Ins",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Gdv",
"Voice": "Act",
},
"VERB_Aspect=Iter": {POS: VERB, "Aspect": "Iter"},
"VERB_Aspect=Perf|Mood=Ind|Number=Plur|Person=3|Polarity=Neg|Subcat=Intr|Tense=Past|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Neg",
"Subcat": "Intr",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Plur|Person=3|Polarity=Pos|Subcat=Intr|Tense=Past|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Plur|Person=3|Polarity=Pos|Subcat=Tran|Tense=Past|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=1|Polarity=Neg|Subcat=Intr|Tense=Past|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Neg",
"Subcat": "Intr",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=1|Polarity=Pos|Style=Vrnc|Subcat=Tran|Tense=Past|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Style": "Vrnc",
"Subcat": "Tran",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=1|Polarity=Pos|Subcat=Intr|Tense=Past|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=1|Polarity=Pos|Subcat=Tran|Tense=Past|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=2|Polarity=Pos|Subcat=Tran|Tense=Past|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "2",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=3|Polarity=Neg|Style=Vrnc|Subcat=Intr|Tense=Past|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Neg",
"Style": "Vrnc",
"Subcat": "Intr",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=3|Polarity=Neg|Subcat=Tran|Tense=Past|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Neg",
"Subcat": "Tran",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Subcat=Intr|Tense=Past|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Past|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Perf|Mood=Ind|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Past|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Mood": "Ind",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Past",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Polarity=Neg|Subcat=Intr|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Perf",
"Polarity": "Neg",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Perf|Polarity=Pos|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Polarity=Pos|Subcat=Intr|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Perf",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Perf|Polarity=Pos|Subcat=Tran|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Aspect=Perf|Polarity=Pos|Subcat=Tran|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Perf",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Perf|Polarity=Pos|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Polarity": "Pos",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Aspect=Perf|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Perf",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Perf|Subcat=Intr|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Perf",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Perf|Subcat=Tran|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Perf",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Aspect=Perf|Subcat=Tran|VerbForm=Part|Voice=Cau": {
POS: VERB,
"Aspect": "Perf",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Cau",
},
"VERB_Aspect=Prog|Subcat=Intr|VerbForm=Conv|Voice=Mid": {
POS: VERB,
"Aspect": "Prog",
"Subcat": "Intr",
"VerbForm": "Conv",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Connegative=Yes|Mood=Cnd|Subcat=Tran|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Connegative": "Yes",
"Mood": "Cnd",
"Subcat": "Tran",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Plur|Person=3|Polarity=Pos|Style=Vrnc|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Style": "Vrnc",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Plur|Person=3|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Sing|Person=1|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Sing|Person=2|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Sing",
"Person": "2",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Sing|Person=3|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Sing|Person=3|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Pass": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Pass",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Imp|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Imp",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Cnd|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Cnd",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Imp|Number=Sing|Person=2|Subcat=Intr|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Imp",
"Number": "Sing",
"Person": "2",
"Subcat": "Intr",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Imp|Number=Sing|Person=2|Subcat=Tran|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Imp",
"Number": "Sing",
"Person": "2",
"Subcat": "Tran",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Plur|Person=1|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Plur",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Plur|Person=3|Polarity=Neg|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Plur",
"Person": "3",
"Polarity": "Neg",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Plur|Person=3|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Plur",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=1|Polarity=Neg|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "1",
"Polarity": "Neg",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=1|Polarity=Neg|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "1",
"Polarity": "Neg",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=1|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=1|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "1",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=2|Polarity=Pos|Subcat=Tran|Tense=Imp|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "2",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Imp",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=2|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "2",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=3|Polarity=Pos|Subcat=Intr|Tense=Imp|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Imp",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=3|Polarity=Pos|Subcat=Intr|Tense=Pres|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=3|Polarity=Pos|Subcat=Intr|VerbForm=Fin|Voice=Pass": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Fin",
"Voice": "Pass",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Imp|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Imp",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Number=Sing|Person=3|Polarity=Pos|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Number": "Sing",
"Person": "3",
"Polarity": "Pos",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Mood=Sub|Person=1|Polarity=Neg|Subcat=Tran|Tense=Pres|VerbForm=Fin|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Mood": "Sub",
"Person": "1",
"Polarity": "Neg",
"Subcat": "Tran",
"Tense": "Pres",
"VerbForm": "Fin",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Polarity=Pos|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Polarity=Pos|Subcat=Tran|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Aspect=Prosp|Subcat=Intr|VerbForm=Part|Voice=Mid": {
POS: VERB,
"Aspect": "Prosp",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Mid",
},
"VERB_Aspect=Prosp|Subcat=Intr|VerbForm=Part|Voice=Pass": {
POS: VERB,
"Aspect": "Prosp",
"Subcat": "Intr",
"VerbForm": "Part",
"Voice": "Pass",
},
"VERB_Aspect=Prosp|Subcat=Tran|VerbForm=Part|Voice=Act": {
POS: VERB,
"Aspect": "Prosp",
"Subcat": "Tran",
"VerbForm": "Part",
"Voice": "Act",
},
"VERB_Case=Abl|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Intr|VerbForm=Gdv|Voice=Mid": {
POS: VERB,
"Case": "Abl",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Mid",
},
"VERB_Case=Abl|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Intr|VerbForm=Gdv|Voice=Pass": {
POS: VERB,
"Case": "Abl",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Pass",
},
"VERB_Case=Abl|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Tran|VerbForm=Gdv|Voice=Act": {
POS: VERB,
"Case": "Abl",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Gdv",
"Voice": "Act",
},
"VERB_Case=Dat|Definite=Def|Number=Coll|Polarity=Pos|Subcat=Intr|VerbForm=Gdv|Voice=Mid": {
POS: VERB,
"Case": "Dat",
"Definite": "Def",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Mid",
},
"VERB_Case=Dat|Definite=Ind|Number=Coll|Polarity=Neg|Subcat=Intr|VerbForm=Gdv|Voice=Pass": {
POS: VERB,
"Case": "Dat",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Neg",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Pass",
},
"VERB_Case=Dat|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Intr|VerbForm=Gdv|Voice=Mid": {
POS: VERB,
"Case": "Dat",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Mid",
},
"VERB_Case=Dat|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Tran|VerbForm=Gdv|Voice=Act": {
POS: VERB,
"Case": "Dat",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Gdv",
"Voice": "Act",
},
"VERB_Case=Ins|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Intr|VerbForm=Gdv|Voice=Mid": {
POS: VERB,
"Case": "Ins",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Mid",
},
"VERB_Case=Ins|Definite=Ind|Number=Coll|Polarity=Pos|Subcat=Tran|VerbForm=Gdv|Voice=Act": {
POS: VERB,
"Case": "Ins",
"Definite": "Ind",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Gdv",
"Voice": "Act",
},
"VERB_Case=Nom|Definite=Def|Number=Coll|Polarity=Pos|Subcat=Intr|VerbForm=Gdv|Voice=Mid": {
POS: VERB,
"Case": "Nom",
"Definite": "Def",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Gdv",
"Voice": "Mid",
},
"VERB_Case=Nom|Definite=Def|Number=Coll|Polarity=Pos|Subcat=Tran|VerbForm=Gdv|Voice=Act": {
POS: VERB,
"Case": "Nom",
"Definite": "Def",
"Number": "Coll",
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Gdv",
"Voice": "Act",
},
"VERB_Mood=Imp|Number=Sing|Person=2|Subcat=Intr|VerbForm=Fin|Voice=Mid": {
POS: VERB,
"Mood": "Imp",
"Number": "Sing",
"Person": "2",
"Subcat": "Intr",
"VerbForm": "Fin",
"Voice": "Mid",
},
"VERB_Polarity=Neg|Subcat=Intr|VerbForm=Inf|Voice=Mid": {
POS: VERB,
"Polarity": "Neg",
"Subcat": "Intr",
"VerbForm": "Inf",
"Voice": "Mid",
},
"VERB_Polarity=Pos|Style=Coll|Subcat=Tran|VerbForm=Inf|Voice=Act": {
POS: VERB,
"Polarity": "Pos",
"Style": "Coll",
"Subcat": "Tran",
"VerbForm": "Inf",
"Voice": "Act",
},
"VERB_Polarity=Pos|Style=Vrnc|Subcat=Tran|VerbForm=Inf|Voice=Act": {
POS: VERB,
"Polarity": "Pos",
"Style": "Vrnc",
"Subcat": "Tran",
"VerbForm": "Inf",
"Voice": "Act",
},
"VERB_Polarity=Pos|Subcat=Intr|VerbForm=Inf|Voice=Mid": {
POS: VERB,
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Inf",
"Voice": "Mid",
},
"VERB_Polarity=Pos|Subcat=Intr|VerbForm=Inf|Voice=Pass": {
POS: VERB,
"Polarity": "Pos",
"Subcat": "Intr",
"VerbForm": "Inf",
"Voice": "Pass",
},
"VERB_Polarity=Pos|Subcat=Tran|Typo=Yes|VerbForm=Inf|Voice=Act": {
POS: VERB,
"Polarity": "Pos",
"Subcat": "Tran",
"Typo": "Yes",
"VerbForm": "Inf",
"Voice": "Act",
},
"VERB_Polarity=Pos|Subcat=Tran|VerbForm=Inf|Voice=Act": {
POS: VERB,
"Polarity": "Pos",
"Subcat": "Tran",
"VerbForm": "Inf",
"Voice": "Act",
},
"X_Foreign=Yes": {POS: X, "Foreign": "Yes"},
"X_Style=Vrnc": {POS: X, "Style": "Vrnc"},
}
| 29.48689
| 126
| 0.483939
| 7,649
| 73,098
| 4.579161
| 0.016734
| 0.09079
| 0.071261
| 0.046651
| 0.97085
| 0.934791
| 0.926997
| 0.895135
| 0.887341
| 0.73217
| 0
| 0.004537
| 0.303415
| 73,098
| 2,478
| 127
| 29.498789
| 0.68334
| 0.000164
| 0
| 0.737778
| 0
| 0.037576
| 0.490463
| 0.270483
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.010505
| 0.001212
| 0
| 0.001212
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9073d03dde688925da425a69405a2e218fa0a98b
| 13,381
|
py
|
Python
|
servicecatalog_puppet/workflow/provisioning_c_unit_test.py
|
continue-nature/aws-service-catalog-puppet
|
1b08fe235d0c005564a7646935c840722fa991f7
|
[
"Apache-2.0"
] | null | null | null |
servicecatalog_puppet/workflow/provisioning_c_unit_test.py
|
continue-nature/aws-service-catalog-puppet
|
1b08fe235d0c005564a7646935c840722fa991f7
|
[
"Apache-2.0"
] | null | null | null |
servicecatalog_puppet/workflow/provisioning_c_unit_test.py
|
continue-nature/aws-service-catalog-puppet
|
1b08fe235d0c005564a7646935c840722fa991f7
|
[
"Apache-2.0"
] | null | null | null |
import unittest
class ProvisioningArtifactParametersTaskTest(unittest.TestCase):
manifest_file_path = "lnklknkl"
puppet_account_id = "01234567890"
portfolio = "port1"
product = "prod1"
version = "v1"
account_id = "00987654321"
region = "eu-west-0"
def setUp(self) -> None:
from . import provisioning
self.sut = provisioning.ProvisioningArtifactParametersTask(
manifest_file_path=self.manifest_file_path,
puppet_account_id=self.puppet_account_id,
portfolio=self.portfolio,
product=self.product,
version=self.version,
account_id=self.account_id,
region=self.region,
)
def test_params_for_results_display(self):
expected_result = {
"portfolio": self.portfolio,
"product": self.product,
"version": self.version,
"account_id": self.account_id,
"region": self.region,
}
self.assertEqual(expected_result, self.sut.params_for_results_display())
def test_requires(self):
from . import portfoliomanagement as portfoliomanagement_tasks
expected_result = {
"details": portfoliomanagement_tasks.GetVersionIdByVersionName(
self.puppet_account_id,
self.manifest_file_path,
self.portfolio,
self.product,
self.version,
self.account_id,
self.region,
),
}
self.assertEqual(expected_result, self.sut.requires())
class ProvisionProductTaskTest(unittest.TestCase):
manifest_file_path = "lnklknkl"
launch_name = "adsfdf"
portfolio = "port1"
product = "prod1"
version = "version1"
region = "eu-west-0"
account_id = "09876543211"
puppet_account_id = "01234567890"
parameters = list()
ssm_param_inputs = list()
launch_parameters = dict()
manifest_parameters = dict()
account_parameters = dict()
retry_count = 1
worker_timeout = 5
ssm_param_outputs = list()
should_use_sns = True
should_use_product_plans = True
requested_priority = 1
execution = "hub"
def setUp(self) -> None:
from . import provisioning
self.sut = provisioning.ProvisionProductTask(
manifest_file_path=self.manifest_file_path,
launch_name=self.launch_name,
portfolio=self.portfolio,
product=self.product,
version=self.version,
region=self.region,
account_id=self.account_id,
puppet_account_id=self.puppet_account_id,
parameters=self.parameters,
ssm_param_inputs=self.ssm_param_inputs,
launch_parameters=self.launch_parameters,
manifest_parameters=self.manifest_parameters,
account_parameters=self.account_parameters,
retry_count=self.retry_count,
worker_timeout=self.worker_timeout,
ssm_param_outputs=self.ssm_param_outputs,
should_use_sns=self.should_use_sns,
should_use_product_plans=self.should_use_product_plans,
requested_priority=self.requested_priority,
execution=self.execution,
)
def test_params_for_results_display(self):
expected_result = {
"launch_name": self.launch_name,
"account_id": self.account_id,
"region": self.region,
"portfolio": self.portfolio,
"product": self.product,
"version": self.version,
"execution": self.execution,
}
self.assertEqual(expected_result, self.sut.params_for_results_display())
def test_api_calls_used(self):
expected_result = {
f"servicecatalog.list_launch_paths_{self.account_id}_{self.region}",
f"servicecatalog.scan_provisioned_products_single_page_{self.account_id}_{self.region}",
f"servicecatalog.describe_provisioned_product_{self.account_id}_{self.region}",
f"servicecatalog.terminate_provisioned_product_{self.account_id}_{self.region}",
f"servicecatalog.describe_record_{self.account_id}_{self.region}",
f"cloudformation.get_template_summary_{self.account_id}_{self.region}",
f"cloudformation.describe_stacks_{self.account_id}_{self.region}",
f"servicecatalog.list_provisioned_product_plans_single_page_{self.account_id}_{self.region}",
f"servicecatalog.delete_provisioned_product_plan_{self.account_id}_{self.region}",
f"servicecatalog.create_provisioned_product_plan_{self.account_id}_{self.region}",
f"servicecatalog.describe_provisioned_product_plan_{self.account_id}_{self.region}",
f"servicecatalog.execute_provisioned_product_plan_{self.account_id}_{self.region}",
f"servicecatalog.describe_provisioned_product_{self.account_id}_{self.region}",
f"servicecatalog.update_provisioned_product_{self.account_id}_{self.region}",
f"servicecatalog.provision_product_{self.account_id}_{self.region}",
# f"ssm.put_parameter_and_wait_{self.region}",
}
self.assertEqual(expected_result, self.sut.api_calls_used())
class ProvisionProductDryRunTaskTest(unittest.TestCase):
manifest_file_path = "lnklknkl"
launch_name = "adsfdf"
portfolio = "port1"
product = "prod1"
version = "version1"
region = "eu-west-0"
account_id = "09876543211"
puppet_account_id = "01234567890"
parameters = list()
ssm_param_inputs = list()
launch_parameters = dict()
manifest_parameters = dict()
account_parameters = dict()
retry_count = 1
worker_timeout = 5
ssm_param_outputs = list()
should_use_sns = True
should_use_product_plans = True
requested_priority = 1
execution = "hub"
def setUp(self) -> None:
from . import provisioning
self.sut = provisioning.ProvisionProductDryRunTask(
manifest_file_path=self.manifest_file_path,
launch_name=self.launch_name,
portfolio=self.portfolio,
product=self.product,
version=self.version,
region=self.region,
account_id=self.account_id,
puppet_account_id=self.puppet_account_id,
parameters=self.parameters,
ssm_param_inputs=self.ssm_param_inputs,
launch_parameters=self.launch_parameters,
manifest_parameters=self.manifest_parameters,
account_parameters=self.account_parameters,
retry_count=self.retry_count,
worker_timeout=self.worker_timeout,
ssm_param_outputs=self.ssm_param_outputs,
should_use_sns=self.should_use_sns,
should_use_product_plans=self.should_use_product_plans,
requested_priority=self.requested_priority,
execution=self.execution,
)
class TerminateProductTaskTest(unittest.TestCase):
manifest_file_path = "lnklknkl"
launch_name = "adsfdf"
portfolio = "port1"
product = "prod1"
version = "version1"
account_id = "09876543211"
region = "eu-west-0"
puppet_account_id = "01234567890"
retry_count = 1
ssm_param_outputs = list()
worker_timeout = 5
parameters = list()
ssm_param_inputs = list()
def setUp(self) -> None:
from . import provisioning
self.sut = provisioning.TerminateProductTask(
manifest_file_path=self.manifest_file_path,
puppet_account_id=self.puppet_account_id,
launch_name=self.launch_name,
portfolio=self.portfolio,
product=self.product,
version=self.version,
account_id=self.account_id,
region=self.region,
retry_count=self.retry_count,
ssm_param_outputs=self.ssm_param_outputs,
worker_timeout=self.worker_timeout,
parameters=self.parameters,
ssm_param_inputs=self.ssm_param_inputs,
)
def test_params_for_results_display(self):
expected_result = {
"account_id": self.account_id,
"region": self.region,
"portfolio": self.portfolio,
"product": self.product,
"version": self.version,
}
self.assertEqual(expected_result, self.sut.params_for_results_display())
class TerminateProductDryRunTaskTest(unittest.TestCase):
manifest_file_path = "lnklknkl"
launch_name = "adsfdf"
portfolio = "port1"
product = "prod1"
version = "version1"
account_id = "09876543211"
region = "eu-west-0"
puppet_account_id = "01234567890"
retry_count = 1
ssm_param_outputs = list()
worker_timeout = 5
parameters = list()
ssm_param_inputs = list()
def setUp(self) -> None:
from . import provisioning
self.sut = provisioning.TerminateProductDryRunTask(
manifest_file_path=self.manifest_file_path,
puppet_account_id=self.puppet_account_id,
launch_name=self.launch_name,
portfolio=self.portfolio,
product=self.product,
version=self.version,
account_id=self.account_id,
region=self.region,
retry_count=self.retry_count,
ssm_param_outputs=self.ssm_param_outputs,
worker_timeout=self.worker_timeout,
parameters=self.parameters,
ssm_param_inputs=self.ssm_param_inputs,
)
def test_params_for_results_display(self):
expected_result = {
"launch_name": self.launch_name,
"account_id": self.account_id,
"region": self.region,
"portfolio": self.portfolio,
"product": self.product,
"version": self.version,
}
self.assertEqual(expected_result, self.sut.params_for_results_display())
class ResetProvisionedProductOwnerTaskTest(unittest.TestCase):
manifest_file_path = "lnklknkl"
launch_name = "adsfdf"
account_id = "09876543211"
region = "eu-west-0"
def setUp(self) -> None:
from . import provisioning
self.sut = provisioning.ResetProvisionedProductOwnerTask(
manifest_file_path=self.manifest_file_path,
launch_name=self.launch_name,
account_id=self.account_id,
region=self.region,
)
def test_params_for_results_display(self):
expected_result = {
"launch_name": self.launch_name,
"account_id": self.account_id,
"region": self.region,
}
self.assertEqual(expected_result, self.sut.params_for_results_display())
class RunDeployInSpokeTaskTest(unittest.TestCase):
manifest_file_path = "lnklknkl"
puppet_account_id = "01234567890"
account_id = "09876543211"
home_region = "eu-west-0"
regions = list()
should_collect_cloudformation_events = False
should_forward_events_to_eventbridge = False
should_forward_failures_to_opscenter = True
def setUp(self) -> None:
from . import provisioning
self.sut = provisioning.RunDeployInSpokeTask(
manifest_file_path=self.manifest_file_path,
puppet_account_id=self.puppet_account_id,
account_id=self.account_id,
home_region=self.home_region,
regions=self.regions,
should_collect_cloudformation_events=self.should_collect_cloudformation_events,
should_forward_events_to_eventbridge=self.should_forward_events_to_eventbridge,
should_forward_failures_to_opscenter=self.should_forward_failures_to_opscenter,
)
def test_params_for_results_display(self):
expected_result = {
"manifest_file_path": self.manifest_file_path,
"puppet_account_id": self.puppet_account_id,
"account_id": self.account_id,
}
self.assertEqual(expected_result, self.sut.params_for_results_display())
#
# class LaunchInSpokeTaskTest(unittest.TestCase):
#
# def setUp(self) -> None:
# from . import provisioning
#
# self.sut = provisioning.LaunchInSpokeTask(
# )
#
# def test_params_for_results_display(self):
# expected_result = {
# "launch_name": self.launch_name,
# }
# self.assertEqual(expected_result, self.sut.params_for_results_display())
#
#
# class LaunchTaskTest(unittest.TestCase):
#
# def setUp(self) -> None:
# from . import provisioning
#
# self.sut = provisioning.LaunchTask(
# )
#
# def test_params_for_results_display(self):
# expected_result = {
# "launch_name": self.launch_name,
# }
# self.assertEqual(expected_result, self.sut.params_for_results_display())
#
#
# class SpokeLocalPortfolioTaskTest(unittest.TestCase):
#
# def setUp(self) -> None:
# from . import provisioning
#
# self.sut = provisioning.SpokeLocalPortfolioTask(
# )
#
# def test_params_for_results_display(self):
# expected_result = {
# "spoke_local_portfolio_name": self.spoke_local_portfolio_name,
# }
# self.assertEqual(expected_result, self.sut.params_for_results_display())
| 33.28607
| 105
| 0.65466
| 1,393
| 13,381
| 5.933238
| 0.09476
| 0.076225
| 0.05977
| 0.050091
| 0.850817
| 0.816455
| 0.816455
| 0.791894
| 0.779794
| 0.740835
| 0
| 0.017609
| 0.257305
| 13,381
| 401
| 106
| 33.369077
| 0.814047
| 0.091473
| 0
| 0.753425
| 0
| 0
| 0.144827
| 0.091322
| 0
| 0
| 0
| 0
| 0.027397
| 1
| 0.05137
| false
| 0
| 0.030822
| 0
| 0.39726
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
90d0694ddf476f059545a4134d2076c4482c57a0
| 108
|
py
|
Python
|
src/OCR-Mike/pyimagesearch/az_dataset/__init__.py
|
EquipoIA/image-recon
|
f53cef4073b49fc20be44d2555eb2e88c5154b2e
|
[
"MIT"
] | 1
|
2021-09-28T17:17:34.000Z
|
2021-09-28T17:17:34.000Z
|
src/OCR-Mike/pyimagesearch/az_dataset/__init__.py
|
EquipoIA/image-recon
|
f53cef4073b49fc20be44d2555eb2e88c5154b2e
|
[
"MIT"
] | null | null | null |
src/OCR-Mike/pyimagesearch/az_dataset/__init__.py
|
EquipoIA/image-recon
|
f53cef4073b49fc20be44d2555eb2e88c5154b2e
|
[
"MIT"
] | null | null | null |
# import the necessary packages
from .helpers import load_mnist_dataset
from .helpers import load_az_dataset
| 36
| 39
| 0.861111
| 16
| 108
| 5.5625
| 0.625
| 0.247191
| 0.382022
| 0.47191
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 108
| 3
| 40
| 36
| 0.927083
| 0.268519
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
292f38b02afbb4054e5a2910b3a83961da12d8bf
| 19,595
|
py
|
Python
|
celseq2/dummy_species.py
|
johannesnicolaus/celseq2
|
0a0873d46aa1889d5389d3faa50ec01c465e85bd
|
[
"BSD-3-Clause"
] | 14
|
2017-11-02T15:44:13.000Z
|
2022-03-26T13:37:17.000Z
|
celseq2/dummy_species.py
|
johannesnicolaus/celseq2
|
0a0873d46aa1889d5389d3faa50ec01c465e85bd
|
[
"BSD-3-Clause"
] | 25
|
2018-02-06T19:47:31.000Z
|
2022-03-03T07:46:04.000Z
|
celseq2/dummy_species.py
|
johannesnicolaus/celseq2
|
0a0873d46aa1889d5389d3faa50ec01c465e85bd
|
[
"BSD-3-Clause"
] | 13
|
2018-01-19T20:19:59.000Z
|
2022-03-26T13:37:16.000Z
|
'''
Create genome.fasta and annotation.gtf for dummy species.
There are totally 9 genes present.
Exon and intron length is fixed at 100bp and 200bp, respectively,
and inter-genic region is 300bp.
'''
import random
import argparse
def gtf_attr_str(gene_id=None, gene_name=None, gene_biotype=None,
transcript_id=None, exon_num=None):
'''
Simple writer to fill 'attribute' column of GTF
>>> gtf_attr_str()
>>> gtf_attr_str('g1', 'dummy_gene_1', 'g1_tx1', 1)
'gene_id "g1"; gene_name "dummy_gene_1"; transcript_id "g1_tx1"; exon_number "1";'
>>> gtf_attr_str('g1', 'dummy_gene_1')
'gene_id "g1"; gene_name "dummy_gene_1";'
'''
if not gene_id or not gene_name:
return(None)
out = "gene_id \"{gid}\"; gene_name \"{gname}\";".format(gid=gene_id,
gname=gene_name)
if gene_biotype:
out += " gene_biotype \"{biotype}\";".format(biotype=gene_biotype)
if transcript_id:
out += " transcript_id \"{txid}\";".format(txid=transcript_id)
if exon_num:
out += " exon_number \"{exidx}\";".format(exidx=exon_num)
return(out)
def gtf_str(chrm, src, feature, start, end, score, strand, frame, attr):
'''
Formatter to write single GTF line.
'''
out = ('{chrm}\t{src}\t{feature}\t{start}\t{end}\t{score}\t'
'{strand}\t{frame}\t{attr}').format(chrm=chrm,
src=src,
feature=feature,
start=start,
end=end,
score=score,
strand=strand,
frame=frame,
attr=attr)
return(out)
def dummy_gtf(saveto=None, len_exon=100, len_intron=200, len_intergenic=300):
'''
Create dummy GTF annations.
'''
fout = open(saveto, 'wt')
s_stream, e_stream = 1, 1
src = 'celseq2'
score = '.'
frame = '.'
out = []
# g0
g_attr = gtf_attr_str(gene_id='g0', gene_name='celseq2_gene-0', gene_biotype='protein_coding')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g0', gene_name='celseq2_gene-0', gene_biotype='protein_coding',
transcript_id='tx0')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(2):
exon_attr = gtf_attr_str(gene_id='g0', gene_name='celseq2_gene-0', gene_biotype='protein_coding',
transcript_id='tx0', exon_num=i + 1)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='+',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
s_stream, e_stream = e_stream - 2 * len_exon - 1 * len_intron + 1, e_stream
# g8
g_attr = gtf_attr_str(gene_id='g8', gene_name='celseq2_gene-8', gene_biotype='lincRNA')
g = gtf_str(chrm='chr2', src=src,
feature='gene',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g8', gene_name='celseq2_gene-8',
transcript_id='tx8', gene_biotype='lincRNA')
tx = gtf_str(chrm='chr2', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(2):
exon_attr = gtf_attr_str(gene_id='g8', gene_name='celseq2_gene-8', gene_biotype='lincRNA',
transcript_id='tx8', exon_num=i + 1)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr2', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='+',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
s_stream = e_stream + 1 + len_intergenic
# g1
g_attr = gtf_attr_str(gene_id='g1', gene_name='celseq2_gene-1', gene_biotype='miRNA')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=s_stream + 3 * len_exon + 2 * len_intron - 1,
score=score,
strand='-',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g1', gene_name='celseq2_gene-1', gene_biotype='miRNA',
transcript_id='tx1')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 3 * len_exon + 2 * len_intron - 1,
score=score,
strand='-',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(3, 0, -1):
exon_attr = gtf_attr_str(gene_id='g1', gene_name='celseq2_gene-1', gene_biotype='miRNA',
transcript_id='tx1', exon_num=i)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='-',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
s_stream = e_stream + 1 + len_intergenic
# g2
g_attr = gtf_attr_str(gene_id='g2', gene_name='celseq2_gene-2', gene_biotype='protein_coding')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='-',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g2', gene_name='celseq2_gene-2', gene_biotype='protein_coding',
transcript_id='tx2.1')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='-',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(2, 0, -1):
exon_attr = gtf_attr_str(gene_id='g2', gene_name='celseq2_gene-2', gene_biotype='protein_coding',
transcript_id='tx2', exon_num=i)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='-',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
tx_attr = gtf_attr_str(gene_id='g2', gene_name='celseq2_gene-2', gene_biotype='protein_coding',
transcript_id='tx2.2')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=int(e_stream - 1.5 * len_exon),
end=int(e_stream + 1.5 * len_exon),
score=score,
strand='-',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
exon_attr = gtf_attr_str(gene_id='g2', gene_name='celseq2_gene-2', gene_biotype='protein_coding',
transcript_id='tx2.2', exon_num=1)
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=int(e_stream - 1.5 * len_exon),
end=int(e_stream + 1.5 * len_exon),
score=score,
strand='-',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intergenic
# g3
g_attr = gtf_attr_str(gene_id='g3', gene_name='celseq2_gene-3', gene_biotype='protein_coding')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g3', gene_name='celseq2_gene-3', gene_biotype='protein_coding',
transcript_id='tx3')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(2):
exon_attr = gtf_attr_str(gene_id='g3', gene_name='celseq2_gene-3', gene_biotype='protein_coding',
transcript_id='tx3', exon_num=i + 1)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='+',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
s_stream = e_stream + 1 + len_intergenic
# g4
g_attr = gtf_attr_str(gene_id='g4', gene_name='celseq2_gene-4', gene_biotype='protein_coding')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g4', gene_name='celseq2_gene-4', gene_biotype='protein_coding',
transcript_id='tx4')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(2):
exon_attr = gtf_attr_str(gene_id='g4', gene_name='celseq2_gene-4', gene_biotype='protein_coding',
transcript_id='tx4', exon_num=i + 1)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='+',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
# g5
s_stream, e_stream = e_stream - len_exon + 1, e_stream
g_attr = gtf_attr_str(gene_id='g5', gene_name='celseq2_gene-5', gene_biotype='protein_coding')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=e_stream,
score=score,
strand='-',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g5', gene_name='celseq2_gene-5', gene_biotype='protein_coding',
transcript_id='tx5')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=e_stream,
score=score,
strand='-',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(1, 0, -1):
exon_attr = gtf_attr_str(gene_id='g5', gene_name='celseq2_gene-5', gene_biotype='protein_coding',
transcript_id='tx5', exon_num=i)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='-',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
s_stream = e_stream + 1 + len_intergenic
# g6
g_attr = gtf_attr_str(gene_id='g6', gene_name='celseq2_gene-6', gene_biotype='protein_coding')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=s_stream + 1 * len_exon + 0 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g6', gene_name='celseq2_gene-6', gene_biotype='protein_coding',
transcript_id='tx6')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 1 * len_exon + 0 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
exon_attr = gtf_attr_str(gene_id='g6', gene_name='celseq2_gene-6', gene_biotype='protein_coding',
transcript_id='tx6', exon_num=1)
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=s_stream + 1 * len_exon + 0 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
# g7
g_attr = gtf_attr_str(gene_id='g7', gene_name='celseq2_gene-7', gene_biotype='protein_coding')
g = gtf_str(chrm='chr1', src=src,
feature='gene',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=g_attr)
fout.write('{}\n'.format(g))
out.append(g)
tx_attr = gtf_attr_str(gene_id='g7', gene_name='celseq2_gene-7', gene_biotype='protein_coding',
transcript_id='tx7')
tx = gtf_str(chrm='chr1', src=src,
feature='transcript',
start=s_stream,
end=s_stream + 2 * len_exon + 1 * len_intron - 1,
score=score,
strand='+',
frame=frame,
attr=tx_attr)
fout.write('{}\n'.format(tx))
out.append(tx)
for i in range(2):
exon_attr = gtf_attr_str(gene_id='g7', gene_name='celseq2_gene-7', gene_biotype='protein_coding',
transcript_id='tx7', exon_num=i + 1)
s_stream, e_stream = s_stream, s_stream + len_exon - 1
exon = gtf_str(chrm='chr1', src=src,
feature='exon',
start=s_stream,
end=e_stream,
score=score,
strand='+',
frame=frame,
attr=exon_attr)
fout.write('{}\n'.format(exon))
out.append(exon)
s_stream = e_stream + 1 + len_intron
e_total = e_stream
print('End of chr1 is {}'.format(e_total))
fout.close()
return(out)
def dummy_fasta(saveto, max_len=5000):
'''
Generate FASTA
chr1: total length 5K
chr2: same as very first 500bp
'''
fasta = ['A'] * int(max_len * 0.25) + \
['T'] * int(max_len * 0.25) + \
['G'] * int(max_len * 0.25) + \
['C'] * int(max_len * 0.25)
random.seed(42)
random.shuffle(fasta)
chr1 = fasta
chr2 = fasta[:500]
wrap_len = 60
with open(saveto, 'w') as fout:
fout.write('>chr1\n')
for i in range(0, len(chr1), wrap_len):
j = i + wrap_len if i + wrap_len < len(chr1) else len(chr1)
fout.write('{}\n'.format(
''.join(chr1[i:j])))
fout.write('>chr2\n')
for i in range(0, len(chr2), wrap_len):
j = i + wrap_len if i + wrap_len < len(chr2) else len(chr2)
fout.write('{}\n'.format(
''.join(chr2[i:j])))
def get_argument_parser():
parser = argparse.ArgumentParser(add_help=True)
parser.add_argument(
'--gtf',
metavar="FILE",
help='Save dummy GTF to file.')
parser.add_argument(
'--fasta',
metavar="FILE",
help='Save dummy FASTA to file.')
parser.add_argument(
'--test',
action='store_true', default=False,
help='Perform doctest only.')
return(parser)
def main():
p = get_argument_parser()
args = p.parse_args()
if args.test:
import doctest
doctest.testmod()
else:
dummy_gtf(args.gtf)
dummy_fasta(args.fasta)
if __name__ == '__main__':
main()
| 37.610365
| 105
| 0.490839
| 2,365
| 19,595
| 3.818605
| 0.074419
| 0.065109
| 0.036541
| 0.054922
| 0.820839
| 0.797254
| 0.794818
| 0.780866
| 0.778098
| 0.770568
| 0
| 0.027468
| 0.381322
| 19,595
| 520
| 106
| 37.682692
| 0.717479
| 0.032508
| 0
| 0.723077
| 0
| 0.002198
| 0.086989
| 0.004031
| 0
| 0
| 0
| 0
| 0
| 1
| 0.013187
| false
| 0
| 0.006593
| 0
| 0.01978
| 0.002198
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
295a3bb057d713394b28378645a4fe0d12c39352
| 85
|
py
|
Python
|
uu/retrieval/collection/__init__.py
|
mostscript/uu.retrieval
|
15147013d42cc08126b971ba5eda35d044bb8c4d
|
[
"MIT"
] | null | null | null |
uu/retrieval/collection/__init__.py
|
mostscript/uu.retrieval
|
15147013d42cc08126b971ba5eda35d044bb8c4d
|
[
"MIT"
] | null | null | null |
uu/retrieval/collection/__init__.py
|
mostscript/uu.retrieval
|
15147013d42cc08126b971ba5eda35d044bb8c4d
|
[
"MIT"
] | null | null | null |
from base import BaseCollection # noqa
from base import BaseNamedCollection # noqa
| 28.333333
| 44
| 0.811765
| 10
| 85
| 6.9
| 0.6
| 0.231884
| 0.405797
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164706
| 85
| 2
| 45
| 42.5
| 0.971831
| 0.105882
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
465e6788d64dcdf9c44bf03d663264fa2c15a64d
| 3,662
|
py
|
Python
|
microblot/cms/views.py
|
nkantar/Microblot
|
80d40c41ded625c451cd5396c1c09d779dec2061
|
[
"MIT"
] | 4
|
2020-06-29T00:30:34.000Z
|
2021-03-11T19:17:08.000Z
|
microblot/cms/views.py
|
nkantar/Microblot
|
80d40c41ded625c451cd5396c1c09d779dec2061
|
[
"MIT"
] | 198
|
2020-06-29T01:18:12.000Z
|
2021-04-25T22:54:09.000Z
|
microblot/cms/views.py
|
nkantar/Microblot
|
80d40c41ded625c451cd5396c1c09d779dec2061
|
[
"MIT"
] | 1
|
2021-01-14T22:33:00.000Z
|
2021-01-14T22:33:00.000Z
|
from django.views.generic import DetailView, ListView, RedirectView
from .models import Author, Post
class BlogHomeView(ListView):
context_object_name = "posts"
model = Post
template_name = "blog_home.html"
def get_queryset(self):
queryset = self.model.objects.filter(
blog__site_id=self.request.site.id,
status=self.model.PUBLISHED,
).order_by("-created_at")
return queryset
class BlogFeedView(ListView):
context_object_name = "posts"
model = Post
content_type = "application/atom+xml"
template_name = "feed.xml"
def get_queryset(self):
queryset = self.model.objects.filter(
blog__site_id=self.request.site.id,
status=self.model.PUBLISHED,
).order_by("-created_at")[:10]
return queryset
class BlogPostView(DetailView):
model = Post
template_name = "blog_post.html"
def get_object(self, queryset=None):
post = self.model.objects.get(
blog__site_id=self.request.site.id,
short_code=self.kwargs.get("post_short_code"),
status=self.model.PUBLISHED,
)
return post
class BlogDraftView(DetailView):
context_object_name = "post"
model = Post
template_name = "blog_post.html"
def get_object(self, queryset=None):
post = self.model.objects.get(
blog__site_id=self.request.site.id,
short_code=self.kwargs.get("post_short_code"),
status=self.model.DRAFT,
)
return post
class BlogCategoryView(ListView):
context_object_name = "posts"
model = Post
template_name = "category_page.html"
def get_context_data(self, **kwargs):
context = super(BlogCategoryView, self).get_context_data(**kwargs)
context["category_slug"] = self.kwargs["category_slug"]
return context
def get_queryset(self):
queryset = self.model.objects.filter(
blog__site_id=self.request.site.id,
category__slug=self.kwargs["category_slug"],
status=self.model.PUBLISHED,
).order_by("-created_at")
return queryset
class BlogAuthorView(ListView):
context_object_name = "posts"
model = Post
template_name = "author_page.html"
def get_context_data(self, **kwargs):
context = super(BlogAuthorView, self).get_context_data(**kwargs)
context["author"] = Author.objects.get(
slug=self.kwargs["author_slug"],
blog__site_id=self.request.site.id,
)
return context
def get_queryset(self):
queryset = self.model.objects.filter(
blog__site_id=self.request.site.id,
author__slug=self.kwargs["author_slug"],
status=self.model.PUBLISHED,
).order_by("-created_at")
return queryset
class BlogAuthorFeedView(ListView):
context_object_name = "posts"
model = Post
template_name = "author_feed.xml"
def get_context_data(self, **kwargs):
context = super(BlogAuthorFeedView, self).get_context_data(**kwargs)
context["author"] = Author.objects.get(
slug=self.kwargs["author_slug"],
blog__site_id=self.request.site.id,
)
return context
def get_queryset(self):
queryset = self.model.objects.filter(
blog__site_id=self.request.site.id,
author__slug=self.kwargs["author_slug"],
status=self.model.PUBLISHED,
).order_by("-created_at")[:10]
return queryset
class PostsRedirectView(RedirectView):
def get_redirect_url(self, *args, **kwargs):
return "/"
| 29.063492
| 76
| 0.642545
| 425
| 3,662
| 5.294118
| 0.152941
| 0.048
| 0.04
| 0.056
| 0.797333
| 0.795556
| 0.753333
| 0.736
| 0.718667
| 0.673333
| 0
| 0.001453
| 0.248498
| 3,662
| 125
| 77
| 29.296
| 0.816134
| 0
| 0
| 0.704082
| 0
| 0
| 0.089842
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.112245
| false
| 0
| 0.020408
| 0.010204
| 0.540816
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
46750d98a76a54981437e789898af35b9ab3a4a5
| 30
|
py
|
Python
|
ua_gen/__init__.py
|
chorsley/useragent-picker-cli
|
689a353499148fbe07fae2efa91b5bce59ae2cc2
|
[
"MIT"
] | 3
|
2020-07-28T05:34:57.000Z
|
2021-10-09T21:27:19.000Z
|
ua_gen/__init__.py
|
chorsley/useragent-picker-cli
|
689a353499148fbe07fae2efa91b5bce59ae2cc2
|
[
"MIT"
] | 29
|
2020-07-17T04:22:04.000Z
|
2021-07-13T19:51:25.000Z
|
ua_gen/__init__.py
|
chorsley/useragent-picker-cli
|
689a353499148fbe07fae2efa91b5bce59ae2cc2
|
[
"MIT"
] | null | null | null |
from .ua_rules import ua_rules
| 30
| 30
| 0.866667
| 6
| 30
| 4
| 0.666667
| 0.583333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 30
| 1
| 30
| 30
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
d3b4c6317baf3c836d99c4cb14859a8561ae4f9a
| 145,631
|
py
|
Python
|
src/hapPyTango/Tango/__init__.py
|
mguijarr/hapPyTango
|
2506c8e83d93fbd2c0a0115983489d59c74caa2f
|
[
"MIT"
] | 1
|
2020-10-28T16:57:36.000Z
|
2020-10-28T16:57:36.000Z
|
src/hapPyTango/Tango/__init__.py
|
mguijarr/hapPyTango
|
2506c8e83d93fbd2c0a0115983489d59c74caa2f
|
[
"MIT"
] | null | null | null |
src/hapPyTango/Tango/__init__.py
|
mguijarr/hapPyTango
|
2506c8e83d93fbd2c0a0115983489d59c74caa2f
|
[
"MIT"
] | null | null | null |
""" Module: IDL:Tango:1.0
Automagically generated by:-
The ORB called Fnorb v1.1.Return.of.Fnorb
"""
_FNORB_ID = "IDL:Tango:1.0"
# Fnorb modules.
import Fnorb.orb.CORBA
import Fnorb.orb.TypeManager
import Fnorb.orb.Util
# Alias: IDL:Tango/DevBoolean:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevBoolean:1.0", "0000000000000008", None)
# Alias: IDL:Tango/DevDouble:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevDouble:1.0", "0000000000000007", None)
# Alias: IDL:Tango/DevFloat:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevFloat:1.0", "0000000000000006", None)
# Alias: IDL:Tango/DevShort:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevShort:1.0", "0000000000000002", None)
# Alias: IDL:Tango/DevLong:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevLong:1.0", "0000000000000003", None)
# Alias: IDL:Tango/DevLong64:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevLong64:1.0", "0000000000000017", None)
# Alias: IDL:Tango/DevString:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevString:1.0", "000000000000001200000000", None)
# Alias: IDL:Tango/DevUChar:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevUChar:1.0", "000000000000000A", None)
# Alias: IDL:Tango/DevUShort:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevUShort:1.0", "0000000000000004", None)
# Alias: IDL:Tango/DevULong:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevULong:1.0", "0000000000000005", None)
# Alias: IDL:Tango/DevULong64:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevULong64:1.0", "0000000000000005", None)
# Alias: IDL:Tango/DevVarBooleanArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarBooleanArray:1.0", "00000000000000130000000C000000000000000800000000", None)
# Alias: IDL:Tango/DevVarDoubleArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarDoubleArray:1.0", "00000000000000130000000C000000000000000700000000", None)
# Alias: IDL:Tango/DevVarFloatArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarFloatArray:1.0", "00000000000000130000000C000000000000000600000000", None)
# Alias: IDL:Tango/DevVarShortArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarShortArray:1.0", "00000000000000130000000C000000000000000200000000", None)
# Alias: IDL:Tango/DevVarLongArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarLongArray:1.0", "00000000000000130000000C000000000000000300000000", None)
# Alias: IDL:Tango/DevVarLong64Array:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarLong64Array:1.0", "00000000000000130000000C000000000000001700000000", None)
# Alias: IDL:Tango/DevVarCharArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarCharArray:1.0", "00000000000000130000000C000000000000000A00000000", None)
# Alias: IDL:Tango/DevVarStringArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarStringArray:1.0", "00000000000000130000001000000000000000120000000000000000", None)
# Alias: IDL:Tango/DevVarUShortArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarUShortArray:1.0", "00000000000000130000000C000000000000000400000000", None)
# Alias: IDL:Tango/DevVarULongArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarULongArray:1.0", "00000000000000130000000C000000000000000500000000", None)
# Alias: IDL:Tango/DevVarULong64Array:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarULong64Array:1.0", "00000000000000130000000C000000000000000500000000", None)
class DevVarLongStringArray:
""" Struct: IDL:Tango/DevVarLongStringArray:1.0 """
_FNORB_ID = "IDL:Tango/DevVarLongStringArray:1.0"
def __init__(self, _lvalue, _svalue):
""" Constructor. """
self.lvalue = _lvalue
self.svalue = _svalue
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.lvalue, self.svalue)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarLongStringArray:1.0", "000000000000000F0000011C000000000000002449444C3A54616E676F2F4465765661724C6F6E67537472696E6741727261793A312E3000000000164465765661724C6F6E67537472696E67417272617900000000000002000000076C76616C756500000000001500000050000000000000001E49444C3A54616E676F2F4465765661724C6F6E6741727261793A312E30000000000000104465765661724C6F6E67417272617900000000130000000C000000000000000300000000000000077376616C756500000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", DevVarLongStringArray)
class DevVarDoubleStringArray:
""" Struct: IDL:Tango/DevVarDoubleStringArray:1.0 """
_FNORB_ID = "IDL:Tango/DevVarDoubleStringArray:1.0"
def __init__(self, _dvalue, _svalue):
""" Constructor. """
self.dvalue = _dvalue
self.svalue = _svalue
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.dvalue, self.svalue)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarDoubleStringArray:1.0", "000000000000000F00000124000000000000002649444C3A54616E676F2F446576566172446F75626C65537472696E6741727261793A312E3000000000000018446576566172446F75626C65537472696E6741727261790000000002000000076476616C756500000000001500000054000000000000002049444C3A54616E676F2F446576566172446F75626C6541727261793A312E300000000012446576566172446F75626C654172726179000000000000130000000C000000000000000700000000000000077376616C756500000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", DevVarDoubleStringArray)
class DevEncoded:
""" Struct: IDL:Tango/DevEncoded:1.0 """
_FNORB_ID = "IDL:Tango/DevEncoded:1.0"
def __init__(self, _encoded_format, _encoded_data):
""" Constructor. """
self.encoded_format = _encoded_format
self.encoded_data = _encoded_data
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.encoded_format, self.encoded_data)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevEncoded:1.0", "000000000000000F000000F8000000000000001949444C3A54616E676F2F446576456E636F6465643A312E30000000000000000B446576456E636F6465640000000000020000000F656E636F6465645F666F726D617400000000001500000038000000000000001849444C3A54616E676F2F446576537472696E673A312E30000000000A446576537472696E6700000000000012000000000000000D656E636F6465645F64617461000000000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A00000000", DevEncoded)
# Alias: IDL:Tango/DevVarEncodedArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarEncodedArray:1.0", "000000000000001300000108000000000000000F000000F8000000000000001949444C3A54616E676F2F446576456E636F6465643A312E30000000000000000B446576456E636F6465640000000000020000000F656E636F6465645F666F726D617400000000001500000038000000000000001849444C3A54616E676F2F446576537472696E673A312E30000000000A446576537472696E6700000000000012000000000000000D656E636F6465645F64617461000000000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A0000000000000000", None)
# Alias: IDL:Tango/JavaUUID:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/JavaUUID:1.0", "00000000000000140000000C000000000000000500000002", None)
# Alias: IDL:Tango/CppClntIdent:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/CppClntIdent:1.0", "0000000000000005", None)
class JavaClntIdent:
""" Struct: IDL:Tango/JavaClntIdent:1.0 """
_FNORB_ID = "IDL:Tango/JavaClntIdent:1.0"
def __init__(self, _MainClass, _uuid):
""" Constructor. """
self.MainClass = _MainClass
self.uuid = _uuid
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.MainClass, self.uuid)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/JavaClntIdent:1.0", "000000000000000F000000AC000000000000001C49444C3A54616E676F2F4A617661436C6E744964656E743A312E30000000000E4A617661436C6E744964656E74000000000000020000000A4D61696E436C61737300000000000012000000000000000575756964000000000000001500000044000000000000001749444C3A54616E676F2F4A617661555549443A312E300000000000094A6176615555494400000000000000140000000C000000000000000500000002", JavaClntIdent)
# Enum: IDL:Tango/LockerLanguage:1.0
CPP = Fnorb.orb.Util.EnumMember("CPP", 0)
JAVA = Fnorb.orb.Util.EnumMember("JAVA", 1)
LockerLanguage = Fnorb.orb.Util.Enum("IDL:Tango/LockerLanguage:1.0", [CPP, JAVA])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/LockerLanguage:1.0", "000000000000001100000051000000000000001D49444C3A54616E676F2F4C6F636B65724C616E67756167653A312E30000000000000000F4C6F636B65724C616E67756167650000000000020000000443505000000000054A41564100", LockerLanguage)
class ClntIdent(Fnorb.orb.Util.Union):
""" Union: IDL:Tango/ClntIdent:1.0 """
_FNORB_ID = "IDL:Tango/ClntIdent:1.0"
pass
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/ClntIdent:1.0", "0000000000000010000001B4000000000000001849444C3A54616E676F2F436C6E744964656E743A312E30000000000A436C6E744964656E740000000000001100000051000000000000001D49444C3A54616E676F2F4C6F636B65724C616E67756167653A312E30000000000000000F4C6F636B65724C616E67756167650000000000020000000443505000000000054A41564100000000FFFFFFFF0000000200000000000000096370705F636C6E7400000000000000150000003C000000000000001B49444C3A54616E676F2F437070436C6E744964656E743A312E3000000000000D437070436C6E744964656E740000000000000005000000010000000A6A6176615F636C6E740000000000000F000000AC000000000000001C49444C3A54616E676F2F4A617661436C6E744964656E743A312E30000000000E4A617661436C6E744964656E74000000000000020000000A4D61696E436C61737300000000000012000000000000000575756964000000000000001500000044000000000000001749444C3A54616E676F2F4A617661555549443A312E300000000000094A6176615555494400000000000000140000000C000000000000000500000002", ClntIdent)
# Enum: IDL:Tango/AttrQuality:1.0
ATTR_VALID = Fnorb.orb.Util.EnumMember("ATTR_VALID", 0)
ATTR_INVALID = Fnorb.orb.Util.EnumMember("ATTR_INVALID", 1)
ATTR_ALARM = Fnorb.orb.Util.EnumMember("ATTR_ALARM", 2)
ATTR_CHANGING = Fnorb.orb.Util.EnumMember("ATTR_CHANGING", 3)
ATTR_WARNING = Fnorb.orb.Util.EnumMember("ATTR_WARNING", 4)
AttrQuality = Fnorb.orb.Util.Enum("IDL:Tango/AttrQuality:1.0", [ATTR_VALID, ATTR_INVALID, ATTR_ALARM, ATTR_CHANGING, ATTR_WARNING])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttrQuality:1.0", "000000000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E4700", AttrQuality)
# Enum: IDL:Tango/AttrWriteType:1.0
READ = Fnorb.orb.Util.EnumMember("READ", 0)
READ_WITH_WRITE = Fnorb.orb.Util.EnumMember("READ_WITH_WRITE", 1)
WRITE = Fnorb.orb.Util.EnumMember("WRITE", 2)
READ_WRITE = Fnorb.orb.Util.EnumMember("READ_WRITE", 3)
AttrWriteType = Fnorb.orb.Util.Enum("IDL:Tango/AttrWriteType:1.0", [READ, READ_WITH_WRITE, WRITE, READ_WRITE])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttrWriteType:1.0", "000000000000001100000077000000000000001C49444C3A54616E676F2F417474725772697465547970653A312E30000000000E417474725772697465547970650000000000000400000005524541440000000000000010524541445F574954485F5752495445000000000657524954450000000000000B524541445F575249544500", AttrWriteType)
# Enum: IDL:Tango/AttrDataFormat:1.0
SCALAR = Fnorb.orb.Util.EnumMember("SCALAR", 0)
SPECTRUM = Fnorb.orb.Util.EnumMember("SPECTRUM", 1)
IMAGE = Fnorb.orb.Util.EnumMember("IMAGE", 2)
FMT_UNKNOWN = Fnorb.orb.Util.EnumMember("FMT_UNKNOWN", 3)
AttrDataFormat = Fnorb.orb.Util.Enum("IDL:Tango/AttrDataFormat:1.0", [SCALAR, SPECTRUM, IMAGE, FMT_UNKNOWN])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttrDataFormat:1.0", "000000000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E00", AttrDataFormat)
# Enum: IDL:Tango/DevSource:1.0
DEV = Fnorb.orb.Util.EnumMember("DEV", 0)
CACHE = Fnorb.orb.Util.EnumMember("CACHE", 1)
CACHE_DEV = Fnorb.orb.Util.EnumMember("CACHE_DEV", 2)
DevSource = Fnorb.orb.Util.Enum("IDL:Tango/DevSource:1.0", [DEV, CACHE, CACHE_DEV])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevSource:1.0", "000000000000001100000056000000000000001849444C3A54616E676F2F446576536F757263653A312E30000000000A446576536F757263650000000000000300000004444556000000000643414348450000000000000A43414348455F44455600", DevSource)
# Enum: IDL:Tango/ErrSeverity:1.0
WARN = Fnorb.orb.Util.EnumMember("WARN", 0)
ERR = Fnorb.orb.Util.EnumMember("ERR", 1)
PANIC = Fnorb.orb.Util.EnumMember("PANIC", 2)
ErrSeverity = Fnorb.orb.Util.Enum("IDL:Tango/ErrSeverity:1.0", [WARN, ERR, PANIC])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/ErrSeverity:1.0", "000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E494300", ErrSeverity)
# Enum: IDL:Tango/DevState:1.0
ON = Fnorb.orb.Util.EnumMember("ON", 0)
OFF = Fnorb.orb.Util.EnumMember("OFF", 1)
CLOSE = Fnorb.orb.Util.EnumMember("CLOSE", 2)
OPEN = Fnorb.orb.Util.EnumMember("OPEN", 3)
INSERT = Fnorb.orb.Util.EnumMember("INSERT", 4)
EXTRACT = Fnorb.orb.Util.EnumMember("EXTRACT", 5)
MOVING = Fnorb.orb.Util.EnumMember("MOVING", 6)
STANDBY = Fnorb.orb.Util.EnumMember("STANDBY", 7)
FAULT = Fnorb.orb.Util.EnumMember("FAULT", 8)
INIT = Fnorb.orb.Util.EnumMember("INIT", 9)
RUNNING = Fnorb.orb.Util.EnumMember("RUNNING", 10)
ALARM = Fnorb.orb.Util.EnumMember("ALARM", 11)
DISABLE = Fnorb.orb.Util.EnumMember("DISABLE", 12)
UNKNOWN = Fnorb.orb.Util.EnumMember("UNKNOWN", 13)
DevState = Fnorb.orb.Util.Enum("IDL:Tango/DevState:1.0", [ON, OFF, CLOSE, OPEN, INSERT, EXTRACT, MOVING, STANDBY, FAULT, INIT, RUNNING, ALARM, DISABLE, UNKNOWN])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevState:1.0", "0000000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E00", DevState)
# Enum: IDL:Tango/DispLevel:1.0
OPERATOR = Fnorb.orb.Util.EnumMember("OPERATOR", 0)
EXPERT = Fnorb.orb.Util.EnumMember("EXPERT", 1)
DispLevel = Fnorb.orb.Util.Enum("IDL:Tango/DispLevel:1.0", [OPERATOR, EXPERT])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DispLevel:1.0", "00000000000000110000004F000000000000001849444C3A54616E676F2F446973704C6576656C3A312E30000000000A446973704C6576656C00000000000002000000094F50455241544F52000000000000000745585045525400", DispLevel)
# Alias: IDL:Tango/DevVarStateArray:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevVarStateArray:1.0", "0000000000000013000000E40000000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E0000000000", None)
class TimeVal:
""" Struct: IDL:Tango/TimeVal:1.0 """
_FNORB_ID = "IDL:Tango/TimeVal:1.0"
def __init__(self, _tv_sec, _tv_usec, _tv_nsec):
""" Constructor. """
self.tv_sec = _tv_sec
self.tv_usec = _tv_usec
self.tv_nsec = _tv_nsec
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.tv_sec, self.tv_usec, self.tv_nsec)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/TimeVal:1.0", "000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003", TimeVal)
class DevCmdInfo:
""" Struct: IDL:Tango/DevCmdInfo:1.0 """
_FNORB_ID = "IDL:Tango/DevCmdInfo:1.0"
def __init__(self, _cmd_name, _cmd_tag, _in_type, _out_type, _in_type_desc, _out_type_desc):
""" Constructor. """
self.cmd_name = _cmd_name
self.cmd_tag = _cmd_tag
self.in_type = _in_type
self.out_type = _out_type
self.in_type_desc = _in_type_desc
self.out_type_desc = _out_type_desc
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.cmd_name, self.cmd_tag, self.in_type, self.out_type, self.in_type_desc, self.out_type_desc)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevCmdInfo:1.0", "000000000000000F000000BC000000000000001949444C3A54616E676F2F446576436D64496E666F3A312E30000000000000000B446576436D64496E666F00000000000600000009636D645F6E616D6500000000000000120000000000000008636D645F746167000000000300000008696E5F747970650000000003000000096F75745F7479706500000000000000030000000D696E5F747970655F646573630000000000000012000000000000000E6F75745F747970655F646573630000000000001200000000", DevCmdInfo)
class DevCmdInfo_2:
""" Struct: IDL:Tango/DevCmdInfo_2:1.0 """
_FNORB_ID = "IDL:Tango/DevCmdInfo_2:1.0"
def __init__(self, _cmd_name, _level, _cmd_tag, _in_type, _out_type, _in_type_desc, _out_type_desc):
""" Constructor. """
self.cmd_name = _cmd_name
self.level = _level
self.cmd_tag = _cmd_tag
self.in_type = _in_type
self.out_type = _out_type
self.in_type_desc = _in_type_desc
self.out_type_desc = _out_type_desc
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.cmd_name, self.level, self.cmd_tag, self.in_type, self.out_type, self.in_type_desc, self.out_type_desc)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevCmdInfo_2:1.0", "000000000000000F00000124000000000000001B49444C3A54616E676F2F446576436D64496E666F5F323A312E3000000000000D446576436D64496E666F5F32000000000000000700000009636D645F6E616D65000000000000001200000000000000066C6576656C000000000000110000004F000000000000001849444C3A54616E676F2F446973704C6576656C3A312E30000000000A446973704C6576656C00000000000002000000094F50455241544F520000000000000007455850455254000000000008636D645F746167000000000300000008696E5F747970650000000003000000096F75745F7479706500000000000000030000000D696E5F747970655F646573630000000000000012000000000000000E6F75745F747970655F646573630000000000001200000000", DevCmdInfo_2)
# Alias: IDL:Tango/DevCmdInfoList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevCmdInfoList:1.0", "0000000000000013000000CC000000000000000F000000BC000000000000001949444C3A54616E676F2F446576436D64496E666F3A312E30000000000000000B446576436D64496E666F00000000000600000009636D645F6E616D6500000000000000120000000000000008636D645F746167000000000300000008696E5F747970650000000003000000096F75745F7479706500000000000000030000000D696E5F747970655F646573630000000000000012000000000000000E6F75745F747970655F64657363000000000000120000000000000000", None)
# Alias: IDL:Tango/DevCmdInfoList_2:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevCmdInfoList_2:1.0", "000000000000001300000134000000000000000F00000124000000000000001B49444C3A54616E676F2F446576436D64496E666F5F323A312E3000000000000D446576436D64496E666F5F32000000000000000700000009636D645F6E616D65000000000000001200000000000000066C6576656C000000000000110000004F000000000000001849444C3A54616E676F2F446973704C6576656C3A312E30000000000A446973704C6576656C00000000000002000000094F50455241544F520000000000000007455850455254000000000008636D645F746167000000000300000008696E5F747970650000000003000000096F75745F7479706500000000000000030000000D696E5F747970655F646573630000000000000012000000000000000E6F75745F747970655F64657363000000000000120000000000000000", None)
class DevError:
""" Struct: IDL:Tango/DevError:1.0 """
_FNORB_ID = "IDL:Tango/DevError:1.0"
def __init__(self, _reason, _severity, _desc, _origin):
""" Constructor. """
self.reason = _reason
self.severity = _severity
self.desc = _desc
self.origin = _origin
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.reason, self.severity, self.desc, self.origin)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevError:1.0", "000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E00000000001200000000", DevError)
# Alias: IDL:Tango/DevErrorList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevErrorList:1.0", "0000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", None)
class NamedDevError:
""" Struct: IDL:Tango/NamedDevError:1.0 """
_FNORB_ID = "IDL:Tango/NamedDevError:1.0"
def __init__(self, _name, _index_in_call, _err_list):
""" Constructor. """
self.name = _name
self.index_in_call = _index_in_call
self.err_list = _err_list
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.name, self.index_in_call, self.err_list)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/NamedDevError:1.0", "000000000000000F000001B0000000000000001C49444C3A54616E676F2F4E616D65644465764572726F723A312E30000000000E4E616D65644465764572726F7200000000000003000000056E616D650000000000000012000000000000000E696E6465785F696E5F63616C6C00000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", NamedDevError)
# Alias: IDL:Tango/NamedDevErrorList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/NamedDevErrorList:1.0", "0000000000000013000001C0000000000000000F000001B0000000000000001C49444C3A54616E676F2F4E616D65644465764572726F723A312E30000000000E4E616D65644465764572726F7200000000000003000000056E616D650000000000000012000000000000000E696E6465785F696E5F63616C6C00000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", None)
class DevFailed(Fnorb.orb.CORBA.UserException):
""" Exception: IDL:Tango/DevFailed:1.0 """
_FNORB_ID = "IDL:Tango/DevFailed:1.0"
def __init__(self, _errors):
""" Constructor. """
self.errors = _errors
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.errors,)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevFailed:1.0", "000000000000001600000178000000000000001849444C3A54616E676F2F4465764661696C65643A312E30000000000A4465764661696C656400000000000001000000076572726F727300000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", DevFailed)
class MultiDevFailed(Fnorb.orb.CORBA.UserException):
""" Exception: IDL:Tango/MultiDevFailed:1.0 """
_FNORB_ID = "IDL:Tango/MultiDevFailed:1.0"
def __init__(self, _errors):
""" Constructor. """
self.errors = _errors
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.errors,)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/MultiDevFailed:1.0", "00000000000000160000025C000000000000001D49444C3A54616E676F2F4D756C74694465764661696C65643A312E30000000000000000F4D756C74694465764661696C6564000000000001000000076572726F727300000000001500000208000000000000002049444C3A54616E676F2F4E616D65644465764572726F724C6973743A312E3000000000124E616D65644465764572726F724C69737400000000000013000001C0000000000000000F000001B0000000000000001C49444C3A54616E676F2F4E616D65644465764572726F723A312E30000000000E4E616D65644465764572726F7200000000000003000000056E616D650000000000000012000000000000000E696E6465785F696E5F63616C6C00000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", MultiDevFailed)
class AttributeConfig:
""" Struct: IDL:Tango/AttributeConfig:1.0 """
_FNORB_ID = "IDL:Tango/AttributeConfig:1.0"
def __init__(self, _name, _writable, _data_format, _data_type, _max_dim_x, _max_dim_y, _description, _label, _unit, _standard_unit, _display_unit, _format, _min_value, _max_value, _min_alarm, _max_alarm, _writable_attr_name, _extensions):
""" Constructor. """
self.name = _name
self.writable = _writable
self.data_format = _data_format
self.data_type = _data_type
self.max_dim_x = _max_dim_x
self.max_dim_y = _max_dim_y
self.description = _description
self.label = _label
self.unit = _unit
self.standard_unit = _standard_unit
self.display_unit = _display_unit
self.format = _format
self.min_value = _min_value
self.max_value = _max_value
self.min_alarm = _min_alarm
self.max_alarm = _max_alarm
self.writable_attr_name = _writable_attr_name
self.extensions = _extensions
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.name, self.writable, self.data_format, self.data_type, self.max_dim_x, self.max_dim_y, self.description, self.label, self.unit, self.standard_unit, self.display_unit, self.format, self.min_value, self.max_value, self.min_alarm, self.max_alarm, self.writable_attr_name, self.extensions)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeConfig:1.0", "000000000000000F0000032C000000000000001E49444C3A54616E676F2F417474726962757465436F6E6669673A312E3000000000000010417474726962757465436F6E6669670000000012000000056E616D65000000000000001200000000000000097772697461626C65000000000000001100000077000000000000001C49444C3A54616E676F2F417474725772697465547970653A312E30000000000E417474725772697465547970650000000000000400000005524541440000000000000010524541445F574954485F5752495445000000000657524954450000000000000B524541445F575249544500000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000A646174615F74797065000000000000030000000A6D61785F64696D5F78000000000000030000000A6D61785F64696D5F79000000000000030000000C6465736372697074696F6E000000001200000000000000066C6162656C000000000000120000000000000005756E69740000000000000012000000000000000E7374616E646172645F756E697400000000000012000000000000000D646973706C61795F756E697400000000000000120000000000000007666F726D6174000000000012000000000000000A6D696E5F76616C756500000000000012000000000000000A6D61785F76616C756500000000000012000000000000000A6D696E5F616C61726D00000000000012000000000000000A6D61785F616C61726D0000000000001200000000000000137772697461626C655F617474725F6E616D65000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", AttributeConfig)
class AttributeConfig_2:
""" Struct: IDL:Tango/AttributeConfig_2:1.0 """
_FNORB_ID = "IDL:Tango/AttributeConfig_2:1.0"
def __init__(self, _name, _writable, _data_format, _data_type, _max_dim_x, _max_dim_y, _description, _label, _unit, _standard_unit, _display_unit, _format, _min_value, _max_value, _min_alarm, _max_alarm, _writable_attr_name, _level, _extensions):
""" Constructor. """
self.name = _name
self.writable = _writable
self.data_format = _data_format
self.data_type = _data_type
self.max_dim_x = _max_dim_x
self.max_dim_y = _max_dim_y
self.description = _description
self.label = _label
self.unit = _unit
self.standard_unit = _standard_unit
self.display_unit = _display_unit
self.format = _format
self.min_value = _min_value
self.max_value = _max_value
self.min_alarm = _min_alarm
self.max_alarm = _max_alarm
self.writable_attr_name = _writable_attr_name
self.level = _level
self.extensions = _extensions
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.name, self.writable, self.data_format, self.data_type, self.max_dim_x, self.max_dim_y, self.description, self.label, self.unit, self.standard_unit, self.display_unit, self.format, self.min_value, self.max_value, self.min_alarm, self.max_alarm, self.writable_attr_name, self.level, self.extensions)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeConfig_2:1.0", "000000000000000F00000394000000000000002049444C3A54616E676F2F417474726962757465436F6E6669675F323A312E300000000012417474726962757465436F6E6669675F3200000000000013000000056E616D65000000000000001200000000000000097772697461626C65000000000000001100000077000000000000001C49444C3A54616E676F2F417474725772697465547970653A312E30000000000E417474725772697465547970650000000000000400000005524541440000000000000010524541445F574954485F5752495445000000000657524954450000000000000B524541445F575249544500000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000A646174615F74797065000000000000030000000A6D61785F64696D5F78000000000000030000000A6D61785F64696D5F79000000000000030000000C6465736372697074696F6E000000001200000000000000066C6162656C000000000000120000000000000005756E69740000000000000012000000000000000E7374616E646172645F756E697400000000000012000000000000000D646973706C61795F756E697400000000000000120000000000000007666F726D6174000000000012000000000000000A6D696E5F76616C756500000000000012000000000000000A6D61785F76616C756500000000000012000000000000000A6D696E5F616C61726D00000000000012000000000000000A6D61785F616C61726D0000000000001200000000000000137772697461626C655F617474725F6E616D6500000000001200000000000000066C6576656C000000000000110000004F000000000000001849444C3A54616E676F2F446973704C6576656C3A312E30000000000A446973704C6576656C00000000000002000000094F50455241544F52000000000000000745585045525400000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", AttributeConfig_2)
class AttributeValue:
""" Struct: IDL:Tango/AttributeValue:1.0 """
_FNORB_ID = "IDL:Tango/AttributeValue:1.0"
def __init__(self, _value, _quality, _time, _name, _dim_x, _dim_y):
""" Constructor. """
self.value = _value
self.quality = _quality
self.time = _time
self.name = _name
self.dim_x = _dim_x
self.dim_y = _dim_y
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.value, self.quality, self.time, self.name, self.dim_x, self.dim_y)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeValue:1.0", "000000000000000F000001A0000000000000001D49444C3A54616E676F2F41747472696275746556616C75653A312E30000000000000000F41747472696275746556616C75650000000000060000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D650000000000000012000000000000000664696D5F78000000000000030000000664696D5F7900000000000003", AttributeValue)
class AttributeDim:
""" Struct: IDL:Tango/AttributeDim:1.0 """
_FNORB_ID = "IDL:Tango/AttributeDim:1.0"
def __init__(self, _dim_x, _dim_y):
""" Constructor. """
self.dim_x = _dim_x
self.dim_y = _dim_y
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.dim_x, self.dim_y)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeDim:1.0", "000000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003", AttributeDim)
class AttributeValue_3:
""" Struct: IDL:Tango/AttributeValue_3:1.0 """
_FNORB_ID = "IDL:Tango/AttributeValue_3:1.0"
def __init__(self, _value, _quality, _time, _name, _r_dim, _w_dim, _err_list):
""" Constructor. """
self.value = _value
self.quality = _quality
self.time = _time
self.name = _name
self.r_dim = _r_dim
self.w_dim = _w_dim
self.err_list = _err_list
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.value, self.quality, self.time, self.name, self.r_dim, self.w_dim, self.err_list)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeValue_3:1.0", "000000000000000F000003AC000000000000001F49444C3A54616E676F2F41747472696275746556616C75655F333A312E3000000000001141747472696275746556616C75655F3300000000000000070000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D6500000000000000120000000000000006725F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F790000000000000300000006775F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", AttributeValue_3)
# Enum: IDL:Tango/AttributeDataType:1.0
ATT_BOOL = Fnorb.orb.Util.EnumMember("ATT_BOOL", 0)
ATT_SHORT = Fnorb.orb.Util.EnumMember("ATT_SHORT", 1)
ATT_LONG = Fnorb.orb.Util.EnumMember("ATT_LONG", 2)
ATT_LONG64 = Fnorb.orb.Util.EnumMember("ATT_LONG64", 3)
ATT_FLOAT = Fnorb.orb.Util.EnumMember("ATT_FLOAT", 4)
ATT_DOUBLE = Fnorb.orb.Util.EnumMember("ATT_DOUBLE", 5)
ATT_UCHAR = Fnorb.orb.Util.EnumMember("ATT_UCHAR", 6)
ATT_USHORT = Fnorb.orb.Util.EnumMember("ATT_USHORT", 7)
ATT_ULONG = Fnorb.orb.Util.EnumMember("ATT_ULONG", 8)
ATT_ULONG64 = Fnorb.orb.Util.EnumMember("ATT_ULONG64", 9)
ATT_STRING = Fnorb.orb.Util.EnumMember("ATT_STRING", 10)
ATT_STATE = Fnorb.orb.Util.EnumMember("ATT_STATE", 11)
DEVICE_STATE = Fnorb.orb.Util.EnumMember("DEVICE_STATE", 12)
ATT_ENCODED = Fnorb.orb.Util.EnumMember("ATT_ENCODED", 13)
NO_DATA = Fnorb.orb.Util.EnumMember("NO_DATA", 14)
AttributeDataType = Fnorb.orb.Util.Enum("IDL:Tango/AttributeDataType:1.0", [ATT_BOOL, ATT_SHORT, ATT_LONG, ATT_LONG64, ATT_FLOAT, ATT_DOUBLE, ATT_UCHAR, ATT_USHORT, ATT_ULONG, ATT_ULONG64, ATT_STRING, ATT_STATE, DEVICE_STATE, ATT_ENCODED, NO_DATA])
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeDataType:1.0", "000000000000001100000134000000000000002049444C3A54616E676F2F41747472696275746544617461547970653A312E30000000001241747472696275746544617461547970650000000000000F000000094154545F424F4F4C000000000000000A4154545F53484F5254000000000000094154545F4C4F4E47000000000000000B4154545F4C4F4E47363400000000000A4154545F464C4F41540000000000000B4154545F444F55424C4500000000000A4154545F55434841520000000000000B4154545F5553484F525400000000000A4154545F554C4F4E470000000000000C4154545F554C4F4E473634000000000B4154545F535452494E4700000000000A4154545F53544154450000000000000D4445564943455F5354415445000000000000000C4154545F454E434F44454400000000084E4F5F4441544100", AttributeDataType)
class AttrValUnion(Fnorb.orb.Util.Union):
""" Union: IDL:Tango/AttrValUnion:1.0 """
_FNORB_ID = "IDL:Tango/AttrValUnion:1.0"
pass
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttrValUnion:1.0", "000000000000001000000AA0000000000000001B49444C3A54616E676F2F4174747256616C556E696F6E3A312E3000000000000D4174747256616C556E696F6E000000000000001100000134000000000000002049444C3A54616E676F2F41747472696275746544617461547970653A312E30000000001241747472696275746544617461547970650000000000000F000000094154545F424F4F4C000000000000000A4154545F53484F5254000000000000094154545F4C4F4E47000000000000000B4154545F4C4F4E47363400000000000A4154545F464C4F41540000000000000B4154545F444F55424C4500000000000A4154545F55434841520000000000000B4154545F5553484F525400000000000A4154545F554C4F4E470000000000000C4154545F554C4F4E473634000000000B4154545F535452494E4700000000000A4154545F53544154450000000000000D4445564943455F5354415445000000000000000C4154545F454E434F44454400000000084E4F5F4441544100FFFFFFFF0000000F000000000000000F626F6F6C5F6174745F76616C756500000000001500000058000000000000002149444C3A54616E676F2F446576566172426F6F6C65616E41727261793A312E300000000000000013446576566172426F6F6C65616E41727261790000000000130000000C000000000000000800000000000000010000001073686F72745F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F44657656617253686F727441727261793A312E3000000000001144657656617253686F7274417272617900000000000000130000000C000000000000000200000000000000020000000F6C6F6E675F6174745F76616C756500000000001500000050000000000000001E49444C3A54616E676F2F4465765661724C6F6E6741727261793A312E30000000000000104465765661724C6F6E67417272617900000000130000000C00000000000000030000000000000003000000116C6F6E6736345F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F4465765661724C6F6E67363441727261793A312E3000000000124465765661724C6F6E6736344172726179000000000000130000000C0000000000000017000000000000000400000010666C6F61745F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F446576566172466C6F617441727261793A312E30000000000011446576566172466C6F6174417272617900000000000000130000000C0000000000000006000000000000000500000011646F75626C655F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F446576566172446F75626C6541727261793A312E300000000012446576566172446F75626C654172726179000000000000130000000C000000000000000700000000000000060000001075636861725F6174745F76616C7565000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A0000000000000007000000117573686F72745F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F4465765661725553686F727441727261793A312E3000000000124465765661725553686F72744172726179000000000000130000000C0000000000000004000000000000000800000010756C6F6E675F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F446576566172554C6F6E6741727261793A312E30000000000011446576566172554C6F6E67417272617900000000000000130000000C0000000000000005000000000000000900000012756C6F6E6736345F6174745F76616C75650000000000001500000058000000000000002149444C3A54616E676F2F446576566172554C6F6E67363441727261793A312E300000000000000013446576566172554C6F6E67363441727261790000000000130000000C0000000000000005000000000000000A00000011737472696E675F6174745F76616C7565000000000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B0000001073746174655F6174745F76616C756500000000150000012C000000000000001F49444C3A54616E676F2F446576566172537461746541727261793A312E30000000000011446576566172537461746541727261790000000000000013000000E40000000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E00000000000000000C0000000E6465765F73746174655F61747400000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E000000000D00000012656E636F6465645F6174745F76616C75650000000000001500000154000000000000002149444C3A54616E676F2F446576566172456E636F64656441727261793A312E300000000000000013446576566172456E636F646564417272617900000000001300000108000000000000000F000000F8000000000000001949444C3A54616E676F2F446576456E636F6465643A312E30000000000000000B446576456E636F6465640000000000020000000F656E636F6465645F666F726D617400000000001500000038000000000000001849444C3A54616E676F2F446576537472696E673A312E30000000000A446576537472696E6700000000000012000000000000000D656E636F6465645F64617461000000000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A00000000000000000000000E0000000E756E696F6E5F6E6F5F646174610000000000001500000038000000000000001949444C3A54616E676F2F446576426F6F6C65616E3A312E30000000000000000B446576426F6F6C65616E000000000008", AttrValUnion)
class AttributeValue_4:
""" Struct: IDL:Tango/AttributeValue_4:1.0 """
_FNORB_ID = "IDL:Tango/AttributeValue_4:1.0"
def __init__(self, _value, _quality, _data_format, _time, _name, _r_dim, _w_dim, _err_list):
""" Constructor. """
self.value = _value
self.quality = _quality
self.data_format = _data_format
self.time = _time
self.name = _name
self.r_dim = _r_dim
self.w_dim = _w_dim
self.err_list = _err_list
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.value, self.quality, self.data_format, self.time, self.name, self.r_dim, self.w_dim, self.err_list)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeValue_4:1.0", "000000000000000F00000EE0000000000000001F49444C3A54616E676F2F41747472696275746556616C75655F343A312E3000000000001141747472696275746556616C75655F3400000000000000080000000676616C75650000000000001000000AA0000000000000001B49444C3A54616E676F2F4174747256616C556E696F6E3A312E3000000000000D4174747256616C556E696F6E000000000000001100000134000000000000002049444C3A54616E676F2F41747472696275746544617461547970653A312E30000000001241747472696275746544617461547970650000000000000F000000094154545F424F4F4C000000000000000A4154545F53484F5254000000000000094154545F4C4F4E47000000000000000B4154545F4C4F4E47363400000000000A4154545F464C4F41540000000000000B4154545F444F55424C4500000000000A4154545F55434841520000000000000B4154545F5553484F525400000000000A4154545F554C4F4E470000000000000C4154545F554C4F4E473634000000000B4154545F535452494E4700000000000A4154545F53544154450000000000000D4445564943455F5354415445000000000000000C4154545F454E434F44454400000000084E4F5F4441544100FFFFFFFF0000000F000000000000000F626F6F6C5F6174745F76616C756500000000001500000058000000000000002149444C3A54616E676F2F446576566172426F6F6C65616E41727261793A312E300000000000000013446576566172426F6F6C65616E41727261790000000000130000000C000000000000000800000000000000010000001073686F72745F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F44657656617253686F727441727261793A312E3000000000001144657656617253686F7274417272617900000000000000130000000C000000000000000200000000000000020000000F6C6F6E675F6174745F76616C756500000000001500000050000000000000001E49444C3A54616E676F2F4465765661724C6F6E6741727261793A312E30000000000000104465765661724C6F6E67417272617900000000130000000C00000000000000030000000000000003000000116C6F6E6736345F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F4465765661724C6F6E67363441727261793A312E3000000000124465765661724C6F6E6736344172726179000000000000130000000C0000000000000017000000000000000400000010666C6F61745F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F446576566172466C6F617441727261793A312E30000000000011446576566172466C6F6174417272617900000000000000130000000C0000000000000006000000000000000500000011646F75626C655F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F446576566172446F75626C6541727261793A312E300000000012446576566172446F75626C654172726179000000000000130000000C000000000000000700000000000000060000001075636861725F6174745F76616C7565000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A0000000000000007000000117573686F72745F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F4465765661725553686F727441727261793A312E3000000000124465765661725553686F72744172726179000000000000130000000C0000000000000004000000000000000800000010756C6F6E675F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F446576566172554C6F6E6741727261793A312E30000000000011446576566172554C6F6E67417272617900000000000000130000000C0000000000000005000000000000000900000012756C6F6E6736345F6174745F76616C75650000000000001500000058000000000000002149444C3A54616E676F2F446576566172554C6F6E67363441727261793A312E300000000000000013446576566172554C6F6E67363441727261790000000000130000000C0000000000000005000000000000000A00000011737472696E675F6174745F76616C7565000000000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B0000001073746174655F6174745F76616C756500000000150000012C000000000000001F49444C3A54616E676F2F446576566172537461746541727261793A312E30000000000011446576566172537461746541727261790000000000000013000000E40000000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E00000000000000000C0000000E6465765F73746174655F61747400000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E000000000D00000012656E636F6465645F6174745F76616C75650000000000001500000154000000000000002149444C3A54616E676F2F446576566172456E636F64656441727261793A312E300000000000000013446576566172456E636F646564417272617900000000001300000108000000000000000F000000F8000000000000001949444C3A54616E676F2F446576456E636F6465643A312E30000000000000000B446576456E636F6465640000000000020000000F656E636F6465645F666F726D617400000000001500000038000000000000001849444C3A54616E676F2F446576537472696E673A312E30000000000A446576537472696E6700000000000012000000000000000D656E636F6465645F64617461000000000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A00000000000000000000000E0000000E756E696F6E5F6E6F5F646174610000000000001500000038000000000000001949444C3A54616E676F2F446576426F6F6C65616E3A312E30000000000000000B446576426F6F6C65616E000000000008000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D6500000000000000120000000000000006725F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F790000000000000300000006775F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", AttributeValue_4)
class ChangeEventProp:
""" Struct: IDL:Tango/ChangeEventProp:1.0 """
_FNORB_ID = "IDL:Tango/ChangeEventProp:1.0"
def __init__(self, _rel_change, _abs_change, _extensions):
""" Constructor. """
self.rel_change = _rel_change
self.abs_change = _abs_change
self.extensions = _extensions
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.rel_change, self.abs_change, self.extensions)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/ChangeEventProp:1.0", "000000000000000F000000E0000000000000001E49444C3A54616E676F2F4368616E67654576656E7450726F703A312E30000000000000104368616E67654576656E7450726F7000000000030000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E6765000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", ChangeEventProp)
class PeriodicEventProp:
""" Struct: IDL:Tango/PeriodicEventProp:1.0 """
_FNORB_ID = "IDL:Tango/PeriodicEventProp:1.0"
def __init__(self, _period, _extensions):
""" Constructor. """
self.period = _period
self.extensions = _extensions
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.period, self.extensions)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/PeriodicEventProp:1.0", "000000000000000F000000C8000000000000002049444C3A54616E676F2F506572696F6469634576656E7450726F703A312E300000000012506572696F6469634576656E7450726F700000000000000200000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", PeriodicEventProp)
class ArchiveEventProp:
""" Struct: IDL:Tango/ArchiveEventProp:1.0 """
_FNORB_ID = "IDL:Tango/ArchiveEventProp:1.0"
def __init__(self, _rel_change, _abs_change, _period, _extensions):
""" Constructor. """
self.rel_change = _rel_change
self.abs_change = _abs_change
self.period = _period
self.extensions = _extensions
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.rel_change, self.abs_change, self.period, self.extensions)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/ArchiveEventProp:1.0", "000000000000000F000000F8000000000000001F49444C3A54616E676F2F417263686976654576656E7450726F703A312E30000000000011417263686976654576656E7450726F7000000000000000040000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E67650000000000120000000000000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", ArchiveEventProp)
class EventProperties:
""" Struct: IDL:Tango/EventProperties:1.0 """
_FNORB_ID = "IDL:Tango/EventProperties:1.0"
def __init__(self, _ch_event, _per_event, _arch_event):
""" Constructor. """
self.ch_event = _ch_event
self.per_event = _per_event
self.arch_event = _arch_event
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.ch_event, self.per_event, self.arch_event)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/EventProperties:1.0", "000000000000000F00000328000000000000001E49444C3A54616E676F2F4576656E7450726F706572746965733A312E30000000000000104576656E7450726F7065727469657300000000030000000963685F6576656E74000000000000000F000000E0000000000000001E49444C3A54616E676F2F4368616E67654576656E7450726F703A312E30000000000000104368616E67654576656E7450726F7000000000030000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E6765000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000A7065725F6576656E740000000000000F000000C8000000000000002049444C3A54616E676F2F506572696F6469634576656E7450726F703A312E300000000012506572696F6469634576656E7450726F700000000000000200000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B617263685F6576656E7400000000000F000000F8000000000000001F49444C3A54616E676F2F417263686976654576656E7450726F703A312E30000000000011417263686976654576656E7450726F7000000000000000040000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E67650000000000120000000000000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", EventProperties)
class AttributeAlarm:
""" Struct: IDL:Tango/AttributeAlarm:1.0 """
_FNORB_ID = "IDL:Tango/AttributeAlarm:1.0"
def __init__(self, _min_alarm, _max_alarm, _min_warning, _max_warning, _delta_t, _delta_val, _extensions):
""" Constructor. """
self.min_alarm = _min_alarm
self.max_alarm = _max_alarm
self.min_warning = _min_warning
self.max_warning = _max_warning
self.delta_t = _delta_t
self.delta_val = _delta_val
self.extensions = _extensions
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.min_alarm, self.max_alarm, self.min_warning, self.max_warning, self.delta_t, self.delta_val, self.extensions)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeAlarm:1.0", "000000000000000F0000013C000000000000001D49444C3A54616E676F2F417474726962757465416C61726D3A312E30000000000000000F417474726962757465416C61726D0000000000070000000A6D696E5F616C61726D00000000000012000000000000000A6D61785F616C61726D00000000000012000000000000000C6D696E5F7761726E696E670000000012000000000000000C6D61785F7761726E696E670000000012000000000000000864656C74615F740000000012000000000000000A64656C74615F76616C00000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", AttributeAlarm)
class AttributeConfig_3:
""" Struct: IDL:Tango/AttributeConfig_3:1.0 """
_FNORB_ID = "IDL:Tango/AttributeConfig_3:1.0"
def __init__(self, _name, _writable, _data_format, _data_type, _max_dim_x, _max_dim_y, _description, _label, _unit, _standard_unit, _display_unit, _format, _min_value, _max_value, _writable_attr_name, _level, _att_alarm, _event_prop, _extensions, _sys_extensions):
""" Constructor. """
self.name = _name
self.writable = _writable
self.data_format = _data_format
self.data_type = _data_type
self.max_dim_x = _max_dim_x
self.max_dim_y = _max_dim_y
self.description = _description
self.label = _label
self.unit = _unit
self.standard_unit = _standard_unit
self.display_unit = _display_unit
self.format = _format
self.min_value = _min_value
self.max_value = _max_value
self.writable_attr_name = _writable_attr_name
self.level = _level
self.att_alarm = _att_alarm
self.event_prop = _event_prop
self.extensions = _extensions
self.sys_extensions = _sys_extensions
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.name, self.writable, self.data_format, self.data_type, self.max_dim_x, self.max_dim_y, self.description, self.label, self.unit, self.standard_unit, self.display_unit, self.format, self.min_value, self.max_value, self.writable_attr_name, self.level, self.att_alarm, self.event_prop, self.extensions, self.sys_extensions)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeConfig_3:1.0", "000000000000000F0000086C000000000000002049444C3A54616E676F2F417474726962757465436F6E6669675F333A312E300000000012417474726962757465436F6E6669675F3300000000000014000000056E616D65000000000000001200000000000000097772697461626C65000000000000001100000077000000000000001C49444C3A54616E676F2F417474725772697465547970653A312E30000000000E417474725772697465547970650000000000000400000005524541440000000000000010524541445F574954485F5752495445000000000657524954450000000000000B524541445F575249544500000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000A646174615F74797065000000000000030000000A6D61785F64696D5F78000000000000030000000A6D61785F64696D5F79000000000000030000000C6465736372697074696F6E000000001200000000000000066C6162656C000000000000120000000000000005756E69740000000000000012000000000000000E7374616E646172645F756E697400000000000012000000000000000D646973706C61795F756E697400000000000000120000000000000007666F726D6174000000000012000000000000000A6D696E5F76616C756500000000000012000000000000000A6D61785F76616C75650000000000001200000000000000137772697461626C655F617474725F6E616D6500000000001200000000000000066C6576656C000000000000110000004F000000000000001849444C3A54616E676F2F446973704C6576656C3A312E30000000000A446973704C6576656C00000000000002000000094F50455241544F52000000000000000745585045525400000000000A6174745F616C61726D0000000000000F0000013C000000000000001D49444C3A54616E676F2F417474726962757465416C61726D3A312E30000000000000000F417474726962757465416C61726D0000000000070000000A6D696E5F616C61726D00000000000012000000000000000A6D61785F616C61726D00000000000012000000000000000C6D696E5F7761726E696E670000000012000000000000000C6D61785F7761726E696E670000000012000000000000000864656C74615F740000000012000000000000000A64656C74615F76616C00000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B6576656E745F70726F7000000000000F00000328000000000000001E49444C3A54616E676F2F4576656E7450726F706572746965733A312E30000000000000104576656E7450726F7065727469657300000000030000000963685F6576656E74000000000000000F000000E0000000000000001E49444C3A54616E676F2F4368616E67654576656E7450726F703A312E30000000000000104368616E67654576656E7450726F7000000000030000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E6765000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000A7065725F6576656E740000000000000F000000C8000000000000002049444C3A54616E676F2F506572696F6469634576656E7450726F703A312E300000000012506572696F6469634576656E7450726F700000000000000200000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B617263685F6576656E7400000000000F000000F8000000000000001F49444C3A54616E676F2F417263686976654576656E7450726F703A312E30000000000011417263686976654576656E7450726F7000000000000000040000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E67650000000000120000000000000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000F7379735F657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E674172726179000000000000130000001000000000000000120000000000000000", AttributeConfig_3)
# Alias: IDL:Tango/AttributeConfigList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeConfigList:1.0", "00000000000000130000033C000000000000000F0000032C000000000000001E49444C3A54616E676F2F417474726962757465436F6E6669673A312E3000000000000010417474726962757465436F6E6669670000000012000000056E616D65000000000000001200000000000000097772697461626C65000000000000001100000077000000000000001C49444C3A54616E676F2F417474725772697465547970653A312E30000000000E417474725772697465547970650000000000000400000005524541440000000000000010524541445F574954485F5752495445000000000657524954450000000000000B524541445F575249544500000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000A646174615F74797065000000000000030000000A6D61785F64696D5F78000000000000030000000A6D61785F64696D5F79000000000000030000000C6465736372697074696F6E000000001200000000000000066C6162656C000000000000120000000000000005756E69740000000000000012000000000000000E7374616E646172645F756E697400000000000012000000000000000D646973706C61795F756E697400000000000000120000000000000007666F726D6174000000000012000000000000000A6D696E5F76616C756500000000000012000000000000000A6D61785F76616C756500000000000012000000000000000A6D696E5F616C61726D00000000000012000000000000000A6D61785F616C61726D0000000000001200000000000000137772697461626C655F617474725F6E616D65000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E67417272617900000000000013000000100000000000000012000000000000000000000000", None)
# Alias: IDL:Tango/AttributeConfigList_2:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeConfigList_2:1.0", "0000000000000013000003A4000000000000000F00000394000000000000002049444C3A54616E676F2F417474726962757465436F6E6669675F323A312E300000000012417474726962757465436F6E6669675F3200000000000013000000056E616D65000000000000001200000000000000097772697461626C65000000000000001100000077000000000000001C49444C3A54616E676F2F417474725772697465547970653A312E30000000000E417474725772697465547970650000000000000400000005524541440000000000000010524541445F574954485F5752495445000000000657524954450000000000000B524541445F575249544500000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000A646174615F74797065000000000000030000000A6D61785F64696D5F78000000000000030000000A6D61785F64696D5F79000000000000030000000C6465736372697074696F6E000000001200000000000000066C6162656C000000000000120000000000000005756E69740000000000000012000000000000000E7374616E646172645F756E697400000000000012000000000000000D646973706C61795F756E697400000000000000120000000000000007666F726D6174000000000012000000000000000A6D696E5F76616C756500000000000012000000000000000A6D61785F76616C756500000000000012000000000000000A6D696E5F616C61726D00000000000012000000000000000A6D61785F616C61726D0000000000001200000000000000137772697461626C655F617474725F6E616D6500000000001200000000000000066C6576656C000000000000110000004F000000000000001849444C3A54616E676F2F446973704C6576656C3A312E30000000000A446973704C6576656C00000000000002000000094F50455241544F52000000000000000745585045525400000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E67417272617900000000000013000000100000000000000012000000000000000000000000", None)
# Alias: IDL:Tango/AttributeConfigList_3:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeConfigList_3:1.0", "00000000000000130000087C000000000000000F0000086C000000000000002049444C3A54616E676F2F417474726962757465436F6E6669675F333A312E300000000012417474726962757465436F6E6669675F3300000000000014000000056E616D65000000000000001200000000000000097772697461626C65000000000000001100000077000000000000001C49444C3A54616E676F2F417474725772697465547970653A312E30000000000E417474725772697465547970650000000000000400000005524541440000000000000010524541445F574954485F5752495445000000000657524954450000000000000B524541445F575249544500000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000A646174615F74797065000000000000030000000A6D61785F64696D5F78000000000000030000000A6D61785F64696D5F79000000000000030000000C6465736372697074696F6E000000001200000000000000066C6162656C000000000000120000000000000005756E69740000000000000012000000000000000E7374616E646172645F756E697400000000000012000000000000000D646973706C61795F756E697400000000000000120000000000000007666F726D6174000000000012000000000000000A6D696E5F76616C756500000000000012000000000000000A6D61785F76616C75650000000000001200000000000000137772697461626C655F617474725F6E616D6500000000001200000000000000066C6576656C000000000000110000004F000000000000001849444C3A54616E676F2F446973704C6576656C3A312E30000000000A446973704C6576656C00000000000002000000094F50455241544F52000000000000000745585045525400000000000A6174745F616C61726D0000000000000F0000013C000000000000001D49444C3A54616E676F2F417474726962757465416C61726D3A312E30000000000000000F417474726962757465416C61726D0000000000070000000A6D696E5F616C61726D00000000000012000000000000000A6D61785F616C61726D00000000000012000000000000000C6D696E5F7761726E696E670000000012000000000000000C6D61785F7761726E696E670000000012000000000000000864656C74615F740000000012000000000000000A64656C74615F76616C00000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B6576656E745F70726F7000000000000F00000328000000000000001E49444C3A54616E676F2F4576656E7450726F706572746965733A312E30000000000000104576656E7450726F7065727469657300000000030000000963685F6576656E74000000000000000F000000E0000000000000001E49444C3A54616E676F2F4368616E67654576656E7450726F703A312E30000000000000104368616E67654576656E7450726F7000000000030000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E6765000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000A7065725F6576656E740000000000000F000000C8000000000000002049444C3A54616E676F2F506572696F6469634576656E7450726F703A312E300000000012506572696F6469634576656E7450726F700000000000000200000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B617263685F6576656E7400000000000F000000F8000000000000001F49444C3A54616E676F2F417263686976654576656E7450726F703A312E30000000000011417263686976654576656E7450726F7000000000000000040000000B72656C5F6368616E6765000000000012000000000000000B6162735F6368616E67650000000000120000000000000007706572696F64000000000012000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000F7379735F657874656E73696F6E7300000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E67417272617900000000000013000000100000000000000012000000000000000000000000", None)
# Alias: IDL:Tango/AttributeValueList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeValueList:1.0", "0000000000000013000001B0000000000000000F000001A0000000000000001D49444C3A54616E676F2F41747472696275746556616C75653A312E30000000000000000F41747472696275746556616C75650000000000060000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D650000000000000012000000000000000664696D5F78000000000000030000000664696D5F790000000000000300000000", None)
# Alias: IDL:Tango/AttributeValueList_3:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeValueList_3:1.0", "0000000000000013000003BC000000000000000F000003AC000000000000001F49444C3A54616E676F2F41747472696275746556616C75655F333A312E3000000000001141747472696275746556616C75655F3300000000000000070000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D6500000000000000120000000000000006725F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F790000000000000300000006775F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", None)
# Alias: IDL:Tango/AttributeValueList_4:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeValueList_4:1.0", "000000000000001300000EF0000000000000000F00000EE0000000000000001F49444C3A54616E676F2F41747472696275746556616C75655F343A312E3000000000001141747472696275746556616C75655F3400000000000000080000000676616C75650000000000001000000AA0000000000000001B49444C3A54616E676F2F4174747256616C556E696F6E3A312E3000000000000D4174747256616C556E696F6E000000000000001100000134000000000000002049444C3A54616E676F2F41747472696275746544617461547970653A312E30000000001241747472696275746544617461547970650000000000000F000000094154545F424F4F4C000000000000000A4154545F53484F5254000000000000094154545F4C4F4E47000000000000000B4154545F4C4F4E47363400000000000A4154545F464C4F41540000000000000B4154545F444F55424C4500000000000A4154545F55434841520000000000000B4154545F5553484F525400000000000A4154545F554C4F4E470000000000000C4154545F554C4F4E473634000000000B4154545F535452494E4700000000000A4154545F53544154450000000000000D4445564943455F5354415445000000000000000C4154545F454E434F44454400000000084E4F5F4441544100FFFFFFFF0000000F000000000000000F626F6F6C5F6174745F76616C756500000000001500000058000000000000002149444C3A54616E676F2F446576566172426F6F6C65616E41727261793A312E300000000000000013446576566172426F6F6C65616E41727261790000000000130000000C000000000000000800000000000000010000001073686F72745F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F44657656617253686F727441727261793A312E3000000000001144657656617253686F7274417272617900000000000000130000000C000000000000000200000000000000020000000F6C6F6E675F6174745F76616C756500000000001500000050000000000000001E49444C3A54616E676F2F4465765661724C6F6E6741727261793A312E30000000000000104465765661724C6F6E67417272617900000000130000000C00000000000000030000000000000003000000116C6F6E6736345F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F4465765661724C6F6E67363441727261793A312E3000000000124465765661724C6F6E6736344172726179000000000000130000000C0000000000000017000000000000000400000010666C6F61745F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F446576566172466C6F617441727261793A312E30000000000011446576566172466C6F6174417272617900000000000000130000000C0000000000000006000000000000000500000011646F75626C655F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F446576566172446F75626C6541727261793A312E300000000012446576566172446F75626C654172726179000000000000130000000C000000000000000700000000000000060000001075636861725F6174745F76616C7565000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A0000000000000007000000117573686F72745F6174745F76616C7565000000000000001500000054000000000000002049444C3A54616E676F2F4465765661725553686F727441727261793A312E3000000000124465765661725553686F72744172726179000000000000130000000C0000000000000004000000000000000800000010756C6F6E675F6174745F76616C7565000000001500000054000000000000001F49444C3A54616E676F2F446576566172554C6F6E6741727261793A312E30000000000011446576566172554C6F6E67417272617900000000000000130000000C0000000000000005000000000000000900000012756C6F6E6736345F6174745F76616C75650000000000001500000058000000000000002149444C3A54616E676F2F446576566172554C6F6E67363441727261793A312E300000000000000013446576566172554C6F6E67363441727261790000000000130000000C0000000000000005000000000000000A00000011737472696E675F6174745F76616C7565000000000000001500000058000000000000002049444C3A54616E676F2F446576566172537472696E6741727261793A312E300000000012446576566172537472696E6741727261790000000000001300000010000000000000001200000000000000000000000B0000001073746174655F6174745F76616C756500000000150000012C000000000000001F49444C3A54616E676F2F446576566172537461746541727261793A312E30000000000011446576566172537461746541727261790000000000000013000000E40000000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E00000000000000000C0000000E6465765F73746174655F61747400000000000011000000D4000000000000001749444C3A54616E676F2F44657653746174653A312E300000000000094465765374617465000000000000000E000000034F4E0000000000044F46460000000006434C4F5345000000000000054F50454E0000000000000007494E534552540000000000084558545241435400000000074D4F56494E470000000000085354414E44425900000000064641554C5400000000000005494E4954000000000000000852554E4E494E470000000006414C41524D0000000000000844495341424C450000000008554E4B4E4F574E000000000D00000012656E636F6465645F6174745F76616C75650000000000001500000154000000000000002149444C3A54616E676F2F446576566172456E636F64656441727261793A312E300000000000000013446576566172456E636F646564417272617900000000001300000108000000000000000F000000F8000000000000001949444C3A54616E676F2F446576456E636F6465643A312E30000000000000000B446576456E636F6465640000000000020000000F656E636F6465645F666F726D617400000000001500000038000000000000001849444C3A54616E676F2F446576537472696E673A312E30000000000A446576537472696E6700000000000012000000000000000D656E636F6465645F64617461000000000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A00000000000000000000000E0000000E756E696F6E5F6E6F5F646174610000000000001500000038000000000000001949444C3A54616E676F2F446576426F6F6C65616E3A312E30000000000000000B446576426F6F6C65616E000000000008000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000C646174615F666F726D6174000000001100000078000000000000001D49444C3A54616E676F2F4174747244617461466F726D61743A312E30000000000000000F4174747244617461466F726D6174000000000004000000075343414C4152000000000009535045435452554D0000000000000006494D4147450000000000000C464D545F554E4B4E4F574E000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D6500000000000000120000000000000006725F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F790000000000000300000006775F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", None)
class AttDataReady:
""" Struct: IDL:Tango/AttDataReady:1.0 """
_FNORB_ID = "IDL:Tango/AttDataReady:1.0"
def __init__(self, _name, _data_type, _ctr):
""" Constructor. """
self.name = _name
self.data_type = _data_type
self.ctr = _ctr
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.name, self.data_type, self.ctr)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttDataReady:1.0", "000000000000000F00000070000000000000001B49444C3A54616E676F2F4174744461746152656164793A312E3000000000000D4174744461746152656164790000000000000003000000056E616D650000000000000012000000000000000A646174615F7479706500000000000003000000046374720000000003", AttDataReady)
class DevInfo:
""" Struct: IDL:Tango/DevInfo:1.0 """
_FNORB_ID = "IDL:Tango/DevInfo:1.0"
def __init__(self, _dev_class, _server_id, _server_host, _server_version, _doc_url):
""" Constructor. """
self.dev_class = _dev_class
self.server_id = _server_id
self.server_host = _server_host
self.server_version = _server_version
self.doc_url = _doc_url
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.dev_class, self.server_id, self.server_host, self.server_version, self.doc_url)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevInfo:1.0", "000000000000000F000000A4000000000000001649444C3A54616E676F2F446576496E666F3A312E3000000000000008446576496E666F00000000050000000A6465765F636C61737300000000000012000000000000000A7365727665725F696400000000000012000000000000000C7365727665725F686F73740000000012000000000000000F7365727665725F76657273696F6E00000000000300000008646F635F75726C000000001200000000", DevInfo)
class DevInfo_3:
""" Struct: IDL:Tango/DevInfo_3:1.0 """
_FNORB_ID = "IDL:Tango/DevInfo_3:1.0"
def __init__(self, _dev_class, _server_id, _server_host, _server_version, _doc_url, _dev_type):
""" Constructor. """
self.dev_class = _dev_class
self.server_id = _server_id
self.server_host = _server_host
self.server_version = _server_version
self.doc_url = _doc_url
self.dev_type = _dev_type
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.dev_class, self.server_id, self.server_host, self.server_version, self.doc_url, self.dev_type)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevInfo_3:1.0", "000000000000000F000000C0000000000000001849444C3A54616E676F2F446576496E666F5F333A312E30000000000A446576496E666F5F33000000000000060000000A6465765F636C61737300000000000012000000000000000A7365727665725F696400000000000012000000000000000C7365727665725F686F73740000000012000000000000000F7365727665725F76657273696F6E00000000000300000008646F635F75726C000000001200000000000000096465765F74797065000000000000001200000000", DevInfo_3)
class DevCmdHistory:
""" Struct: IDL:Tango/DevCmdHistory:1.0 """
_FNORB_ID = "IDL:Tango/DevCmdHistory:1.0"
def __init__(self, _time, _cmd_failed, _value, _errors):
""" Constructor. """
self.time = _time
self.cmd_failed = _cmd_failed
self.value = _value
self.errors = _errors
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.time, self.cmd_failed, self.value, self.errors)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevCmdHistory:1.0", "000000000000000F00000218000000000000001C49444C3A54616E676F2F446576436D64486973746F72793A312E30000000000E446576436D64486973746F7279000000000000040000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E73656300000000030000000B636D645F6661696C65640000000000080000000676616C75650000000000000B000000076572726F727300000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", DevCmdHistory)
# Alias: IDL:Tango/DevCmdHistoryList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevCmdHistoryList:1.0", "000000000000001300000228000000000000000F00000218000000000000001C49444C3A54616E676F2F446576436D64486973746F72793A312E30000000000E446576436D64486973746F7279000000000000040000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E73656300000000030000000B636D645F6661696C65640000000000080000000676616C75650000000000000B000000076572726F727300000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", None)
class DevAttrHistory:
""" Struct: IDL:Tango/DevAttrHistory:1.0 """
_FNORB_ID = "IDL:Tango/DevAttrHistory:1.0"
def __init__(self, _attr_failed, _value, _errors):
""" Constructor. """
self.attr_failed = _attr_failed
self.value = _value
self.errors = _errors
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.attr_failed, self.value, self.errors)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevAttrHistory:1.0", "000000000000000F0000034C000000000000001D49444C3A54616E676F2F44657641747472486973746F72793A312E30000000000000000F44657641747472486973746F72790000000000030000000C617474725F6661696C656400000000080000000676616C75650000000000000F000001A0000000000000001D49444C3A54616E676F2F41747472696275746556616C75653A312E30000000000000000F41747472696275746556616C75650000000000060000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D650000000000000012000000000000000664696D5F78000000000000030000000664696D5F7900000000000003000000076572726F727300000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", DevAttrHistory)
class DevAttrHistory_3:
""" Struct: IDL:Tango/DevAttrHistory_3:1.0 """
_FNORB_ID = "IDL:Tango/DevAttrHistory_3:1.0"
def __init__(self, _attr_failed, _value):
""" Constructor. """
self.attr_failed = _attr_failed
self.value = _value
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.attr_failed, self.value)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevAttrHistory_3:1.0", "000000000000000F00000418000000000000001F49444C3A54616E676F2F44657641747472486973746F72795F333A312E3000000000001144657641747472486973746F72795F3300000000000000020000000C617474725F6661696C656400000000080000000676616C75650000000000000F000003AC000000000000001F49444C3A54616E676F2F41747472696275746556616C75655F333A312E3000000000001141747472696275746556616C75655F3300000000000000070000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D6500000000000000120000000000000006725F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F790000000000000300000006775F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000", DevAttrHistory_3)
class EltInArray:
""" Struct: IDL:Tango/EltInArray:1.0 """
_FNORB_ID = "IDL:Tango/EltInArray:1.0"
def __init__(self, _start, _nb_elt):
""" Constructor. """
self.start = _start
self.nb_elt = _nb_elt
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.start, self.nb_elt)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/EltInArray:1.0", "000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C74000000000003", EltInArray)
# Alias: IDL:Tango/EltInArrayList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/EltInArrayList:1.0", "000000000000001300000068000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C7400000000000300000000", None)
# Alias: IDL:Tango/TimeValList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/TimeValList:1.0", "000000000000001300000070000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E736563000000000300000000", None)
# Alias: IDL:Tango/AttrQualityList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttrQualityList:1.0", "0000000000000013000000A4000000000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E470000000000000000", None)
# Alias: IDL:Tango/AttributeDimList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/AttributeDimList:1.0", "00000000000000130000006C000000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F790000000000000300000000", None)
# Alias: IDL:Tango/DevErrorListList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevErrorListList:1.0", "000000000000001300000140000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", None)
class DevAttrHistory_4:
""" Struct: IDL:Tango/DevAttrHistory_4:1.0 """
_FNORB_ID = "IDL:Tango/DevAttrHistory_4:1.0"
def __init__(self, _name, _dates, _value, _quals, _quals_array, _r_dims, _r_dims_array, _w_dims, _w_dims_array, _errors, _errors_array):
""" Constructor. """
self.name = _name
self.dates = _dates
self.value = _value
self.quals = _quals
self.quals_array = _quals_array
self.r_dims = _r_dims
self.r_dims_array = _r_dims_array
self.w_dims = _w_dims
self.w_dims_array = _w_dims_array
self.errors = _errors
self.errors_array = _errors_array
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.name, self.dates, self.value, self.quals, self.quals_array, self.r_dims, self.r_dims_array, self.w_dims, self.w_dims_array, self.errors, self.errors_array)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevAttrHistory_4:1.0", "000000000000000F0000086C000000000000001F49444C3A54616E676F2F44657641747472486973746F72795F343A312E3000000000001144657641747472486973746F72795F34000000000000000B000000056E616D6500000000000000120000000000000006646174657300000000000015000000AC000000000000001A49444C3A54616E676F2F54696D6556616C4C6973743A312E300000000000000C54696D6556616C4C697374000000001300000070000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000000000000676616C75650000000000000B000000067175616C7300000000000015000000E8000000000000001E49444C3A54616E676F2F417474725175616C6974794C6973743A312E3000000000000010417474725175616C6974794C6973740000000013000000A4000000000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E4700000000000000000000000C7175616C735F61727261790000000015000000AC000000000000001D49444C3A54616E676F2F456C74496E41727261794C6973743A312E30000000000000000F456C74496E41727261794C69737400000000001300000068000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C740000000000030000000000000007725F64696D73000000000015000000B4000000000000001F49444C3A54616E676F2F41747472696275746544696D4C6973743A312E3000000000001141747472696275746544696D4C69737400000000000000130000006C000000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000000000000D725F64696D735F61727261790000000000000015000000AC000000000000001D49444C3A54616E676F2F456C74496E41727261794C6973743A312E30000000000000000F456C74496E41727261794C69737400000000001300000068000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C740000000000030000000000000007775F64696D73000000000015000000B4000000000000001F49444C3A54616E676F2F41747472696275746544696D4C6973743A312E3000000000001141747472696275746544696D4C69737400000000000000130000006C000000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000000000000D775F64696D735F61727261790000000000000015000000AC000000000000001D49444C3A54616E676F2F456C74496E41727261794C6973743A312E30000000000000000F456C74496E41727261794C69737400000000001300000068000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C7400000000000300000000000000076572726F727300000000001500000188000000000000001F49444C3A54616E676F2F4465764572726F724C6973744C6973743A312E300000000000114465764572726F724C6973744C697374000000000000001300000140000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000000000000000000D6572726F72735F61727261790000000000000015000000AC000000000000001D49444C3A54616E676F2F456C74496E41727261794C6973743A312E30000000000000000F456C74496E41727261794C69737400000000001300000068000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C7400000000000300000000", DevAttrHistory_4)
class DevCmdHistory_4:
""" Struct: IDL:Tango/DevCmdHistory_4:1.0 """
_FNORB_ID = "IDL:Tango/DevCmdHistory_4:1.0"
def __init__(self, _dates, _value, _dims, _dims_array, _errors, _errors_array, _cmd_type):
""" Constructor. """
self.dates = _dates
self.value = _value
self.dims = _dims
self.dims_array = _dims_array
self.errors = _errors
self.errors_array = _errors_array
self.cmd_type = _cmd_type
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.dates, self.value, self.dims, self.dims_array, self.errors, self.errors_array, self.cmd_type)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevCmdHistory_4:1.0", "000000000000000F00000514000000000000001E49444C3A54616E676F2F446576436D64486973746F72795F343A312E3000000000000010446576436D64486973746F72795F34000000000700000006646174657300000000000015000000AC000000000000001A49444C3A54616E676F2F54696D6556616C4C6973743A312E300000000000000C54696D6556616C4C697374000000001300000070000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000000000000676616C75650000000000000B0000000564696D730000000000000015000000B4000000000000001F49444C3A54616E676F2F41747472696275746544696D4C6973743A312E3000000000001141747472696275746544696D4C69737400000000000000130000006C000000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000000000000B64696D735F6172726179000000000015000000AC000000000000001D49444C3A54616E676F2F456C74496E41727261794C6973743A312E30000000000000000F456C74496E41727261794C69737400000000001300000068000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C7400000000000300000000000000076572726F727300000000001500000188000000000000001F49444C3A54616E676F2F4465764572726F724C6973744C6973743A312E300000000000114465764572726F724C6973744C697374000000000000001300000140000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E0000000000120000000000000000000000000000000D6572726F72735F61727261790000000000000015000000AC000000000000001D49444C3A54616E676F2F456C74496E41727261794C6973743A312E30000000000000000F456C74496E41727261794C69737400000000001300000068000000000000000F00000058000000000000001949444C3A54616E676F2F456C74496E41727261793A312E30000000000000000B456C74496E417272617900000000000200000006737461727400000000000003000000076E625F656C740000000000030000000000000009636D645F747970650000000000000003", DevCmdHistory_4)
# Alias: IDL:Tango/DevAttrHistoryList:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevAttrHistoryList:1.0", "00000000000000130000035C000000000000000F0000034C000000000000001D49444C3A54616E676F2F44657641747472486973746F72793A312E30000000000000000F44657641747472486973746F72790000000000030000000C617474725F6661696C656400000000080000000676616C75650000000000000F000001A0000000000000001D49444C3A54616E676F2F41747472696275746556616C75653A312E30000000000000000F41747472696275746556616C75650000000000060000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D650000000000000012000000000000000664696D5F78000000000000030000000664696D5F7900000000000003000000076572726F727300000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", None)
# Alias: IDL:Tango/DevAttrHistoryList_3:1.0
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/DevAttrHistoryList_3:1.0", "000000000000001300000428000000000000000F00000418000000000000001F49444C3A54616E676F2F44657641747472486973746F72795F333A312E3000000000001144657641747472486973746F72795F3300000000000000020000000C617474725F6661696C656400000000080000000676616C75650000000000000F000003AC000000000000001F49444C3A54616E676F2F41747472696275746556616C75655F333A312E3000000000001141747472696275746556616C75655F3300000000000000070000000676616C75650000000000000B000000087175616C697479000000001100000091000000000000001A49444C3A54616E676F2F417474725175616C6974793A312E300000000000000C417474725175616C69747900000000050000000B415454525F56414C494400000000000D415454525F494E56414C4944000000000000000B415454525F414C41524D00000000000E415454525F4348414E47494E470000000000000D415454525F5741524E494E47000000000000000574696D65000000000000000F00000060000000000000001649444C3A54616E676F2F54696D6556616C3A312E300000000000000854696D6556616C00000000030000000774765F7365630000000000030000000874765F7573656300000000030000000874765F6E7365630000000003000000056E616D6500000000000000120000000000000006725F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F790000000000000300000006775F64696D0000000000000F0000005C000000000000001B49444C3A54616E676F2F41747472696275746544696D3A312E3000000000000D41747472696275746544696D00000000000000020000000664696D5F78000000000000030000000664696D5F7900000000000003000000096572725F6C697374000000000000001500000130000000000000001B49444C3A54616E676F2F4465764572726F724C6973743A312E3000000000000D4465764572726F724C6973740000000000000013000000F0000000000000000F000000E0000000000000001749444C3A54616E676F2F4465764572726F723A312E300000000000094465764572726F72000000000000000400000007726561736F6E00000000001200000000000000097365766572697479000000000000001100000056000000000000001A49444C3A54616E676F2F45727253657665726974793A312E300000000000000C45727253657665726974790000000003000000055741524E0000000000000004455252000000000650414E49430000000000000564657363000000000000001200000000000000076F726967696E000000000012000000000000000000000000", None)
class ZmqCallInfo:
""" Struct: IDL:Tango/ZmqCallInfo:1.0 """
_FNORB_ID = "IDL:Tango/ZmqCallInfo:1.0"
def __init__(self, _version, _ctr, _method_name, _oid, _call_is_except):
""" Constructor. """
self.version = _version
self.ctr = _ctr
self.method_name = _method_name
self.oid = _oid
self.call_is_except = _call_is_except
return
def __getinitargs__(self):
""" Return the constructor arguments for unpickling. """
return (self.version, self.ctr, self.method_name, self.oid, self.call_is_except)
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/ZmqCallInfo:1.0", "000000000000000F000000E4000000000000001A49444C3A54616E676F2F5A6D7143616C6C496E666F3A312E300000000000000C5A6D7143616C6C496E666F00000000050000000876657273696F6E00000000030000000463747200000000050000000C6D6574686F645F6E616D65000000001200000000000000046F6964000000001500000050000000000000001E49444C3A54616E676F2F4465765661724368617241727261793A312E300000000000001044657656617243686172417272617900000000130000000C000000000000000A000000000000000F63616C6C5F69735F657863657074000000000008", ZmqCallInfo)
class Device(Fnorb.orb.CORBA.Object):
""" Interface: IDL:Tango/Device:1.0 """
_FNORB_ID = "IDL:Tango/Device:1.0"
def _get_name(self):
""" Attribute: IDL:Tango/Device/name:1.0 """
# Typecode for the attribute value.
outputs = []
outputs.append(Fnorb.orb.CORBA.TC_string)
# Create a request object.
request = self._create_request("_get_name", [], outputs, [])
# Make the request!
request.invoke()
# Return the attribute value.
return request.results()
def _get_description(self):
""" Attribute: IDL:Tango/Device/description:1.0 """
# Typecode for the attribute value.
outputs = []
outputs.append(Fnorb.orb.CORBA.TC_string)
# Create a request object.
request = self._create_request("_get_description", [], outputs, [])
# Make the request!
request.invoke()
# Return the attribute value.
return request.results()
def _get_state(self):
""" Attribute: IDL:Tango/Device/state:1.0 """
# Typecode for the attribute value.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevState:1.0"))
# Create a request object.
request = self._create_request("_get_state", [], outputs, [])
# Make the request!
request.invoke()
# Return the attribute value.
return request.results()
def _get_status(self):
""" Attribute: IDL:Tango/Device/status:1.0 """
# Typecode for the attribute value.
outputs = []
outputs.append(Fnorb.orb.CORBA.TC_string)
# Create a request object.
request = self._create_request("_get_status", [], outputs, [])
# Make the request!
request.invoke()
# Return the attribute value.
return request.results()
def _get_adm_name(self):
""" Attribute: IDL:Tango/Device/adm_name:1.0 """
# Typecode for the attribute value.
outputs = []
outputs.append(Fnorb.orb.CORBA.TC_string)
# Create a request object.
request = self._create_request("_get_adm_name", [], outputs, [])
# Make the request!
request.invoke()
# Return the attribute value.
return request.results()
def command_inout(self, *args, **kw):
""" Operation: IDL:Tango/Device/command_inout:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_any)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.TC_any)
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_inout", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def get_attribute_config(self, *args, **kw):
""" Operation: IDL:Tango/Device/get_attribute_config:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeConfigList:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("get_attribute_config", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def set_attribute_config(self, *args, **kw):
""" Operation: IDL:Tango/Device/set_attribute_config:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeConfigList:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("set_attribute_config", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def read_attributes(self, *args, **kw):
""" Operation: IDL:Tango/Device/read_attributes:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("read_attributes", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def write_attributes(self, *args, **kw):
""" Operation: IDL:Tango/Device/write_attributes:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("write_attributes", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def ping(self, *args, **kw):
""" Operation: IDL:Tango/Device/ping:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("ping", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def black_box(self, *args, **kw):
""" Operation: IDL:Tango/Device/black_box:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_long)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("black_box", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def info(self, *args, **kw):
""" Operation: IDL:Tango/Device/info:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevInfo:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("info", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def command_list_query(self, *args, **kw):
""" Operation: IDL:Tango/Device/command_list_query:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevCmdInfoList:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_list_query", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def command_query(self, *args, **kw):
""" Operation: IDL:Tango/Device/command_query:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevCmdInfo:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_query", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/Device:1.0", "000000000000000E0000002B000000000000001549444C3A54616E676F2F4465766963653A312E30000000000000000744657669636500", Device)
class Device_2(Fnorb.orb.CORBA.Object, Device):
""" Interface: IDL:Tango/Device_2:1.0 """
_FNORB_ID = "IDL:Tango/Device_2:1.0"
def command_inout_2(self, *args, **kw):
""" Operation: IDL:Tango/Device_2/command_inout_2:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_any)
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevSource:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.TC_any)
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_inout_2", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def read_attributes_2(self, *args, **kw):
""" Operation: IDL:Tango/Device_2/read_attributes_2:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevSource:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("read_attributes_2", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def get_attribute_config_2(self, *args, **kw):
""" Operation: IDL:Tango/Device_2/get_attribute_config_2:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeConfigList_2:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("get_attribute_config_2", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def command_list_query_2(self, *args, **kw):
""" Operation: IDL:Tango/Device_2/command_list_query_2:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevCmdInfoList_2:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_list_query_2", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def command_query_2(self, *args, **kw):
""" Operation: IDL:Tango/Device_2/command_query_2:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevCmdInfo_2:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_query_2", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def command_inout_history_2(self, *args, **kw):
""" Operation: IDL:Tango/Device_2/command_inout_history_2:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_long)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevCmdHistoryList:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_inout_history_2", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def read_attribute_history_2(self, *args, **kw):
""" Operation: IDL:Tango/Device_2/read_attribute_history_2:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_long)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevAttrHistoryList:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("read_attribute_history_2", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/Device_2:1.0", "000000000000000E0000002D000000000000001749444C3A54616E676F2F4465766963655F323A312E300000000000094465766963655F3200", Device_2)
class Device_3(Fnorb.orb.CORBA.Object, Device_2):
""" Interface: IDL:Tango/Device_3:1.0 """
_FNORB_ID = "IDL:Tango/Device_3:1.0"
def read_attributes_3(self, *args, **kw):
""" Operation: IDL:Tango/Device_3/read_attributes_3:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevSource:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList_3:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("read_attributes_3", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def write_attributes_3(self, *args, **kw):
""" Operation: IDL:Tango/Device_3/write_attributes_3:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/MultiDevFailed:1.0"))
# Create a request object.
request = self._create_request("write_attributes_3", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def read_attribute_history_3(self, *args, **kw):
""" Operation: IDL:Tango/Device_3/read_attribute_history_3:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_long)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevAttrHistoryList_3:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("read_attribute_history_3", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def info_3(self, *args, **kw):
""" Operation: IDL:Tango/Device_3/info_3:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevInfo_3:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("info_3", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def get_attribute_config_3(self, *args, **kw):
""" Operation: IDL:Tango/Device_3/get_attribute_config_3:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeConfigList_3:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("get_attribute_config_3", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def set_attribute_config_3(self, *args, **kw):
""" Operation: IDL:Tango/Device_3/set_attribute_config_3:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeConfigList_3:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("set_attribute_config_3", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/Device_3:1.0", "000000000000000E0000002D000000000000001749444C3A54616E676F2F4465766963655F333A312E300000000000094465766963655F3300", Device_3)
class Device_4(Fnorb.orb.CORBA.Object, Device_3):
""" Interface: IDL:Tango/Device_4:1.0 """
_FNORB_ID = "IDL:Tango/Device_4:1.0"
def read_attribute_history_4(self, *args, **kw):
""" Operation: IDL:Tango/Device_4/read_attribute_history_4:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_long)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevAttrHistory_4:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("read_attribute_history_4", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def command_inout_history_4(self, *args, **kw):
""" Operation: IDL:Tango/Device_4/command_inout_history_4:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_long)
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevCmdHistory_4:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_inout_history_4", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def command_inout_4(self, *args, **kw):
""" Operation: IDL:Tango/Device_4/command_inout_4:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.TC_string)
inputs.append(Fnorb.orb.CORBA.TC_any)
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevSource:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/ClntIdent:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.TC_any)
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("command_inout_4", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def read_attributes_4(self, *args, **kw):
""" Operation: IDL:Tango/Device_4/read_attributes_4:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevVarStringArray:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevSource:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/ClntIdent:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList_4:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("read_attributes_4", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def write_attributes_4(self, *args, **kw):
""" Operation: IDL:Tango/Device_4/write_attributes_4:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList_4:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/ClntIdent:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/MultiDevFailed:1.0"))
# Create a request object.
request = self._create_request("write_attributes_4", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def set_attribute_config_4(self, *args, **kw):
""" Operation: IDL:Tango/Device_4/set_attribute_config_4:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeConfigList_3:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/ClntIdent:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
# Create a request object.
request = self._create_request("set_attribute_config_4", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
def write_read_attributes_4(self, *args, **kw):
""" Operation: IDL:Tango/Device_4/write_read_attributes_4:1.0 """
# Typecodes for 'in' and 'inout' parameters.
inputs = []
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList_4:1.0"))
inputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/ClntIdent:1.0"))
# Typecodes for the result, 'inout' and 'out' parameters.
outputs = []
outputs.append(Fnorb.orb.CORBA.typecode("IDL:Tango/AttributeValueList_4:1.0"))
# Typecodes for user exceptions.
exceptions = []
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/DevFailed:1.0"))
exceptions.append(Fnorb.orb.CORBA.typecode("IDL:Tango/MultiDevFailed:1.0"))
# Create a request object.
request = self._create_request("write_read_attributes_4", inputs, outputs, exceptions)
# Make the request!
apply(request.invoke, args, kw)
# Return the results.
return request.results()
Fnorb.orb.TypeManager.TypeManager_init().add_type("IDL:Tango/Device_4:1.0", "000000000000000E0000002D000000000000001749444C3A54616E676F2F4465766963655F343A312E300000000000094465766963655F3400", Device_4)
#############################################################################
| 79.061346
| 7,769
| 0.853101
| 8,210
| 145,631
| 14.906212
| 0.046041
| 0.022683
| 0.011791
| 0.016146
| 0.294002
| 0.258662
| 0.247916
| 0.235414
| 0.232914
| 0.223909
| 0
| 0.572218
| 0.087921
| 145,631
| 1,841
| 7,770
| 79.104291
| 0.349131
| 0.093861
| 0
| 0.52027
| 1
| 0
| 0.67508
| 0.667694
| 0
| 1
| 0
| 0
| 0
| 1
| 0.113739
| false
| 0.002252
| 0.003378
| 0
| 0.318694
| 0
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
d3c5090e86d7c299003b94c76eea1288c9bcd6aa
| 3,953
|
py
|
Python
|
programmes_python/geeros_api.py
|
3sigma/Geeros-RaspberryPi-C-Python
|
f75cba71b8617cb08d2a6a83049cb049f9dbe8ae
|
[
"MIT"
] | null | null | null |
programmes_python/geeros_api.py
|
3sigma/Geeros-RaspberryPi-C-Python
|
f75cba71b8617cb08d2a6a83049cb049f9dbe8ae
|
[
"MIT"
] | null | null | null |
programmes_python/geeros_api.py
|
3sigma/Geeros-RaspberryPi-C-Python
|
f75cba71b8617cb08d2a6a83049cb049f9dbe8ae
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from websocket import create_connection
import math
import time
class geeros_api:
def __init__(self):
self.ws = create_connection("ws://192.168.0.199:9090/ws")
def Tourner(self, vitesseRotation, duree = -1):
tdebut = time.time()
t = time.time() - tdebut
while t < duree:
psidotref = eval(str(vitesseRotation))
# Saturations min et max
psidotref = max(min(360, psidotref), -360)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"psidotref": ' + str(psidotref) + '}')
time.sleep(0.1)
t = time.time() - tdebut
if duree == -1:
psidotref = eval(str(vitesseRotation))
# Saturations min et max
psidotref = max(min(360, psidotref), -360)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"psidotref": ' + str(psidotref) + '}')
else:
self.ws.send('{"psidotref": 0}')
def Avancer(self, vitesseLongitudinale, duree = -1):
tdebut = time.time()
t = time.time() - tdebut
while t < duree:
vref = eval(str(vitesseLongitudinale))
# Saturations min et max
vref = max(min(0.5, vref), -0.5)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"vref": ' + str(vref) + '}')
time.sleep(0.1)
t = time.time() - tdebut
if duree == -1:
vref = eval(str(vitesseLongitudinale))
# Saturations min et max
vref = max(min(0.5, vref), -0.5)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"vref": ' + str(vref) + '}')
else:
self.ws.send('{"vref": 0}')
def Mouvement(self, vitesseLongitudinale, vitesseRotation, duree = -1):
tdebut = time.time()
t = time.time() - tdebut
while t < duree:
vref = eval(str(vitesseLongitudinale))
psidotref = eval(str(vitesseRotation))
# Saturations min et max
vref = max(min(0.5, vref), -0.5)
psidotref = max(min(360, psidotref), -360)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"vref": ' + str(vref) + ', "psidotref": ' + str(psidotref) + '}')
time.sleep(0.1)
t = time.time() - tdebut
if duree == -1:
vref = eval(str(vitesseLongitudinale))
psidotref = eval(str(vitesseRotation))
# Saturations min et max
vref = max(min(0.5, vref), -0.5)
psidotref = max(min(360, psidotref), -360)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"vref": ' + str(vref) + ', "psidotref": ' + str(psidotref) + '}')
else:
self.ws.send('{"vref": 0, "psidotref": 0}')
def AngleServo(self, angle, duree = -1):
tdebut = time.time()
t = time.time() - tdebut
while t < duree:
servoref = eval(str(angle))
# Saturations min et max
servoref = max(min(30, servoref), -30)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"servoref": ' + str(servoref) + '}')
time.sleep(0.1)
t = time.time() - tdebut
if duree == -1:
servoref = eval(str(angle))
# Saturations min et max
servoref = max(min(30, servoref), -30)
# Envoi de la consigne au programme principal par Websocket
self.ws.send('{"servoref": ' + str(servoref) + '}')
def Terminer(self):
self.ws.send('{"vref": 0, "psidotref": 0}')
self.ws.close()
| 36.266055
| 92
| 0.515558
| 437
| 3,953
| 4.647597
| 0.1373
| 0.041359
| 0.059084
| 0.059084
| 0.866076
| 0.866076
| 0.856721
| 0.82324
| 0.82324
| 0.82324
| 0
| 0.033177
| 0.351885
| 3,953
| 108
| 93
| 36.601852
| 0.759563
| 0
| 0
| 0.802817
| 0
| 0
| 0.071953
| 0.007961
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.042254
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
d3e39591437a4d524b0cae03fa71eab800da6916
| 52,175
|
py
|
Python
|
tools/bm_runtime/simple_pre/SimplePre.py
|
gustavo978/helpful
|
59e3fd062cff4451c9bf8268df78a24f93ff67b7
|
[
"Unlicense"
] | null | null | null |
tools/bm_runtime/simple_pre/SimplePre.py
|
gustavo978/helpful
|
59e3fd062cff4451c9bf8268df78a24f93ff67b7
|
[
"Unlicense"
] | null | null | null |
tools/bm_runtime/simple_pre/SimplePre.py
|
gustavo978/helpful
|
59e3fd062cff4451c9bf8268df78a24f93ff67b7
|
[
"Unlicense"
] | 2
|
2018-06-06T14:10:23.000Z
|
2020-04-07T17:20:55.000Z
|
#
# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtocol
try:
from thrift.protocol import fastbinary
except:
fastbinary = None
class Iface:
def bm_mc_mgrp_create(self, cxt_id, mgrp):
"""
Parameters:
- cxt_id
- mgrp
"""
pass
def bm_mc_mgrp_destroy(self, cxt_id, mgrp_handle):
"""
Parameters:
- cxt_id
- mgrp_handle
"""
pass
def bm_mc_node_create(self, cxt_id, rid, port_map):
"""
Parameters:
- cxt_id
- rid
- port_map
"""
pass
def bm_mc_node_associate(self, cxt_id, mgrp_handle, l1_handle):
"""
Parameters:
- cxt_id
- mgrp_handle
- l1_handle
"""
pass
def bm_mc_node_dissociate(self, cxt_id, mgrp_handle, l1_handle):
"""
Parameters:
- cxt_id
- mgrp_handle
- l1_handle
"""
pass
def bm_mc_node_destroy(self, cxt_id, l1_handle):
"""
Parameters:
- cxt_id
- l1_handle
"""
pass
def bm_mc_node_update(self, cxt_id, l1_handle, port_map):
"""
Parameters:
- cxt_id
- l1_handle
- port_map
"""
pass
def bm_mc_get_entries(self, cxt_id):
"""
Parameters:
- cxt_id
"""
pass
class Client(Iface):
def __init__(self, iprot, oprot=None):
self._iprot = self._oprot = iprot
if oprot is not None:
self._oprot = oprot
self._seqid = 0
def bm_mc_mgrp_create(self, cxt_id, mgrp):
"""
Parameters:
- cxt_id
- mgrp
"""
self.send_bm_mc_mgrp_create(cxt_id, mgrp)
return self.recv_bm_mc_mgrp_create()
def send_bm_mc_mgrp_create(self, cxt_id, mgrp):
self._oprot.writeMessageBegin('bm_mc_mgrp_create', TMessageType.CALL, self._seqid)
args = bm_mc_mgrp_create_args()
args.cxt_id = cxt_id
args.mgrp = mgrp
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_mgrp_create(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_mgrp_create_result()
result.read(iprot)
iprot.readMessageEnd()
if result.success is not None:
return result.success
if result.ouch is not None:
raise result.ouch
raise TApplicationException(TApplicationException.MISSING_RESULT, "bm_mc_mgrp_create failed: unknown result");
def bm_mc_mgrp_destroy(self, cxt_id, mgrp_handle):
"""
Parameters:
- cxt_id
- mgrp_handle
"""
self.send_bm_mc_mgrp_destroy(cxt_id, mgrp_handle)
self.recv_bm_mc_mgrp_destroy()
def send_bm_mc_mgrp_destroy(self, cxt_id, mgrp_handle):
self._oprot.writeMessageBegin('bm_mc_mgrp_destroy', TMessageType.CALL, self._seqid)
args = bm_mc_mgrp_destroy_args()
args.cxt_id = cxt_id
args.mgrp_handle = mgrp_handle
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_mgrp_destroy(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_mgrp_destroy_result()
result.read(iprot)
iprot.readMessageEnd()
if result.ouch is not None:
raise result.ouch
return
def bm_mc_node_create(self, cxt_id, rid, port_map):
"""
Parameters:
- cxt_id
- rid
- port_map
"""
self.send_bm_mc_node_create(cxt_id, rid, port_map)
return self.recv_bm_mc_node_create()
def send_bm_mc_node_create(self, cxt_id, rid, port_map):
self._oprot.writeMessageBegin('bm_mc_node_create', TMessageType.CALL, self._seqid)
args = bm_mc_node_create_args()
args.cxt_id = cxt_id
args.rid = rid
args.port_map = port_map
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_node_create(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_node_create_result()
result.read(iprot)
iprot.readMessageEnd()
if result.success is not None:
return result.success
if result.ouch is not None:
raise result.ouch
raise TApplicationException(TApplicationException.MISSING_RESULT, "bm_mc_node_create failed: unknown result");
def bm_mc_node_associate(self, cxt_id, mgrp_handle, l1_handle):
"""
Parameters:
- cxt_id
- mgrp_handle
- l1_handle
"""
self.send_bm_mc_node_associate(cxt_id, mgrp_handle, l1_handle)
self.recv_bm_mc_node_associate()
def send_bm_mc_node_associate(self, cxt_id, mgrp_handle, l1_handle):
self._oprot.writeMessageBegin('bm_mc_node_associate', TMessageType.CALL, self._seqid)
args = bm_mc_node_associate_args()
args.cxt_id = cxt_id
args.mgrp_handle = mgrp_handle
args.l1_handle = l1_handle
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_node_associate(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_node_associate_result()
result.read(iprot)
iprot.readMessageEnd()
if result.ouch is not None:
raise result.ouch
return
def bm_mc_node_dissociate(self, cxt_id, mgrp_handle, l1_handle):
"""
Parameters:
- cxt_id
- mgrp_handle
- l1_handle
"""
self.send_bm_mc_node_dissociate(cxt_id, mgrp_handle, l1_handle)
self.recv_bm_mc_node_dissociate()
def send_bm_mc_node_dissociate(self, cxt_id, mgrp_handle, l1_handle):
self._oprot.writeMessageBegin('bm_mc_node_dissociate', TMessageType.CALL, self._seqid)
args = bm_mc_node_dissociate_args()
args.cxt_id = cxt_id
args.mgrp_handle = mgrp_handle
args.l1_handle = l1_handle
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_node_dissociate(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_node_dissociate_result()
result.read(iprot)
iprot.readMessageEnd()
if result.ouch is not None:
raise result.ouch
return
def bm_mc_node_destroy(self, cxt_id, l1_handle):
"""
Parameters:
- cxt_id
- l1_handle
"""
self.send_bm_mc_node_destroy(cxt_id, l1_handle)
self.recv_bm_mc_node_destroy()
def send_bm_mc_node_destroy(self, cxt_id, l1_handle):
self._oprot.writeMessageBegin('bm_mc_node_destroy', TMessageType.CALL, self._seqid)
args = bm_mc_node_destroy_args()
args.cxt_id = cxt_id
args.l1_handle = l1_handle
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_node_destroy(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_node_destroy_result()
result.read(iprot)
iprot.readMessageEnd()
if result.ouch is not None:
raise result.ouch
return
def bm_mc_node_update(self, cxt_id, l1_handle, port_map):
"""
Parameters:
- cxt_id
- l1_handle
- port_map
"""
self.send_bm_mc_node_update(cxt_id, l1_handle, port_map)
self.recv_bm_mc_node_update()
def send_bm_mc_node_update(self, cxt_id, l1_handle, port_map):
self._oprot.writeMessageBegin('bm_mc_node_update', TMessageType.CALL, self._seqid)
args = bm_mc_node_update_args()
args.cxt_id = cxt_id
args.l1_handle = l1_handle
args.port_map = port_map
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_node_update(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_node_update_result()
result.read(iprot)
iprot.readMessageEnd()
if result.ouch is not None:
raise result.ouch
return
def bm_mc_get_entries(self, cxt_id):
"""
Parameters:
- cxt_id
"""
self.send_bm_mc_get_entries(cxt_id)
return self.recv_bm_mc_get_entries()
def send_bm_mc_get_entries(self, cxt_id):
self._oprot.writeMessageBegin('bm_mc_get_entries', TMessageType.CALL, self._seqid)
args = bm_mc_get_entries_args()
args.cxt_id = cxt_id
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_bm_mc_get_entries(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = bm_mc_get_entries_result()
result.read(iprot)
iprot.readMessageEnd()
if result.success is not None:
return result.success
if result.ouch is not None:
raise result.ouch
raise TApplicationException(TApplicationException.MISSING_RESULT, "bm_mc_get_entries failed: unknown result");
class Processor(Iface, TProcessor):
def __init__(self, handler):
self._handler = handler
self._processMap = {}
self._processMap["bm_mc_mgrp_create"] = Processor.process_bm_mc_mgrp_create
self._processMap["bm_mc_mgrp_destroy"] = Processor.process_bm_mc_mgrp_destroy
self._processMap["bm_mc_node_create"] = Processor.process_bm_mc_node_create
self._processMap["bm_mc_node_associate"] = Processor.process_bm_mc_node_associate
self._processMap["bm_mc_node_dissociate"] = Processor.process_bm_mc_node_dissociate
self._processMap["bm_mc_node_destroy"] = Processor.process_bm_mc_node_destroy
self._processMap["bm_mc_node_update"] = Processor.process_bm_mc_node_update
self._processMap["bm_mc_get_entries"] = Processor.process_bm_mc_get_entries
def process(self, iprot, oprot):
(name, type, seqid) = iprot.readMessageBegin()
if name not in self._processMap:
iprot.skip(TType.STRUCT)
iprot.readMessageEnd()
x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
x.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
return
else:
self._processMap[name](self, seqid, iprot, oprot)
return True
def process_bm_mc_mgrp_create(self, seqid, iprot, oprot):
args = bm_mc_mgrp_create_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_mgrp_create_result()
try:
result.success = self._handler.bm_mc_mgrp_create(args.cxt_id, args.mgrp)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_mgrp_create", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_bm_mc_mgrp_destroy(self, seqid, iprot, oprot):
args = bm_mc_mgrp_destroy_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_mgrp_destroy_result()
try:
self._handler.bm_mc_mgrp_destroy(args.cxt_id, args.mgrp_handle)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_mgrp_destroy", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_bm_mc_node_create(self, seqid, iprot, oprot):
args = bm_mc_node_create_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_node_create_result()
try:
result.success = self._handler.bm_mc_node_create(args.cxt_id, args.rid, args.port_map)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_node_create", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_bm_mc_node_associate(self, seqid, iprot, oprot):
args = bm_mc_node_associate_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_node_associate_result()
try:
self._handler.bm_mc_node_associate(args.cxt_id, args.mgrp_handle, args.l1_handle)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_node_associate", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_bm_mc_node_dissociate(self, seqid, iprot, oprot):
args = bm_mc_node_dissociate_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_node_dissociate_result()
try:
self._handler.bm_mc_node_dissociate(args.cxt_id, args.mgrp_handle, args.l1_handle)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_node_dissociate", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_bm_mc_node_destroy(self, seqid, iprot, oprot):
args = bm_mc_node_destroy_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_node_destroy_result()
try:
self._handler.bm_mc_node_destroy(args.cxt_id, args.l1_handle)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_node_destroy", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_bm_mc_node_update(self, seqid, iprot, oprot):
args = bm_mc_node_update_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_node_update_result()
try:
self._handler.bm_mc_node_update(args.cxt_id, args.l1_handle, args.port_map)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_node_update", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_bm_mc_get_entries(self, seqid, iprot, oprot):
args = bm_mc_get_entries_args()
args.read(iprot)
iprot.readMessageEnd()
result = bm_mc_get_entries_result()
try:
result.success = self._handler.bm_mc_get_entries(args.cxt_id)
except InvalidMcOperation, ouch:
result.ouch = ouch
oprot.writeMessageBegin("bm_mc_get_entries", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
# HELPER FUNCTIONS AND STRUCTURES
class bm_mc_mgrp_create_args:
"""
Attributes:
- cxt_id
- mgrp
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
(2, TType.I32, 'mgrp', None, None, ), # 2
)
def __init__(self, cxt_id=None, mgrp=None,):
self.cxt_id = cxt_id
self.mgrp = mgrp
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
self.mgrp = iprot.readI32();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_mgrp_create_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
if self.mgrp is not None:
oprot.writeFieldBegin('mgrp', TType.I32, 2)
oprot.writeI32(self.mgrp)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
value = (value * 31) ^ hash(self.mgrp)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_mgrp_create_result:
"""
Attributes:
- success
- ouch
"""
thrift_spec = (
(0, TType.I32, 'success', None, None, ), # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, success=None, ouch=None,):
self.success = success
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 0:
if ftype == TType.I32:
self.success = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_mgrp_create_result')
if self.success is not None:
oprot.writeFieldBegin('success', TType.I32, 0)
oprot.writeI32(self.success)
oprot.writeFieldEnd()
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.success)
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_mgrp_destroy_args:
"""
Attributes:
- cxt_id
- mgrp_handle
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
(2, TType.I32, 'mgrp_handle', None, None, ), # 2
)
def __init__(self, cxt_id=None, mgrp_handle=None,):
self.cxt_id = cxt_id
self.mgrp_handle = mgrp_handle
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
self.mgrp_handle = iprot.readI32();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_mgrp_destroy_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
if self.mgrp_handle is not None:
oprot.writeFieldBegin('mgrp_handle', TType.I32, 2)
oprot.writeI32(self.mgrp_handle)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
value = (value * 31) ^ hash(self.mgrp_handle)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_mgrp_destroy_result:
"""
Attributes:
- ouch
"""
thrift_spec = (
None, # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, ouch=None,):
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_mgrp_destroy_result')
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_create_args:
"""
Attributes:
- cxt_id
- rid
- port_map
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
(2, TType.I32, 'rid', None, None, ), # 2
(3, TType.STRING, 'port_map', None, None, ), # 3
)
def __init__(self, cxt_id=None, rid=None, port_map=None,):
self.cxt_id = cxt_id
self.rid = rid
self.port_map = port_map
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
self.rid = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
self.port_map = iprot.readString();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_create_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
if self.rid is not None:
oprot.writeFieldBegin('rid', TType.I32, 2)
oprot.writeI32(self.rid)
oprot.writeFieldEnd()
if self.port_map is not None:
oprot.writeFieldBegin('port_map', TType.STRING, 3)
oprot.writeString(self.port_map)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
value = (value * 31) ^ hash(self.rid)
value = (value * 31) ^ hash(self.port_map)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_create_result:
"""
Attributes:
- success
- ouch
"""
thrift_spec = (
(0, TType.I32, 'success', None, None, ), # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, success=None, ouch=None,):
self.success = success
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 0:
if ftype == TType.I32:
self.success = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_create_result')
if self.success is not None:
oprot.writeFieldBegin('success', TType.I32, 0)
oprot.writeI32(self.success)
oprot.writeFieldEnd()
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.success)
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_associate_args:
"""
Attributes:
- cxt_id
- mgrp_handle
- l1_handle
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
(2, TType.I32, 'mgrp_handle', None, None, ), # 2
(3, TType.I32, 'l1_handle', None, None, ), # 3
)
def __init__(self, cxt_id=None, mgrp_handle=None, l1_handle=None,):
self.cxt_id = cxt_id
self.mgrp_handle = mgrp_handle
self.l1_handle = l1_handle
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
self.mgrp_handle = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
self.l1_handle = iprot.readI32();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_associate_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
if self.mgrp_handle is not None:
oprot.writeFieldBegin('mgrp_handle', TType.I32, 2)
oprot.writeI32(self.mgrp_handle)
oprot.writeFieldEnd()
if self.l1_handle is not None:
oprot.writeFieldBegin('l1_handle', TType.I32, 3)
oprot.writeI32(self.l1_handle)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
value = (value * 31) ^ hash(self.mgrp_handle)
value = (value * 31) ^ hash(self.l1_handle)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_associate_result:
"""
Attributes:
- ouch
"""
thrift_spec = (
None, # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, ouch=None,):
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_associate_result')
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_dissociate_args:
"""
Attributes:
- cxt_id
- mgrp_handle
- l1_handle
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
(2, TType.I32, 'mgrp_handle', None, None, ), # 2
(3, TType.I32, 'l1_handle', None, None, ), # 3
)
def __init__(self, cxt_id=None, mgrp_handle=None, l1_handle=None,):
self.cxt_id = cxt_id
self.mgrp_handle = mgrp_handle
self.l1_handle = l1_handle
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
self.mgrp_handle = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
self.l1_handle = iprot.readI32();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_dissociate_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
if self.mgrp_handle is not None:
oprot.writeFieldBegin('mgrp_handle', TType.I32, 2)
oprot.writeI32(self.mgrp_handle)
oprot.writeFieldEnd()
if self.l1_handle is not None:
oprot.writeFieldBegin('l1_handle', TType.I32, 3)
oprot.writeI32(self.l1_handle)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
value = (value * 31) ^ hash(self.mgrp_handle)
value = (value * 31) ^ hash(self.l1_handle)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_dissociate_result:
"""
Attributes:
- ouch
"""
thrift_spec = (
None, # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, ouch=None,):
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_dissociate_result')
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_destroy_args:
"""
Attributes:
- cxt_id
- l1_handle
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
(2, TType.I32, 'l1_handle', None, None, ), # 2
)
def __init__(self, cxt_id=None, l1_handle=None,):
self.cxt_id = cxt_id
self.l1_handle = l1_handle
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
self.l1_handle = iprot.readI32();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_destroy_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
if self.l1_handle is not None:
oprot.writeFieldBegin('l1_handle', TType.I32, 2)
oprot.writeI32(self.l1_handle)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
value = (value * 31) ^ hash(self.l1_handle)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_destroy_result:
"""
Attributes:
- ouch
"""
thrift_spec = (
None, # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, ouch=None,):
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_destroy_result')
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_update_args:
"""
Attributes:
- cxt_id
- l1_handle
- port_map
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
(2, TType.I32, 'l1_handle', None, None, ), # 2
(3, TType.STRING, 'port_map', None, None, ), # 3
)
def __init__(self, cxt_id=None, l1_handle=None, port_map=None,):
self.cxt_id = cxt_id
self.l1_handle = l1_handle
self.port_map = port_map
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
self.l1_handle = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
self.port_map = iprot.readString();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_update_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
if self.l1_handle is not None:
oprot.writeFieldBegin('l1_handle', TType.I32, 2)
oprot.writeI32(self.l1_handle)
oprot.writeFieldEnd()
if self.port_map is not None:
oprot.writeFieldBegin('port_map', TType.STRING, 3)
oprot.writeString(self.port_map)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
value = (value * 31) ^ hash(self.l1_handle)
value = (value * 31) ^ hash(self.port_map)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_node_update_result:
"""
Attributes:
- ouch
"""
thrift_spec = (
None, # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, ouch=None,):
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_node_update_result')
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_get_entries_args:
"""
Attributes:
- cxt_id
"""
thrift_spec = (
None, # 0
(1, TType.I32, 'cxt_id', None, None, ), # 1
)
def __init__(self, cxt_id=None,):
self.cxt_id = cxt_id
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.I32:
self.cxt_id = iprot.readI32();
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_get_entries_args')
if self.cxt_id is not None:
oprot.writeFieldBegin('cxt_id', TType.I32, 1)
oprot.writeI32(self.cxt_id)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.cxt_id)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
class bm_mc_get_entries_result:
"""
Attributes:
- success
- ouch
"""
thrift_spec = (
(0, TType.STRING, 'success', None, None, ), # 0
(1, TType.STRUCT, 'ouch', (InvalidMcOperation, InvalidMcOperation.thrift_spec), None, ), # 1
)
def __init__(self, success=None, ouch=None,):
self.success = success
self.ouch = ouch
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 0:
if ftype == TType.STRING:
self.success = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 1:
if ftype == TType.STRUCT:
self.ouch = InvalidMcOperation()
self.ouch.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('bm_mc_get_entries_result')
if self.success is not None:
oprot.writeFieldBegin('success', TType.STRING, 0)
oprot.writeString(self.success)
oprot.writeFieldEnd()
if self.ouch is not None:
oprot.writeFieldBegin('ouch', TType.STRUCT, 1)
self.ouch.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __hash__(self):
value = 17
value = (value * 31) ^ hash(self.success)
value = (value * 31) ^ hash(self.ouch)
return value
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
| 29.951206
| 188
| 0.663651
| 6,619
| 52,175
| 4.915848
| 0.024173
| 0.020038
| 0.02932
| 0.025447
| 0.966654
| 0.941023
| 0.923259
| 0.901684
| 0.87596
| 0.869629
| 0
| 0.012187
| 0.221543
| 52,175
| 1,741
| 189
| 29.968409
| 0.788926
| 0.004657
| 0
| 0.868304
| 1
| 0
| 0.031004
| 0.008958
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.005952
| 0.004464
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
d3fb539b86523193d936642427bcb3aefa3d61d1
| 38,535
|
py
|
Python
|
code/A04_merge_all_data.py
|
xtguo95/Permission_Denied
|
08af677e54c436169a49c034bb0ec77388208dc9
|
[
"MIT"
] | 3
|
2021-12-14T07:39:54.000Z
|
2022-01-11T18:44:04.000Z
|
code/A04_merge_all_data.py
|
xtguo95/Permission_Denied
|
08af677e54c436169a49c034bb0ec77388208dc9
|
[
"MIT"
] | null | null | null |
code/A04_merge_all_data.py
|
xtguo95/Permission_Denied
|
08af677e54c436169a49c034bb0ec77388208dc9
|
[
"MIT"
] | 1
|
2021-09-04T06:08:35.000Z
|
2021-09-04T06:08:35.000Z
|
import time
import pandas as pd
import A01_process_route_seq
import A02_process_package_data
import A03_process_route_data
import numpy as np
import os
import json
def haversine_np(lon1, lat1, lon2, lat2):
"""
Calculate the great circle distance between two points
on the earth (specified in decimal degrees)
All args must be of equal length.
"""
lon1, lat1, lon2, lat2 = map(np.radians, [lon1, lat1, lon2, lat2])
dlon = lon2 - lon1
dlat = lat2 - lat1
a = np.sin(dlat/2.0)**2 + np.cos(lat1) * np.cos(lat2) * np.sin(dlon/2.0)**2
c = 2 * np.arcsin(np.sqrt(a))
km = 6367 * c
return km
def merge_all_data(route_data, seq_df, package, save_file, data_output_path, data_apply_output_path, data_path):
#tic = time.time()
#print('load data time',time.time() - tic)
assert len(route_data.loc[route_data['stops'].isna()]) == 0
assert len(seq_df.loc[seq_df['stops'].isna()]) == 0
assert len(package.loc[package['stops'].isna()]) == 0
#%%
route_seq = pd.merge(route_data, seq_df,on = ['route_id','stops'], how = 'left')
route_seq = route_seq.sort_values(['route_id','seq_ID'])
assert len(route_seq.loc[route_seq['seq_ID'].isna()]) == 0
all_zone_id = list(pd.unique(route_seq['zone_id']))
all_zone_id = [x for x in all_zone_id if str(x) != 'nan']
if 'INIT' in all_zone_id:
all_zone_id.remove('INIT')
replace_zone = []
# key = all_zone_id[0]
for key in all_zone_id:
try:
split_dot_1, split_dot_2 = key.split('.')
split_dot_1_1, split_dot_1_2 = split_dot_1.split('-')
assert len(split_dot_1_1) == 1
assert len(split_dot_1_2) > 0
assert len(split_dot_2) == 2
except:
replace_zone.append(key)
# check
###
#z = replace_zone[1]
all_routes_with_bad_zone = list(pd.unique(route_seq.loc[route_seq['zone_id'].isin(replace_zone),'route_id']))
for r in all_routes_with_bad_zone:
info = route_seq.loc[route_seq['route_id'] == r].copy()
info_with_invalid_zone = info.loc[info['zone_id'].isin(replace_zone)]
prop_inv_zone = len(info_with_invalid_zone)/len(info)
if prop_inv_zone > 0.3:
#in_valid_zone = list(pd.unique([''])) # not fill
continue
else:
route_seq.loc[(route_seq['route_id'] == r) & (route_seq['zone_id'].isin(replace_zone)),'zone_id'] = np.nan
#,'zone_id'] = np.nan
###
#a1=1
#print(route_seq['route_id'].iloc[0])
# route_seq.loc[route_seq['route_id'] == 'RouteID_00143bdd-0a6b-49ec-bb35-36593d303e77', 'zone_id'] = np.nan
route_seq.loc[route_seq['type'] == 'Station', 'zone_id'] = 'INIT'
# first fill all na routes
route_seq['zone_na'] = route_seq['zone_id'].isna()
route_seq['max_stops_num_except_ini'] = route_seq.groupby(['route_id'])['stops'].transform('count') - 1
route_seq['zone_na_num_stops'] = route_seq.groupby(['route_id'])['zone_na'].transform('sum')
route_all_na = route_seq.loc[route_seq['max_stops_num_except_ini']==route_seq['zone_na_num_stops']]
route_all_na_id = list(pd.unique(route_all_na['route_id']))
for key in route_all_na_id:
route_seq.loc[(route_seq['route_id'] == key)&(route_seq['zone_id'] != 'INIT'), 'zone_id'] = 'A-999.9Z'
route_seq = route_seq.drop(columns=['zone_na','max_stops_num_except_ini','zone_na_num_stops'])
##############
FILL_NA_METHOD = 'Nearest_TT_N' # NEAREST:
if FILL_NA_METHOD == 'Nearest':
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(),['route_id','stops','lat','lng']]
no_na_stop = route_seq.loc[(~(route_seq['zone_id'].isna())) & (route_seq['zone_id']!='INIT'),['route_id','stops','lat','lng','zone_id']]
no_na_stop = no_na_stop.rename(columns = {'stops':'nearby_stops','lat':'lat_nearby','lng':'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on = ['route_id'])
na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
na_stop_nearby_stop['lng_nearby'].values, na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id','stops','dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id','stops'], as_index = False).first()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id','stops','zone_id_infer']], on = ['route_id','stops'], how = 'left')
route_seq.loc[route_seq['zone_id'].isna(),'zone_id'] = route_seq.loc[route_seq['zone_id'].isna(),'zone_id_infer']
route_seq = route_seq.drop(columns = ['zone_id_infer'])
#check_na = route_seq.loc[route_seq['zone_id'].isna()]
#a=1
#check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a=1
route_seq_fill_na = route_seq.copy()
elif FILL_NA_METHOD == 'Nearest_N':
near_num = 2
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(),['route_id','stops','lat','lng']]
no_na_stop = route_seq.loc[(~(route_seq['zone_id'].isna())) & (route_seq['zone_id']!='INIT'),['route_id','stops','lat','lng','zone_id']]
no_na_stop = no_na_stop.rename(columns = {'stops':'nearby_stops','lat':'lat_nearby','lng':'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on = ['route_id'])
na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
na_stop_nearby_stop['lng_nearby'].values, na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id','stops','dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id','stops'], as_index = False).head(near_num)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone.reset_index(drop=True)
na_stop_nearby_stop_with_zone['weight'] = 1/ na_stop_nearby_stop_with_zone['dist']
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone.groupby(['route_id','stops','zone_id'])['weight'].sum().reset_index()
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.rename(columns = {'weight':'num_fre_zone'})
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.sort_values(['route_id','stops','num_fre_zone'],ascending=False)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone_num.groupby(['route_id','stops']).first().reset_index()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id','stops','zone_id_infer']], on = ['route_id','stops'], how = 'left')
route_seq.loc[route_seq['zone_id'].isna(),'zone_id'] = route_seq.loc[route_seq['zone_id'].isna(),'zone_id_infer']
route_seq = route_seq.drop(columns = ['zone_id_infer'])
#check_na = route_seq.loc[route_seq['zone_id'].isna()]
#a=1
#check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a=1
route_seq_fill_na = route_seq.copy()
elif FILL_NA_METHOD == 'Nearest_TT_N':
near_num = 1
filepath = data_path + 'model_apply_inputs/new_travel_times.json'
with open(filepath, newline='') as in_file:
travel_time_matrix = json.load(in_file)
stop_tt = {'route_id': [], 'from_stop': [], 'to_stop': [], 'travel_time': []}
for key in travel_time_matrix:
for from_zone in travel_time_matrix[key]:
for to_zone in travel_time_matrix[key][from_zone]:
if (from_zone != to_zone): # and (from_zone == 'INIT'):
stop_tt['route_id'].append(key)
stop_tt['from_stop'].append(from_zone)
stop_tt['to_stop'].append(to_zone)
stop_tt['travel_time'].append(travel_time_matrix[key][from_zone][to_zone])
stop_tt_df = pd.DataFrame(stop_tt)
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(), ['route_id', 'stops', 'lat', 'lng']]
no_na_stop = route_seq.loc[
(~(route_seq['zone_id'].isna())) & (route_seq['zone_id'] != 'INIT'), ['route_id', 'stops', 'lat', 'lng',
'zone_id']]
no_na_stop = no_na_stop.rename(columns={'stops': 'nearby_stops', 'lat': 'lat_nearby', 'lng': 'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on=['route_id'])
na_stop_nearby_stop = na_stop_nearby_stop.merge(stop_tt_df, left_on = ['route_id','stops','nearby_stops'],
right_on = ['route_id','from_stop','to_stop'])
na_stop_nearby_stop['dist'] = na_stop_nearby_stop['travel_time']
a=1
# na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
# na_stop_nearby_stop['lng_nearby'].values,
# na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id', 'stops', 'dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id', 'stops'], as_index=False).head(
near_num)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone.reset_index(drop=True)
na_stop_nearby_stop_with_zone['weight'] = 1 / na_stop_nearby_stop_with_zone['dist']
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone.groupby(['route_id', 'stops', 'zone_id'])[
'weight'].sum().reset_index()
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.rename(columns={'weight': 'num_fre_zone'})
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.sort_values(
['route_id', 'stops', 'num_fre_zone'], ascending=False)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone_num.groupby(
['route_id', 'stops']).first().reset_index()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id', 'stops', 'zone_id_infer']],
on=['route_id', 'stops'], how='left')
route_seq.loc[route_seq['zone_id'].isna(), 'zone_id'] = route_seq.loc[
route_seq['zone_id'].isna(), 'zone_id_infer']
route_seq = route_seq.drop(columns=['zone_id_infer'])
# check_na = route_seq.loc[route_seq['zone_id'].isna()]
# a=1
# check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a = 1
route_seq_fill_na = route_seq.copy()
elif FILL_NA_METHOD == 'Nearest_TT_go_back_avg_N':
near_num = 1
filepath = data_path + 'model_apply_inputs/new_travel_times.json'
with open(filepath, newline='') as in_file:
travel_time_matrix = json.load(in_file)
stop_tt = {'route_id': [], 'from_stop': [], 'to_stop': [], 'travel_time': []}
for key in travel_time_matrix:
for from_zone in travel_time_matrix[key]:
for to_zone in travel_time_matrix[key][from_zone]:
if (from_zone != to_zone): # and (from_zone == 'INIT'):
stop_tt['route_id'].append(key)
stop_tt['from_stop'].append(from_zone)
stop_tt['to_stop'].append(to_zone)
stop_tt['travel_time'].append(travel_time_matrix[key][from_zone][to_zone])
stop_tt_df = pd.DataFrame(stop_tt)
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(), ['route_id', 'stops', 'lat', 'lng']]
no_na_stop = route_seq.loc[
(~(route_seq['zone_id'].isna())) & (route_seq['zone_id'] != 'INIT'), ['route_id', 'stops', 'lat', 'lng',
'zone_id']]
no_na_stop = no_na_stop.rename(columns={'stops': 'nearby_stops', 'lat': 'lat_nearby', 'lng': 'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on=['route_id'])
###
na_stop_nearby_stop = na_stop_nearby_stop.merge(stop_tt_df, left_on = ['route_id','stops','nearby_stops'],
right_on = ['route_id','from_stop','to_stop'])
na_stop_nearby_stop = na_stop_nearby_stop.rename(columns = {'travel_time':'travel_time_from_to'})
na_stop_nearby_stop = na_stop_nearby_stop.drop(columns = ['from_stop','to_stop'])
##
na_stop_nearby_stop = na_stop_nearby_stop.merge(stop_tt_df, left_on = ['route_id','nearby_stops','stops'],
right_on = ['route_id','from_stop','to_stop'])
na_stop_nearby_stop = na_stop_nearby_stop.rename(columns = {'travel_time':'travel_time_to_from'})
na_stop_nearby_stop = na_stop_nearby_stop.drop(columns = ['from_stop','to_stop'])
###
na_stop_nearby_stop['travel_time'] = (na_stop_nearby_stop['travel_time_from_to'] + na_stop_nearby_stop['travel_time_to_from']) / 2
# na_stop_nearby_stop['travel_time'] = na_stop_nearby_stop['travel_time_to_from']
na_stop_nearby_stop['dist'] = na_stop_nearby_stop['travel_time']
a=1
# na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
# na_stop_nearby_stop['lng_nearby'].values,
# na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id', 'stops', 'dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id', 'stops'], as_index=False).head(
near_num)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone.reset_index(drop=True)
na_stop_nearby_stop_with_zone['weight'] = 1 / na_stop_nearby_stop_with_zone['dist']
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone.groupby(['route_id', 'stops', 'zone_id'])[
'weight'].sum().reset_index()
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.rename(columns={'weight': 'num_fre_zone'})
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.sort_values(
['route_id', 'stops', 'num_fre_zone'], ascending=False)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone_num.groupby(
['route_id', 'stops']).first().reset_index()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id', 'stops', 'zone_id_infer']],
on=['route_id', 'stops'], how='left')
route_seq.loc[route_seq['zone_id'].isna(), 'zone_id'] = route_seq.loc[
route_seq['zone_id'].isna(), 'zone_id_infer']
route_seq = route_seq.drop(columns=['zone_id_infer'])
# check_na = route_seq.loc[route_seq['zone_id'].isna()]
# a=1
# check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a = 1
route_seq_fill_na = route_seq.copy()
if save_file:
route_seq_fill_na.to_csv(data_output_path + 'data/build_route_with_seq.csv',index=False)
#%%
route_seq_package = pd.merge(route_seq_fill_na, package, on = ['route_id','stops'],how = 'left')
route_seq_package = route_seq_package.sort_values(['route_id','seq_ID'])
if save_file:
route_seq_package.to_csv(data_output_path + 'data/build_route_with_seq_and_package.csv',index=False)
return route_seq_fill_na, route_seq_package
def merge_all_data_apply(route_data, package, save_file, data_output_path, data_apply_output_path, data_path):
#tic = time.time()
#print('load data time',time.time() - tic)
assert len(route_data.loc[route_data['stops'].isna()]) == 0
assert len(package.loc[package['stops'].isna()]) == 0
#%%
# route_seq = pd.merge(route_data, seq_df,on = ['route_id','stops'], how = 'left')
# route_seq = route_seq.sort_values(['route_id','seq_ID'])
# assert len(route_seq.loc[route_seq['seq_ID'].isna()]) == 0
route_seq = route_data.copy()
all_zone_id = list(pd.unique(route_seq['zone_id']))
all_zone_id = [x for x in all_zone_id if str(x) != 'nan']
if 'INIT' in all_zone_id:
all_zone_id.remove('INIT')
replace_zone = []
# key = all_zone_id[0]
for key in all_zone_id:
try:
split_dot_1, split_dot_2 = key.split('.')
split_dot_1_1, split_dot_1_2 = split_dot_1.split('-')
assert len(split_dot_1_1) == 1
assert len(split_dot_1_2) > 0
assert len(split_dot_2) == 2
except:
replace_zone.append(key)
# check
###
#z = replace_zone[1]
all_routes_with_bad_zone = list(pd.unique(route_seq.loc[route_seq['zone_id'].isin(replace_zone),'route_id']))
for r in all_routes_with_bad_zone:
info = route_seq.loc[route_seq['route_id'] == r].copy()
info_with_invalid_zone = info.loc[info['zone_id'].isin(replace_zone)]
prop_inv_zone = len(info_with_invalid_zone)/len(info)
if prop_inv_zone > 0.3:
#in_valid_zone = list(pd.unique([''])) # not fill
continue
else:
route_seq.loc[(route_seq['route_id'] == r) & (route_seq['zone_id'].isin(replace_zone)),'zone_id'] = np.nan
###
#a1=1
#print(route_seq['route_id'].iloc[0])
# route_seq.loc[route_seq['route_id'] == 'RouteID_00143bdd-0a6b-49ec-bb35-36593d303e77', 'zone_id'] = np.nan
route_seq.loc[route_seq['type'] == 'Station', 'zone_id'] = 'INIT'
# first fill all na routes
route_seq['zone_na'] = route_seq['zone_id'].isna()
route_seq['max_stops_num_except_ini'] = route_seq.groupby(['route_id'])['stops'].transform('count') - 1
route_seq['zone_na_num_stops'] = route_seq.groupby(['route_id'])['zone_na'].transform('sum')
route_all_na = route_seq.loc[route_seq['max_stops_num_except_ini']==route_seq['zone_na_num_stops']]
route_all_na_id = list(pd.unique(route_all_na['route_id']))
for key in route_all_na_id:
route_seq.loc[(route_seq['route_id'] == key)&(route_seq['zone_id'] != 'INIT'), 'zone_id'] = 'A-999.9Z'
route_seq = route_seq.drop(columns=['zone_na','max_stops_num_except_ini','zone_na_num_stops'])
##############
FILL_NA_METHOD = 'Nearest_TT_N' # NEAREST:
if FILL_NA_METHOD == 'Nearest':
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(),['route_id','stops','lat','lng']]
no_na_stop = route_seq.loc[(~(route_seq['zone_id'].isna())) & (route_seq['zone_id']!='INIT'),['route_id','stops','lat','lng','zone_id']]
no_na_stop = no_na_stop.rename(columns = {'stops':'nearby_stops','lat':'lat_nearby','lng':'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on = ['route_id'])
na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
na_stop_nearby_stop['lng_nearby'].values, na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id','stops','dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id','stops'], as_index = False).first()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id','stops','zone_id_infer']], on = ['route_id','stops'], how = 'left')
route_seq.loc[route_seq['zone_id'].isna(),'zone_id'] = route_seq.loc[route_seq['zone_id'].isna(),'zone_id_infer']
route_seq = route_seq.drop(columns = ['zone_id_infer'])
#check_na = route_seq.loc[route_seq['zone_id'].isna()]
#a=1
#check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a=1
route_seq_fill_na = route_seq.copy()
elif FILL_NA_METHOD == 'Nearest_N':
near_num = 2
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(),['route_id','stops','lat','lng']]
no_na_stop = route_seq.loc[(~(route_seq['zone_id'].isna())) & (route_seq['zone_id']!='INIT'),['route_id','stops','lat','lng','zone_id']]
no_na_stop = no_na_stop.rename(columns = {'stops':'nearby_stops','lat':'lat_nearby','lng':'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on = ['route_id'])
na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
na_stop_nearby_stop['lng_nearby'].values, na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id','stops','dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id','stops'], as_index = False).head(near_num)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone.reset_index(drop=True)
na_stop_nearby_stop_with_zone['weight'] = 1/ na_stop_nearby_stop_with_zone['dist']
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone.groupby(['route_id','stops','zone_id'])['weight'].sum().reset_index()
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.rename(columns = {'weight':'num_fre_zone'})
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.sort_values(['route_id','stops','num_fre_zone'],ascending=False)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone_num.groupby(['route_id','stops']).first().reset_index()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id','stops','zone_id_infer']], on = ['route_id','stops'], how = 'left')
route_seq.loc[route_seq['zone_id'].isna(),'zone_id'] = route_seq.loc[route_seq['zone_id'].isna(),'zone_id_infer']
route_seq = route_seq.drop(columns = ['zone_id_infer'])
#check_na = route_seq.loc[route_seq['zone_id'].isna()]
#a=1
#check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a=1
route_seq_fill_na = route_seq.copy()
elif FILL_NA_METHOD == 'Nearest_TT_N':
near_num = 1
filepath = data_path + 'model_apply_inputs/new_travel_times.json'
with open(filepath, newline='') as in_file:
travel_time_matrix = json.load(in_file)
stop_tt = {'route_id': [], 'from_stop': [], 'to_stop': [], 'travel_time': []}
for key in travel_time_matrix:
for from_zone in travel_time_matrix[key]:
for to_zone in travel_time_matrix[key][from_zone]:
if (from_zone != to_zone): # and (from_zone == 'INIT'):
stop_tt['route_id'].append(key)
stop_tt['from_stop'].append(from_zone)
stop_tt['to_stop'].append(to_zone)
stop_tt['travel_time'].append(travel_time_matrix[key][from_zone][to_zone])
stop_tt_df = pd.DataFrame(stop_tt)
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(), ['route_id', 'stops', 'lat', 'lng']]
no_na_stop = route_seq.loc[
(~(route_seq['zone_id'].isna())) & (route_seq['zone_id'] != 'INIT'), ['route_id', 'stops', 'lat', 'lng',
'zone_id']]
no_na_stop = no_na_stop.rename(columns={'stops': 'nearby_stops', 'lat': 'lat_nearby', 'lng': 'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on=['route_id'])
na_stop_nearby_stop = na_stop_nearby_stop.merge(stop_tt_df, left_on = ['route_id','stops','nearby_stops'],
right_on = ['route_id','from_stop','to_stop'])
na_stop_nearby_stop['dist'] = na_stop_nearby_stop['travel_time']
a=1
# na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
# na_stop_nearby_stop['lng_nearby'].values,
# na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id', 'stops', 'dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id', 'stops'], as_index=False).head(
near_num)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone.reset_index(drop=True)
na_stop_nearby_stop_with_zone['weight'] = 1 / na_stop_nearby_stop_with_zone['dist']
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone.groupby(['route_id', 'stops', 'zone_id'])[
'weight'].sum().reset_index()
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.rename(columns={'weight': 'num_fre_zone'})
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.sort_values(
['route_id', 'stops', 'num_fre_zone'], ascending=False)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone_num.groupby(
['route_id', 'stops']).first().reset_index()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id', 'stops', 'zone_id_infer']],
on=['route_id', 'stops'], how='left')
route_seq.loc[route_seq['zone_id'].isna(), 'zone_id'] = route_seq.loc[
route_seq['zone_id'].isna(), 'zone_id_infer']
route_seq = route_seq.drop(columns=['zone_id_infer'])
# check_na = route_seq.loc[route_seq['zone_id'].isna()]
# a=1
# check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a = 1
route_seq_fill_na = route_seq.copy()
elif FILL_NA_METHOD == 'Nearest_TT_go_back_avg_N':
near_num = 1
filepath = data_path + 'model_apply_inputs/new_travel_times.json'
with open(filepath, newline='') as in_file:
travel_time_matrix = json.load(in_file)
stop_tt = {'route_id': [], 'from_stop': [], 'to_stop': [], 'travel_time': []}
for key in travel_time_matrix:
for from_zone in travel_time_matrix[key]:
for to_zone in travel_time_matrix[key][from_zone]:
if (from_zone != to_zone): # and (from_zone == 'INIT'):
stop_tt['route_id'].append(key)
stop_tt['from_stop'].append(from_zone)
stop_tt['to_stop'].append(to_zone)
stop_tt['travel_time'].append(travel_time_matrix[key][from_zone][to_zone])
stop_tt_df = pd.DataFrame(stop_tt)
##########fill by nearest
na_stop = route_seq.loc[route_seq['zone_id'].isna(), ['route_id', 'stops', 'lat', 'lng']]
no_na_stop = route_seq.loc[
(~(route_seq['zone_id'].isna())) & (route_seq['zone_id'] != 'INIT'), ['route_id', 'stops', 'lat', 'lng',
'zone_id']]
no_na_stop = no_na_stop.rename(columns={'stops': 'nearby_stops', 'lat': 'lat_nearby', 'lng': 'lng_nearby'})
na_stop_nearby_stop = na_stop.merge(no_na_stop, on=['route_id'])
###
na_stop_nearby_stop = na_stop_nearby_stop.merge(stop_tt_df, left_on = ['route_id','stops','nearby_stops'],
right_on = ['route_id','from_stop','to_stop'])
na_stop_nearby_stop = na_stop_nearby_stop.rename(columns = {'travel_time':'travel_time_from_to'})
na_stop_nearby_stop = na_stop_nearby_stop.drop(columns = ['from_stop','to_stop'])
##
na_stop_nearby_stop = na_stop_nearby_stop.merge(stop_tt_df, left_on = ['route_id','nearby_stops','stops'],
right_on = ['route_id','from_stop','to_stop'])
na_stop_nearby_stop = na_stop_nearby_stop.rename(columns = {'travel_time':'travel_time_to_from'})
na_stop_nearby_stop = na_stop_nearby_stop.drop(columns = ['from_stop','to_stop'])
###
na_stop_nearby_stop['travel_time'] = (na_stop_nearby_stop['travel_time_from_to'] + na_stop_nearby_stop['travel_time_to_from']) / 2
# na_stop_nearby_stop['travel_time'] = na_stop_nearby_stop['travel_time_to_from']
na_stop_nearby_stop['dist'] = na_stop_nearby_stop['travel_time']
a=1
# na_stop_nearby_stop['dist'] = haversine_np(na_stop_nearby_stop['lng'].values, na_stop_nearby_stop['lat'].values,
# na_stop_nearby_stop['lng_nearby'].values,
# na_stop_nearby_stop['lat_nearby'].values)
na_stop_nearby_stop = na_stop_nearby_stop.sort_values(['route_id', 'stops', 'dist'])
na_stop_nearby_stop_with_zone = na_stop_nearby_stop.groupby(['route_id', 'stops'], as_index=False).head(
near_num)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone.reset_index(drop=True)
na_stop_nearby_stop_with_zone['weight'] = 1 / na_stop_nearby_stop_with_zone['dist']
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone.groupby(['route_id', 'stops', 'zone_id'])[
'weight'].sum().reset_index()
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.rename(columns={'weight': 'num_fre_zone'})
na_stop_nearby_stop_with_zone_num = na_stop_nearby_stop_with_zone_num.sort_values(
['route_id', 'stops', 'num_fre_zone'], ascending=False)
na_stop_nearby_stop_with_zone = na_stop_nearby_stop_with_zone_num.groupby(
['route_id', 'stops']).first().reset_index()
na_stop_nearby_stop_with_zone['zone_id_infer'] = na_stop_nearby_stop_with_zone['zone_id']
route_seq = route_seq.merge(na_stop_nearby_stop_with_zone[['route_id', 'stops', 'zone_id_infer']],
on=['route_id', 'stops'], how='left')
route_seq.loc[route_seq['zone_id'].isna(), 'zone_id'] = route_seq.loc[
route_seq['zone_id'].isna(), 'zone_id_infer']
route_seq = route_seq.drop(columns=['zone_id_infer'])
# check_na = route_seq.loc[route_seq['zone_id'].isna()]
# a=1
# check_all_na = na_stop_nearby_stop.loc[na_stop_nearby_stop['']]
a = 1
route_seq_fill_na = route_seq.copy()
if save_file:
route_seq_fill_na.to_csv(data_apply_output_path + 'model_apply_output/build_route_with_seq.csv',index=False)
#%%
route_seq_package = pd.merge(route_seq_fill_na, package, on = ['route_id','stops'],how = 'left')
route_seq_package = route_seq_package.sort_values(['route_id'])
if save_file:
route_seq_package.to_csv(data_apply_output_path + 'model_apply_output/build_route_with_seq_and_package.csv',index=False)
return route_seq_fill_na, route_seq_package
def get_all_data(data_path, read_file, save_file, previous_save_file, mode,
data_output_path, data_apply_output_path):
if mode == 'build':
if read_file:
route_data_build = pd.read_csv(data_output_path + 'data/build_route_df.csv')
route_data_build['stops'] = route_data_build['stops'].fillna('NA')
seq_df = pd.read_csv(data_output_path + 'data/build_route_seq_df.csv')
seq_df['stops'] = seq_df['stops'].fillna('NA')
package_df_build = pd.read_csv(data_output_path + 'data/build_package_df.csv')
package_df_build['stops'] = package_df_build['stops'].fillna('NA')
#a=1
else:
#if mode == 'build':
seq_df = A01_process_route_seq.generate_build_route_seq_df(data_path, save_file = previous_save_file,
data_output_path = data_output_path)
package_df_build = A02_process_package_data.generate_package_data(data_path, save_file = previous_save_file,
mode = mode, data_output_path = data_output_path,
data_apply_output_path = data_apply_output_path)
route_data_build = A03_process_route_data.generate_route_df(data_path, save_file = previous_save_file,
mode = mode, data_output_path = data_output_path,
data_apply_output_path = data_apply_output_path)
route_seq_fill_na, route_seq_package = merge_all_data(route_data_build, seq_df, package_df_build, save_file,
data_output_path, data_apply_output_path, data_path)
elif mode == 'apply':
#route_data_build =
package_df_build = A02_process_package_data.generate_package_data(data_path, save_file=previous_save_file,
mode=mode, data_output_path = data_output_path,
data_apply_output_path = data_apply_output_path)
route_data_build = A03_process_route_data.generate_route_df(data_path, save_file=previous_save_file, mode=mode,
data_output_path = data_output_path,
data_apply_output_path = data_apply_output_path)
# a=1
route_seq_fill_na, route_seq_package = merge_all_data_apply(route_data_build, package_df_build, save_file,
data_output_path = data_output_path,
data_apply_output_path = data_apply_output_path,
data_path = data_path)
return route_seq_fill_na, route_seq_package
def main(data_path, mode):
if mode == 'build':
save_file = True
read_file = False
previous_save_file = True
data_output_path = data_path + 'model_build_outputs/'
data_apply_output_path = None
if not os.path.exists(data_output_path + 'data/'):
os.mkdir(data_output_path + 'data/')
if not os.path.exists(data_output_path + 'data/mean_dist/'):
os.mkdir(data_output_path + 'data/mean_dist/')
elif mode == 'apply':
save_file = True
read_file = False
previous_save_file = True
data_output_path = data_path + 'model_build_outputs/'
data_apply_output_path = data_path + 'model_apply_outputs/'
if not os.path.exists(data_apply_output_path + 'model_apply_output/'):
os.mkdir(data_apply_output_path + 'model_apply_output/')
if not os.path.exists(data_output_path + 'model_apply_output/mean_dist/'):
os.mkdir(data_output_path + 'model_apply_output/mean_dist/')
tic = time.time()
get_all_data(data_path, read_file, save_file, previous_save_file, mode = mode,
data_output_path = data_output_path, data_apply_output_path = data_apply_output_path)
print('generate file time', time.time() - tic)
if __name__ == '__main__':
# route_data = pd.read_csv('../data/build_route_df.csv', keep_default_na=False)
# seq_df = pd.read_csv('../data/build_route_seq_df.csv', keep_default_na=False)
# package = pd.read_csv('../data/build_package_df.csv', keep_default_na=False)
mode = 'build'
if mode == 'build':
data_path = '../data_fake/'
save_file = True
read_file = False
previous_save_file = True
data_output_path = '../data_fake/model_build_outputs/'
data_apply_output_path = None
if not os.path.exists(data_output_path + 'data/'):
os.mkdir(data_output_path + 'data/')
elif mode == 'apply':
data_path = '../data_fake/'
save_file = True
read_file = False
previous_save_file = True
data_output_path = '../data_fake/model_build_outputs/'
data_apply_output_path = '../data_fake/model_apply_outputs/'
if not os.path.exists(data_apply_output_path + 'model_apply_output/'):
os.mkdir(data_apply_output_path + 'model_apply_output/')
tic = time.time()
get_all_data(data_path, read_file, save_file, previous_save_file, mode = mode,
data_output_path = data_output_path, data_apply_output_path = data_apply_output_path)
print('generate file time', time.time() - tic)
| 54.737216
| 146
| 0.621046
| 5,403
| 38,535
| 3.937442
| 0.036276
| 0.080662
| 0.134248
| 0.178998
| 0.962254
| 0.958682
| 0.950174
| 0.945144
| 0.937012
| 0.926436
| 0
| 0.006328
| 0.245465
| 38,535
| 703
| 147
| 54.815078
| 0.72534
| 0.098248
| 0
| 0.877462
| 0
| 0
| 0.160957
| 0.022246
| 0
| 0
| 0
| 0
| 0.026258
| 1
| 0.010941
| false
| 0
| 0.017505
| 0
| 0.037199
| 0.004376
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
d3fdb47605bd60cceb90338418875fcca806156a
| 5,641
|
py
|
Python
|
lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
|
MochalovaAn/llvm
|
528aa5ca4aa9df447dc3497ef19da3b124e88d7d
|
[
"Apache-2.0"
] | null | null | null |
lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
|
MochalovaAn/llvm
|
528aa5ca4aa9df447dc3497ef19da3b124e88d7d
|
[
"Apache-2.0"
] | null | null | null |
lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
|
MochalovaAn/llvm
|
528aa5ca4aa9df447dc3497ef19da3b124e88d7d
|
[
"Apache-2.0"
] | null | null | null |
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
from lldbsuite.test.decorators import *
ADDRESS_REGEX = '0x[0-9a-fA-F]*'
class TestTraceStartStopMultipleThreads(TestBase):
mydir = TestBase.compute_mydir(__file__)
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
TestBase.setUp(self)
if 'intel-pt' not in configuration.enabled_plugins:
self.skipTest("The intel-pt test plugin is not enabled")
@skipIf(oslist=no_match(['linux']), archs=no_match(['i386', 'x86_64']))
def testStartMultipleLiveThreads(self):
self.build()
exe = self.getBuildArtifact("a.out")
target = self.dbg.CreateTarget(exe)
self.expect("b main")
self.expect("b 6")
self.expect("b 11")
self.expect("r")
self.expect("proce trace start")
# We'll see here the first thread
self.expect("continue")
self.expect("thread trace dump instructions", substrs=['main.cpp:9'])
# We'll see here the second thread
self.expect("continue")
self.expect("thread trace dump instructions", substrs=['main.cpp:4'])
@skipIf(oslist=no_match(['linux']), archs=no_match(['i386', 'x86_64']))
def testStartMultipleLiveThreadsWithStops(self):
self.build()
exe = self.getBuildArtifact("a.out")
target = self.dbg.CreateTarget(exe)
self.expect("b main")
self.expect("b 6")
self.expect("b 11")
self.expect("r")
self.expect("process trace start")
# We'll see here the first thread
self.expect("continue")
# We are in thread 2
self.expect("thread trace dump instructions", substrs=['main.cpp:9'])
self.expect("thread trace dump instructions 2", substrs=['main.cpp:9'])
# We stop tracing it
self.expect("thread trace stop 2")
# The trace is still in memory
self.expect("thread trace dump instructions 2", substrs=['main.cpp:9'])
# We'll stop at the next breakpoint, thread 2 will be still alive, but not traced. Thread 3 will be traced
self.expect("continue")
self.expect("thread trace dump instructions", substrs=['main.cpp:4'])
self.expect("thread trace dump instructions 3", substrs=['main.cpp:4'])
self.expect("thread trace dump instructions 2", substrs=['not traced'])
@skipIf(oslist=no_match(['linux']), archs=no_match(['i386', 'x86_64']))
def testStartMultipleLiveThreadsWithStops(self):
self.build()
exe = self.getBuildArtifact("a.out")
target = self.dbg.CreateTarget(exe)
self.expect("b main")
self.expect("b 6")
self.expect("b 11")
self.expect("r")
self.expect("process trace start")
# We'll see here the first thread
self.expect("continue")
# We are in thread 2
self.expect("thread trace dump instructions", substrs=['main.cpp:9'])
self.expect("thread trace dump instructions 2", substrs=['main.cpp:9'])
# We stop tracing all
self.expect("thread trace stop all")
# The trace is still in memory
self.expect("thread trace dump instructions 2", substrs=['main.cpp:9'])
# We'll stop at the next breakpoint in thread 3, thread 2 and 3 will be alive, but only 3 traced.
self.expect("continue")
self.expect("thread trace dump instructions", substrs=['main.cpp:4'])
self.expect("thread trace dump instructions 3", substrs=['main.cpp:4'])
self.expect("thread trace dump instructions 1", substrs=['not traced'])
self.expect("thread trace dump instructions 2", substrs=['not traced'])
@skipIf(oslist=no_match(['linux']), archs=no_match(['i386', 'x86_64']))
def testStartMultipleLiveThreadsWithThreadStartAll(self):
self.build()
exe = self.getBuildArtifact("a.out")
target = self.dbg.CreateTarget(exe)
self.expect("b main")
self.expect("b 6")
self.expect("b 11")
self.expect("r")
self.expect("continue")
# We are in thread 2
self.expect("thread trace start all")
# Now we have instructions in thread's 2 trace
self.expect("n")
self.expect("thread trace dump instructions 2", substrs=['main.cpp:11'])
# We stop tracing all
self.runCmd("thread trace stop all")
# The trace is still in memory
self.expect("thread trace dump instructions 2", substrs=['main.cpp:11'])
# We'll stop at the next breakpoint in thread 3, and nothing should be traced
self.expect("continue")
self.expect("thread trace dump instructions 3", substrs=['not traced'])
self.expect("thread trace dump instructions 1", substrs=['not traced'])
self.expect("thread trace dump instructions 2", substrs=['not traced'])
@skipIf(oslist=no_match(['linux']), archs=no_match(['i386', 'x86_64']))
def testStartMultipleLiveThreadsWithSmallTotalLimit(self):
self.build()
exe = self.getBuildArtifact("a.out")
target = self.dbg.CreateTarget(exe)
self.expect("b main")
self.expect("r")
# trace the entire process with enough total size for 1 thread trace
self.expect("process trace start -l 5000")
# we get the stop event when trace 2 appears and can't be traced
self.expect("c", substrs=['Thread', "can't be traced"])
# we get the stop event when trace 3 appears and can't be traced
self.expect("c", substrs=['Thread', "can't be traced"])
| 36.869281
| 114
| 0.627371
| 736
| 5,641
| 4.774457
| 0.172554
| 0.159363
| 0.104724
| 0.13745
| 0.804212
| 0.777746
| 0.776608
| 0.76181
| 0.761525
| 0.756972
| 0
| 0.023207
| 0.243751
| 5,641
| 152
| 115
| 37.111842
| 0.800516
| 0.149973
| 0
| 0.755319
| 0
| 0
| 0.278173
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.06383
| false
| 0
| 0.042553
| 0
| 0.138298
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
3105cb8d06bef224891d687714cc5977d1b4f26e
| 14,816
|
py
|
Python
|
networks/datagen.py
|
GuangmingZhu/ContinuousGR
|
2b35fe673405744a694b90f1e89943846b3e1de1
|
[
"MIT"
] | 18
|
2018-08-23T13:38:29.000Z
|
2022-02-24T09:19:14.000Z
|
networks/datagen.py
|
NIDONGDEA/ContinuousGR
|
2b35fe673405744a694b90f1e89943846b3e1de1
|
[
"MIT"
] | 1
|
2021-09-16T10:20:18.000Z
|
2021-09-16T10:20:18.000Z
|
networks/datagen.py
|
NIDONGDEA/ContinuousGR
|
2b35fe673405744a694b90f1e89943846b3e1de1
|
[
"MIT"
] | 2
|
2019-10-21T23:12:28.000Z
|
2022-02-28T01:53:48.000Z
|
import numpy as np
import tensorflow as tf
keras=tf.contrib.keras
import inputs as data
import threading
## Iteration
def minibatches(inputs=None, targets=None, batch_size=None, shuffle=False):
assert len(inputs) == len(targets)
if shuffle:
indices = np.arange(len(inputs))
np.random.shuffle(indices)
for start_idx in range(0, len(inputs) - batch_size + 1, batch_size):
if shuffle:
excerpt = indices[start_idx:start_idx + batch_size]
else:
excerpt = slice(start_idx, start_idx + batch_size)
yield inputs[excerpt], targets[excerpt]
## Threading
def threading_data(data=None, fn=None, **kwargs):
# define function for threading
def apply_fn(results, i, data, kwargs):
results[i] = fn(data, **kwargs)
## start multi-threaded reading.
results = [None] * len(data) ## preallocate result list
threads = []
for i in range(len(data)):
t = threading.Thread(
name='threading_and_return',
target=apply_fn,
args=(results, i, data[i], kwargs)
)
t.start()
threads.append(t)
## <Milo> wait for all threads to complete
for t in threads:
t.join()
return np.asarray(results)
## isoTrainImageGenerator
def isoTrainImageGenerator(filepath, batch_size, depth, num_classes, modality):
X_train,y_train = data.load_iso_video_list(filepath)
X_tridx = np.asarray(np.arange(0, len(y_train)), dtype=np.int32)
y_train = np.asarray(y_train, dtype=np.int32)
while 1:
for X_indices, y_label_t in minibatches(X_tridx, y_train,
batch_size, shuffle=True):
# Read data for each batch
image_path = []
image_fcnt = []
image_olen = []
image_start = []
is_training = []
for data_a in range(batch_size):
X_index_a = X_indices[data_a]
key_str = '%06d' % X_index_a
image_path.append(X_train[key_str]['videopath'])
image_fcnt.append(X_train[key_str]['framecnt'])
image_olen.append(depth)
image_start.append(1)
is_training.append(True) # Training
image_info = zip(image_path,image_fcnt,image_olen,image_start,is_training)
if modality==0: #RGB
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_rgb_data)
elif modality==1: #Depth
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_depth_data)
elif modality==2: #Flow
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_flow_data)
y_hot_label_t = keras.utils.to_categorical(y_label_t, num_classes=num_classes)
yield (X_data_t, y_hot_label_t)
## isoTestImageGenerator
def isoTestImageGenerator(filepath, batch_size, depth, num_classes, modality):
X_test,y_test = data.load_iso_video_list(filepath)
X_teidx = np.asarray(np.arange(0, len(y_test)), dtype=np.int32)
y_test = np.asarray(y_test, dtype=np.int32)
while 1:
for X_indices, y_label_t in minibatches(X_teidx, y_test,
batch_size, shuffle=False):
# Read data for each batch
image_path = []
image_fcnt = []
image_olen = []
image_start = []
is_training = []
for data_a in range(batch_size):
X_index_a = X_indices[data_a]
key_str = '%06d' % X_index_a
image_path.append(X_test[key_str]['videopath'])
image_fcnt.append(X_test[key_str]['framecnt'])
image_olen.append(depth)
image_start.append(1)
is_training.append(False) # Testing
image_info = zip(image_path,image_fcnt,image_olen,image_start,is_training)
if modality==0: #RGB
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_rgb_data)
elif modality==1: #Depth
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_depth_data)
elif modality==2: #Flow
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_flow_data)
y_hot_label_t = keras.utils.to_categorical(y_label_t, num_classes=num_classes)
yield (X_data_t, y_hot_label_t)
## conTrainImageGenerator
def conTrainImageGenerator(filepath, batch_size, depth, num_classes, modality):
X_train = data.load_con_video_list(filepath)
X_tridx = np.asarray(np.arange(0, len(X_train)), dtype=np.int32)
while 1:
for X_indices,_ in minibatches(X_tridx, X_tridx,
batch_size, shuffle=True):
# Read data for each batch
image_path = []
image_fcnt = []
image_olen = []
image_start = []
is_training = []
y_label_t = []
for data_a in range(batch_size):
X_index_a = X_indices[data_a]
# Read data for each batch
idx = X_indices[data_a]
video_path = X_train[idx].split(' ')[0]
starti = int(X_train[idx].split(' ')[1].split(',')[0])
endi = int(X_train[idx].split(' ')[1].split(',')[1].split(':')[0])
label = int(X_train[idx].split(' ')[1].split(',')[1].split(':')[1])-1
image_path.append(video_path)
image_fcnt.append(endi-starti+1)
image_olen.append(depth)
image_start.append(starti)
is_training.append(True) # Training
y_label_t.append(label)
image_info = zip(image_path,image_fcnt,image_olen,image_start,is_training)
if modality==0: #RGB
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_rgb_data)
elif modality==1: #Depth
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_depth_data)
elif modality==2: #Flow
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_flow_data)
y_hot_label_t = keras.utils.to_categorical(y_label_t, num_classes=num_classes)
yield (X_data_t, y_hot_label_t)
## conTestImageGenerator
def conTestImageGenerator(filepath, batch_size, depth, num_classes, modality):
X_test = data.load_con_video_list(filepath)
X_teidx = np.asarray(np.arange(0, len(X_test)), dtype=np.int32)
while 1:
for X_indices,_ in minibatches(X_teidx, X_teidx,
batch_size, shuffle=False):
# Read data for each batch
image_path = []
image_fcnt = []
image_olen = []
image_start = []
is_training = []
y_label_t = []
for data_a in range(batch_size):
X_index_a = X_indices[data_a]
# Read data for each batch
idx = X_indices[data_a]
video_path = X_test[idx].split(' ')[0]
starti = int(X_test[idx].split(' ')[1].split(',')[0])
endi = int(X_test[idx].split(' ')[1].split(',')[1].split(':')[0])
label = int(X_test[idx].split(' ')[1].split(',')[1].split(':')[1])-1
image_path.append(video_path)
image_fcnt.append(endi-starti+1)
image_olen.append(depth)
image_start.append(starti)
is_training.append(False) # Testing
y_label_t.append(label)
image_info = zip(image_path,image_fcnt,image_olen,image_start,is_training)
if modality==0: #RGB
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_rgb_data)
elif modality==1: #Depth
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_depth_data)
elif modality==2: #Flow
X_data_t = threading_data([_ for _ in image_info],
data.prepare_iso_flow_data)
y_hot_label_t = keras.utils.to_categorical(y_label_t, num_classes=num_classes)
yield (X_data_t, y_hot_label_t)
## conTrainImageBoundaryGenerator
def conTrainImageBoundaryGenerator(filepath, batch_size, depth, num_classes, modality):
X_train = data.load_con_video_list(filepath)
X_tridx = np.asarray(np.arange(0, len(X_train)), dtype=np.int32)
while 1:
for X_indices,_ in minibatches(X_tridx, X_tridx,
batch_size, shuffle=True):
# Read data for each batch
video_label = []
idx = X_indices[0]
video_path = X_train[idx].split(' ')[0]
segcnt = len(X_train[idx].split(' '))
starti = endi = 0
for i in range(1, segcnt):
seginfo = X_train[idx].split(' ')[i]
starti = int(seginfo.split(',')[0])
if starti <= endi:
starti = endi + 1
endi = int(seginfo.split(',')[1].split(':')[0])
label = int(seginfo.split(',')[1].split(':')[1])-1
for j in range(starti, endi+1):
video_label.append(label)
if endi != len(video_label):
print 'invalid: endi - %d, len(video_label) - %d'%(endi, len(video_label))
video_fcnt = len(video_label)
if len(video_label)<=depth:
video_olen = len(video_label)
else:
video_olen = depth
is_training = True # Training
if modality==0: #RGB
X_data_t,y_label = data.prepare_con_rgb_data(video_path, video_fcnt, video_olen, video_label, is_training)
if modality==1: #Depth
X_data_t,y_label = data.prepare_con_depth_data(video_path, video_fcnt, video_olen, video_label, is_training)
if modality==2: #Flow
X_data_t,y_label = data.prepare_con_flow_data(video_path, video_fcnt, video_olen, video_label, is_training)
y_bound = np.zeros((len(y_label),), dtype=np.int32)
for idx in range(2,len(y_label)-2):
if y_label[idx-1]==y_label[idx] and y_label[idx+1]==y_label[idx+2] and y_label[idx]!=y_label[idx+1]:
y_bound[idx-1]=1
y_bound[idx]=1
y_bound[idx+1]=1
y_bound[idx+2]=1
y_bound[0]=y_bound[1]=1
y_bound[len(y_label)-1]=y_bound[len(y_label)-2]=1
yield (np.reshape(X_data_t,(1,video_olen,112,112,3)), y_bound)
## conTestImageBoundaryGenerator
def conTestImageBoundaryGenerator(filepath, batch_size, depth, num_classes, modality):
X_test = data.load_con_video_list(filepath)
X_teidx = np.asarray(np.arange(0, len(X_test)), dtype=np.int32)
while 1:
for X_indices,_ in minibatches(X_teidx, X_teidx,
batch_size, shuffle=False):
# Read data for each batch
video_label = []
idx = X_indices[0]
video_path = X_test[idx].split(' ')[0]
segcnt = len(X_test[idx].split(' '))
starti = endi = 0
for i in range(1, segcnt):
seginfo = X_test[idx].split(' ')[i]
starti = int(seginfo.split(',')[0])
if starti <= endi:
starti = endi + 1
endi = int(seginfo.split(',')[1].split(':')[0])
label = int(seginfo.split(',')[1].split(':')[1])-1
for j in range(starti, endi+1):
video_label.append(label)
if endi != len(video_label):
print 'invalid: endi - %d, len(video_label) - %d'%(endi, len(video_label))
video_fcnt = len(video_label)
if len(video_label)<=depth:
video_olen = len(video_label)
else:
video_olen = depth
is_training = False # Testing
if modality==0: #RGB
X_data_t,y_label = data.prepare_con_rgb_data(video_path, video_fcnt, video_olen, video_label, is_training)
if modality==1: #Depth
X_data_t,y_label = data.prepare_con_depth_data(video_path, video_fcnt, video_olen, video_label, is_training)
if modality==2: #Flow
X_data_t,y_label = data.prepare_con_flow_data(video_path, video_fcnt, video_olen, video_label, is_training)
y_bound = np.zeros((len(y_label),), dtype=np.int32)
for idx in range(2,len(y_label)-2):
if y_label[idx-1]==y_label[idx] and y_label[idx+1]==y_label[idx+2] and y_label[idx]!=y_label[idx+1]:
y_bound[idx-1]=1
y_bound[idx]=1
y_bound[idx+1]=1
y_bound[idx+2]=1
y_bound[0]=y_bound[1]=1
y_bound[len(y_label)-1]=y_bound[len(y_label)-2]=1
yield (np.reshape(X_data_t,(1,video_olen,112,112,3)), y_bound)
## jesterTrainImageGenerator
def jesterTrainImageGenerator(filepath, batch_size, depth, num_classes, modality):
X_train,y_train = data.load_iso_video_list(filepath)
X_tridx = np.asarray(np.arange(0, len(y_train)), dtype=np.int32)
y_train = np.asarray(y_train, dtype=np.int32)
while 1:
for X_indices, y_label_t in minibatches(X_tridx, y_train,
batch_size, shuffle=True):
# Read data for each batch
image_path = []
image_fcnt = []
image_olen = []
is_training = []
for data_a in range(batch_size):
X_index_a = X_indices[data_a]
key_str = '%06d' % X_index_a
image_path.append(X_train[key_str]['videopath'])
image_fcnt.append(X_train[key_str]['framecnt'])
image_olen.append(depth)
is_training.append(True) # Training
image_info = zip(image_path,image_fcnt,image_olen,is_training)
if modality==0: #RGB
X_data_t = threading_data([_ for _ in image_info], data.prepare_jester_rgb_data)
if modality==2: #Flow
X_data_t = threading_data([_ for _ in image_info], data.prepare_jester_flow_data)
y_hot_label_t = keras.utils.to_categorical(y_label_t, num_classes=num_classes)
yield (X_data_t, y_hot_label_t)
## jesterTestImageGenerator
def jesterTestImageGenerator(filepath, batch_size, depth, num_classes, modality):
X_test,y_test = data.load_iso_video_list(filepath)
X_teidx = np.asarray(np.arange(0, len(y_test)), dtype=np.int32)
y_test = np.asarray(y_test, dtype=np.int32)
while 1:
for X_indices, y_label_t in minibatches(X_teidx, y_test,
batch_size, shuffle=False):
# Read data for each batch
image_path = []
image_fcnt = []
image_olen = []
is_training = []
for data_a in range(batch_size):
X_index_a = X_indices[data_a]
key_str = '%06d' % X_index_a
image_path.append(X_test[key_str]['videopath'])
image_fcnt.append(X_test[key_str]['framecnt'])
image_olen.append(depth)
is_training.append(False) # Testing
image_info = zip(image_path,image_fcnt,image_olen,is_training)
if modality==0: #RGB
X_data_t = threading_data([_ for _ in image_info], data.prepare_jester_rgb_data)
if modality==2: #Flow
X_data_t = threading_data([_ for _ in image_info], data.prepare_jester_flow_data)
y_hot_label_t = keras.utils.to_categorical(y_label_t, num_classes=num_classes)
yield (X_data_t, y_hot_label_t)
| 42.820809
| 116
| 0.625742
| 2,122
| 14,816
| 4.048068
| 0.06409
| 0.027939
| 0.020955
| 0.027939
| 0.863446
| 0.860652
| 0.851106
| 0.842841
| 0.837485
| 0.834459
| 0
| 0.016155
| 0.256344
| 14,816
| 345
| 117
| 42.944928
| 0.763478
| 0.054603
| 0
| 0.840909
| 0
| 0
| 0.015784
| 0
| 0
| 0
| 0
| 0
| 0.003247
| 0
| null | null | 0
| 0.012987
| null | null | 0.006494
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
31165607a0eca111e942517e7fb36b05b1f14209
| 1,335
|
py
|
Python
|
docs/code-completion/uhashlib.py
|
yanshanqingyuan/micropython
|
bb57a344967391d22f3430f720bcd0a5882e4a1a
|
[
"MIT"
] | null | null | null |
docs/code-completion/uhashlib.py
|
yanshanqingyuan/micropython
|
bb57a344967391d22f3430f720bcd0a5882e4a1a
|
[
"MIT"
] | null | null | null |
docs/code-completion/uhashlib.py
|
yanshanqingyuan/micropython
|
bb57a344967391d22f3430f720bcd0a5882e4a1a
|
[
"MIT"
] | null | null | null |
"""
uhashlib 模块实现了二进制数据哈希算法。
"""
SHA256 = ... # type: int
SHA1 = ... # type: int
MD5 = ... # type: int
class sha256(data):
"""
- sha256([data])
创建一个SHA256哈希对象并提供 data 赋值。
"""
def __init__(self) -> None:
...
def update(self, data) -> None:
"""将更多二进制数据放入哈希表中。"""
...
def digest(self) -> None:
"""返回字节对象哈希的所有数据。调用此方法后,将无法将更多数据送入哈希。"""
...
def hexdigest(self) -> None:
"""此方法没有实现, 使用 ubinascii.hexlify(hash.digest()) 达到类似效果。"""
...
class sha1(data):
"""
- sha1([data])
创建一个SHA1哈希对象并提供 data 赋值。
"""
def __init__(self) -> None:
...
def update(self, data) -> None:
"""将更多二进制数据放入哈希表中。"""
...
def digest(self) -> None:
"""返回字节对象哈希的所有数据。调用此方法后,将无法将更多数据送入哈希。"""
...
def hexdigest(self) -> None:
"""此方法没有实现, 使用 ubinascii.hexlify(hash.digest()) 达到类似效果。"""
...
class md5(data):
"""
- md5([data])
创建一个MD5哈希对象并提供 data 赋值。
"""
def __init__(self) -> None:
...
def update(self, data) -> None:
"""将更多二进制数据放入哈希表中。"""
...
def digest(self) -> None:
"""返回字节对象哈希的所有数据。调用此方法后,将无法将更多数据送入哈希。"""
...
def hexdigest(self) -> None:
"""此方法没有实现, 使用 ubinascii.hexlify(hash.digest()) 达到类似效果。"""
...
| 18.541667
| 66
| 0.504869
| 119
| 1,335
| 5.563025
| 0.252101
| 0.108761
| 0.040786
| 0.058912
| 0.76284
| 0.76284
| 0.76284
| 0.76284
| 0.76284
| 0.76284
| 0
| 0.021436
| 0.301124
| 1,335
| 71
| 67
| 18.802817
| 0.688103
| 0.021723
| 0
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
312dec9092b9edca2edeb05b6f2f2615b1607d18
| 7,058
|
py
|
Python
|
appserver/tests/database/services/neo4j_test.py
|
SBRG/lifelike
|
a7b715f38b389a585c10e6d0d067345937455c13
|
[
"MIT"
] | 8
|
2022-01-28T08:43:07.000Z
|
2022-03-23T11:18:10.000Z
|
appserver/tests/database/services/neo4j_test.py
|
SBRG/lifelike
|
a7b715f38b389a585c10e6d0d067345937455c13
|
[
"MIT"
] | 23
|
2022-02-14T15:25:00.000Z
|
2022-03-28T15:30:45.000Z
|
appserver/tests/database/services/neo4j_test.py
|
SBRG/lifelike
|
a7b715f38b389a585c10e6d0d067345937455c13
|
[
"MIT"
] | 5
|
2022-01-28T15:45:44.000Z
|
2022-03-14T11:36:49.000Z
|
import pytest
@pytest.mark.skip(
reason='Does not work unless we upgrade the Neo4j docker image to 4.0+ because of apoc function'
)
def test_expand_node_gets_no_results_for_node_with_no_relationships(
visualizer_service,
gas_gangrene
):
expand_query_result = visualizer_service.expand_graph(
node_id=gas_gangrene.identity,
filter_labels=['Chemical', 'Disease', 'Gene'],
)
assert expand_query_result.get('nodes', None) is not None
assert expand_query_result.get('nodes', None) is not None
assert expand_query_result['nodes'] == []
assert expand_query_result['edges'] == []
def test_get_reference_table_data(
visualizer_service,
gas_gangrene_treatment_cluster_node_edge_pairs,
gas_gangrene_with_associations_and_references,
):
get_reference_table_data_result = visualizer_service.get_reference_table_data(
gas_gangrene_treatment_cluster_node_edge_pairs,
)
assert get_reference_table_data_result.reference_table_rows is not None
reference_table_rows = get_reference_table_data_result.reference_table_rows
assert len(reference_table_rows) == 2
assert reference_table_rows[0].node_display_name == 'Oxygen'
assert reference_table_rows[0].snippet_count == 2
assert reference_table_rows[1].node_display_name == 'Penicillins'
assert reference_table_rows[1].snippet_count == 2
def test_get_snippets_for_edge(
visualizer_service,
gas_gangrene_treatement_edge_data,
gas_gangrene_with_associations_and_references,
):
get_edge_data_result = visualizer_service.get_snippets_for_edge(
edge=gas_gangrene_treatement_edge_data,
page=1,
limit=25,
)
result = get_edge_data_result.snippet_data
# Check snippet data
assert len(result.snippets) == 2
assert result.association == 'treatment/therapy (including investigatory)'
snippet1 = result.snippets[0]
snippet2 = result.snippets[1]
sentences = [
'Toxin suppression and rapid bacterial killing may...',
'...suppresses toxins and rapidly kills bacteria...',
]
# Both snippets come from the same publication, so can't guarantee the order
if snippet1.reference.data['sentence'] == sentences[0]:
assert snippet2.reference.data['sentence'] == '...suppresses toxins and rapidly kills bacteria...' # noqa
elif snippet2.reference.data['sentence'] == sentences[0]:
assert snippet1.reference.data['sentence'] == '...suppresses toxins and rapidly kills bacteria...' # noqa
else:
assert False
def test_get_snippets_for_edge_low_limit(
visualizer_service,
gas_gangrene_treatement_edge_data,
gas_gangrene_with_associations_and_references,
):
get_edge_data_result = visualizer_service.get_snippets_for_edge(
edge=gas_gangrene_treatement_edge_data,
page=1,
limit=1,
)
result = get_edge_data_result.snippet_data
# Check snippet data
assert len(result.snippets) == 1
assert result.association == 'treatment/therapy (including investigatory)'
sentences = [
'Toxin suppression and rapid bacterial killing may...',
'...suppresses toxins and rapidly kills bacteria...',
]
assert result.snippets[0].reference.data['sentence'] in sentences
def test_get_snippets_for_edge_orders_by_pub_year(
visualizer_service,
gas_gangrene_alleviates_edge_data,
gas_gangrene_with_associations_and_references,
):
get_edge_data_result = visualizer_service.get_snippets_for_edge(
edge=gas_gangrene_alleviates_edge_data,
page=1,
limit=25,
)
result = get_edge_data_result.snippet_data
# Check snippet data
assert len(result.snippets) == 2
assert result.association == 'alleviates, reduces'
reference_node1 = result.snippets[0].reference.to_dict()
reference_node2 = result.snippets[1].reference.to_dict()
assert 'In a mouse model' in reference_node1['data']['sentence']
assert 'penicillin was found to reduce' in reference_node2['data']['sentence']
def test_get_snippets_for_cluster(
visualizer_service,
gas_gangrene_treatement_duplicate_edge_data,
gas_gangrene_with_associations_and_references,
):
get_cluster_data_result = visualizer_service.get_snippets_for_cluster(
edges=gas_gangrene_treatement_duplicate_edge_data,
page=1,
limit=25,
)
snippet_data = get_cluster_data_result.snippet_data
# Check snippet data
assert len(snippet_data) == 1
result = snippet_data[0]
assert len(result.snippets) == 2
assert result.association == 'treatment/therapy (including investigatory)'
snippet1 = result.snippets[0]
snippet2 = result.snippets[1]
sentences = [
'Toxin suppression and rapid bacterial killing may...',
'...suppresses toxins and rapidly kills bacteria...',
]
# Both snippets come from the same publication, so can't guarantee the order
if snippet1.reference.data['sentence'] == sentences[0]:
assert snippet2.reference.data['sentence'] == '...suppresses toxins and rapidly kills bacteria...' # noqa
elif snippet2.reference.data['sentence'] == sentences[0]:
assert snippet1.reference.data['sentence'] == '...suppresses toxins and rapidly kills bacteria...' # noqa
else:
assert False
def test_get_snippets_for_cluster_low_limit(
visualizer_service,
gas_gangrene_treatement_duplicate_edge_data,
gas_gangrene_with_associations_and_references,
):
get_cluster_data_result = visualizer_service.get_snippets_for_cluster(
edges=gas_gangrene_treatement_duplicate_edge_data,
page=1,
limit=1,
)
snippet_data = get_cluster_data_result.snippet_data
# Check snippet data
assert len(snippet_data) == 1
result = snippet_data[0]
assert len(result.snippets) == 1
assert result.association == 'treatment/therapy (including investigatory)'
sentences = [
'Toxin suppression and rapid bacterial killing may...',
'...suppresses toxins and rapidly kills bacteria...',
]
assert result.snippets[0].reference.data['sentence'] in sentences
def test_get_snippets_for_cluster_orders_by_pub_year(
visualizer_service,
gas_gangrene_alleviates_duplicate_edge_data,
gas_gangrene_with_associations_and_references,
):
get_cluster_data_result = visualizer_service.get_snippets_for_cluster(
edges=gas_gangrene_alleviates_duplicate_edge_data,
page=1,
limit=25,
)
snippet_data = get_cluster_data_result.snippet_data
# Check snippet data
assert len(snippet_data) == 1
result = snippet_data[0]
assert len(result.snippets) == 2
assert result.association == 'alleviates, reduces'
reference_node1 = result.snippets[0].reference.to_dict()
reference_node2 = result.snippets[1].reference.to_dict()
assert 'In a mouse model' in reference_node1['data']['sentence']
assert 'penicillin was found to reduce' in reference_node2['data']['sentence']
| 32.228311
| 114
| 0.730235
| 870
| 7,058
| 5.57931
| 0.150575
| 0.052122
| 0.034611
| 0.046148
| 0.893902
| 0.861763
| 0.84384
| 0.815204
| 0.796663
| 0.774825
| 0
| 0.012491
| 0.183338
| 7,058
| 218
| 115
| 32.376147
| 0.829632
| 0.040096
| 0
| 0.732484
| 0
| 0
| 0.174652
| 0
| 0
| 0
| 0
| 0
| 0.235669
| 1
| 0.050955
| false
| 0
| 0.006369
| 0
| 0.057325
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
3156ad59cbbda32e51ba82f226b7bb738e5ad1de
| 114
|
py
|
Python
|
command/italiano/ip.py
|
LunarStone292/cento_bot
|
744a189529a5be38d119085193a5ea623555a7ca
|
[
"MIT"
] | null | null | null |
command/italiano/ip.py
|
LunarStone292/cento_bot
|
744a189529a5be38d119085193a5ea623555a7ca
|
[
"MIT"
] | null | null | null |
command/italiano/ip.py
|
LunarStone292/cento_bot
|
744a189529a5be38d119085193a5ea623555a7ca
|
[
"MIT"
] | null | null | null |
import os
os.system("python3 command/italiano/ip/test.py")
os.system("python3 language/italiano/console.py")
| 22.8
| 49
| 0.754386
| 17
| 114
| 5.058824
| 0.647059
| 0.186047
| 0.348837
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.019417
| 0.096491
| 114
| 5
| 50
| 22.8
| 0.815534
| 0
| 0
| 0
| 0
| 0
| 0.63964
| 0.495496
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
316871f1601bcd5ccef226da7efac85bb879b669
| 141
|
py
|
Python
|
device.py
|
andreasjansson/music-inpainting-bert
|
986bda2caa008d4a7b5500a2aa2d4a2315ca9b5f
|
[
"MIT"
] | 1
|
2021-11-25T22:59:11.000Z
|
2021-11-25T22:59:11.000Z
|
device.py
|
andreasjansson/music-inpainting-bert
|
986bda2caa008d4a7b5500a2aa2d4a2315ca9b5f
|
[
"MIT"
] | null | null | null |
device.py
|
andreasjansson/music-inpainting-bert
|
986bda2caa008d4a7b5500a2aa2d4a2315ca9b5f
|
[
"MIT"
] | null | null | null |
import torch
from config import config
def device():
if config.gpu:
return torch.device("cuda")
return torch.device("cpu")
| 15.666667
| 35
| 0.666667
| 19
| 141
| 4.947368
| 0.578947
| 0.234043
| 0.361702
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.22695
| 141
| 8
| 36
| 17.625
| 0.862385
| 0
| 0
| 0
| 0
| 0
| 0.049645
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| true
| 0
| 0.333333
| 0
| 0.833333
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
319822b80895b3f0783c1bc0ccbc1344936d5164
| 9,269
|
py
|
Python
|
wharf_management/wharf_management/doctype/wharf_cashier_closing/wharf_cashier_closing.py
|
staumoepeau/pms
|
67aa43fb27f75482275b50dff17f5919e6c394b1
|
[
"MIT"
] | 1
|
2021-02-19T11:45:24.000Z
|
2021-02-19T11:45:24.000Z
|
wharf_management/wharf_management/doctype/wharf_cashier_closing/wharf_cashier_closing.py
|
staumoepeau/pms
|
67aa43fb27f75482275b50dff17f5919e6c394b1
|
[
"MIT"
] | 1
|
2021-08-12T08:29:50.000Z
|
2021-08-17T06:12:02.000Z
|
wharf_management/wharf_management/doctype/wharf_cashier_closing/wharf_cashier_closing.py
|
staumoepeau/pms
|
67aa43fb27f75482275b50dff17f5919e6c394b1
|
[
"MIT"
] | 4
|
2020-07-22T20:30:00.000Z
|
2021-08-07T12:36:01.000Z
|
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Sione Taumoepeau and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from frappe.utils import cstr, flt, fmt_money, formatdate, now, date_diff
from frappe import _
class WharfCashierClosing(Document):
def on_submit(self):
self.update_cargo_for_overdue_storage()
#@frappe.whitelist()
#def updates_list(posting_date, cashier, all_cashier):
# self.get_cheques(posting_date, cashier, all_cashier)
# self.get_mode_of_payment(posting_date, cashier, all_cashier)
# self.get_gov_voucher(posting_date, cashier, all_cashier)
def update_cargo_for_overdue_storage(self):
cargolist = frappe.db.sql("""SELECT name, eta_date, payment_date FROM `tabCargo` WHERE status = 'Paid' and gate1_status != 'Closed' and storage_overdue = 0""", as_dict=1)
for odlist in cargolist:
oddays = date_diff(now(), odlist.payment_date)
storage_days = date_diff(now(), odlist.eta_date)
if oddays > 2 and storage_days > 10:
# frappe.throw(_('Check 2'))
frappe.db.sql("""UPDATE `tabCargo` SET storage_overdue=1 WHERE name=%s""", odlist.name, as_dict=1)
# frappe.throw(_('Check 3'))
@frappe.whitelist()
def get_voucher_total(posting_date, cashier):
if cashier:
return frappe.db.sql("""SELECT SUM(amount) as amount
FROM `tabPayment Method`
WHERE docstatus = 1
AND parenttype = "Wharf Payment Entry"
AND mode_of_payment = 'Gov Voucher'
AND posting_date = %s """, (posting_date))
if not cashier:
return frappe.db.sql("""SELECT SUM(amount) as amount
FROM `tabPayment Method`
WHERE docstatus = 1
AND parenttype = "Wharf Payment Entry"
AND mode_of_payment = 'Gov Voucher'
AND owner = %s
AND posting_date = %s """, (cashier, posting_date))
@frappe.whitelist()
def get_gov_voucher(posting_date, cashier):
if cashier:
return frappe.db.sql("""SELECT gov_ministry, po_number, receipt_no, amount
FROM `tabPayment Method`
WHERE docstatus = 1
AND parenttype = "Wharf Payment Entry"
AND mode_of_payment = 'Gov Voucher'
AND posting_date = %s """, (posting_date), as_dict=1)
if not cashier:
return frappe.db.sql("""SELECT gov_ministry, po_number, receipt_no, amount
FROM `tabPayment Method`
WHERE docstatus = 1
AND parenttype = "Wharf Payment Entry"
AND mode_of_payment = 'Gov Voucher'
AND owner = %s
AND posting_date = %s """, (cashier, posting_date), as_dict=1)
@frappe.whitelist()
def get_mode_of_payment(posting_date, cashier):
if not cashier:
return frappe.db.sql("""SELECT docA.mode_of_payment, SUM(amount) as total
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docB.posting_date = %s
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
GROUP BY docA.mode_of_payment """, (posting_date), as_dict=1)
if cashier:
return frappe.db.sql("""SELECT docA.mode_of_payment, SUM(amount) as total
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docA.owner = %s
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND docB.posting_date = %s
GROUP BY docA.mode_of_payment """, (cashier, posting_date), as_dict=1)
@frappe.whitelist()
def get_mode_of_payment_total(posting_date, cashier):
if not cashier:
return frappe.db.sql("""SELECT SUM(amount) as total
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docB.posting_date = %s
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
""", (posting_date))
if cashier:
return frappe.db.sql("""SELECT SUM(amount) as total
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docA.owner = %s
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND docB.posting_date = %s
""", (cashier, posting_date))
@frappe.whitelist()
def get_cheques(posting_date, cashier):
if not cashier:
return frappe.db.sql("""SELECT docA.name_on_the_cheque, docA.bank, docA.cheque_no, docA.amount
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docA.mode_of_payment = "Cheque"
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND docB.posting_date = %s """, (posting_date), as_dict=1)
if cashier:
return frappe.db.sql("""SELECT docA.name_on_the_cheque, docA.bank, docA.cheque_no, docA.amount
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docA.mode_of_payment = "Cheque"
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND docA.owner = %s
AND docB.posting_date = %s """, (cashier, posting_date), as_dict=1)
@frappe.whitelist(allow_guest=True)
def get_cheques_total(doctype, posting_date, cashier):
if not cashier:
return dict(frappe.db.sql("""SELECT SUM(docA.amount) as amount
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docA.mode_of_payment = "Cheque"
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND docB.posting_date = %s """, posting_date))
if cashier:
return dict(frappe.db.sql("""SELECT SUM(docA.amount) as amount
FROM `tabPayment Method` docA, `tabWharf Payment Entry` docB
WHERE docA.docstatus = 1
AND docA.parent = docB.name
AND docA.parenttype = "Wharf Payment Entry"
AND docA.mode_of_payment = "Cheque"
AND docB.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND docA.owner = %s
AND docB.posting_date = %s """, cashier, posting_date))
@frappe.whitelist()
def get_transactions_list(posting_date, cashier):
if cashier:
return frappe.db.sql("""SELECT name, posting_date, customer, total_amount, reference_doctype
FROM `tabWharf Payment Entry`
WHERE docstatus = 1
AND owner = %s
AND reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND posting_date = %s """, (cashier, posting_date), as_dict=1)
if not cashier or cashier == "":
return frappe.db.sql("""SELECT name, posting_date, customer, total_amount, reference_doctype
FROM `tabWharf Payment Entry`
WHERE docstatus = 1
AND reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND posting_date = %s """, (posting_date), as_dict=1)
@frappe.whitelist()
def get_transactions(posting_date):
return frappe.db.sql("""SELECT name
FROM `tabWharf Payment Entry`
WHERE docstatus = 1
AND reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
AND posting_date = %s""", (posting_date), as_dict=True)
@frappe.whitelist()
def get_fees_summary(posting_date):
transactions = get_transactions(posting_date)
return frappe.db.sql("""SELECT SUM(`tabWharf Fee Item`.`total`) AS total,
SUM(`tabWharf Fee Item`.`discount`) AS discount,
`tabWharf Fees`.`wharf_fee_category` AS category
FROM `tabWharf Fee Item`, `tabWharf Fees`, `tabWharf Payment Entry`
WHERE `tabWharf Fee Item`.`item` = `tabWharf Fees`.`name`
AND `tabWharf Fee Item`.`docstatus` = 1
AND `tabWharf Fee Item`.`parent` = `tabWharf Payment Entry` .`name`
AND `tabWharf Payment Entry`.`posting_date` = %s
AND `tabWharf Fee Item`.`parenttype` = "Wharf Payment Entry"
AND `tabWharf Payment Entry`.reference_doctype IN ("Cargo", "Export", "Fees", "Overdue Storage")
GROUP BY `tabWharf Fees`.`wharf_fee_category`""", (posting_date), as_dict = 1)
| 43.721698
| 178
| 0.629518
| 1,149
| 9,269
| 4.921671
| 0.10879
| 0.093369
| 0.035013
| 0.051105
| 0.805128
| 0.763042
| 0.74748
| 0.722546
| 0.719894
| 0.697613
| 0
| 0.005856
| 0.263027
| 9,269
| 212
| 179
| 43.721698
| 0.821988
| 0.050383
| 0
| 0.704142
| 0
| 0.011834
| 0.694154
| 0.041288
| 0
| 0
| 0
| 0
| 0
| 1
| 0.065089
| false
| 0
| 0.029586
| 0.005917
| 0.195266
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
31eab98b74ac873cdd6e7fdcabf21bb23c074a88
| 5,297
|
py
|
Python
|
dev/colormap/analyzed/argo.py
|
shirok1/Spectrogram
|
59a466291493fabcfb2714f879dbe8221f1449a1
|
[
"MIT"
] | 151
|
2019-08-23T05:55:59.000Z
|
2022-03-28T15:11:14.000Z
|
dev/colormap/analyzed/argo.py
|
kevinbjb/Spectrogram
|
9ac30822679ac405b9b31fbe70e97cf3c1044edd
|
[
"MIT"
] | 39
|
2019-08-17T04:06:34.000Z
|
2022-03-26T04:43:07.000Z
|
dev/colormap/analyzed/argo.py
|
kevinbjb/Spectrogram
|
9ac30822679ac405b9b31fbe70e97cf3c1044edd
|
[
"MIT"
] | 47
|
2019-11-07T07:57:08.000Z
|
2022-03-25T02:55:31.000Z
|
# This is the output of analyzeImage.py (each value indicates a RGB color)
myScreenshot = """
0 4 264 267 527 530 789 66328
66588 66591 66849 132388 132647 132650 132908 198447
198706 198708 264503 264505 330299 330557 330560 396354
396612 462150 462408 527946 528204 593998 594000 659794
660052 725590 791383 791641 857435 857437 923230 989024
989026 1054819 1120613 1120870 1186408 1252201 1252459 1318252
1384046 1384047 1449841 1515634 1515892 1581429 1647222 1713016
1713273 1779066 1844860 1910397 1976190 1976447 2042241 2108034
2173827 2239364 2239621 2305415 2371208 2437001 2502794 2568587
2568844 2634381 2700174 2765968 2831761 2897554 2963347 3029140
3029397 3095190 3160983 3226520 3292313 3358106 3423899 3489692
3555485 3621278 3687071 3752864 3818656 3884449 3950242 4016035
4081828 4147621 4147878 4213671 4279464 4345256 4411049 4476842
4542635 4608428 4739757 4805550 4871342 4937135 5002928 5068721
5134514 5200306 5266099 5331892 5397685 5463477 5529270 5595063
5660856 5726648 5792441 5858234 5924027 5989819 6121148 6186941
6252734 6318526 6384319 6450112 6515904 6581953 6647746 6779074
6844867 6910660 6976452 7042245 7108038 7173830 7239623 7370952
7436744 7502793 7568586 7634378 7700171 7765964 7897292 7963085
8028877 8094670 8160719 8226511 8357840 8423632 8489425 8555218
8621010 8752339 8818387 8884180 8949973 9015765 9147094 9212886
9278679 9344727 9410520 9541849 9607641 9673434 9739226 9870555
9936603 10002396 10068188 10133981 10265309 10331102 10397150 10462943
10594272 10660064 10725857 10791905 10923234 10989026 11054819 11120611
11251940 11317988 11383781 11515109 11580902 11646694 11712743 11844071
11909864 11975656 12106985 12173033 12238826 12304618 12435947 12501995
12567787 12699116 12764908 12830701 12962285 13028078 13093870 13159663
13291247 13357040 13422832 13554161 13619953 13686001 13817330 13883122
13948915 14080499 14146292 14212084 14343412 14409461 14475253 14606582
14672374 14738423 14869751 14935543 15066872 15132920 15198713 15330041
15396090 15461882 15593210 15659003 15725051 15856380 15922172 16053500
16119549 16185341 16316670 16382718 16448510 16579839 16645631 16777215
"""
# https://www.i2phd.org/images/argo143screen.gif
webScreenshot = """
0 4 264 267 527 530 789 66328
66588 66591 66849 132388 132647 132650 132908 198447
198706 198708 264503 264505 330299 330557 330560 396354
396612 462150 462408 527946 528204 593998 594000 659794
660052 725590 791383 791641 857435 857437 923230 989024
989026 1054819 1120613 1120870 1186408 1252201 1252459 1318252
1384046 1384047 1449841 1515634 1515892 1581429 1647222 1713016
1713273 1779066 1844860 1910397 1976190 1976447 2042241 2108034
2173827 2239364 2239621 2305415 2371208 2437001 2502794 2568587
2568844 2634381 2700174 2765968 2831761 2897554 2963347 3029140
3029397 3095190 3160983 3226520 3292313 3358106 3423899 3489692
3555485 3621278 3687071 3752864 3818656 3884449 3950242 4016035
4081828 4147621 4147878 4213671 4279464 4345256 4411049 4476842
4542635 4608428 4739757 4805550 4871342 4937135 5002928 5068721
5134514 5200306 5266099 5331892 5397685 5463477 5529270 5595063
5660856 5726648 5792441 5858234 5924027 5989819 6121148 6186941
6252734 6318526 6384319 6450112 6515904 6581953 6647746 6779074
6844867 6910660 6976452 7042245 7108038 7173830 7239623 7370952
7436744 7502793 7568586 7634378 7700171 7765964 7897292 7963085
8028877 8094670 8160719 8226511 8357840 8423632 8489425 8555218
8621010 8752339 8818387 8884180 8949973 9015765 9147094 9212886
9278679 9344727 9410520 9541849 9607641 9673434 9739226 9870555
9936603 10002396 10068188 10133981 10265309 10331102 10397150 10462943
10594272 10660064 10725857 10791905 10923234 10989026 11054819 11120611
11251940 11317988 11383781 11515109 11580902 11646694 11712743 11844071
11909864 11975656 12106985 12173033 12238826 12304618 12435947 12501995
12567787 12699116 12764908 12830701 12962285 13028078 13093870 13159663
13291247 13357040 13422832 13554161 13619953 13686001 13817330 13883122
13948915 14080499 14146292 14212084 14343412 14409461 14475253 14606582
14672374 14738423 14869751 14935543 15066872 15132920 15198713 15330041
15396090 15461882 15593210 15659003 15725051 15856380 15922172 16053500
16119549 16185341 16316670 16382718 16448510 16579839 16645631 16777215
"""
if __name__ == "__main__":
values = [x.strip() for x in myScreenshot.replace(",", " ").split(" ")]
values = [int(x) for x in values if len(x)]
assert (len(values) == 256)
txt = f"# colormap argo\n"
for i in range(256):
int32 = values[i] * 255 # alpha
txt += f"{int32:010d}, "
if i % 8 == 7:
txt += "\n"
with open(f"../analyzed2/argo.csv", 'w') as f:
f.write(txt)
print(txt)
| 58.208791
| 75
| 0.745328
| 599
| 5,297
| 6.577629
| 0.522538
| 0.001015
| 0.002538
| 0.004061
| 0.914213
| 0.914213
| 0.914213
| 0.914213
| 0.914213
| 0.914213
| 0
| 0.892637
| 0.23334
| 5,297
| 90
| 76
| 58.855556
| 0.077567
| 0.023598
| 0
| 0.814815
| 0
| 0
| 0.917183
| 0.004063
| 0
| 0
| 0
| 0
| 0.012346
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.012346
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
31ec978637720e0927a26a30bd95ab86f2715373
| 58,964
|
py
|
Python
|
dempy/_protofiles/dempy_pb2.py
|
miguelalexbt/dempy
|
65b367ee123f9a0c02ae5af4d5f073ba41cee4f8
|
[
"MIT"
] | null | null | null |
dempy/_protofiles/dempy_pb2.py
|
miguelalexbt/dempy
|
65b367ee123f9a0c02ae5af4d5f073ba41cee4f8
|
[
"MIT"
] | null | null | null |
dempy/_protofiles/dempy_pb2.py
|
miguelalexbt/dempy
|
65b367ee123f9a0c02ae5af4d5f073ba41cee4f8
|
[
"MIT"
] | 1
|
2020-10-19T16:52:57.000Z
|
2020-10-19T16:52:57.000Z
|
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: dempy.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='dempy.proto',
package='dempy',
syntax='proto2',
serialized_options=None,
serialized_pb=b'\n\x0b\x64\x65mpy.proto\x12\x05\x64\x65mpy\"\x90\x01\n\x06\x45ntity\x12\x0c\n\x04type\x18\x01 \x02(\t\x12\n\n\x02id\x18\x02 \x02(\t\x12\x0c\n\x04tags\x18\x03 \x03(\t\x12-\n\x08metadata\x18\x04 \x03(\x0b\x32\x1b.dempy.Entity.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xab\x01\n\x04User\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x12\n\nfirst_name\x18\x02 \x01(\t\x12\x11\n\tlast_name\x18\x03 \x01(\t\x12\r\n\x05\x65mail\x18\x04 \x01(\t\x12\x10\n\x08username\x18\x05 \x02(\t\x12\x10\n\x08password\x18\x06 \x02(\t\x12\x1a\n\x12\x65xternal_reference\x18\x08 \x01(\t\x12\x0e\n\x06\x61\x63tive\x18\x07 \x02(\x08\"\x8e\x01\n\x0cOrganization\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12\r\n\x05\x65mail\x18\x05 \x01(\t\x12\r\n\x05phone\x18\x06 \x01(\t\x12\x11\n\tusers_ids\x18\x07 \x03(\t\"q\n\x07\x44\x61taset\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x0c\n\x04name\x18\x03 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\ncreator_id\x18\x05 \x01(\t\x12\x10\n\x08owner_id\x18\x06 \x01(\t\"\xc1\x02\n\x0b\x41\x63quisition\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x1a\n\x12\x63reation_timestamp\x18\x02 \x02(\x03\x12\x13\n\x0bsync_offset\x18\x03 \x01(\r\x12\x11\n\ttime_unit\x18\x04 \x02(\t\x12\x10\n\x08owner_id\x18\x05 \x01(\t\x12\x12\n\ncreator_id\x18\x06 \x01(\t\x12\x12\n\ndataset_id\x18\x07 \x01(\t\x12\x1f\n\x07subject\x18\x08 \x02(\x0b\x32\x0e.dempy.Subject\x12\x1e\n\x07\x64\x65vices\x18\t \x03(\x0b\x32\r.dempy.Device\x12\x1e\n\x16has_timeseries_samples\x18\n \x02(\x08\x12\x19\n\x11has_image_samples\x18\x0b \x02(\x08\x12\x19\n\x11has_video_samples\x18\x0c \x02(\x08\"\x84\x01\n\x07Subject\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x1e\n\x13\x62irthdate_timestamp\x18\x02 \x02(\x03:\x01\x30\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\nfirst_name\x18\x04 \x01(\t\x12\x11\n\tlast_name\x18\x05 \x01(\t\"\xb0\x01\n\x06\x44\x65vice\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x13\n\x0bsync_offset\x18\x02 \x01(\r\x12\x11\n\ttime_unit\x18\x03 \x01(\t\x12\x15\n\rserial_number\x18\x04 \x01(\t\x12\x14\n\x0cmanufacturer\x18\x05 \x01(\t\x12\x12\n\nmodel_name\x18\x06 \x01(\t\x12\x1e\n\x07sensors\x18\x07 \x03(\x0b\x32\r.dempy.Sensor\"\xa5\x01\n\x06Sensor\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x13\n\x0bsync_offset\x18\x02 \x01(\r\x12\x11\n\ttime_unit\x18\x03 \x01(\t\x12\x15\n\rserial_number\x18\x04 \x01(\t\x12\x14\n\x0cmanufacturer\x18\x05 \x01(\t\x12\x12\n\nmodel_name\x18\x06 \x01(\t\x12\x13\n\x0bsensor_type\x18\x07 \x01(\t\"\xbc\x01\n\x10TimeseriesSample\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x14\n\ttimestamp\x18\x02 \x02(\x03:\x01\x30\x12\x16\n\x0e\x61\x63quisition_id\x18\x03 \x02(\t\x12\x11\n\tdevice_id\x18\x04 \x01(\t\x12\x11\n\tsensor_id\x18\x05 \x01(\t\x12\t\n\x01x\x18\x06 \x01(\x02\x12\t\n\x01y\x18\x07 \x01(\x02\x12\t\n\x01z\x18\x08 \x01(\x02\x12\t\n\x01u\x18\t \x01(\x02\x12\t\n\x01w\x18\n \x01(\x02\"\xc9\x01\n\x0bImageSample\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x14\n\ttimestamp\x18\x02 \x02(\x03:\x01\x30\x12\x16\n\x0e\x61\x63quisition_id\x18\x03 \x02(\t\x12\x11\n\tdevice_id\x18\x04 \x01(\t\x12\x11\n\tsensor_id\x18\x05 \x01(\t\x12\x12\n\nmedia_type\x18\x06 \x02(\t\x12\x14\n\x0cimage_source\x18\x07 \x02(\t\x12\x1d\n\x15has_rotation_metadata\x18\x08 \x02(\x08\"\xaa\x01\n\x0bVideoSample\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x14\n\ttimestamp\x18\x02 \x02(\x03:\x01\x30\x12\x16\n\x0e\x61\x63quisition_id\x18\x03 \x02(\t\x12\x11\n\tdevice_id\x18\x04 \x01(\t\x12\x11\n\tsensor_id\x18\x05 \x01(\t\x12\x12\n\nmedia_type\x18\x06 \x02(\t\x12\x14\n\x0cvideo_source\x18\x07 \x02(\t\"X\n\x10\x41nnotationObject\x12\x0c\n\x04type\x18\x01 \x02(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\x12\n\nmedia_type\x18\x03 \x01(\t\x12\x14\n\x0cimage_source\x18\x04 \x01(\t\"\'\n\x0f\x41nnotationPoint\x12\t\n\x01x\x18\x01 \x02(\x02\x12\t\n\x01y\x18\x02 \x02(\x02\"\xde\x03\n\nAnnotation\x12\x1d\n\x06\x65ntity\x18\x01 \x02(\x0b\x32\r.dempy.Entity\x12\x16\n\x0e\x61\x63quisition_id\x18\x02 \x02(\t\x12\x12\n\ncreator_id\x18\x03 \x01(\t\x12\x32\n\x11\x61nnotation_object\x18\x04 \x02(\x0b\x32\x17.dempy.AnnotationObject\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12\r\n\x05notes\x18\x06 \x01(\t\x12\x1b\n\x13\x61nnotated_sample_id\x18\x07 \x01(\t\x12%\n\x05point\x18\x08 \x01(\x0b\x32\x16.dempy.AnnotationPoint\x12&\n\x06\x63\x65nter\x18\t \x01(\x0b\x32\x16.dempy.AnnotationPoint\x12\x0e\n\x06radius\x18\n \x01(\x02\x12&\n\x06points\x18\x0b \x03(\x0b\x32\x16.dempy.AnnotationPoint\x12\r\n\x05width\x18\x0c \x01(\x02\x12\x0e\n\x06height\x18\r \x01(\x02\x12\x14\n\ttimestamp\x18\x0e \x01(\x03:\x01\x30\x12\x11\n\tdevice_id\x18\x0f \x01(\t\x12\x11\n\tsensor_id\x18\x10 \x01(\t\x12\x1a\n\x0ftimestamp_start\x18\x11 \x01(\x03:\x01\x30\x12\x18\n\rtimestamp_end\x18\x12 \x01(\x03:\x01\x30\"\x81\x01\n\nSampleList\x12+\n\ntimeseries\x18\x01 \x03(\x0b\x32\x17.dempy.TimeseriesSample\x12\"\n\x06images\x18\x02 \x03(\x0b\x32\x12.dempy.ImageSample\x12\"\n\x06videos\x18\x03 \x03(\x0b\x32\x12.dempy.VideoSample'
)
_ENTITY_METADATAENTRY = _descriptor.Descriptor(
name='MetadataEntry',
full_name='dempy.Entity.MetadataEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dempy.Entity.MetadataEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='value', full_name='dempy.Entity.MetadataEntry.value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=b'8\001',
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=120,
serialized_end=167,
)
_ENTITY = _descriptor.Descriptor(
name='Entity',
full_name='dempy.Entity',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='type', full_name='dempy.Entity.type', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='id', full_name='dempy.Entity.id', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='tags', full_name='dempy.Entity.tags', index=2,
number=3, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='metadata', full_name='dempy.Entity.metadata', index=3,
number=4, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[_ENTITY_METADATAENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=23,
serialized_end=167,
)
_USER = _descriptor.Descriptor(
name='User',
full_name='dempy.User',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.User.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='first_name', full_name='dempy.User.first_name', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='last_name', full_name='dempy.User.last_name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='email', full_name='dempy.User.email', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='username', full_name='dempy.User.username', index=4,
number=5, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='password', full_name='dempy.User.password', index=5,
number=6, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='external_reference', full_name='dempy.User.external_reference', index=6,
number=8, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='active', full_name='dempy.User.active', index=7,
number=7, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=170,
serialized_end=341,
)
_ORGANIZATION = _descriptor.Descriptor(
name='Organization',
full_name='dempy.Organization',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.Organization.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='name', full_name='dempy.Organization.name', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='description', full_name='dempy.Organization.description', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='url', full_name='dempy.Organization.url', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='email', full_name='dempy.Organization.email', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='phone', full_name='dempy.Organization.phone', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='users_ids', full_name='dempy.Organization.users_ids', index=6,
number=7, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=344,
serialized_end=486,
)
_DATASET = _descriptor.Descriptor(
name='Dataset',
full_name='dempy.Dataset',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.Dataset.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='name', full_name='dempy.Dataset.name', index=1,
number=3, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='description', full_name='dempy.Dataset.description', index=2,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='creator_id', full_name='dempy.Dataset.creator_id', index=3,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='owner_id', full_name='dempy.Dataset.owner_id', index=4,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=488,
serialized_end=601,
)
_ACQUISITION = _descriptor.Descriptor(
name='Acquisition',
full_name='dempy.Acquisition',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.Acquisition.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='creation_timestamp', full_name='dempy.Acquisition.creation_timestamp', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sync_offset', full_name='dempy.Acquisition.sync_offset', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='time_unit', full_name='dempy.Acquisition.time_unit', index=3,
number=4, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='owner_id', full_name='dempy.Acquisition.owner_id', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='creator_id', full_name='dempy.Acquisition.creator_id', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='dataset_id', full_name='dempy.Acquisition.dataset_id', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='subject', full_name='dempy.Acquisition.subject', index=7,
number=8, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='devices', full_name='dempy.Acquisition.devices', index=8,
number=9, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='has_timeseries_samples', full_name='dempy.Acquisition.has_timeseries_samples', index=9,
number=10, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='has_image_samples', full_name='dempy.Acquisition.has_image_samples', index=10,
number=11, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='has_video_samples', full_name='dempy.Acquisition.has_video_samples', index=11,
number=12, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=604,
serialized_end=925,
)
_SUBJECT = _descriptor.Descriptor(
name='Subject',
full_name='dempy.Subject',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.Subject.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='birthdate_timestamp', full_name='dempy.Subject.birthdate_timestamp', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='description', full_name='dempy.Subject.description', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='first_name', full_name='dempy.Subject.first_name', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='last_name', full_name='dempy.Subject.last_name', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=928,
serialized_end=1060,
)
_DEVICE = _descriptor.Descriptor(
name='Device',
full_name='dempy.Device',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.Device.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sync_offset', full_name='dempy.Device.sync_offset', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='time_unit', full_name='dempy.Device.time_unit', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='serial_number', full_name='dempy.Device.serial_number', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='manufacturer', full_name='dempy.Device.manufacturer', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='model_name', full_name='dempy.Device.model_name', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sensors', full_name='dempy.Device.sensors', index=6,
number=7, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1063,
serialized_end=1239,
)
_SENSOR = _descriptor.Descriptor(
name='Sensor',
full_name='dempy.Sensor',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.Sensor.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sync_offset', full_name='dempy.Sensor.sync_offset', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='time_unit', full_name='dempy.Sensor.time_unit', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='serial_number', full_name='dempy.Sensor.serial_number', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='manufacturer', full_name='dempy.Sensor.manufacturer', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='model_name', full_name='dempy.Sensor.model_name', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sensor_type', full_name='dempy.Sensor.sensor_type', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1242,
serialized_end=1407,
)
_TIMESERIESSAMPLE = _descriptor.Descriptor(
name='TimeseriesSample',
full_name='dempy.TimeseriesSample',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.TimeseriesSample.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='timestamp', full_name='dempy.TimeseriesSample.timestamp', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='acquisition_id', full_name='dempy.TimeseriesSample.acquisition_id', index=2,
number=3, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='device_id', full_name='dempy.TimeseriesSample.device_id', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sensor_id', full_name='dempy.TimeseriesSample.sensor_id', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='x', full_name='dempy.TimeseriesSample.x', index=5,
number=6, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='y', full_name='dempy.TimeseriesSample.y', index=6,
number=7, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='z', full_name='dempy.TimeseriesSample.z', index=7,
number=8, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='u', full_name='dempy.TimeseriesSample.u', index=8,
number=9, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='w', full_name='dempy.TimeseriesSample.w', index=9,
number=10, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1410,
serialized_end=1598,
)
_IMAGESAMPLE = _descriptor.Descriptor(
name='ImageSample',
full_name='dempy.ImageSample',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.ImageSample.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='timestamp', full_name='dempy.ImageSample.timestamp', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='acquisition_id', full_name='dempy.ImageSample.acquisition_id', index=2,
number=3, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='device_id', full_name='dempy.ImageSample.device_id', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sensor_id', full_name='dempy.ImageSample.sensor_id', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='media_type', full_name='dempy.ImageSample.media_type', index=5,
number=6, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='image_source', full_name='dempy.ImageSample.image_source', index=6,
number=7, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='has_rotation_metadata', full_name='dempy.ImageSample.has_rotation_metadata', index=7,
number=8, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1601,
serialized_end=1802,
)
_VIDEOSAMPLE = _descriptor.Descriptor(
name='VideoSample',
full_name='dempy.VideoSample',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.VideoSample.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='timestamp', full_name='dempy.VideoSample.timestamp', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='acquisition_id', full_name='dempy.VideoSample.acquisition_id', index=2,
number=3, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='device_id', full_name='dempy.VideoSample.device_id', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sensor_id', full_name='dempy.VideoSample.sensor_id', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='media_type', full_name='dempy.VideoSample.media_type', index=5,
number=6, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='video_source', full_name='dempy.VideoSample.video_source', index=6,
number=7, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1805,
serialized_end=1975,
)
_ANNOTATIONOBJECT = _descriptor.Descriptor(
name='AnnotationObject',
full_name='dempy.AnnotationObject',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='type', full_name='dempy.AnnotationObject.type', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='text', full_name='dempy.AnnotationObject.text', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='media_type', full_name='dempy.AnnotationObject.media_type', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='image_source', full_name='dempy.AnnotationObject.image_source', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1977,
serialized_end=2065,
)
_ANNOTATIONPOINT = _descriptor.Descriptor(
name='AnnotationPoint',
full_name='dempy.AnnotationPoint',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='x', full_name='dempy.AnnotationPoint.x', index=0,
number=1, type=2, cpp_type=6, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='y', full_name='dempy.AnnotationPoint.y', index=1,
number=2, type=2, cpp_type=6, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2067,
serialized_end=2106,
)
_ANNOTATION = _descriptor.Descriptor(
name='Annotation',
full_name='dempy.Annotation',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='dempy.Annotation.entity', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='acquisition_id', full_name='dempy.Annotation.acquisition_id', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='creator_id', full_name='dempy.Annotation.creator_id', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='annotation_object', full_name='dempy.Annotation.annotation_object', index=3,
number=4, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='color', full_name='dempy.Annotation.color', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='notes', full_name='dempy.Annotation.notes', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='annotated_sample_id', full_name='dempy.Annotation.annotated_sample_id', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='point', full_name='dempy.Annotation.point', index=7,
number=8, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='center', full_name='dempy.Annotation.center', index=8,
number=9, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='radius', full_name='dempy.Annotation.radius', index=9,
number=10, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='points', full_name='dempy.Annotation.points', index=10,
number=11, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='width', full_name='dempy.Annotation.width', index=11,
number=12, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='height', full_name='dempy.Annotation.height', index=12,
number=13, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='timestamp', full_name='dempy.Annotation.timestamp', index=13,
number=14, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='device_id', full_name='dempy.Annotation.device_id', index=14,
number=15, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='sensor_id', full_name='dempy.Annotation.sensor_id', index=15,
number=16, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='timestamp_start', full_name='dempy.Annotation.timestamp_start', index=16,
number=17, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='timestamp_end', full_name='dempy.Annotation.timestamp_end', index=17,
number=18, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2109,
serialized_end=2587,
)
_SAMPLELIST = _descriptor.Descriptor(
name='SampleList',
full_name='dempy.SampleList',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='timeseries', full_name='dempy.SampleList.timeseries', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='images', full_name='dempy.SampleList.images', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='videos', full_name='dempy.SampleList.videos', index=2,
number=3, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2590,
serialized_end=2719,
)
_ENTITY_METADATAENTRY.containing_type = _ENTITY
_ENTITY.fields_by_name['metadata'].message_type = _ENTITY_METADATAENTRY
_USER.fields_by_name['entity'].message_type = _ENTITY
_ORGANIZATION.fields_by_name['entity'].message_type = _ENTITY
_DATASET.fields_by_name['entity'].message_type = _ENTITY
_ACQUISITION.fields_by_name['entity'].message_type = _ENTITY
_ACQUISITION.fields_by_name['subject'].message_type = _SUBJECT
_ACQUISITION.fields_by_name['devices'].message_type = _DEVICE
_SUBJECT.fields_by_name['entity'].message_type = _ENTITY
_DEVICE.fields_by_name['entity'].message_type = _ENTITY
_DEVICE.fields_by_name['sensors'].message_type = _SENSOR
_SENSOR.fields_by_name['entity'].message_type = _ENTITY
_TIMESERIESSAMPLE.fields_by_name['entity'].message_type = _ENTITY
_IMAGESAMPLE.fields_by_name['entity'].message_type = _ENTITY
_VIDEOSAMPLE.fields_by_name['entity'].message_type = _ENTITY
_ANNOTATION.fields_by_name['entity'].message_type = _ENTITY
_ANNOTATION.fields_by_name['annotation_object'].message_type = _ANNOTATIONOBJECT
_ANNOTATION.fields_by_name['point'].message_type = _ANNOTATIONPOINT
_ANNOTATION.fields_by_name['center'].message_type = _ANNOTATIONPOINT
_ANNOTATION.fields_by_name['points'].message_type = _ANNOTATIONPOINT
_SAMPLELIST.fields_by_name['timeseries'].message_type = _TIMESERIESSAMPLE
_SAMPLELIST.fields_by_name['images'].message_type = _IMAGESAMPLE
_SAMPLELIST.fields_by_name['videos'].message_type = _VIDEOSAMPLE
DESCRIPTOR.message_types_by_name['Entity'] = _ENTITY
DESCRIPTOR.message_types_by_name['User'] = _USER
DESCRIPTOR.message_types_by_name['Organization'] = _ORGANIZATION
DESCRIPTOR.message_types_by_name['Dataset'] = _DATASET
DESCRIPTOR.message_types_by_name['Acquisition'] = _ACQUISITION
DESCRIPTOR.message_types_by_name['Subject'] = _SUBJECT
DESCRIPTOR.message_types_by_name['Device'] = _DEVICE
DESCRIPTOR.message_types_by_name['Sensor'] = _SENSOR
DESCRIPTOR.message_types_by_name['TimeseriesSample'] = _TIMESERIESSAMPLE
DESCRIPTOR.message_types_by_name['ImageSample'] = _IMAGESAMPLE
DESCRIPTOR.message_types_by_name['VideoSample'] = _VIDEOSAMPLE
DESCRIPTOR.message_types_by_name['AnnotationObject'] = _ANNOTATIONOBJECT
DESCRIPTOR.message_types_by_name['AnnotationPoint'] = _ANNOTATIONPOINT
DESCRIPTOR.message_types_by_name['Annotation'] = _ANNOTATION
DESCRIPTOR.message_types_by_name['SampleList'] = _SAMPLELIST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Entity = _reflection.GeneratedProtocolMessageType('Entity', (_message.Message,), {
'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), {
'DESCRIPTOR' : _ENTITY_METADATAENTRY,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Entity.MetadataEntry)
})
,
'DESCRIPTOR' : _ENTITY,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Entity)
})
_sym_db.RegisterMessage(Entity)
_sym_db.RegisterMessage(Entity.MetadataEntry)
User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), {
'DESCRIPTOR' : _USER,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.User)
})
_sym_db.RegisterMessage(User)
Organization = _reflection.GeneratedProtocolMessageType('Organization', (_message.Message,), {
'DESCRIPTOR' : _ORGANIZATION,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Organization)
})
_sym_db.RegisterMessage(Organization)
Dataset = _reflection.GeneratedProtocolMessageType('Dataset', (_message.Message,), {
'DESCRIPTOR' : _DATASET,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Dataset)
})
_sym_db.RegisterMessage(Dataset)
Acquisition = _reflection.GeneratedProtocolMessageType('Acquisition', (_message.Message,), {
'DESCRIPTOR' : _ACQUISITION,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Acquisition)
})
_sym_db.RegisterMessage(Acquisition)
Subject = _reflection.GeneratedProtocolMessageType('Subject', (_message.Message,), {
'DESCRIPTOR' : _SUBJECT,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Subject)
})
_sym_db.RegisterMessage(Subject)
Device = _reflection.GeneratedProtocolMessageType('Device', (_message.Message,), {
'DESCRIPTOR' : _DEVICE,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Device)
})
_sym_db.RegisterMessage(Device)
Sensor = _reflection.GeneratedProtocolMessageType('Sensor', (_message.Message,), {
'DESCRIPTOR' : _SENSOR,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Sensor)
})
_sym_db.RegisterMessage(Sensor)
TimeseriesSample = _reflection.GeneratedProtocolMessageType('TimeseriesSample', (_message.Message,), {
'DESCRIPTOR' : _TIMESERIESSAMPLE,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.TimeseriesSample)
})
_sym_db.RegisterMessage(TimeseriesSample)
ImageSample = _reflection.GeneratedProtocolMessageType('ImageSample', (_message.Message,), {
'DESCRIPTOR' : _IMAGESAMPLE,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.ImageSample)
})
_sym_db.RegisterMessage(ImageSample)
VideoSample = _reflection.GeneratedProtocolMessageType('VideoSample', (_message.Message,), {
'DESCRIPTOR' : _VIDEOSAMPLE,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.VideoSample)
})
_sym_db.RegisterMessage(VideoSample)
AnnotationObject = _reflection.GeneratedProtocolMessageType('AnnotationObject', (_message.Message,), {
'DESCRIPTOR' : _ANNOTATIONOBJECT,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.AnnotationObject)
})
_sym_db.RegisterMessage(AnnotationObject)
AnnotationPoint = _reflection.GeneratedProtocolMessageType('AnnotationPoint', (_message.Message,), {
'DESCRIPTOR' : _ANNOTATIONPOINT,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.AnnotationPoint)
})
_sym_db.RegisterMessage(AnnotationPoint)
Annotation = _reflection.GeneratedProtocolMessageType('Annotation', (_message.Message,), {
'DESCRIPTOR' : _ANNOTATION,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.Annotation)
})
_sym_db.RegisterMessage(Annotation)
SampleList = _reflection.GeneratedProtocolMessageType('SampleList', (_message.Message,), {
'DESCRIPTOR' : _SAMPLELIST,
'__module__' : 'dempy_pb2'
# @@protoc_insertion_point(class_scope:dempy.SampleList)
})
_sym_db.RegisterMessage(SampleList)
_ENTITY_METADATAENTRY._options = None
# @@protoc_insertion_point(module_scope)
| 44.400602
| 5,351
| 0.729971
| 7,914
| 58,964
| 5.178039
| 0.041446
| 0.066961
| 0.064057
| 0.050538
| 0.7998
| 0.761146
| 0.751653
| 0.738964
| 0.733034
| 0.714097
| 0
| 0.045184
| 0.135218
| 58,964
| 1,327
| 5,352
| 44.434062
| 0.758467
| 0.01796
| 0
| 0.727564
| 1
| 0.002404
| 0.183422
| 0.131282
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.001603
| 0.003205
| 0
| 0.003205
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
9ec46081a41bed245a72ab62a23595990f25c8f0
| 51,565
|
py
|
Python
|
code/generation/OpenNMT-py-master-our-model/onmt/translate/translator.py
|
msra-nlc/MSParS-V2.0-
|
3e215b5f6ef47040275b3612fd2e1d5591909039
|
[
"Apache-2.0"
] | 11
|
2019-11-22T16:46:36.000Z
|
2021-07-17T04:06:14.000Z
|
code/generation/OpenNMT-py-master-our-model/onmt/translate/translator.py
|
msra-nlc/MSParS-V2.0-
|
3e215b5f6ef47040275b3612fd2e1d5591909039
|
[
"Apache-2.0"
] | 3
|
2019-11-11T05:40:10.000Z
|
2020-03-05T14:04:38.000Z
|
code/generation/OpenNMT-py-master-our-model/onmt/translate/translator.py
|
msra-nlc/MSParS-V2.0-
|
3e215b5f6ef47040275b3612fd2e1d5591909039
|
[
"Apache-2.0"
] | 3
|
2020-04-04T12:21:52.000Z
|
2022-02-27T13:29:45.000Z
|
#!/usr/bin/env python
""" Translator Class and builder """
from __future__ import print_function
import argparse
import codecs
import os
import math
import torch
from itertools import count
from onmt.utils.misc import tile
import onmt.model_builder
import onmt.translate.beam
import onmt.inputters as inputters
import onmt.opts as opts
import onmt.decoders.ensemble
def build_translator(opt, report_score=True, logger=None, out_file=None):
if out_file is None:
out_file = codecs.open(opt.output, 'w+', 'utf-8')
dummy_parser = argparse.ArgumentParser(description='train.py')
opts.model_opts(dummy_parser)
dummy_opt = dummy_parser.parse_known_args([])[0]
load_test_model = onmt.decoders.ensemble.load_test_model \
if len(opt.models) > 1 else onmt.model_builder.load_test_model
fields, model, model_opt = load_test_model(opt, dummy_opt.__dict__)
scorer = onmt.translate.GNMTGlobalScorer(opt)
translator = Translator(model, fields, opt, model_opt,
global_scorer=scorer, out_file=out_file,
report_score=report_score, logger=logger)
translator1 = Translator1(model, fields, opt, model_opt,
global_scorer=scorer, out_file=out_file, out_file1=codecs.open("pred_entity1.txt", 'w', 'utf-8'),
report_score=report_score, logger=logger)
translator2 = Translator2(model, fields, opt, model_opt,
global_scorer=scorer, out_file=out_file, out_file1=codecs.open("pred_entity2.txt","w","utf-8"),
report_score=report_score, logger=logger)
return translator, translator1, translator2
class Translator(object):
"""
Uses a model to translate a batch of sentences.
Args:
model (:obj:`onmt.modules.NMTModel`):
NMT model to use for translation
fields (dict of Fields): data fields
beam_size (int): size of beam to use
n_best (int): number of translations produced
max_length (int): maximum length output to produce
global_scores (:obj:`GlobalScorer`):
object to rescore final translations
copy_attn (bool): use copy attention during translation
cuda (bool): use cuda
beam_trace (bool): trace beam search for debugging
logger(logging.Logger): logger.
"""
def __init__(self,
model,
fields,
opt,
model_opt,
global_scorer=None,
out_file=None,
report_score=True,
logger=None):
self.model = model
self.fields = fields
self.gpu = opt.gpu
self.cuda = opt.gpu > -1
self.n_best = opt.n_best
self.max_length = opt.max_length
self.beam_size = opt.beam_size
self.min_length = opt.min_length
self.stepwise_penalty = opt.stepwise_penalty
self.dump_beam = opt.dump_beam
self.block_ngram_repeat = opt.block_ngram_repeat
self.ignore_when_blocking = set(opt.ignore_when_blocking)
self.sample_rate = opt.sample_rate
self.window_size = opt.window_size
self.window_stride = opt.window_stride
self.window = opt.window
self.image_channel_size = opt.image_channel_size
self.replace_unk = opt.replace_unk
self.data_type = opt.data_type
self.verbose = opt.verbose
self.report_bleu = opt.report_bleu
self.report_rouge = opt.report_rouge
self.fast = opt.fast
self.copy_attn = model_opt.copy_attn
self.global_scorer = global_scorer
self.out_file = out_file
#self.out_file1 = out_file1
#self.out_file2 = out_file2
self.report_score = report_score
self.logger = logger
self.use_filter_pred = False
# for debugging
self.beam_trace = self.dump_beam != ""
self.beam_accum = None
if self.beam_trace:
self.beam_accum = {
"predicted_ids": [],
"beam_parent_ids": [],
"scores": [],
"log_probs": []}
def translate(self,
src_path=None,
src_data_iter=None,
tgt_path=None,
tgt_data_iter=None,
src_dir=None,
batch_size=None,
attn_debug=False):
"""
Translate content of `src_data_iter` (if not None) or `src_path`
and get gold scores if one of `tgt_data_iter` or `tgt_path` is set.
Note: batch_size must not be None
Note: one of ('src_path', 'src_data_iter') must not be None
Args:
src_path (str): filepath of source data
src_data_iter (iterator): an interator generating source data
e.g. it may be a list or an openned file
tgt_path (str): filepath of target data
tgt_data_iter (iterator): an interator generating target data
src_dir (str): source directory path
(used for Audio and Image datasets)
batch_size (int): size of examples per mini-batch
attn_debug (bool): enables the attention logging
Returns:
(`list`, `list`)
* all_scores is a list of `batch_size` lists of `n_best` scores
* all_predictions is a list of `batch_size` lists
of `n_best` predictions
"""
assert src_data_iter is not None or src_path is not None
if batch_size is None:
raise ValueError("batch_size must be set")
data = inputters. \
build_dataset(self.fields,
self.data_type,
src_path=src_path,
src_data_iter=src_data_iter,
src_seq_length_trunc=200,
tgt_path=tgt_path,
tgt_data_iter=tgt_data_iter,
src_dir=src_dir,
sample_rate=self.sample_rate,
window_size=self.window_size,
window_stride=self.window_stride,
window=self.window,
use_filter_pred=self.use_filter_pred,
image_channel_size=self.image_channel_size)
if self.cuda:
cur_device = "cuda"
else:
cur_device = "cpu"
data_iter = inputters.OrderedIterator(
dataset=data, device=cur_device,
batch_size=batch_size, train=False, sort=False,
sort_within_batch=True, shuffle=False)
builder = onmt.translate.TranslationBuilder(
data, self.fields,
self.n_best, self.replace_unk, tgt_path)
# Statistics
counter = count(1)
pred_score_total, pred_words_total = 0, 0
gold_score_total, gold_words_total = 0, 0
all_scores = []
all_predictions = []
for batch in data_iter:
batch_data = self.translate_batch(batch, data, fast=self.fast)
translations = builder.from_batch(batch_data)
for trans in translations:
all_scores += [trans.pred_scores[:self.n_best]]
pred_score_total += trans.pred_scores[0]
pred_words_total += len(trans.pred_sents[0])
if tgt_path is not None:
gold_score_total += trans.gold_score
gold_words_total += len(trans.gold_sent) + 1
n_best_preds = [" ".join(pred)
for pred in trans.pred_sents[:self.n_best]]
all_predictions += [n_best_preds]
if len(n_best_preds[0]) == 0:
n_best_preds[0] = "unknown"
self.out_file.write(n_best_preds[0] +" <TSP> unknown" + " <TSP> unknown" + '\n')
self.out_file.flush()
if self.verbose:
sent_number = next(counter)
output = trans.log(sent_number)
if self.logger:
self.logger.info(output)
else:
os.write(1, output.encode('utf-8'))
# Debug attention.
if attn_debug:
preds = trans.pred_sents[0]
preds.append('</s>')
attns = trans.attns[0].tolist()
if self.data_type == 'text':
srcs = trans.src_raw
else:
srcs = [str(item) for item in range(len(attns[0]))]
header_format = "{:>10.10} " + "{:>10.7} " * len(srcs)
row_format = "{:>10.10} " + "{:>10.7f} " * len(srcs)
output = header_format.format("", *srcs) + '\n'
for word, row in zip(preds, attns):
max_index = row.index(max(row))
row_format = row_format.replace(
"{:>10.7f} ", "{:*>10.7f} ", max_index + 1)
row_format = row_format.replace(
"{:*>10.7f} ", "{:>10.7f} ", max_index)
output += row_format.format(word, *row) + '\n'
row_format = "{:>10.10} " + "{:>10.7f} " * len(srcs)
os.write(1, output.encode('utf-8'))
return all_scores, all_predictions
def translate_batch(self, batch, data, fast=False):
"""
Translate a batch of sentences.
Mostly a wrapper around :obj:`Beam`.
Args:
batch (:obj:`Batch`): a batch from a dataset object
data (:obj:`Dataset`): the dataset object
fast (bool): enables fast beam search (may not support all features)
Todo:
Shouldn't need the original dataset.
"""
with torch.no_grad():
return self._translate_batch(batch, data)
def _run_encoder(self, batch, data_type):
src = inputters.make_features(batch, 'src', data_type)
src1 = inputters.make_features(batch, 'src1', data_type)
src_lengths = None
src_lengths1 = None
if data_type == 'text':
_, src_lengths = batch.src
_, src_lengths1 = batch.src1
elif data_type == 'audio':
src_lengths = batch.src_lengths
enc_states, memory_bank, src_lengths = self.model.encoder(
src, src_lengths)
enc_states1, memory_bank1, src_lengths1 = self.model.encoder1(
src1, src_lengths1)
if src_lengths is None:
assert not isinstance(memory_bank, tuple), \
'Ensemble decoding only supported for text data'
src_lengths = torch.Tensor(batch.batch_size) \
.type_as(memory_bank) \
.long() \
.fill_(memory_bank.size(0))
if src_lengths1 is None:
assert not isinstance(memory_bank1, tuple), \
'Ensemble decoding only supported for text data'
src_lengths1 = torch.Tensor(batch.batch_size) \
.type_as(memory_bank1) \
.long() \
.fill_(memory_bank1.size(0))
return src, enc_states, memory_bank, src_lengths,src1, enc_states1, memory_bank1, src_lengths1
def _decode_and_generate(self, decoder_input, memory_bank, batch, data,
memory_lengths, src_map=None,
step=None, batch_offset=None):
if self.copy_attn:
# Turn any copied words to UNKs (index 0).
decoder_input = decoder_input.masked_fill(
decoder_input.gt(len(self.fields["tgt"].vocab) - 1), 0)
# Decoder forward, takes [tgt_len, batch, nfeats] as input
# and [src_len, batch, hidden] as memory_bank
# in case of inference tgt_len = 1, batch = beam times batch_size
# in case of Gold Scoring tgt_len = actual length, batch = 1 batch
dec_out, dec_attn = self.model.decoder(
decoder_input,
memory_bank,
memory_lengths=memory_lengths,
step=step)
# Generator forward.
if not self.copy_attn:
attn = dec_attn["std"]
log_probs = self.model.generator(dec_out.squeeze(0))
# returns [(batch_size x beam_size) , vocab ] when 1 step
# or [ tgt_len, batch_size, vocab ] when full sentence
else:
attn = dec_attn["copy"]
scores = self.model.generator(dec_out.view(-1, dec_out.size(2)),
attn.view(-1, attn.size(2)),
src_map)
# here we have scores [tgt_lenxbatch, vocab] or [beamxbatch, vocab]
if batch_offset is None:
scores = scores.view(batch.batch_size, -1, scores.size(-1))
else:
scores = scores.view(-1, self.beam_size, scores.size(-1))
scores = data.collapse_copy_scores(
scores,
batch,
self.fields["tgt"].vocab,
data.src_vocabs,
batch_dim=0,
batch_offset=batch_offset)
scores = scores.view(decoder_input.size(0), -1, scores.size(-1))
log_probs = scores.squeeze(0).log()
# returns [(batch_size x beam_size) , vocab ] when 1 step
# or [ tgt_len, batch_size, vocab ] when full sentence
return log_probs, attn
def _translate_batch(self, batch, data):
# (0) Prep each of the components of the search.
# And helper method for reducing verbosity.
beam_size = self.beam_size
batch_size = batch.batch_size
data_type = data.data_type
vocab = self.fields["tgt"].vocab
# Define a list of tokens to exclude from ngram-blocking
# exclusion_list = ["<t>", "</t>", "."]
exclusion_tokens = set([vocab.stoi[t]
for t in self.ignore_when_blocking])
beam = [onmt.translate.Beam(beam_size, n_best=self.n_best,
cuda=self.cuda,
global_scorer=self.global_scorer,
pad=vocab.stoi[inputters.PAD_WORD],
eos=vocab.stoi[inputters.EOS_WORD],
bos=vocab.stoi[inputters.BOS_WORD],
min_length=self.min_length,
stepwise_penalty=self.stepwise_penalty,
block_ngram_repeat=self.block_ngram_repeat,
exclusion_tokens=exclusion_tokens)
for __ in range(batch_size)]
# (1) Run the encoder on the src.
src, enc_states, memory_bank, src_lengths,src1, enc_states1, memory_bank1, src_lengths1 = self._run_encoder(
batch, data_type)
self.model.decoder.init_state(src, memory_bank, enc_states)
results = {}
results["predictions"] = []
results["scores"] = []
results["attention"] = []
results["batch"] = batch
if "tgt" in batch.__dict__:
results["gold_score"] = self._score_target(
batch, memory_bank, src_lengths, data, batch.src_map
if data_type == 'text' and self.copy_attn else None)
self.model.decoder.init_state(
src, memory_bank, enc_states, with_cache=True)
else:
results["gold_score"] = [0] * batch_size
# (2) Repeat src objects `beam_size` times.
# We use now batch_size x beam_size (same as fast mode)
src_map = (tile(batch.src_map, beam_size, dim=1)
if data.data_type == 'text' and self.copy_attn else None)
self.model.decoder.map_state(
lambda state, dim: tile(state, beam_size, dim=dim))
if isinstance(memory_bank, tuple):
memory_bank = tuple(tile(x, beam_size, dim=1) for x in memory_bank)
else:
memory_bank = tile(memory_bank, beam_size, dim=1)
memory_lengths = tile(src_lengths, beam_size)
# (3) run the decoder to generate sentences, using beam search.
for i in range(self.max_length):
if all((b.done() for b in beam)):
break
# (a) Construct batch x beam_size nxt words.
# Get all the pending current beam words and arrange for forward.
inp = torch.stack([b.get_current_state() for b in beam])
inp = inp.view(1, -1, 1)
# (b) Decode and forward
out, beam_attn = \
self._decode_and_generate(inp, memory_bank, batch, data,
memory_lengths=memory_lengths,
src_map=src_map, step=i)
out = out.view(batch_size, beam_size, -1)
beam_attn = beam_attn.view(batch_size, beam_size, -1)
# (c) Advance each beam.
select_indices_array = []
# Loop over the batch_size number of beam
for j, b in enumerate(beam):
b.advance(out[j, :],
beam_attn.data[j, :, :memory_lengths[j]])
select_indices_array.append(
b.get_current_origin() + j * beam_size)
select_indices = torch.cat(select_indices_array)
self.model.decoder.map_state(
lambda state, dim: state.index_select(dim, select_indices))
# (4) Extract sentences from beam.
for b in beam:
n_best = self.n_best
scores, ks = b.sort_finished(minimum=n_best)
hyps, attn = [], []
for i, (times, k) in enumerate(ks[:n_best]):
hyp, att = b.get_hyp(times, k)
hyps.append(hyp)
attn.append(att)
results["predictions"].append(hyps)
results["scores"].append(scores)
results["attention"].append(attn)
return results
def _score_target(self, batch, memory_bank, src_lengths, data, src_map):
tgt_in = inputters.make_features(batch, 'tgt')[:-1]
log_probs, attn = \
self._decode_and_generate(tgt_in, memory_bank, batch, data,
memory_lengths=src_lengths,
src_map=src_map)
tgt_pad = self.fields["tgt"].vocab.stoi[inputters.PAD_WORD]
log_probs[:, :, tgt_pad] = 0
gold = batch.tgt[1:].unsqueeze(2)
gold_scores = log_probs.gather(2, gold)
gold_scores = gold_scores.sum(dim=0).view(-1)
return gold_scores
class Translator1(object):
"""
Uses a model to translate a batch of sentences.
Args:
model (:obj:`onmt.modules.NMTModel`):
NMT model to use for translation
fields (dict of Fields): data fields
beam_size (int): size of beam to use
n_best (int): number of translations produced
max_length (int): maximum length output to produce
global_scores (:obj:`GlobalScorer`):
object to rescore final translations
copy_attn (bool): use copy attention during translation
cuda (bool): use cuda
beam_trace (bool): trace beam search for debugging
logger(logging.Logger): logger.
"""
def __init__(self,
model,
fields,
opt,
model_opt,
global_scorer=None,
out_file=None,out_file1 = None,
report_score=True,
logger=None):
self.model = model
self.fields = fields
self.gpu = opt.gpu
self.cuda = opt.gpu > -1
self.n_best = opt.n_best
self.max_length = opt.max_length
self.beam_size = opt.beam_size
self.min_length = opt.min_length
self.stepwise_penalty = opt.stepwise_penalty
self.dump_beam = opt.dump_beam
self.block_ngram_repeat = opt.block_ngram_repeat
self.ignore_when_blocking = set(opt.ignore_when_blocking)
self.sample_rate = opt.sample_rate
self.window_size = opt.window_size
self.window_stride = opt.window_stride
self.window = opt.window
self.image_channel_size = opt.image_channel_size
self.replace_unk = opt.replace_unk
self.data_type = opt.data_type
self.verbose = opt.verbose
self.report_bleu = opt.report_bleu
self.report_rouge = opt.report_rouge
self.fast = opt.fast
self.copy_attn = model_opt.copy_attn
self.global_scorer = global_scorer
self.out_file = out_file
self.out_file1 = out_file1
# self.out_file2 = out_file2
self.report_score = report_score
self.logger = logger
self.use_filter_pred = False
# for debugging
self.beam_trace = self.dump_beam != ""
self.beam_accum = None
if self.beam_trace:
self.beam_accum = {
"predicted_ids": [],
"beam_parent_ids": [],
"scores": [],
"log_probs": []}
def translate(self,
src_path=None,
src_data_iter=None,
tgt_path=None,
tgt_data_iter=None,
src_dir=None,
batch_size=None,
attn_debug=False):
"""
Translate content of `src_data_iter` (if not None) or `src_path`
and get gold scores if one of `tgt_data_iter` or `tgt_path` is set.
Note: batch_size must not be None
Note: one of ('src_path', 'src_data_iter') must not be None
Args:
src_path (str): filepath of source data
src_data_iter (iterator): an interator generating source data
e.g. it may be a list or an openned file
tgt_path (str): filepath of target data
tgt_data_iter (iterator): an interator generating target data
src_dir (str): source directory path
(used for Audio and Image datasets)
batch_size (int): size of examples per mini-batch
attn_debug (bool): enables the attention logging
Returns:
(`list`, `list`)
* all_scores is a list of `batch_size` lists of `n_best` scores
* all_predictions is a list of `batch_size` lists
of `n_best` predictions
"""
assert src_data_iter is not None or src_path is not None
if batch_size is None:
raise ValueError("batch_size must be set")
data = inputters. \
build_dataset(self.fields,
self.data_type,
src_path=src_path,
src_seq_length_trunc = 200,
src_data_iter=None,
tgt_path="transfer-pred.txt",
tgt_data_iter=None,
src_dir=src_dir,
sample_rate=self.sample_rate,
window_size=self.window_size,
window_stride=self.window_stride,
window=self.window,
use_filter_pred=self.use_filter_pred,
image_channel_size=self.image_channel_size)
if self.cuda:
cur_device = "cuda"
else:
cur_device = "cpu"
data_iter = inputters.OrderedIterator(
dataset=data, device=cur_device,
batch_size=batch_size, train=False, sort=False,
sort_within_batch=True, shuffle=False)
builder1 = onmt.translate.TranslationBuilder(
data, self.fields,
self.n_best, self.replace_unk, None)
# Statistics
counter = count(1)
pred_score_total, pred_words_total = 0, 0
gold_score_total, gold_words_total = 0, 0
all_scores = []
all_predictions = []
for batch in data_iter:
batch_data = self.translate_batch(batch, data, fast=self.fast)
#print(batch_data.size())
translations = builder1.from_batch(batch_data,tag = "src_vocabs1")
for trans in translations:
all_scores += [trans.pred_scores[:self.n_best]]
pred_score_total += trans.pred_scores[0]
pred_words_total += len(trans.pred_sents[0])
if tgt_path is not None:
gold_score_total += trans.gold_score
gold_words_total += len(trans.gold_sent) + 1
n_best_preds = [" ".join(pred)
for pred in trans.pred_sents[:self.n_best]]
all_predictions += [n_best_preds]
if len(n_best_preds[0]) == 0:
n_best_preds[0] = "unknown"
self.out_file1.write(n_best_preds[0] + '\n')
self.out_file1.flush()
return all_scores, all_predictions
def translate_batch(self, batch, data, fast=False):
"""
Translate a batch of sentences.
Mostly a wrapper around :obj:`Beam`.
Args:
batch (:obj:`Batch`): a batch from a dataset object
data (:obj:`Dataset`): the dataset object
fast (bool): enables fast beam search (may not support all features)
Todo:
Shouldn't need the original dataset.
"""
with torch.no_grad():
return self._translate_batch(batch, data)
def _run_encoder(self, batch, data_type):
src = inputters.make_features(batch, 'src', data_type)
src1 = inputters.make_features(batch, 'src1', data_type)
src_lengths = None
src_lengths1 = None
if data_type == 'text':
_, src_lengths = batch.src
_, src_lengths1 = batch.src1
elif data_type == 'audio':
src_lengths = batch.src_lengths
enc_states, memory_bank, src_lengths = self.model.encoder(
src, src_lengths)
enc_states1, memory_bank1, src_lengths1 = self.model.encoder1(
src1, src_lengths1)
if src_lengths is None:
assert not isinstance(memory_bank, tuple), \
'Ensemble decoding only supported for text data'
src_lengths = torch.Tensor(batch.batch_size) \
.type_as(memory_bank) \
.long() \
.fill_(memory_bank.size(0))
if src_lengths1 is None:
assert not isinstance(memory_bank1, tuple), \
'Ensemble decoding only supported for text data'
src_lengths1 = torch.Tensor(batch.batch_size) \
.type_as(memory_bank1) \
.long() \
.fill_(memory_bank1.size(0))
return src, enc_states, memory_bank, src_lengths, src1, enc_states1, memory_bank1, src_lengths1
def _decode_and_generate(self, decoder_input, memory_bank, batch, data,
memory_lengths, src_map=None,
step=None, batch_offset=None):
if self.copy_attn:
# Turn any copied words to UNKs (index 0).
decoder_input = decoder_input.masked_fill(
decoder_input.gt(len(self.fields["tgt"].vocab) - 1), 0)
# Decoder forward, takes [tgt_len, batch, nfeats] as input
# and [src_len, batch, hidden] as memory_bank
# in case of inference tgt_len = 1, batch = beam times batch_size
# in case of Gold Scoring tgt_len = actual length, batch = 1 batch
dec_out, dec_attn = self.model.decoder1(
decoder_input,
memory_bank,
memory_lengths=memory_lengths,
step=step)
# Generator forward.
if not self.copy_attn:
attn = dec_attn["std"]
log_probs = self.model.generator1(dec_out.squeeze(0))
# returns [(batch_size x beam_size) , vocab ] when 1 step
# or [ tgt_len, batch_size, vocab ] when full sentence
else:
attn = dec_attn["copy"]
scores = self.model.generator1(dec_out.view(-1, dec_out.size(2)),
attn.view(-1, attn.size(2)),
src_map)
# here we have scores [tgt_lenxbatch, vocab] or [beamxbatch, vocab]
if batch_offset is None:
scores = scores.view(batch.batch_size, -1, scores.size(-1))
else:
scores = scores.view(-1, self.beam_size, scores.size(-1))
scores = data.collapse_copy_scores(
scores,
batch,
self.fields["tgt"].vocab,
data.src_vocabs,
batch_dim=0,
batch_offset=batch_offset)
scores = scores.view(decoder_input.size(0), -1, scores.size(-1))
log_probs = scores.squeeze(0).log()
# returns [(batch_size x beam_size) , vocab ] when 1 step
# or [ tgt_len, batch_size, vocab ] when full sentence
return log_probs, attn
def _translate_batch(self, batch, data):
# (0) Prep each of the components of the search.
# And helper method for reducing verbosity.
beam_size = self.beam_size
batch_size = batch.batch_size
data_type = data.data_type
vocab = self.fields["tgt"].vocab
# Define a list of tokens to exclude from ngram-blocking
# exclusion_list = ["<t>", "</t>", "."]
exclusion_tokens = set([vocab.stoi[t]
for t in self.ignore_when_blocking])
beam = [onmt.translate.Beam(beam_size, n_best=self.n_best,
cuda=self.cuda,
global_scorer=self.global_scorer,
pad=vocab.stoi[inputters.PAD_WORD],
eos=vocab.stoi[inputters.EOS_WORD],
bos=vocab.stoi[inputters.BOS_WORD],
min_length=self.min_length,
stepwise_penalty=self.stepwise_penalty,
block_ngram_repeat=self.block_ngram_repeat,
exclusion_tokens=exclusion_tokens)
for __ in range(batch_size)]
# (1) Run the encoder on the src.
src, enc_states, memory_bank, src_lengths, src1, enc_states1, memory_bank1, src_lengths1 = self._run_encoder(
batch, data_type)
self.model.decoder.init_state(src, memory_bank, enc_states)
tgt_in = inputters.make_features(batch, 'tgt')[:-1]
#print(tgt_in.size())
dec_out, attns = self.model.decoder(tgt_in, memory_bank,
memory_lengths=src_lengths)
inin_state_for_decoder_1 = [dec_out[i] for i in batch.tgt1_index]
self.model.decoder1.init_state(src1, memory_bank1, inin_state_for_decoder_1)
#dec_out, attns = self.decoder_1(batch.tgt1, memory_bank1,
# memory_lengths=src_lengths1)
results = {}
results["predictions"] = []
results["scores"] = []
results["attention"] = []
results["batch"] = batch
if "tgt1" in batch.__dict__:
results["gold_score"] = self._score_target(
batch, memory_bank1, src_lengths1, data, batch.src1_map
if data_type == 'text' and self.copy_attn else None)
self.model.decoder1.init_state(
src1, memory_bank1, inin_state_for_decoder_1, with_cache=True)
else:
results["gold_score"] = [0] * batch_size
# (2) Repeat src objects `beam_size` times.
# We use now batch_size x beam_size (same as fast mode)
src_map1 = (tile(batch.src1_map, beam_size, dim=1)
if data.data_type == 'text' and self.copy_attn else None)
self.model.decoder1.map_state(
lambda state, dim: tile(state, beam_size, dim=dim))
if isinstance(memory_bank1, tuple):
memory_bank1 = tuple(tile(x, beam_size, dim=1) for x in memory_bank1)
else:
memory_bank1 = tile(memory_bank1, beam_size, dim=1)
memory_lengths1 = tile(src_lengths1, beam_size)
# (3) run the decoder to generate sentences, using beam search.
for i in range(10):
if all((b.done() for b in beam)):
break
# (a) Construct batch x beam_size nxt words.
# Get all the pending current beam words and arrange for forward.
inp = torch.stack([b.get_current_state() for b in beam])
inp = inp.view(1, -1, 1)
# (b) Decode and forward
out, beam_attn = \
self._decode_and_generate(inp, memory_bank1, batch, data,
memory_lengths=memory_lengths1,
src_map=src_map1, step=i)
out = out.view(batch_size, beam_size, -1)
beam_attn = beam_attn.view(batch_size, beam_size, -1)
# (c) Advance each beam.
select_indices_array = []
# Loop over the batch_size number of beam
for j, b in enumerate(beam):
b.advance(out[j, :],
beam_attn.data[j, :, :memory_lengths1[j]])
select_indices_array.append(
b.get_current_origin() + j * beam_size)
select_indices = torch.cat(select_indices_array)
self.model.decoder1.map_state(
lambda state, dim: state.index_select(dim, select_indices))
# (4) Extract sentences from beam.
for b in beam:
n_best = self.n_best
scores, ks = b.sort_finished(minimum=n_best)
hyps, attn = [], []
for i, (times, k) in enumerate(ks[:n_best]):
hyp, att = b.get_hyp(times, k)
hyps.append(hyp)
attn.append(att)
results["predictions"].append(hyps)
results["scores"].append(scores)
results["attention"].append(attn)
return results
def _score_target(self, batch, memory_bank, src_lengths, data, src_map):
tgt_in = inputters.make_features(batch, 'tgt1')[:-1]
log_probs, attn = \
self._decode_and_generate(tgt_in, memory_bank, batch, data,
memory_lengths=src_lengths,
src_map=src_map)
tgt_pad = self.fields["tgt"].vocab.stoi[inputters.PAD_WORD]
log_probs[:, :, tgt_pad] = 0
gold = batch.tgt1[1:].unsqueeze(2)
gold_scores = log_probs.gather(2, gold)
gold_scores = gold_scores.sum(dim=0).view(-1)
return gold_scores
class Translator2(object):
"""
Uses a model to translate a batch of sentences.
Args:
model (:obj:`onmt.modules.NMTModel`):
NMT model to use for translation
fields (dict of Fields): data fields
beam_size (int): size of beam to use
n_best (int): number of translations produced
max_length (int): maximum length output to produce
global_scores (:obj:`GlobalScorer`):
object to rescore final translations
copy_attn (bool): use copy attention during translation
cuda (bool): use cuda
beam_trace (bool): trace beam search for debugging
logger(logging.Logger): logger.
"""
def __init__(self,
model,
fields,
opt,
model_opt,
global_scorer=None,
out_file=None, out_file1=None,
report_score=True,
logger=None):
self.model = model
self.fields = fields
self.gpu = opt.gpu
self.cuda = opt.gpu > -1
self.n_best = opt.n_best
self.max_length = opt.max_length
self.beam_size = opt.beam_size
self.min_length = opt.min_length
self.stepwise_penalty = opt.stepwise_penalty
self.dump_beam = opt.dump_beam
self.block_ngram_repeat = opt.block_ngram_repeat
self.ignore_when_blocking = set(opt.ignore_when_blocking)
self.sample_rate = opt.sample_rate
self.window_size = opt.window_size
self.window_stride = opt.window_stride
self.window = opt.window
self.image_channel_size = opt.image_channel_size
self.replace_unk = opt.replace_unk
self.data_type = opt.data_type
self.verbose = opt.verbose
self.report_bleu = opt.report_bleu
self.report_rouge = opt.report_rouge
self.fast = opt.fast
self.copy_attn = model_opt.copy_attn
self.global_scorer = global_scorer
self.out_file = out_file
self.out_file1 = out_file1
# self.out_file2 = out_file2
self.report_score = report_score
self.logger = logger
self.use_filter_pred = False
# for debugging
self.beam_trace = self.dump_beam != ""
self.beam_accum = None
if self.beam_trace:
self.beam_accum = {
"predicted_ids": [],
"beam_parent_ids": [],
"scores": [],
"log_probs": []}
def translate(self,
src_path=None,
src_data_iter=None,
tgt_path=None,
tgt_data_iter=None,
src_dir=None,
batch_size=None,
attn_debug=False):
"""
Translate content of `src_data_iter` (if not None) or `src_path`
and get gold scores if one of `tgt_data_iter` or `tgt_path` is set.
Note: batch_size must not be None
Note: one of ('src_path', 'src_data_iter') must not be None
Args:
src_path (str): filepath of source data
src_data_iter (iterator): an interator generating source data
e.g. it may be a list or an openned file
tgt_path (str): filepath of target data
tgt_data_iter (iterator): an interator generating target data
src_dir (str): source directory path
(used for Audio and Image datasets)
batch_size (int): size of examples per mini-batch
attn_debug (bool): enables the attention logging
Returns:
(`list`, `list`)
* all_scores is a list of `batch_size` lists of `n_best` scores
* all_predictions is a list of `batch_size` lists
of `n_best` predictions
"""
assert src_data_iter is not None or src_path is not None
if batch_size is None:
raise ValueError("batch_size must be set")
data = inputters. \
build_dataset(self.fields,
self.data_type,
src_path=src_path,
src_data_iter=None,
src_seq_length_trunc =200,
tgt_path="transfer-pred.txt",
tgt_data_iter=None,
src_dir=src_dir,
sample_rate=self.sample_rate,
window_size=self.window_size,
window_stride=self.window_stride,
window=self.window,
use_filter_pred=self.use_filter_pred,
image_channel_size=self.image_channel_size)
if self.cuda:
cur_device = "cuda"
else:
cur_device = "cpu"
data_iter = inputters.OrderedIterator(
dataset=data, device=cur_device,
batch_size=batch_size, train=False, sort=False,
sort_within_batch=True, shuffle=False)
builder1 = onmt.translate.TranslationBuilder(
data, self.fields,
self.n_best, self.replace_unk, None)
# Statistics
counter = count(1)
pred_score_total, pred_words_total = 0, 0
gold_score_total, gold_words_total = 0, 0
all_scores = []
all_predictions = []
for batch in data_iter:
batch_data = self.translate_batch(batch, data, fast=self.fast)
translations = builder1.from_batch(batch_data,tag = "src_vocabs1")
for trans in translations:
all_scores += [trans.pred_scores[:self.n_best]]
pred_score_total += trans.pred_scores[0]
pred_words_total += len(trans.pred_sents[0])
if tgt_path is not None:
gold_score_total += trans.gold_score
gold_words_total += len(trans.gold_sent) + 1
n_best_preds = [" ".join(pred)
for pred in trans.pred_sents[:self.n_best]]
all_predictions += [n_best_preds]
if len(n_best_preds[0]) == 0:
n_best_preds[0] = "unknown"
self.out_file1.write(n_best_preds[0] + '\n')
self.out_file1.flush()
return all_scores, all_predictions
def translate_batch(self, batch, data, fast=False):
"""
Translate a batch of sentences.
Mostly a wrapper around :obj:`Beam`.
Args:
batch (:obj:`Batch`): a batch from a dataset object
data (:obj:`Dataset`): the dataset object
fast (bool): enables fast beam search (may not support all features)
Todo:
Shouldn't need the original dataset.
"""
with torch.no_grad():
return self._translate_batch(batch, data)
def _run_encoder(self, batch, data_type):
src = inputters.make_features(batch, 'src', data_type)
src1 = inputters.make_features(batch, 'src1', data_type)
src_lengths = None
src_lengths1 = None
if data_type == 'text':
_, src_lengths = batch.src
_, src_lengths1 = batch.src1
elif data_type == 'audio':
src_lengths = batch.src_lengths
enc_states, memory_bank, src_lengths = self.model.encoder(
src, src_lengths)
enc_states1, memory_bank1, src_lengths1 = self.model.encoder1(
src1, src_lengths1)
if src_lengths is None:
assert not isinstance(memory_bank, tuple), \
'Ensemble decoding only supported for text data'
src_lengths = torch.Tensor(batch.batch_size) \
.type_as(memory_bank) \
.long() \
.fill_(memory_bank.size(0))
if src_lengths1 is None:
assert not isinstance(memory_bank1, tuple), \
'Ensemble decoding only supported for text data'
src_lengths1 = torch.Tensor(batch.batch_size) \
.type_as(memory_bank1) \
.long() \
.fill_(memory_bank1.size(0))
return src, enc_states, memory_bank, src_lengths, src1, enc_states1, memory_bank1, src_lengths1
def _decode_and_generate(self, decoder_input, memory_bank, batch, data,
memory_lengths, src_map=None,
step=None, batch_offset=None):
if self.copy_attn:
# Turn any copied words to UNKs (index 0).
decoder_input = decoder_input.masked_fill(
decoder_input.gt(len(self.fields["tgt"].vocab) - 1), 0)
# Decoder forward, takes [tgt_len, batch, nfeats] as input
# and [src_len, batch, hidden] as memory_bank
# in case of inference tgt_len = 1, batch = beam times batch_size
# in case of Gold Scoring tgt_len = actual length, batch = 1 batch
dec_out, dec_attn = self.model.decoder2(
decoder_input,
memory_bank,
memory_lengths=memory_lengths,
step=step)
# Generator forward.
if not self.copy_attn:
attn = dec_attn["std"]
log_probs = self.model.generator2(dec_out.squeeze(0))
# returns [(batch_size x beam_size) , vocab ] when 1 step
# or [ tgt_len, batch_size, vocab ] when full sentence
else:
attn = dec_attn["copy"]
scores = self.model.generator2(dec_out.view(-1, dec_out.size(2)),
attn.view(-1, attn.size(2)),
src_map)
# here we have scores [tgt_lenxbatch, vocab] or [beamxbatch, vocab]
if batch_offset is None:
scores = scores.view(batch.batch_size, -1, scores.size(-1))
else:
scores = scores.view(-1, self.beam_size, scores.size(-1))
scores = data.collapse_copy_scores(
scores,
batch,
self.fields["tgt"].vocab,
data.src_vocabs,
batch_dim=0,
batch_offset=batch_offset)
scores = scores.view(decoder_input.size(0), -1, scores.size(-1))
log_probs = scores.squeeze(0).log()
# returns [(batch_size x beam_size) , vocab ] when 1 step
# or [ tgt_len, batch_size, vocab ] when full sentence
return log_probs, attn
def _translate_batch(self, batch, data):
# (0) Prep each of the components of the search.
# And helper method for reducing verbosity.
beam_size = self.beam_size
batch_size = batch.batch_size
data_type = data.data_type
vocab = self.fields["tgt"].vocab
# Define a list of tokens to exclude from ngram-blocking
# exclusion_list = ["<t>", "</t>", "."]
exclusion_tokens = set([vocab.stoi[t]
for t in self.ignore_when_blocking])
beam = [onmt.translate.Beam(beam_size, n_best=self.n_best,
cuda=self.cuda,
global_scorer=self.global_scorer,
pad=vocab.stoi[inputters.PAD_WORD],
eos=vocab.stoi[inputters.EOS_WORD],
bos=vocab.stoi[inputters.BOS_WORD],
min_length=self.min_length,
stepwise_penalty=self.stepwise_penalty,
block_ngram_repeat=self.block_ngram_repeat,
exclusion_tokens=exclusion_tokens)
for __ in range(batch_size)]
# (1) Run the encoder on the src.
src, enc_states, memory_bank, src_lengths, src1, enc_states1, memory_bank1, src_lengths1 = self._run_encoder(
batch, data_type)
self.model.decoder.init_state(src, memory_bank, enc_states)
tgt_in = inputters.make_features(batch, 'tgt')[:-1]
#print(tgt_in.size())
dec_out, attns = self.model.decoder(tgt_in, memory_bank,
memory_lengths=src_lengths)
inin_state_for_decoder_1 = [dec_out[i] for i in batch.tgt2_index]
self.model.decoder2.init_state(src1, memory_bank1, inin_state_for_decoder_1)
# dec_out, attns = self.decoder_1(batch.tgt1, memory_bank1,
# memory_lengths=src_lengths1)
results = {}
results["predictions"] = []
results["scores"] = []
results["attention"] = []
results["batch"] = batch
if "tgt1" in batch.__dict__:
results["gold_score"] = self._score_target(
batch, memory_bank1, src_lengths1, data, batch.src1_map
if data_type == 'text' and self.copy_attn else None)
self.model.decoder2.init_state(
src1, memory_bank1, inin_state_for_decoder_1, with_cache=True)
else:
results["gold_score"] = [0] * batch_size
# (2) Repeat src objects `beam_size` times.
# We use now batch_size x beam_size (same as fast mode)
src_map1 = (tile(batch.src1_map, beam_size, dim=1)
if data.data_type == 'text' and self.copy_attn else None)
self.model.decoder2.map_state(
lambda state, dim: tile(state, beam_size, dim=dim))
if isinstance(memory_bank1, tuple):
memory_bank1 = tuple(tile(x, beam_size, dim=1) for x in memory_bank1)
else:
memory_bank1 = tile(memory_bank1, beam_size, dim=1)
memory_lengths1 = tile(src_lengths1, beam_size)
# (3) run the decoder to generate sentences, using beam search.
for i in range(10):
if all((b.done() for b in beam)):
break
# (a) Construct batch x beam_size nxt words.
# Get all the pending current beam words and arrange for forward.
inp = torch.stack([b.get_current_state() for b in beam])
inp = inp.view(1, -1, 1)
# (b) Decode and forward
out, beam_attn = \
self._decode_and_generate(inp, memory_bank1, batch, data,
memory_lengths=memory_lengths1,
src_map=src_map1, step=i)
out = out.view(batch_size, beam_size, -1)
beam_attn = beam_attn.view(batch_size, beam_size, -1)
# (c) Advance each beam.
select_indices_array = []
# Loop over the batch_size number of beam
for j, b in enumerate(beam):
b.advance(out[j, :],
beam_attn.data[j, :, :memory_lengths1[j]])
select_indices_array.append(
b.get_current_origin() + j * beam_size)
select_indices = torch.cat(select_indices_array)
self.model.decoder2.map_state(
lambda state, dim: state.index_select(dim, select_indices))
# (4) Extract sentences from beam.
for b in beam:
n_best = self.n_best
scores, ks = b.sort_finished(minimum=n_best)
hyps, attn = [], []
for i, (times, k) in enumerate(ks[:n_best]):
hyp, att = b.get_hyp(times, k)
hyps.append(hyp)
attn.append(att)
results["predictions"].append(hyps)
results["scores"].append(scores)
results["attention"].append(attn)
return results
def _score_target(self, batch, memory_bank, src_lengths, data, src_map):
tgt_in = inputters.make_features(batch, 'tgt2')[:-1]
log_probs, attn = \
self._decode_and_generate(tgt_in, memory_bank, batch, data,
memory_lengths=src_lengths,
src_map=src_map)
tgt_pad = self.fields["tgt"].vocab.stoi[inputters.PAD_WORD]
log_probs[:, :, tgt_pad] = 0
gold = batch.tgt2[1:].unsqueeze(2)
gold_scores = log_probs.gather(2, gold)
gold_scores = gold_scores.sum(dim=0).view(-1)
return gold_scores
| 40.034938
| 125
| 0.555648
| 6,149
| 51,565
| 4.414702
| 0.063913
| 0.024866
| 0.007699
| 0.009578
| 0.944338
| 0.938481
| 0.935055
| 0.931555
| 0.928829
| 0.928829
| 0
| 0.012519
| 0.35559
| 51,565
| 1,287
| 126
| 40.066045
| 0.804418
| 0.180937
| 0
| 0.889282
| 0
| 0
| 0.028546
| 0
| 0.003534
| 0
| 0
| 0.002331
| 0.010601
| 1
| 0.025913
| false
| 0
| 0.015312
| 0
| 0.067138
| 0.001178
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9ed1cee56e493aea962c882566aadfd0817a8140
| 9,620
|
py
|
Python
|
ckan/tests/plugins/test_toolkit.py
|
okfde/ckankrzn
|
df4c1ed624f6751ac2a8f03527ff19e448d27dfb
|
[
"Apache-2.0"
] | 4
|
2017-06-12T15:18:30.000Z
|
2019-10-11T15:12:43.000Z
|
ckan/tests/plugins/test_toolkit.py
|
okfde/ckankrzn
|
df4c1ed624f6751ac2a8f03527ff19e448d27dfb
|
[
"Apache-2.0"
] | 135
|
2019-07-03T19:58:12.000Z
|
2020-02-14T19:57:33.000Z
|
ckan/tests/plugins/test_toolkit.py
|
okfde/ckankrzn
|
df4c1ed624f6751ac2a8f03527ff19e448d27dfb
|
[
"Apache-2.0"
] | 5
|
2017-04-06T21:18:38.000Z
|
2020-03-30T17:05:23.000Z
|
# encoding: utf-8
from nose.tools import assert_equal, assert_raises, assert_true, raises
from ckan.plugins import toolkit as tk
class TestCheckCkanVersion(object):
@classmethod
def setup_class(cls):
# save the ckan version so it can be restored at the end of the test
cls.__original_ckan_version = tk.ckan.__version__
@classmethod
def teardown_class(cls):
# restore the correct ckan version
tk.ckan.__version__ = cls.__original_ckan_version
# test name numbers refer to:
# * number of numbers in the ckan version
# * number of numbers in the checked version
# * the index of the number being tested in the checked version
def test_min_111_lt(self):
tk.ckan.__version__ = '2'
assert_equal(tk.check_ckan_version(min_version='1'), True)
def test_min_111_eq(self):
tk.ckan.__version__ = '2'
assert_equal(tk.check_ckan_version(min_version='2'), True)
def test_min_111_gt(self):
tk.ckan.__version__ = '2'
assert_equal(tk.check_ckan_version(min_version='3'), False)
def test_min_211_lt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(min_version='1'), True)
def test_min_211_gt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(min_version='3'), False)
def test_min_221_lt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(min_version='1.1'), True)
def test_min_221_eq(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(min_version='2.1'), True)
def test_min_221_gt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(min_version='3.1'), False)
def test_min_222_lt(self):
tk.ckan.__version__ = '1.5'
assert_equal(tk.check_ckan_version(min_version='1.4'), True)
def test_min_222_gt(self):
tk.ckan.__version__ = '1.5'
assert_equal(tk.check_ckan_version(min_version='1.6'), False)
def test_min_231_lt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(min_version='1.2.3'), True)
def test_min_231_gt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(min_version='3.2.1'), False)
def test_min_232_lt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(min_version='2.1.3'), True)
def test_min_232_gt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(min_version='2.3.0'), False)
def test_min_233_lt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(min_version='2.1.3'), True)
def test_min_233_gt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(min_version='2.2.1'), False)
def test_min_321_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='0.6'), True)
def test_min_321_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='2.4'), False)
def test_min_322_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.5'), True)
def test_min_322_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.6'), False)
def test_min_331_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='0.5.1'), True)
def test_min_331_eq(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.5.1'), True)
def test_min_331_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.5.2'), False)
def test_min_332_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.4.1'), True)
def test_min_332_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.6.1'), False)
def test_min_333_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.5.0'), True)
def test_min_333_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(min_version='1.5.2'), False)
def test_max_111_lt(self):
tk.ckan.__version__ = '2'
assert_equal(tk.check_ckan_version(max_version='1'), False)
def test_max_111_eq(self):
tk.ckan.__version__ = '2'
assert_equal(tk.check_ckan_version(max_version='2'), True)
def test_max_111_gt(self):
tk.ckan.__version__ = '2'
assert_equal(tk.check_ckan_version(max_version='3'), True)
def test_max_211_lt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(max_version='1'), False)
def test_max_211_gt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(max_version='3'), True)
def test_max_221_lt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(max_version='1.1'), False)
def test_max_221_eq(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(max_version='2.1'), True)
def test_max_221_gt(self):
tk.ckan.__version__ = '2.1'
assert_equal(tk.check_ckan_version(max_version='3.1'), True)
def test_max_222_lt(self):
tk.ckan.__version__ = '1.5'
assert_equal(tk.check_ckan_version(max_version='1.4'), False)
def test_max_222_gt(self):
tk.ckan.__version__ = '1.5'
assert_equal(tk.check_ckan_version(max_version='1.6'), True)
def test_max_231_lt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(max_version='1.2.3'), False)
def test_max_231_gt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(max_version='3.2.1'), True)
def test_max_232_lt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(max_version='2.1.3'), False)
def test_max_232_gt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(max_version='2.3.0'), True)
def test_max_233_lt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(max_version='2.1.3'), False)
def test_max_233_gt(self):
tk.ckan.__version__ = '2.2'
assert_equal(tk.check_ckan_version(max_version='2.2.1'), True)
def test_max_321_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='0.6'), False)
def test_max_321_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='2.4'), True)
def test_max_322_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.5'), False)
def test_max_322_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.6'), True)
def test_max_331_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='0.5.1'), False)
def test_max_331_eq(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.5.1'), True)
def test_max_331_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.5.2'), True)
def test_max_332_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.4.1'), False)
def test_max_332_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.6.1'), True)
def test_max_333_lt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.5.0'), False)
def test_max_333_gt(self):
tk.ckan.__version__ = '1.5.1'
assert_equal(tk.check_ckan_version(max_version='1.5.2'), True)
class TestRequiresCkanVersion(object):
@classmethod
def setup_class(cls):
# save the ckan version so it can be restored at the end of the test
cls.__original_ckan_version = tk.ckan.__version__
@classmethod
def teardown_class(cls):
# restore the correct ckan version
tk.ckan.__version__ = cls.__original_ckan_version
# Assume the min_version and max_version params work ok since they are just
# passed to check_ckan_version which is tested above.
def test_no_raise(self):
tk.ckan.__version__ = '2'
tk.requires_ckan_version(min_version='2')
def test_raise(self):
tk.ckan.__version__ = '2'
assert_raises(tk.CkanVersionException,
tk.requires_ckan_version, min_version='3')
class TestToolkitHelper(object):
def test_call_helper(self):
# the null_function would return ''
assert_true(tk.h.icon_url('x'))
def test_tk_helper_attribute_error_on_missing_helper(self):
assert_raises(AttributeError, getattr,
tk.h, 'not_a_real_helper_function')
@raises(AttributeError)
def test_tk_helper_as_attribute_missing_helper(self):
'''Directly attempt access to module function'''
tk.h.nothere()
@raises(tk.HelperError)
def test_tk_helper_as_item_missing_helper(self):
'''Directly attempt access as item'''
tk.h['nothere']()
| 33.992933
| 79
| 0.664345
| 1,504
| 9,620
| 3.794548
| 0.080452
| 0.24286
| 0.136674
| 0.166813
| 0.843526
| 0.795164
| 0.742772
| 0.735237
| 0.735237
| 0.735237
| 0
| 0.054569
| 0.209459
| 9,620
| 282
| 80
| 34.113475
| 0.695858
| 0.065489
| 0
| 0.446701
| 0
| 0
| 0.047502
| 0.002899
| 0
| 0
| 0
| 0
| 0.294416
| 1
| 0.324873
| false
| 0
| 0.010152
| 0
| 0.350254
| 0
| 0
| 0
| 0
| null | 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
734e70fbcf74ce0133016d4b2f9aea2cc6c5505b
| 3,529
|
py
|
Python
|
MyHDLSim/test/test_Nand.py
|
mattsnowboard/msu-myhdlsim
|
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
|
[
"BSD-2-Clause"
] | 1
|
2021-03-30T10:20:06.000Z
|
2021-03-30T10:20:06.000Z
|
MyHDLSim/test/test_Nand.py
|
mattsnowboard/msu-myhdlsim
|
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
|
[
"BSD-2-Clause"
] | null | null | null |
MyHDLSim/test/test_Nand.py
|
mattsnowboard/msu-myhdlsim
|
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
|
[
"BSD-2-Clause"
] | null | null | null |
from unittest import TestCase
from myhdl import Signal, Simulation, delay
from MyHDLSim.combinational import Nand
class TestNandGate(TestCase):
def testTwoBits(self):
""" Check that given two bits, we return the proper output """
def test(out, a, b):
yield delay(10)
for i in range(2):
a.next = i
for j in range(2):
b.next = j
yield delay(10)
#print a, b, out
self.assertEqual(not(a and b), out)
a, b, out = [Signal(None) for i in range(3)]
gate = Nand(out, a, b)
check = test(out, a, b)
sim = Simulation(gate, check)
sim.run(quiet=1)
def testThreeBits(self):
""" Check that given three bits, we return the proper output """
def test(out, a, b, c):
yield delay(10)
for i in range(2):
a.next = i
for j in range(2):
b.next = j
for k in range(2):
c.next = k
yield delay(10)
#print a, b, c, out
self.assertEqual(not(a and b and c), out)
a, b, c, out = [Signal(None) for i in range(4)]
gate = Nand(out, a, b, c)
check = test(out, a, b, c)
sim = Simulation(gate, check)
sim.run(quiet=1)
def testFourBits(self):
""" Check that given four bits, we return the proper output """
def test(out, a, b, c, d):
yield delay(10)
for i in range(2):
a.next = i
for j in range(2):
b.next = j
for k in range(2):
c.next = k
for l in range(2):
d.next = l
yield delay(10)
#print a, b, c, d, out
self.assertEqual(not(a and b and c and d), out)
a, b, c, d, out = [Signal(None) for i in range(5)]
gate = Nand(out, a, b, c, d)
check = test(out, a, b, c, d)
sim = Simulation(gate, check)
sim.run(quiet=1)
def testUndefinedOneOfTwo(self):
""" Make sure NAND gate properly outputs None when given None """
def test(out, a, b):
yield delay(10)
for i in range(2):
a.next = i
yield delay(10)
#print a, b, out
self.assertEqual(Signal(None), out)
a, b, out = [Signal(None) for i in range(3)]
gate = Nand(out, a, b)
check = test(out, a, b)
sim = Simulation(gate, check)
sim.run(quiet=1)
def testUndefinedOneOfFour(self):
""" Make sure NAND gate properly outputs None when given None for 4 bits """
def test(out, a, b, c, d):
yield delay(10)
for i in range(2):
a.next = i
for j in range(2):
b.next = j
for k in range(2):
d.next = k
yield delay(10)
#print a, b, c, d, out
self.assertEqual(Signal(None), out)
a, b, c, d, out = [Signal(None) for i in range(5)]
gate = Nand(out, a, b, c, d)
check = test(out, a, b, c, d)
sim = Simulation(gate, check)
sim.run(quiet=1)
| 34.598039
| 84
| 0.439218
| 467
| 3,529
| 3.319058
| 0.143469
| 0.032258
| 0.064516
| 0.046452
| 0.810323
| 0.80129
| 0.782581
| 0.761935
| 0.749032
| 0.632258
| 0
| 0.022929
| 0.45622
| 3,529
| 101
| 85
| 34.940594
| 0.784784
| 0.110513
| 0
| 0.7625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.0625
| 1
| 0.125
| false
| 0
| 0.0375
| 0
| 0.175
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b4563e904df8a7bff4695736d072a89ab054d0d7
| 43
|
py
|
Python
|
malexport/__init__.py
|
seanbreckenridge/malexport
|
ae30bef37a8cf44f8b0511bdfcd395e56e85d06b
|
[
"MIT"
] | null | null | null |
malexport/__init__.py
|
seanbreckenridge/malexport
|
ae30bef37a8cf44f8b0511bdfcd395e56e85d06b
|
[
"MIT"
] | 4
|
2021-09-19T15:18:37.000Z
|
2022-02-10T06:10:38.000Z
|
malexport/__init__.py
|
seanbreckenridge/malexport
|
ae30bef37a8cf44f8b0511bdfcd395e56e85d06b
|
[
"MIT"
] | null | null | null |
from . import exporter
from . import parse
| 14.333333
| 22
| 0.767442
| 6
| 43
| 5.5
| 0.666667
| 0.606061
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.186047
| 43
| 2
| 23
| 21.5
| 0.942857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
c330e1ed0681bf13b28326e2203489edf40237cf
| 6,226
|
py
|
Python
|
app/aws/metrics.py
|
cds-snc/notifier-api
|
90b385ec49efbaee7e607516fc7d9f08991af813
|
[
"MIT"
] | null | null | null |
app/aws/metrics.py
|
cds-snc/notifier-api
|
90b385ec49efbaee7e607516fc7d9f08991af813
|
[
"MIT"
] | 51
|
2019-07-03T14:11:19.000Z
|
2019-07-08T12:24:55.000Z
|
app/aws/metrics.py
|
cds-snc/notifier-api
|
90b385ec49efbaee7e607516fc7d9f08991af813
|
[
"MIT"
] | null | null | null |
from __future__ import annotations # PEP 563 -- Postponed Evaluation of Annotations
from typing import TYPE_CHECKING, Optional
from botocore.exceptions import ClientError
from flask import current_app
if TYPE_CHECKING: # A special Python 3 constant that is assumed to be True by 3rd party static type checkers
from app.aws.metrics_logger import MetricsLogger
from app.queue import RedisQueue
def put_batch_saving_metric(metrics_logger: MetricsLogger, queue: RedisQueue, count: int):
"""
Metric to calculate how many items are put in an INBOX
Args:
queue (RedisQueue): Implementation of queue.RedisQueue for BatchSaving
count (int): count of an item added to the INBOX.
metrics (MetricsLogger): Submit metric to cloudwatch
"""
if metrics_logger.metrics_config.disable_metric_extraction:
return
try:
metrics_logger.set_namespace("NotificationCanadaCa")
metrics_logger.put_metric("batch_saving_published", count, "Count")
metrics_logger.set_dimensions({"list_name": queue._inbox})
metrics_logger.flush()
except ClientError as e:
message = "Error sending CloudWatch Metric: {}".format(e)
current_app.logger.warning(message)
return
def put_batch_saving_inflight_metric(metrics_logger: MetricsLogger, queue: RedisQueue, count: int):
"""
Metric to calculate how many inflight lists have been created
Args:
count (int): count of an inflight list created.
metrics (MetricsLogger): Submit metric to cloudwatch
"""
if metrics_logger.metrics_config.disable_metric_extraction:
return
try:
metrics_logger.set_namespace("NotificationCanadaCa")
metrics_logger.put_metric("batch_saving_inflight", count, "Count")
metrics_logger.set_dimensions({"created": "True", "notification_type": queue._suffix, "priority": queue._process_type})
metrics_logger.flush()
except ClientError as e:
message = "Error sending CloudWatch Metric: {}".format(e)
current_app.logger.warning(message)
return
def put_batch_saving_inflight_processed(metrics_logger: MetricsLogger, queue: RedisQueue, count: int):
"""
Metric to calculate how many inflight lists have been processed.
Args:
count (int): count of an inflight list created.
metrics (MetricsLogger): Submit metric to cloudwatch
"""
if metrics_logger.metrics_config.disable_metric_extraction:
return
try:
metrics_logger.set_namespace("NotificationCanadaCa")
metrics_logger.put_metric("batch_saving_inflight", count, "Count")
metrics_logger.set_dimensions(
{"acknowledged": "True", "notification_type": queue._suffix, "priority": queue._process_type}
)
metrics_logger.flush()
except ClientError as e:
message = "Error sending CloudWatch Metric: {}".format(e)
current_app.logger.warning(message)
return
def put_batch_saving_expiry_metric(metrics_logger: MetricsLogger, queue: RedisQueue, count: int):
"""
Metric to calculate how many inflight list have not been processed and instead
sent back to the inbox.
Args:
count (int): Number of inflight lists sent to inbox
metrics (MetricsLogger): Submit metric to cloudwatch
"""
if metrics_logger.metrics_config.disable_metric_extraction:
return
try:
metrics_logger.set_namespace("NotificationCanadaCa")
metrics_logger.put_metric("batch_saving_inflight", count, "Count")
metrics_logger.set_dimensions({"expired": "True", "notification_type": queue._suffix, "priority": queue._process_type})
metrics_logger.flush()
except ClientError as e:
message = "Error sending CloudWatch Metric: {}".format(e)
current_app.logger.warning(message)
return
def put_batch_saving_bulk_created(
metrics_logger: MetricsLogger, count: int, notification_type: Optional[str] = None, priority: Optional[str] = None
):
"""
Metric to calculate how many notifications are sent through
the bulk api
Args:
count (int): Number of bulk job batches created
metrics (MetricsLogger): Submit metric to cloudwatch
type: priority and notification type
"""
if metrics_logger.metrics_config.disable_metric_extraction:
return
try:
metrics_logger.set_namespace("NotificationCanadaCa")
metrics_logger.put_metric("batch_saving_bulk", count, "Count")
if notification_type is None or priority is None:
current_app.logger.warning("either notification_type or priority is None")
metrics_logger.set_dimensions({"created": "True"})
else:
metrics_logger.set_dimensions({"created": "True", "notification_type": notification_type, "priority": priority})
metrics_logger.flush()
except ClientError as e:
message = "Error sending CloudWatch Metric: {}".format(e)
current_app.logger.warning(message)
return
def put_batch_saving_bulk_processed(
metrics_logger: MetricsLogger, count: int, notification_type: Optional[str] = None, priority: Optional[str] = None
):
"""
Metric to calculate how many bulk insertion have been processed.
Args:
count (int): Number of bulk job batches processed
metrics (MetricsLogger): Submit metric to cloudwatch
type: priority and notification type
"""
if metrics_logger.metrics_config.disable_metric_extraction:
return
try:
metrics_logger.set_namespace("NotificationCanadaCa")
metrics_logger.put_metric("batch_saving_bulk", count, "Count")
if notification_type is None or priority is None:
current_app.logger.warning("either notification_type or priority is None")
metrics_logger.set_dimensions({"acknowledged": "True"})
else:
metrics_logger.set_dimensions({"acknowledged": "True", "notification_type": notification_type, "priority": priority})
metrics_logger.flush()
except ClientError as e:
message = "Error sending CloudWatch Metric: {}".format(e)
current_app.logger.warning(message)
return
| 39.910256
| 129
| 0.707356
| 723
| 6,226
| 5.882434
| 0.163209
| 0.11921
| 0.052669
| 0.048907
| 0.849988
| 0.841289
| 0.818481
| 0.816835
| 0.779685
| 0.779685
| 0
| 0.001016
| 0.209926
| 6,226
| 155
| 130
| 40.167742
| 0.86359
| 0.228076
| 0
| 0.741935
| 0
| 0
| 0.171571
| 0.01839
| 0
| 0
| 0
| 0
| 0
| 1
| 0.064516
| false
| 0
| 0.064516
| 0
| 0.258065
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c340b955cdced405f05d828d9836676a17910f35
| 4,779
|
py
|
Python
|
tests/keep_submodules_relative_test.py
|
mwtoews/absolufy-imports
|
e8d184d59900f29497bf9998c947d8fe43b7d8e3
|
[
"MIT"
] | 76
|
2021-02-28T21:34:31.000Z
|
2022-03-23T21:11:27.000Z
|
tests/keep_submodules_relative_test.py
|
mwtoews/absolufy-imports
|
e8d184d59900f29497bf9998c947d8fe43b7d8e3
|
[
"MIT"
] | 39
|
2021-03-01T16:47:44.000Z
|
2022-03-21T21:48:49.000Z
|
tests/keep_submodules_relative_test.py
|
mwtoews/absolufy-imports
|
e8d184d59900f29497bf9998c947d8fe43b7d8e3
|
[
"MIT"
] | 6
|
2021-03-02T20:23:48.000Z
|
2022-01-20T08:44:53.000Z
|
import os
import shutil
from absolufy_imports import main
def test_main(tmpdir):
os.mkdir(os.path.join(tmpdir, 'mypackage'))
shutil.copytree(
os.path.join('tests', 'data', 'library1'),
os.path.join(tmpdir, 'mypackage', 'library1'),
)
shutil.copytree(
os.path.join('tests', 'data', 'library2'),
os.path.join(tmpdir, 'mypackage', 'library2'),
)
cwd = os.getcwd()
os.chdir(tmpdir)
try:
main(
(
'--keep-submodules-relative',
os.path.join(
'mypackage', 'library1',
'subdirectory', 'bar.py',
),
),
)
finally:
os.chdir(cwd)
with open(
os.path.join(
tmpdir, 'mypackage', 'library1',
'subdirectory', 'bar.py',
),
) as fd:
result = fd.read()
expected = (
'from . import baz\n'
'from .. import foo\n'
'from ..othersubdirectory import quox\n'
'from mypackage.library2 import qux\n'
'from mypackage import aaa\n'
'from datetime import dt\n'
)
assert result == expected
def test_already_fixed(tmpdir):
os.mkdir(os.path.join(tmpdir, 'mypackage'))
shutil.copytree(
os.path.join('tests', 'data', 'library1'),
os.path.join(tmpdir, 'mypackage', 'library1'),
)
shutil.copytree(
os.path.join('tests', 'data', 'library2'),
os.path.join(tmpdir, 'mypackage', 'library2'),
)
cwd = os.getcwd()
os.chdir(tmpdir)
try:
main(
(
'--keep-submodules-relative',
os.path.join(
'mypackage', 'library1',
'subdirectory', 'bar_fixed.py',
),
),
)
finally:
os.chdir(cwd)
with open(
os.path.join(
tmpdir, 'mypackage', 'library1',
'subdirectory', 'bar_fixed.py',
),
) as fd:
result = fd.read()
expected = (
'from . import baz\n'
'from .. import foo\n'
'from mypackage.library2 import qux\n'
'from mypackage import aaa\n'
)
assert result == expected
def test_custom_submodules(tmpdir):
os.mkdir(os.path.join(tmpdir, 'mypackage'))
shutil.copytree(
os.path.join('tests', 'data', 'library1'),
os.path.join(tmpdir, 'mypackage', 'library1'),
)
shutil.copytree(
os.path.join('tests', 'data', 'library2'),
os.path.join(tmpdir, 'mypackage', 'library2'),
)
cwd = os.getcwd()
os.chdir(tmpdir)
try:
main(
(
'--keep-submodules-relative',
'--submodules',
'{\".\":[\"mypackage.library1\",\"mypackage.library2\"]}',
os.path.join(
'mypackage', 'library1',
'subdirectory', 'bar.py',
),
),
)
finally:
os.chdir(cwd)
with open(
os.path.join(
tmpdir, 'mypackage', 'library1',
'subdirectory', 'bar.py',
),
) as fd:
result = fd.read()
expected = (
'from . import baz\n'
'from .. import foo\n'
'from ..othersubdirectory import quox\n'
'from mypackage.library2 import qux\n'
'from mypackage import aaa\n'
'from datetime import dt\n'
)
assert result == expected
def test_custom_submodules_one_missing(tmpdir):
os.mkdir(os.path.join(tmpdir, 'mypackage'))
shutil.copytree(
os.path.join('tests', 'data', 'library1'),
os.path.join(tmpdir, 'mypackage', 'library1'),
)
shutil.copytree(
os.path.join('tests', 'data', 'library2'),
os.path.join(tmpdir, 'mypackage', 'library2'),
)
cwd = os.getcwd()
os.chdir(tmpdir)
try:
main(
(
'--keep-submodules-relative',
'--submodules',
'{\".\":[\"mypackage.library2\"]}',
os.path.join(
'mypackage', 'library1',
'subdirectory', 'bar.py',
),
),
)
finally:
os.chdir(cwd)
with open(
os.path.join(
tmpdir, 'mypackage', 'library1',
'subdirectory', 'bar.py',
),
) as fd:
result = fd.read()
expected = (
'from mypackage.library1.subdirectory import baz\n'
'from mypackage.library1 import foo\n'
'from mypackage.library1.othersubdirectory import quox\n'
'from mypackage.library2 import qux\n'
'from mypackage import aaa\n'
'from datetime import dt\n'
)
assert result == expected
| 25.55615
| 74
| 0.499268
| 465
| 4,779
| 5.105376
| 0.111828
| 0.070767
| 0.117944
| 0.107835
| 0.933446
| 0.923757
| 0.919545
| 0.919545
| 0.894693
| 0.894693
| 0
| 0.011018
| 0.354258
| 4,779
| 186
| 75
| 25.693548
| 0.758263
| 0
| 0
| 0.806061
| 0
| 0
| 0.308642
| 0.053986
| 0
| 0
| 0
| 0
| 0.024242
| 1
| 0.024242
| false
| 0
| 0.151515
| 0
| 0.175758
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c359e57d479cfe4891d70c0b88cebd1783a43a48
| 99
|
py
|
Python
|
dbhub/__init__.py
|
Noxormy/dbhub_pip
|
7eb6db3adf47ea00bef6e678c7154e360dd7b526
|
[
"MIT"
] | 1
|
2021-02-18T10:31:16.000Z
|
2021-02-18T10:31:16.000Z
|
dbhub/__init__.py
|
Noxormy/dbhub_pip
|
7eb6db3adf47ea00bef6e678c7154e360dd7b526
|
[
"MIT"
] | 1
|
2020-12-28T10:37:42.000Z
|
2020-12-28T10:37:42.000Z
|
dbhub/__init__.py
|
Noxormy/dbhub_pip
|
7eb6db3adf47ea00bef6e678c7154e360dd7b526
|
[
"MIT"
] | 1
|
2021-03-07T23:37:30.000Z
|
2021-03-07T23:37:30.000Z
|
from dbhub.dbhub import DbHub
def get_database(token, db_name):
return DbHub(token, db_name)
| 16.5
| 33
| 0.757576
| 16
| 99
| 4.5
| 0.625
| 0.194444
| 0.305556
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.161616
| 99
| 5
| 34
| 19.8
| 0.86747
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
6f1955330f99890900ef1d84b395a6b814d9ed50
| 19,072
|
py
|
Python
|
src/modules/pythOnline/whoIsPyth/__init__.py
|
JazziJazz/spamyton-biting-servers
|
1c2152215e490fd35484c548889fed527a1671b1
|
[
"MIT"
] | null | null | null |
src/modules/pythOnline/whoIsPyth/__init__.py
|
JazziJazz/spamyton-biting-servers
|
1c2152215e490fd35484c548889fed527a1671b1
|
[
"MIT"
] | null | null | null |
src/modules/pythOnline/whoIsPyth/__init__.py
|
JazziJazz/spamyton-biting-servers
|
1c2152215e490fd35484c548889fed527a1671b1
|
[
"MIT"
] | null | null | null |
import os
import re
import json
import random
import requests
from bs4 import BeautifulSoup
from abc import ABC, abstractmethod
class PlayersNotFoundError(Exception):
pass
class Server(ABC):
@abstractmethod
def get_players_online(self, randomized_list: bool = False) -> None: pass
class KaldroxStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://www.kaldrox.com/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class IceWarStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://baiak-icewar.com/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class DemolidoresStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://www.demolidores.com.br/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class IlusionsStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://www.baiak-ilusion.com/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class NewTibiaStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://www.newtibia.com/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class CanobStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://tibiacanob.com/onlinelist").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "characterprofile.php?name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class PbotStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://pbotwars.com.br/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class ZironStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"http://baiakziron.com/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class PesadaoStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://baiakpesadao.com/?subtopic=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=characters&name=" in player.get("href")):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
class UnderwarStrategy(Server):
def get_players_online(self, randomized_list: bool = False) -> None:
body = requests.get(
"https://www.underwar.org/?subtopic=community&page=whoisonline").content
soup = BeautifulSoup(body, "html.parser")
data = {"player": [], "online": 0}
try:
for error in soup.find_all("h3"):
if ("Error occured!" in error.get_text()):
raise PlayersNotFoundError
for player in soup.find_all("a"):
if (player.get_text() != "" and "?subtopic=community&page=characters&server=UnderWar&name=" in player.get("href") and "[" not in player.get_text() and "]" not in player.get_text()):
if (re.match("\d", player.get_text().strip())):
player_name = player.get_text(
).strip().split("-")[1].strip()
data["player"].append({"name": player_name})
data["online"] += 1
else:
player_name = player.get_text().strip()
data["player"].append({"name": player_name})
data["online"] += 1
if randomized_list:
random.shuffle(data["player"], random.random)
print(
f"\u2705 Requisição efetuada com sucesso:\n\n— Há um total de: \033[1;32m{ data['online'] }\033[0m jogadores online nesse servidor.\nCorram para plataforma 9¾!")
path = os.path.abspath(os.path.join(
os.path.dirname(__file__), "..\..\..\..\logs")) + "\players.json"
with open(path, 'w') as json_file:
json.dump(data, json_file, indent=4)
except PlayersNotFoundError:
print(
f"\u274E \033[1;31mAlgo deu errado na requisição\033[0m:\n\n— Nenhum player pode ser encontrado, o documento não foi atualizado.\nIsso só pode ser obra do 😈.")
| 43.543379
| 197
| 0.529625
| 2,174
| 19,072
| 4.570377
| 0.068537
| 0.036634
| 0.054952
| 0.054348
| 0.947061
| 0.945149
| 0.940922
| 0.940922
| 0.940922
| 0.940922
| 0
| 0.02668
| 0.329855
| 19,072
| 437
| 198
| 43.643021
| 0.746029
| 0
| 0
| 0.89759
| 0
| 0.060241
| 0.26379
| 0.027318
| 0
| 0
| 0
| 0
| 0
| 1
| 0.033133
| false
| 0.006024
| 0.021084
| 0
| 0.090361
| 0.060241
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
489d40a418757103340c8311a5f20316ba86c020
| 22,267
|
py
|
Python
|
audynesia/plugins/animation4.py
|
brut69/AudyNesia
|
6e23f1f0d8a3dc208dcb7523a5418b373250076f
|
[
"BSD-3-Clause"
] | null | null | null |
audynesia/plugins/animation4.py
|
brut69/AudyNesia
|
6e23f1f0d8a3dc208dcb7523a5418b373250076f
|
[
"BSD-3-Clause"
] | null | null | null |
audynesia/plugins/animation4.py
|
brut69/AudyNesia
|
6e23f1f0d8a3dc208dcb7523a5418b373250076f
|
[
"BSD-3-Clause"
] | null | null | null |
import asyncio
from . import edit_or_reply, mention, udy
plugin_category = "fun"
@udy.cod_cmd(
pattern="kilr(?:\s|$)([\s\S]*)",
command=("kilr", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}kilr <text>",
},
)
async def _(event):
"animation command"
name = event.pattern_match.group(1)
if not name:
name = "die"
animation_interval = 0.7
animation_ttl = range(8)
event = await edit_or_reply(event, f"**Ready Commando **__{mention}....")
animation_chars = [
"Fiiiiire",
f"__**Commando **__{mention} \n\n_/﹋\_\n (҂`_´)\n <,︻╦╤─ ҉ - \n _/﹋\_\n",
f"__**Commando **__{mention} \n\n_/﹋\_\n (҂`_´)\n <,︻╦╤─ ҉ - -\n _/﹋\_\n",
f"__**Commando **__{mention} \n\n_/﹋\_\n (҂`_´)\n <,︻╦╤─ ҉ - - -\n _/﹋\_\n",
f"__**Commando **__{mention} \n\n_/﹋\_\n (҂`_´)\n<,︻╦╤─ ҉ - -\n _/﹋\_\n",
f"__**Commando **__{mention} \n\n_/﹋\_\n (҂`_´)\n <,︻╦╤─ ҉ - \n _/﹋\_\n",
f"__**Commando **__{mention} \n\n_/﹋\_\n (҂`_´)\n <,︻╦╤─ ҉ - -\n _/﹋\_\n",
f"__**Commando **__{mention} \n\n_/﹋\_\n (҂`_´)\n <,︻╦╤─ ҉ - - - {name}\n _/﹋\_\n",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 8])
@udy.cod_cmd(
pattern="acarry$",
command=("acarry", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}acarry",
},
)
async def _(event):
"animation command"
animation_interval = 0.7
animation_ttl = range(0, 5)
cod = await edit_or_reply(event, "**Carry :- To kese hai aplog....**")
animation_chars = [
"**Carry :** \n ⣤⣶⣶⣶⣦⣤⣄⡀\n⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀\n⠀⠀⠀⢀⣾⣿⣿⣿⠿⠿⠟⠻⠿⢿⣿⣿⣿⡆\n⠀⠀⠀⢰⣿⣿⡿⠂⠀⠀⠀⠀⠀⠀ ⠈⠉⢻⡇ \n⠀⠀⠀⠈⠿⣿⣇⣠⠤⠤⠤⢤⣀⣤⠤⠤⣺⡏ \n⠀⠀⠀⠀⠐⢉⣯⠹⣀⣀⣢⡸⠉⢏⡄⣀⣯⠁ \n⠀⠀⠀⠀⠡⠀⢹⣆⠀⠀⠀⣀⡀⡰⠀⢠⠖⠂BHAUT \n⠀⠀⠀⠀⠀⠈⠙⣿⣿⠀⠠⠚⢋⡁⠀⡜ \n⠀⠀⠀⠀⠀⠀⢸⠈⠙⠦⣤⣀⣤⣤⡼⠁ \n⠀⠀⠀ ⠀⢀⡌⠀⠀⠀⠀ ⠉⢏⡉ \n⠀⠀⠀⣀⣴⣿⣷⣶⣤⣤⣤⣴⣾⣷⣶⣦⡀ \n⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄ \n⠚⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛",
"**Carry :** \n ⣤⣶⣶⣶⣦⣤⣄⡀\n⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀\n⠀⠀⠀⢀⣾⣿⣿⣿⠿⠿⠟⠻⠿⢿⣿⣿⣿⡆\n⠀⠀⠀⢰⣿⣿⡿⠂⠀⠀⠀⠀⠀⠀ ⠈⠉⢻⡇ \n⠀⠀⠀⠈⠿⣿⣇⣠⠤⠤⠤⢤⣀⣤⠤⠤⣺⡏ \n⠀⠀⠀⠀⠐⢉⣯⠹⣀⣀⣢⡸⠉⢏⡄⣀⣯⠁ \n⠀⠀⠀⠀⠡⠀⢹⣆⠀⠀⠀⣀⡀⡰⠀⢠⠖⠂BHAUT \n⠀⠀⠀⠀⠀⠈⠙⣿⣿⠀⠠⠚⢋⡁⠀⡜ BURE\n⠀⠀⠀⠀⠀⠀⢸⠈⠙⠦⣤⣀⣤⣤⡼⠁ \n⠀⠀⠀ ⠀⢀⡌⠀⠀⠀⠀ ⠉⢏⡉ \n⠀⠀⠀⣀⣴⣿⣷⣶⣤⣤⣤⣴⣾⣷⣶⣦⡀ \n⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄ \n⠚⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛",
"**Carry :** \n ⣤⣶⣶⣶⣦⣤⣄⡀\n⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀\n⠀⠀⠀⢀⣾⣿⣿⣿⠿⠿⠟⠻⠿⢿⣿⣿⣿⡆\n⠀⠀⠀⢰⣿⣿⡿⠂⠀⠀⠀⠀⠀⠀ ⠈⠉⢻⡇ \n⠀⠀⠀⠈⠿⣿⣇⣠⠤⠤⠤⢤⣀⣤⠤⠤⣺⡏ \n⠀⠀⠀⠀⠐⢉⣯⠹⣀⣀⣢⡸⠉⢏⡄⣀⣯⠁ \n⠀⠀⠀⠀⠡⠀⢹⣆⠀⠀⠀⣀⡀⡰⠀⢠⠖⠂BHAUT \n⠀⠀⠀⠀⠀⠈⠙⣿⣿⠀⠠⠚⢋⡁⠀⡜ BURE\n⠀⠀⠀⠀⠀⠀⢸⠈⠙⠦⣤⣀⣤⣤⡼⠁ HAIN \n⠀⠀⠀ ⠀⢀⡌⠀⠀⠀⠀ ⠉⢏⡉ \n⠀⠀⠀⣀⣴⣿⣷⣶⣤⣤⣤⣴⣾⣷⣶⣦⡀ \n⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄ \n⠚⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛",
"**Carry :** \n ⣤⣶⣶⣶⣦⣤⣄⡀\n⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀\n⠀⠀⠀⢀⣾⣿⣿⣿⠿⠿⠟⠻⠿⢿⣿⣿⣿⡆\n⠀⠀⠀⢰⣿⣿⡿⠂⠀⠀⠀⠀⠀⠀ ⠈⠉⢻⡇ \n⠀⠀⠀⠈⠿⣿⣇⣠⠤⠤⠤⢤⣀⣤⠤⠤⣺⡏ \n⠀⠀⠀⠀⠐⢉⣯⠹⣀⣀⣢⡸⠉⢏⡄⣀⣯⠁ \n⠀⠀⠀⠀⠡⠀⢹⣆⠀⠀⠀⣀⡀⡰⠀⢠⠖⠂BHAUT \n⠀⠀⠀⠀⠀⠈⠙⣿⣿⠀⠠⠚⢋⡁⠀⡜ BURE\n⠀⠀⠀⠀⠀⠀⢸⠈⠙⠦⣤⣀⣤⣤⡼⠁ HAIN \n⠀⠀⠀ ⠀⢀⡌⠀⠀⠀⠀ ⠉⢏⡉ HUM \n⠀⠀⠀⣀⣴⣿⣷⣶⣤⣤⣤⣴⣾⣷⣶⣦⡀ \n⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄ \n⠚⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛",
"**Carry :** \n ⣤⣶⣶⣶⣦⣤⣄⡀\n⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀\n⠀⠀⠀⢀⣾⣿⣿⣿⠿⠿⠟⠻⠿⢿⣿⣿⣿⡆\n⠀⠀⠀⢰⣿⣿⡿⠂⠀⠀⠀⠀⠀⠀ ⠈⠉⢻⡇ \n⠀⠀⠀⠈⠿⣿⣇⣠⠤⠤⠤⢤⣀⣤⠤⠤⣺⡏ \n⠀⠀⠀⠀⠐⢉⣯⠹⣀⣀⣢⡸⠉⢏⡄⣀⣯⠁ \n⠀⠀⠀⠀⠡⠀⢹⣆⠀⠀⠀⣀⡀⡰⠀⢠⠖⠂BHAUT \n⠀⠀⠀⠀⠀⠈⠙⣿⣿⠀⠠⠚⢋⡁⠀⡜ BURE\n⠀⠀⠀⠀⠀⠀⢸⠈⠙⠦⣤⣀⣤⣤⡼⠁ HAIN \n⠀⠀⠀ ⠀⢀⡌⠀⠀⠀⠀ ⠉⢏⡉ HUM LOG \n⠀⠀⠀⣀⣴⣿⣷⣶⣤⣤⣤⣴⣾⣷⣶⣦⡀ \n⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄ \n⠚⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await cod.edit(animation_chars[i % 5])
@udy.cod_cmd(
pattern="uff$",
command=("uff", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}uff",
},
)
async def _(event):
"animation command"
animation_interval = 0.7
animation_ttl = range(13)
event = await edit_or_reply(event, "Areeeh...")
animation_chars = [
"U",
"Uf",
"Uff",
"Ufffff",
"Uffffff",
"Ufffffff",
"Uffffffff",
"Ufffffffff",
"Uffffffffff",
"Ufffffffffff",
"Uffffffffffff",
"Ufffffffffffff",
"Uffffffffffffff",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 13])
@udy.cod_cmd(
pattern="hmm$",
command=("hmm", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}hmm",
},
)
async def _(event):
"animation command"
animation_interval = 0.7
animation_ttl = range(11)
event = await edit_or_reply(event, "Hm")
animation_chars = [
"Hmm",
"Hmmm",
"Hmmmm",
"Hmmmmm",
"Hmmmmmm",
"Hmmmmmmm",
"Hmmmmmmmm",
"Hmmmmmmmmm",
"Hmmmmmmmmmm",
"Hmmmmmmmmmmm",
"Hmmmmmmmmmmmm",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 11])
@udy.cod_cmd(
pattern="bigoof$",
command=("bigoof", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}bigoof",
},
)
async def _(event):
"animation command"
animation_interval = 0.2
animation_ttl = range(0, 7)
event = await edit_or_reply(
event,
"┏━━━┓╋╋╋╋┏━━━┓ \n┃┏━┓┃╋╋╋╋┃┏━┓┃ \n┃┃╋┃┣┓┏┓┏┫┃╋┃┃ \n┃┃╋┃┃┗┛┗┛┃┃╋┃┃ \n┃┗━┛┣┓┏┓┏┫┗━┛┃ \n┗━━━┛┗┛┗┛┗━━━┛",
)
animation_chars = [
"╭━━━╮╱╱╱╭━╮ \n┃╭━╮┃╱╱╱┃╭╯ \n┃┃╱┃┣━━┳╯╰╮ \n┃┃╱┃┃╭╮┣╮╭╯ \n┃╰━╯┃╰╯┃┃┃ \n╰━━━┻━━╯╰╯ ",
"╭━━━╮╱╱╱╱╱╱╭━╮ \n┃╭━╮┃╱╱╱╱╱╱┃╭╯ \n┃┃╱┃┣━━┳━━┳╯╰╮ \n┃┃╱┃┃╭╮┃╭╮┣╮╭╯ \n┃╰━╯┃╰╯┃╰╯┃┃┃ \n ╰━━━┻━━┻━━╯╰╯",
"╭━━━╮╱╱╱╱╱╱╱╱╱╭━╮ \n┃╭━╮┃╱╱╱╱╱╱╱╱╱┃╭╯ \n┃┃╱┃┣━━┳━━┳━━┳╯╰╮ \n┃┃╱┃┃╭╮┃╭╮┃╭╮┣╮╭╯ \n┃╰━╯┃╰╯┃╰╯┃╰╯┃┃┃ \n╰━━━┻━━┻━━┻━━╯╰╯",
"╭━━━╮╱╱╱╱╱╱╱╱╱╱╱╱╭━╮ \n┃╭━╮┃╱╱╱╱╱╱╱╱╱╱╱╱┃╭╯ \n┃┃╱┃┣━━┳━━┳━━┳━━┳╯╰╮ \n┃┃╱┃┃╭╮┃╭╮┃╭╮┃╭╮┣╮╭╯ \n┃╰━╯┃╰╯┃╰╯┃╰╯┃╰╯┃┃┃ \n╰━━━┻━━┻━━┻━━┻━━╯╰╯",
"╭━━━╮╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╮ \n┃╭━╮┃╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱┃╭╯ \n┃┃╱┃┣━━┳━━┳━━┳━━┳━━┳╯╰╮ \n┃┃╱┃┃╭╮┃╭╮┃╭╮┃╭╮┃╭╮┣╮╭╯ \n┃╰━╯┃╰╯┃╰╯┃╰╯┃╰╯┃╰╯┃┃┃ \n╰━━━┻━━┻━━┻━━┻━━┻━━╯╰╯",
"╭━━━╮╱╱╱╱╱╱╱╱╱╱╱╱╭━╮ \n┃╭━╮┃╱╱╱╱╱╱╱╱╱╱╱╱┃╭╯ \n┃┃╱┃┣━━┳━━┳━━┳━━┳╯╰╮ \n┃┃╱┃┃╭╮┃╭╮┃╭╮┃╭╮┣╮╭╯ \n┃╰━╯┃╰╯┃╰╯┃╰╯┃╰╯┃┃┃ \n╰━━━┻━━┻━━┻━━┻━━╯╰╯",
"╭━━━╮╱╱╱╱╱╱╱╱╱╭━╮ \n┃╭━╮┃╱╱╱╱╱╱╱╱╱┃╭╯ \n┃┃╱┃┣━━┳━━┳━━┳╯╰╮ \n┃┃╱┃┃╭╮┃╭╮┃╭╮┣╮╭╯ \n┃╰━╯┃╰╯┃╰╯┃╰╯┃┃┃ \n╰━━━┻━━┻━━┻━━╯╰╯",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 7])
@udy.cod_cmd(
pattern="eye$",
command=("eye", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}eye",
},
)
async def _(event):
"animation command"
animation_interval = 3
animation_ttl = range(10)
event = await edit_or_reply(event, "👁👁")
animation_chars = [
"👁👁\n 👄 =====> Hey, How are you?",
"👁👁\n 👅 =====> Everything okay?",
"👁👁\n 💋 =====> Why are you staring at this?",
"👁👁\n 👄 =====> You idiot",
"👁👁\n 👅 =====> Go away",
"👁👁\n 💋 =====> Stop laughing",
"👁👁\n 👄 =====> It's not funny",
"👁👁\n 👅 =====> I guess ur still looking",
"👁👁\n 💋 =====> Ok man 😑",
"👁👁\n 👄 =====> I go away then",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 10])
await asyncio.sleep(animation_interval)
await event.delete()
@udy.cod_cmd(
pattern="thinking$",
command=("thinking", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}thinking",
},
)
async def _(event):
"animation command"
animation_interval = 0.05
animation_ttl = range(288)
event = await edit_or_reply(event, "thinking..")
animation_chars = [
"THINKING",
"THI&K#N₹",
"T+IN@I?G",
"¿H$NK∆NG",
"¶H×NK&N*",
"NGITHKIN",
"T+I#K@₹G",
"THINKING",
"THI&K#N₹",
"T+IN@I?G",
"¿H$NK∆NG",
"¶H×NK&N*",
"NGITHKIN",
"T+I#K@₹G",
"THINKING",
"THI&K#N₹",
"T+IN@I?G",
"¿H$NK∆NG",
"¶H×NK&N*",
"NGITHKIN",
"T+I#K@₹G",
"THINKING",
"THI&K#N₹",
"T+IN@I?G",
"¿H$NK∆NG",
"¶H×NK&N*",
"NGITHKIN",
"T+I#K@₹G",
"THINKING",
"THI&K#N₹",
"T+IN@I?G",
"¿H$NK∆NG",
"¶H×NK&N*",
"NGITHKIN",
"T+I#K@₹G",
"THINKING... 🤔",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 36])
@udy.cod_cmd(
pattern="snake$",
command=("snake", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}snake",
},
)
async def _(event):
"animation command"
animation_interval = 0.3
animation_ttl = range(27)
event = await edit_or_reply(event, "snake..")
animation_chars = [
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◼️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◼️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◼️◻️◼️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 27])
@udy.cod_cmd(
pattern="human$",
command=("human", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}human",
},
)
async def _(event):
"animation command"
animation_interval = 0.5
animation_ttl = range(16)
event = await edit_or_reply(event, "human...")
animation_chars = [
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛🚗\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛🚗⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛🚗⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛🚗⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛🚗⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛🚗⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n🚗⬛⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜😊⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬛⬜⬛\n⬛⬛⬜⬛⬛⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬛⬛⬛⬛⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬜⬛😊⬛⬜⬛\n⬛⬛⬜⬜⬜⬛⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬛⬛⬛⬛⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬛⬜⬜⬜⬛⬛\n⬛⬜⬛⬜⬛⬜⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜😊⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 16])
@udy.cod_cmd(
pattern="virus$",
command=("virus", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}virus",
},
)
async def _(event):
"animation command"
animation_interval = 1
animation_ttl = range(30)
event = await edit_or_reply(event, "Injecting virus....")
animation_chars = [
"🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️🔴🔵🌕♓♎⛎◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️🔴🔵🌕♓♎⛎◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️\n◼️◼️◼️◼️\n◼️◼️◼️◼️\n◼️◼️◼️◼️",
"◼️◼️◼️\n◼️◼️◼️\n◼️◼️◼️",
"◼️◼️\n◼️◼️",
"◼️",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 30])
@udy.cod_cmd(
pattern="music$",
command=("music", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}music",
},
)
async def _(event):
"animation command"
animation_interval = 1.5
animation_ttl = range(11)
event = await edit_or_reply(event, "starting player...")
animation_chars = [
"⬤⬤⬤ 81% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:00** ▱▱▱▱▱▱▱▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `▶️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤⬤ 81% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:01** ▰▱▱▱▱▱▱▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤⬤ 81% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:02** ▰▰▱▱▱▱▱▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤⬤ 81% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:03** ▰▰▰▱▱▱▱▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤◯ 80% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:04** ▰▰▰▰▱▱▱▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤◯ 80% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:05** ▰▰▰▰▱▱▱▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤◯ 80% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:06** ▰▰▰▰▰▰▱▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤◯ 80% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:07** ▰▰▰▰▰▰▰▱▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤◯ 80% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:08** ▰▰▰▰▰▰▰▰▱▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤◯ 80% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:09** ▰▰▰▰▰▰▰▰▰▱ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏸️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
"⬤⬤◯ 80% ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀`✖️`\n\n⠀⠀⠀⠀⠀[cee jay Music Player](tg://user?id=916234223)\n\n⠀⠀⠀⠀**Now Playing:shape of u**\n\n**00:10** ▰▰▰▰▰▰▰▰▰▰ **00:10**\n\n⠀⠀⠀⠀⠀`🔂` `⏮️` `⏪️` `⏺️` `⏩️` `⏭️`\n\n**⠀Next Song:** __Alan Walker - Alone.__\n\n⠀⠀⠀⠀**⠀Device: Nokia 1100**",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 11])
@udy.cod_cmd(
pattern="squ$",
command=("squ", plugin_category),
info={
"header": "Fun animation try yourself to know more",
"usage": "{tr}squ",
},
)
async def _(event):
"animation command"
event = await edit_or_reply(
event, "╔═══════════════════╗ \n \n╚═══════════════════╝"
)
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n \t░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n ░ \t░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n ░ ░ ░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n ░ ░ ░ ░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n ░ ░ ░ ░ ░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit("╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝")
await asyncio.sleep(1)
await event.edit(
"╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝"
)
await asyncio.sleep(1)
await event.edit(
"╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝"
)
await asyncio.sleep(1)
await event.edit(
"╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝"
)
await asyncio.sleep(1)
await event.edit(
"╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝"
)
await asyncio.sleep(1)
await event.edit(
"╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝"
)
await asyncio.sleep(1)
await event.edit(
"╔═══════════════════╗ \n ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ \n╚═══════════════════╝"
)
| 48.092873
| 326
| 0.304352
| 2,902
| 22,267
| 5.131289
| 0.114059
| 0.012088
| 0.015714
| 0.017729
| 0.842119
| 0.832919
| 0.792156
| 0.779531
| 0.619972
| 0.612719
| 0
| 0.018274
| 0.189024
| 22,267
| 462
| 327
| 48.19697
| 0.343726
| 0
| 0
| 0.399083
| 0
| 0.052752
| 0.649885
| 0.382898
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.004587
| 0
| 0.004587
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
48d960c4ea7d10578a409b2539d6b3fa614d7ded
| 5,345
|
py
|
Python
|
python/depthwise_conv/ops.py
|
stellaraccident/iree-llvm-sandbox
|
0bc3aa93f47ace46e8a09db6727f5bd3947ae66b
|
[
"Apache-2.0"
] | 1
|
2021-12-13T05:52:02.000Z
|
2021-12-13T05:52:02.000Z
|
python/depthwise_conv/ops.py
|
stellaraccident/iree-llvm-sandbox
|
0bc3aa93f47ace46e8a09db6727f5bd3947ae66b
|
[
"Apache-2.0"
] | null | null | null |
python/depthwise_conv/ops.py
|
stellaraccident/iree-llvm-sandbox
|
0bc3aa93f47ace46e8a09db6727f5bd3947ae66b
|
[
"Apache-2.0"
] | null | null | null |
# pytype: skip-file
from mlir.ir import *
from mlir.dialects.linalg.opdsl.lang import *
@linalg_structured_op
def depthwise_conv_1d_ncw_cw(
I=TensorDef(TV.T1, S.N, S.C, S.OW * S.SW + S.KW * S.DW),
K=TensorDef(TV.T2, S.C, S.KW),
O=TensorDef(U, S.N, S.C, S.OW, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.n, D.c, D.ow, D.kw)
O[D.n, D.c, D.ow] += (
cast(U, I[D.n, D.c, D.ow * S.SW + D.kw * S.DW]) * cast(U, K[D.c, D.kw]))
@linalg_structured_op
def depthwise_conv_1d_ncw_wc(
I=TensorDef(TV.T1, S.N, S.C, S.OW * S.SW + S.KW * S.DW),
K=TensorDef(TV.T2, S.KW, S.C),
O=TensorDef(U, S.N, S.C, S.OW, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.n, D.c, D.ow, D.kw)
O[D.n, D.c, D.ow] += (
cast(U, I[D.n, D.c, D.ow * S.SW + D.kw * S.DW]) * cast(U, K[D.kw, D.c]))
@linalg_structured_op
def depthwise_conv_1d_nwc_cw(
I=TensorDef(TV.T1, S.N, S.OW * S.SW + S.KW * S.DW, S.C),
K=TensorDef(TV.T2, S.C, S.KW),
O=TensorDef(U, S.N, S.OW, S.C, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.n, D.ow, D.c, D.kw)
O[D.n, D.ow, D.c] += (
cast(U, I[D.n, D.ow * S.SW + D.kw * S.DW, D.c]) * cast(U, K[D.c, D.kw]))
@linalg_structured_op
def depthwise_conv_1d_nwc_wc(
I=TensorDef(TV.T1, S.N, S.OW * S.SW + S.KW * S.DW, S.C),
K=TensorDef(TV.T2, S.KW, S.C),
O=TensorDef(U, S.N, S.OW, S.C, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.n, D.ow, D.c, D.kw)
O[D.n, D.ow, D.c] += (
cast(U, I[D.n, D.ow * S.SW + D.kw * S.DW, D.c]) * cast(U, K[D.kw, D.c]))
@linalg_structured_op
def depthwise_conv_1d_cnw_cw(
I=TensorDef(TV.T1, S.C, S.N, S.OW * S.SW + S.KW * S.DW),
K=TensorDef(TV.T2, S.C, S.KW),
O=TensorDef(U, S.C, S.N, S.OW, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.c, D.n, D.ow, D.kw)
O[D.c, D.n, D.ow] += (
cast(U, I[D.c, D.n, D.ow * S.SW + D.kw * S.DW]) * cast(U, K[D.c, D.kw]))
@linalg_structured_op
def depthwise_conv_1d_cnw_wc(
I=TensorDef(TV.T1, S.C, S.N, S.OW * S.SW + S.KW * S.DW),
K=TensorDef(TV.T2, S.KW, S.C),
O=TensorDef(U, S.C, S.N, S.OW, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.c, D.n, D.ow, D.kw)
O[D.c, D.n, D.ow] += (
cast(U, I[D.c, D.n, D.ow * S.SW + D.kw * S.DW]) * cast(U, K[D.kw, D.c]))
@linalg_structured_op
def depthwise_conv_1d_cwn_cw(
I=TensorDef(TV.T1, S.C, S.OW * S.SW + S.KW * S.DW, S.N),
K=TensorDef(TV.T2, S.C, S.KW),
O=TensorDef(U, S.C, S.OW, S.N, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.c, D.ow, D.n, D.kw)
O[D.c, D.ow, D.n] += (
cast(U, I[D.c, D.ow * S.SW + D.kw * S.DW, D.n]) * cast(U, K[D.c, D.kw]))
@linalg_structured_op
def depthwise_conv_1d_cwn_wc(
I=TensorDef(TV.T1, S.C, S.OW * S.SW + S.KW * S.DW, S.N),
K=TensorDef(TV.T2, S.KW, S.C),
O=TensorDef(U, S.C, S.OW, S.N, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.c, D.ow, D.n, D.kw)
O[D.c, D.ow, D.n] += (
cast(U, I[D.c, D.ow * S.SW + D.kw * S.DW, D.n]) * cast(U, K[D.kw, D.c]))
@linalg_structured_op
def depthwise_conv_1d_wnc_cw(
I=TensorDef(TV.T1, S.OW * S.SW + S.KW * S.DW, S.N, S.C),
K=TensorDef(TV.T2, S.C, S.KW),
O=TensorDef(U, S.OW, S.N, S.C, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.ow, D.n, D.c, D.kw)
O[D.ow, D.n, D.c] += (
cast(U, I[D.ow * S.SW + D.kw * S.DW, D.n, D.c]) * cast(U, K[D.c, D.kw]))
@linalg_structured_op
def depthwise_conv_1d_wnc_wc(
I=TensorDef(TV.T1, S.OW * S.SW + S.KW * S.DW, S.N, S.C),
K=TensorDef(TV.T2, S.KW, S.C),
O=TensorDef(U, S.OW, S.N, S.C, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.ow, D.n, D.c, D.kw)
O[D.ow, D.n, D.c] += (
cast(U, I[D.ow * S.SW + D.kw * S.DW, D.n, D.c]) * cast(U, K[D.kw, D.c]))
@linalg_structured_op
def depthwise_conv_1d_wcn_cw(
I=TensorDef(TV.T1, S.OW * S.SW + S.KW * S.DW, S.C, S.N),
K=TensorDef(TV.T2, S.C, S.KW),
O=TensorDef(U, S.OW, S.C, S.N, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.ow, D.c, D.n, D.kw)
O[D.ow, D.c, D.n] += (
cast(U, I[D.ow * S.SW + D.kw * S.DW, D.c, D.n]) * cast(U, K[D.c, D.kw]))
@linalg_structured_op
def depthwise_conv_1d_wcn_wc(
I=TensorDef(TV.T1, S.OW * S.SW + S.KW * S.DW, S.C, S.N),
K=TensorDef(TV.T2, S.KW, S.C),
O=TensorDef(U, S.OW, S.C, S.N, output=True),
strides=AttributeDef(S.SW),
dilations=AttributeDef(S.DW)):
implements(ConvolutionOpInterface)
domain(D.ow, D.c, D.n, D.kw)
O[D.ow, D.c, D.n] += (
cast(U, I[D.ow * S.SW + D.kw * S.DW, D.c, D.n]) * cast(U, K[D.kw, D.c]))
| 33.198758
| 78
| 0.594013
| 1,118
| 5,345
| 2.775492
| 0.044723
| 0.030938
| 0.032871
| 0.081212
| 0.978408
| 0.978408
| 0.978408
| 0.978408
| 0.950048
| 0.948759
| 0
| 0.008255
| 0.184097
| 5,345
| 160
| 79
| 33.40625
| 0.703279
| 0.003181
| 0
| 0.80597
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.089552
| false
| 0
| 0.014925
| 0
| 0.104478
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
5b1438415b0f391bdb472b62eda1f54359d10da5
| 126
|
py
|
Python
|
odoo_book_meal/models/__init__.py
|
13611843966/odooExtModel
|
a4a5e6c22560604d1186fcfb0f1843c6e37f2792
|
[
"Apache-2.0"
] | 2
|
2019-12-06T04:47:49.000Z
|
2021-05-16T15:42:25.000Z
|
odoo_book_meal/models/__init__.py
|
niulinlnc/odooExtModel
|
8608aaeae7a8c86d53b68ce26b7b308f779c3dd8
|
[
"Apache-2.0"
] | null | null | null |
odoo_book_meal/models/__init__.py
|
niulinlnc/odooExtModel
|
8608aaeae7a8c86d53b68ce26b7b308f779c3dd8
|
[
"Apache-2.0"
] | 6
|
2020-03-01T08:16:07.000Z
|
2021-11-05T05:48:53.000Z
|
# -*- coding: utf-8 -*-
from . import meal_type
from . import meal_product
from . import meal_alert
from . import meal_order
| 18
| 26
| 0.722222
| 19
| 126
| 4.578947
| 0.526316
| 0.45977
| 0.643678
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009615
| 0.174603
| 126
| 6
| 27
| 21
| 0.826923
| 0.166667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
d288a13f388ca113c5aa024a59f36376d67a143b
| 5,479
|
py
|
Python
|
tests/datasets/test_text_data.py
|
Atharva-Phatak/torchflare
|
945f4bee73a855edd8cb19cd646731155499a27f
|
[
"Apache-2.0"
] | 86
|
2021-04-23T04:55:43.000Z
|
2022-03-08T05:25:27.000Z
|
tests/datasets/test_text_data.py
|
Atharva-Phatak/torchflare
|
945f4bee73a855edd8cb19cd646731155499a27f
|
[
"Apache-2.0"
] | 252
|
2021-04-20T21:48:10.000Z
|
2022-03-31T21:12:05.000Z
|
tests/datasets/test_text_data.py
|
Atharva-Phatak/torchflare
|
945f4bee73a855edd8cb19cd646731155499a27f
|
[
"Apache-2.0"
] | 8
|
2021-04-28T19:57:49.000Z
|
2021-08-09T02:31:35.000Z
|
# flake8 : noqa
from torchflare.datasets.text_data import TextDataset
import transformers
import pandas as pd
import torch
from collections import namedtuple
import pytest
from functools import partial
inputs = namedtuple("inputs", ["df", "path", "tokenizer", "max_len", "input_col", "label_col"])
tokenizer = transformers.BertTokenizer.from_pretrained("bert-base-uncased")
data_inputs = inputs(
df=pd.read_csv("tests/datasets/data/text_classification/train.csv"),
path="tests/datasets/data/text_classification/train.csv",
tokenizer=tokenizer,
max_len=128,
input_col=["tweet"],
label_col=["label"],
)
class TestTextDataDF:
def test_with_input_transforms(self):
ds = TextDataset.from_df(
df=data_inputs.df,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
).targets_from_df(target_columns=data_inputs.label_col)
x, y = ds[0]
assert isinstance(x, dict) is True
assert torch.is_tensor(y) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
@pytest.mark.parametrize("target_transforms", [partial(torch.tensor, dtype=torch.float), None])
def test_with_target_transforms(self, target_transforms):
ds = TextDataset.from_df(
df=data_inputs.df,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
).targets_from_df(
target_columns=data_inputs.label_col,
target_transforms=target_transforms,
)
x, y = ds[0]
if target_transforms is not None:
assert y.dtype == torch.float
assert isinstance(x, dict) is True
assert torch.is_tensor(y) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
def test_with_inference(self):
ds = TextDataset.from_df(
df=data_inputs.df,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
).add_test()
x = ds[0]
assert isinstance(x, dict) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
@pytest.mark.parametrize("batch_size", [1, 2, 3])
def test_batching(self, batch_size):
ds = (
TextDataset.from_df(
df=data_inputs.df,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
)
.targets_from_df(
target_columns=data_inputs.label_col,
)
.batch(batch_size=batch_size, shuffle=True)
)
x, y = next(iter(ds))
assert isinstance(x, dict) is True
assert torch.is_tensor(y) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
class TestTextDataCSV:
def test_with_input_transforms(self):
ds = TextDataset.from_csv(
csv_path=data_inputs.path,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
).targets_from_df(target_columns=data_inputs.label_col)
x, y = ds[0]
assert isinstance(x, dict) is True
assert torch.is_tensor(y) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
@pytest.mark.parametrize("target_transforms", [partial(torch.tensor, dtype=torch.float), None])
def test_with_target_transforms(self, target_transforms):
ds = TextDataset.from_csv(
csv_path=data_inputs.path,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
).targets_from_df(
target_columns=data_inputs.label_col,
target_transforms=target_transforms,
)
x, y = ds[0]
if target_transforms is not None:
assert y.dtype == torch.float
assert isinstance(x, dict) is True
assert torch.is_tensor(y) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
def test_with_inference(self):
ds = TextDataset.from_csv(
csv_path=data_inputs.path,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
).add_test()
x = ds[0]
assert isinstance(x, dict) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
@pytest.mark.parametrize("batch_size", [1, 2, 3])
def test_batching(self, batch_size):
ds = (
TextDataset.from_csv(
csv_path=data_inputs.path,
input_columns=data_inputs.input_col,
tokenizer=data_inputs.tokenizer,
max_len=data_inputs.max_len,
)
.targets_from_df(
target_columns=data_inputs.label_col,
)
.batch(batch_size=batch_size, shuffle=True)
)
x, y = next(iter(ds))
assert isinstance(x, dict) is True
assert torch.is_tensor(y) is True
for key, item in x.items():
assert torch.is_tensor(item) is True
| 33.408537
| 99
| 0.618361
| 698
| 5,479
| 4.610315
| 0.120344
| 0.121193
| 0.073959
| 0.08266
| 0.870727
| 0.870727
| 0.870727
| 0.844002
| 0.844002
| 0.827843
| 0
| 0.004111
| 0.289651
| 5,479
| 163
| 100
| 33.613497
| 0.822713
| 0.002373
| 0
| 0.791367
| 0
| 0
| 0.041179
| 0.017936
| 0
| 0
| 0
| 0
| 0.172662
| 1
| 0.057554
| false
| 0
| 0.05036
| 0
| 0.122302
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d2c36b036e20210ba0f29e278a01e1039223e7e7
| 1,722
|
py
|
Python
|
environment.py
|
amriteshbhaskar/PyProxy
|
576afc06a67af88f2f665a5185ce307687434cc4
|
[
"MIT"
] | 6
|
2018-11-13T16:30:07.000Z
|
2019-02-08T16:04:01.000Z
|
environment.py
|
amriteshbhaskar/PyProxy
|
576afc06a67af88f2f665a5185ce307687434cc4
|
[
"MIT"
] | 1
|
2019-02-08T08:10:06.000Z
|
2019-07-14T11:48:22.000Z
|
environment.py
|
amriteshbhaskar/PyProxy
|
576afc06a67af88f2f665a5185ce307687434cc4
|
[
"MIT"
] | 1
|
2019-02-08T07:16:28.000Z
|
2019-02-08T07:16:28.000Z
|
#!/usr/bin/python3
import os
def set_proxy(host_ip, host_port, auth_choice, pc_username, username, password):
file_temp = open('/etc/enviromnent_temp', 'w+')
file_ob = open('/etc/environment', 'r')
for line in file_ob.readlines():
if 'http_proxy' in line or 'https_proxy' in line or 'ftp_proxy' in line or line.isspace():
continue
else:
file_temp.write(line)
if auth_choice == 'yes':
file_temp.write("\n" + 'http_proxy=\'http://'+ username + ':'+ password + '@' + host_ip +':' + host_port + '\''+ '\n')
file_temp.write('https_proxy=\'http://'+ username + ':'+ password + '@' + host_ip + ':' + host_port + '\''+ '\n')
file_temp.write('ftp_proxy=\'ftp://'+ username + ':'+ password + '@' + host_ip + ':' + host_port + '\'' + '\n')
elif auth_choice == 'no':
file_temp.write("\n" + 'http_proxy=\'http://' + host_ip +':' + host_port + '\''+ '\n')
file_temp.write('https_proxy=\'http://' + host_ip + ':' + host_port + '\''+ '\n')
file_temp.write('ftp_proxy=\'ftp://' + host_ip + ':' + host_port + '\'' + '\n')
file_ob.close()
file_temp.close()
os.remove('/etc/environment')
os.rename('/etc/enviromnent_temp', '/etc/environment')
def unset_proxy():
file_temp = open('/etc/enviromnent_temp', 'w+')
file_ob = open('/etc/environment', 'r')
for line in file_ob.readlines():
if 'http_proxy' in line or 'https_proxy' in line or 'ftp_proxy' in line or line.isspace():
continue
else:
file_temp.write(line)
file_ob.close()
file_temp.close()
os.remove('/etc/environment')
os.rename('/etc/enviromnent_temp', '/etc/environment')
| 43.05
| 127
| 0.576074
| 223
| 1,722
| 4.206278
| 0.206278
| 0.102345
| 0.110874
| 0.104478
| 0.865672
| 0.865672
| 0.84968
| 0.778252
| 0.778252
| 0.778252
| 0
| 0.000746
| 0.221835
| 1,722
| 39
| 128
| 44.153846
| 0.699254
| 0.009872
| 0
| 0.666667
| 0
| 0
| 0.34331
| 0.049296
| 0
| 0
| 0
| 0
| 0
| 1
| 0.060606
| false
| 0.121212
| 0.030303
| 0
| 0.090909
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
d2d4b72ae4b54b5b93293c65b182154649f796da
| 14,334
|
py
|
Python
|
collections/nemo_nlp/nemo_nlp/modules/transformer_nm.py
|
eanmikale/NeMo
|
a8b05c11b70e33e3550dbf9bffaed49537bfc07a
|
[
"Apache-2.0"
] | null | null | null |
collections/nemo_nlp/nemo_nlp/modules/transformer_nm.py
|
eanmikale/NeMo
|
a8b05c11b70e33e3550dbf9bffaed49537bfc07a
|
[
"Apache-2.0"
] | null | null | null |
collections/nemo_nlp/nemo_nlp/modules/transformer_nm.py
|
eanmikale/NeMo
|
a8b05c11b70e33e3550dbf9bffaed49537bfc07a
|
[
"Apache-2.0"
] | null | null | null |
# Copyright (c) 2019 NVIDIA Corporation
"""
This package contains Transformer for translation Neural Module
"""
__all__ = ['TransformerEncoderNM',
'TransformerDecoderNM',
'GreedyLanguageGeneratorNM',
'BeamSearchTranslatorNM']
import math
from nemo.backends.pytorch.nm import TrainableNM, LossNM
from nemo.core.neural_types import *
from ..transformer import (TransformerEmbedding,
TransformerEncoder,
TransformerDecoder,
GreedySequenceGenerator,
BeamSearchSequenceGenerator)
from ..transformer.utils import transformer_weights_init
class TransformerEncoderNM(TrainableNM):
"""
Neural module which consists of embedding layer followed by Transformer
encoder.
Args:
vocab_size: size of the vocabulary (number of tokens)
d_model: hidden size (d_model) of the Transformer
max_seq_length: maximum allowed length of input sequences, feeding
longer sequences will cause an error
embedding_dropout: dropout ratio applied to embeddings
learn_positional_encodings: bool, whether to learn positional encoding
or use fixed sinusoidal encodings
num_layers: number of layers in Transformer encoder
mask_future: bool, whether to apply triangular future masking to the
sequence of hidden states (which allows to use it for LM)
num_attn_heads: number of attention heads
d_inner: number of neurons in the intermediate part of feed-forward
network (FFN)
ffn_dropout: dropout ratio applied to FFN
attn_score_dropout: dropout ratio applied to attention scores
attn_layer_dropout: dropout ratio applied to the output of attn layer
hidden_act: activation function applied in intermediate FFN module
"""
@property
def input_ports(self):
"""Returns definitions of module input ports.
input_ids:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
input_mask_src:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
"""
return {
"input_ids": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
}),
"input_mask_src": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
}),
}
@property
def output_ports(self):
"""Returns definitions of module output ports.
hidden_states:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
2: AxisType(ChannelTag)
"""
return {
"hidden_states": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag),
2: AxisType(ChannelTag)
})
}
def __init__(self,
vocab_size,
d_model,
d_inner,
max_seq_length,
num_layers,
num_attn_heads,
ffn_dropout=0.0,
embedding_dropout=0.0,
attn_score_dropout=0.0,
attn_layer_dropout=0.0,
learn_positional_encodings=False,
hidden_act='relu',
mask_future=False,
**kwargs):
TrainableNM.__init__(self, **kwargs)
self.embedding_layer = TransformerEmbedding(
vocab_size=vocab_size,
hidden_size=d_model,
max_sequence_length=max_seq_length,
embedding_dropout=embedding_dropout,
learn_positional_encodings=learn_positional_encodings)
self.encoder = TransformerEncoder(
num_layers=num_layers,
hidden_size=d_model,
mask_future=mask_future,
num_attention_heads=num_attn_heads,
inner_size=d_inner,
ffn_dropout=ffn_dropout,
hidden_act=hidden_act,
attn_score_dropout=attn_score_dropout,
attn_layer_dropout=attn_layer_dropout)
std_init_range = 1 / math.sqrt(d_model)
self.apply(lambda module: transformer_weights_init(module,
std_init_range))
self.to(self._device)
def forward(self, input_ids, input_mask_src):
hidden_states = self.embedding_layer(input_ids)
hidden_states = self.encoder(hidden_states, input_mask_src)
return hidden_states
class TransformerDecoderNM(TrainableNM):
"""
Neural module which consists of embedding layer followed by Transformer
decoder.
Args:
vocab_size: size of the vocabulary (number of tokens)
d_model: hidden size (d_model) of the Transformer
max_seq_length: maximum allowed length of input sequences, feeding
longer sequences will cause an error
embedding_dropout: dropout ratio applied to embeddings
learn_positional_encodings: bool, whether to learn positional encoding
or use fixed sinusoidal encodings
num_layers: number of layers in Transformer decoder
num_attn_heads: number of attention heads
d_inner: number of neurons in the intermediate part of feed-forward
network (FFN)
ffn_dropout: dropout ratio applied to FFN
attn_score_dropout: dropout ratio applied to attention scores
attn_layer_dropout: dropout ratio applied to the output of attn layer
hidden_act: activation function applied in intermediate FFN module
"""
@property
def input_ports(self):
"""Returns definitions of module input ports.
input_ids_tgt:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
hidden_states_src:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
2: AxisType(ChannelTag)
input_mask_src:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
input_mask_tgt:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
"""
return {
"input_ids_tgt": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
}),
"hidden_states_src": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag),
2: AxisType(ChannelTag)
}),
"input_mask_src": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
}),
"input_mask_tgt": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
})
}
@property
def output_ports(self):
"""Returns definitions of module output ports.
hidden_states:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
2: AxisType(ChannelTag)
"""
return {
"hidden_states": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag),
2: AxisType(ChannelTag)
})
}
def __init__(self,
vocab_size,
d_model,
d_inner,
num_layers,
max_seq_length,
num_attn_heads,
ffn_dropout=0.0,
embedding_dropout=0.0,
attn_score_dropout=0.0,
attn_layer_dropout=0.0,
learn_positional_encodings=False,
hidden_act='relu',
**kwargs):
TrainableNM.__init__(self, **kwargs)
self.embedding_layer = TransformerEmbedding(
vocab_size=vocab_size,
hidden_size=d_model,
max_sequence_length=max_seq_length,
embedding_dropout=embedding_dropout,
learn_positional_encodings=learn_positional_encodings
)
self.decoder = TransformerDecoder(
num_layers=num_layers,
hidden_size=d_model,
num_attention_heads=num_attn_heads,
inner_size=d_inner,
ffn_dropout=ffn_dropout,
hidden_act=hidden_act,
attn_score_dropout=attn_score_dropout,
attn_layer_dropout=attn_layer_dropout
)
std_init_range = 1 / math.sqrt(d_model)
self.apply(lambda module: transformer_weights_init(module,
std_init_range))
self.to(self._device)
def forward(self,
input_ids_tgt,
hidden_states_src,
input_mask_src,
input_mask_tgt):
hidden_states_tgt = self.embedding_layer(input_ids_tgt)
hidden_states = self.decoder(hidden_states_tgt,
input_mask_tgt,
hidden_states_src,
input_mask_src)
return hidden_states
class GreedyLanguageGeneratorNM(TrainableNM):
"""
Neural module for greedy text generation with language model
Args:
decoder: module which maps input_ids into hidden_states
log_softmax: module which maps hidden_states into log_probs
max_seq_length: maximum allowed length of generated sequences
pad_token: index of padding token in the vocabulary
bos_token: index of beginning of sequence token in the vocabulary
eos_token: index of end of sequence token in the vocabulary
batch_size: size of the batch of generated sequences if no starting
tokens are provided
"""
@property
def input_ports(self):
"""Returns definitions of module input ports.
input_ids:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
"""
return {
"input_ids": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
})
}
@property
def output_ports(self):
"""Returns definitions of module output ports.
output_ids:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
"""
return {
"output_ids": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
})
}
def __init__(self,
decoder,
log_softmax,
max_seq_length,
pad_token,
bos_token,
eos_token,
batch_size=1,
**kwargs):
TrainableNM.__init__(self, **kwargs)
self.generator = GreedySequenceGenerator(
decoder.embedding_layer,
decoder.decoder,
log_softmax,
max_sequence_length=max_seq_length,
pad=pad_token,
bos=bos_token,
eos=eos_token,
batch_size=batch_size
)
@property
def num_weights(self):
return 0
def forward(self, input_ids):
output_ids = self.generator(decoder_input_ids=input_ids)
return output_ids
class BeamSearchTranslatorNM(TrainableNM):
"""
Neural module for beam search translation generation
Args:
decoder: module which maps input_ids into hidden_states
log_softmax: module which maps hidden_states into log_probs
max_seq_length: maximum allowed length of generated sequences
pad_token: index of padding token in the vocabulary
bos_token: index of beginning of sequence token in the vocabulary
eos_token: index of end of sequence token in the vocabulary
batch_size: size of the batch of generated sequences if no starting
tokens are provided
beam_size: size of the beam
max_delta_length: maximum allowed difference between generated output
and input sequence in case of conditional decoding
length_penalty: parameter which penalizes shorter sequences
"""
@property
def input_ports(self):
"""Returns definitions of module input ports.
hidden_states_src:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
2: AxisType(ChannelTag)
input_mask_src:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
"""
return {
"hidden_states_src":
NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag),
2: AxisType(ChannelTag)
}),
"input_mask_src":
NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
})
}
@property
def output_ports(self):
"""Returns definitions of module output ports.
output_ids:
0: AxisType(BatchTag)
1: AxisType(TimeTag)
"""
return {
"output_ids": NeuralType({
0: AxisType(BatchTag),
1: AxisType(TimeTag)
})
}
@property
def num_weights(self):
return 0
def __init__(self,
decoder,
log_softmax,
max_seq_length,
pad_token,
bos_token,
eos_token,
batch_size=1,
beam_size=4,
max_delta_length=50,
length_penalty=0,
**kwargs):
TrainableNM.__init__(self, **kwargs)
self.generator = BeamSearchSequenceGenerator(
decoder.embedding_layer,
decoder.decoder,
log_softmax,
max_sequence_length=max_seq_length,
max_delta_length=max_delta_length,
pad=pad_token,
bos=bos_token,
eos=eos_token,
batch_size=batch_size,
beam_size=beam_size,
len_pen=length_penalty
)
def forward(self, hidden_states_src, input_mask_src):
output_ids = self.generator(encoder_hidden_states=hidden_states_src,
encoder_input_mask=input_mask_src)
return output_ids
| 31.434211
| 78
| 0.571159
| 1,442
| 14,334
| 5.413315
| 0.127601
| 0.039969
| 0.056623
| 0.059954
| 0.808481
| 0.793236
| 0.789777
| 0.763003
| 0.745452
| 0.727902
| 0
| 0.009928
| 0.367588
| 14,334
| 455
| 79
| 31.503297
| 0.851186
| 0.33445
| 0
| 0.731225
| 0
| 0
| 0.029827
| 0.005351
| 0
| 0
| 0
| 0
| 0
| 1
| 0.071146
| false
| 0
| 0.019763
| 0.007905
| 0.162055
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9620ce6fcf9a2b313a734a54cb47022ea4756d59
| 36,707
|
py
|
Python
|
cerastes/protobuf/application_history_server_pb2.py
|
yassineazzouz/pyarn
|
90ceef51e399e319e6a94cb5e950f47dacf8821a
|
[
"MIT"
] | 1
|
2021-11-16T02:38:05.000Z
|
2021-11-16T02:38:05.000Z
|
cerastes/protobuf/application_history_server_pb2.py
|
yassineazzouz/pyarn
|
90ceef51e399e319e6a94cb5e950f47dacf8821a
|
[
"MIT"
] | 6
|
2017-03-03T01:59:14.000Z
|
2017-03-05T17:34:52.000Z
|
cerastes/protobuf/application_history_server_pb2.py
|
yassineazzouz/pyarn
|
90ceef51e399e319e6a94cb5e950f47dacf8821a
|
[
"MIT"
] | 3
|
2017-10-10T19:25:47.000Z
|
2021-09-17T02:46:07.000Z
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
from google.protobuf import descriptor
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
import yarn_protos_pb2
DESCRIPTOR = descriptor.FileDescriptor(
name='application_history_server.proto',
package='hadoop.yarn',
serialized_pb='\n application_history_server.proto\x12\x0bhadoop.yarn\x1a\x11yarn_protos.proto\"\x93\x03\n\x1b\x41pplicationHistoryDataProto\x12\x37\n\x0e\x61pplication_id\x18\x01 \x01(\x0b\x32\x1f.hadoop.yarn.ApplicationIdProto\x12\x18\n\x10\x61pplication_name\x18\x02 \x01(\t\x12\x18\n\x10\x61pplication_type\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\r\n\x05queue\x18\x05 \x01(\t\x12\x13\n\x0bsubmit_time\x18\x06 \x01(\x03\x12\x12\n\nstart_time\x18\x07 \x01(\x03\x12\x13\n\x0b\x66inish_time\x18\x08 \x01(\x03\x12\x18\n\x10\x64iagnostics_info\x18\t \x01(\t\x12J\n\x18\x66inal_application_status\x18\n \x01(\x0e\x32(.hadoop.yarn.FinalApplicationStatusProto\x12\x46\n\x16yarn_application_state\x18\x0b \x01(\x0e\x32&.hadoop.yarn.YarnApplicationStateProto\"\xce\x01\n\x19\x41pplicationStartDataProto\x12\x37\n\x0e\x61pplication_id\x18\x01 \x01(\x0b\x32\x1f.hadoop.yarn.ApplicationIdProto\x12\x18\n\x10\x61pplication_name\x18\x02 \x01(\t\x12\x18\n\x10\x61pplication_type\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\r\n\x05queue\x18\x05 \x01(\t\x12\x13\n\x0bsubmit_time\x18\x06 \x01(\x03\x12\x12\n\nstart_time\x18\x07 \x01(\x03\"\x98\x02\n\x1a\x41pplicationFinishDataProto\x12\x37\n\x0e\x61pplication_id\x18\x01 \x01(\x0b\x32\x1f.hadoop.yarn.ApplicationIdProto\x12\x13\n\x0b\x66inish_time\x18\x02 \x01(\x03\x12\x18\n\x10\x64iagnostics_info\x18\x03 \x01(\t\x12J\n\x18\x66inal_application_status\x18\x04 \x01(\x0e\x32(.hadoop.yarn.FinalApplicationStatusProto\x12\x46\n\x16yarn_application_state\x18\x05 \x01(\x0e\x32&.hadoop.yarn.YarnApplicationStateProto\"\x9b\x03\n\"ApplicationAttemptHistoryDataProto\x12\x46\n\x16\x61pplication_attempt_id\x18\x01 \x01(\x0b\x32&.hadoop.yarn.ApplicationAttemptIdProto\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x10\n\x08rpc_port\x18\x03 \x01(\x05\x12\x14\n\x0ctracking_url\x18\x04 \x01(\t\x12\x18\n\x10\x64iagnostics_info\x18\x05 \x01(\t\x12J\n\x18\x66inal_application_status\x18\x06 \x01(\x0e\x32(.hadoop.yarn.FinalApplicationStatusProto\x12:\n\x13master_container_id\x18\x07 \x01(\x0b\x32\x1d.hadoop.yarn.ContainerIdProto\x12U\n\x1eyarn_application_attempt_state\x18\x08 \x01(\x0e\x32-.hadoop.yarn.YarnApplicationAttemptStateProto\"\xc6\x01\n ApplicationAttemptStartDataProto\x12\x46\n\x16\x61pplication_attempt_id\x18\x01 \x01(\x0b\x32&.hadoop.yarn.ApplicationAttemptIdProto\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x10\n\x08rpc_port\x18\x03 \x01(\x05\x12:\n\x13master_container_id\x18\x04 \x01(\x0b\x32\x1d.hadoop.yarn.ContainerIdProto\"\xbe\x02\n!ApplicationAttemptFinishDataProto\x12\x46\n\x16\x61pplication_attempt_id\x18\x01 \x01(\x0b\x32&.hadoop.yarn.ApplicationAttemptIdProto\x12\x14\n\x0ctracking_url\x18\x02 \x01(\t\x12\x18\n\x10\x64iagnostics_info\x18\x03 \x01(\t\x12J\n\x18\x66inal_application_status\x18\x04 \x01(\x0e\x32(.hadoop.yarn.FinalApplicationStatusProto\x12U\n\x1eyarn_application_attempt_state\x18\x05 \x01(\x0e\x32-.hadoop.yarn.YarnApplicationAttemptStateProto\"\x87\x03\n\x19\x43ontainerHistoryDataProto\x12\x33\n\x0c\x63ontainer_id\x18\x01 \x01(\x0b\x32\x1d.hadoop.yarn.ContainerIdProto\x12\x36\n\x12\x61llocated_resource\x18\x02 \x01(\x0b\x32\x1a.hadoop.yarn.ResourceProto\x12\x32\n\x10\x61ssigned_node_id\x18\x03 \x01(\x0b\x32\x18.hadoop.yarn.NodeIdProto\x12,\n\x08priority\x18\x04 \x01(\x0b\x32\x1a.hadoop.yarn.PriorityProto\x12\x12\n\nstart_time\x18\x05 \x01(\x03\x12\x13\n\x0b\x66inish_time\x18\x06 \x01(\x03\x12\x18\n\x10\x64iagnostics_info\x18\x07 \x01(\t\x12\x1d\n\x15\x63ontainer_exit_status\x18\x08 \x01(\x05\x12\x39\n\x0f\x63ontainer_state\x18\t \x01(\x0e\x32 .hadoop.yarn.ContainerStateProto\"\xfc\x01\n\x17\x43ontainerStartDataProto\x12\x33\n\x0c\x63ontainer_id\x18\x01 \x01(\x0b\x32\x1d.hadoop.yarn.ContainerIdProto\x12\x36\n\x12\x61llocated_resource\x18\x02 \x01(\x0b\x32\x1a.hadoop.yarn.ResourceProto\x12\x32\n\x10\x61ssigned_node_id\x18\x03 \x01(\x0b\x32\x18.hadoop.yarn.NodeIdProto\x12,\n\x08priority\x18\x04 \x01(\x0b\x32\x1a.hadoop.yarn.PriorityProto\x12\x12\n\nstart_time\x18\x05 \x01(\x03\"\xd8\x01\n\x18\x43ontainerFinishDataProto\x12\x33\n\x0c\x63ontainer_id\x18\x01 \x01(\x0b\x32\x1d.hadoop.yarn.ContainerIdProto\x12\x13\n\x0b\x66inish_time\x18\x02 \x01(\x03\x12\x18\n\x10\x64iagnostics_info\x18\x03 \x01(\t\x12\x1d\n\x15\x63ontainer_exit_status\x18\x04 \x01(\x05\x12\x39\n\x0f\x63ontainer_state\x18\x05 \x01(\x0e\x32 .hadoop.yarn.ContainerStateProtoBG\n\x1corg.apache.hadoop.yarn.protoB\x1e\x41pplicationHistoryServerProtos\x88\x01\x01\x90\x01\x01\xa0\x01\x01')
_APPLICATIONHISTORYDATAPROTO = descriptor.Descriptor(
name='ApplicationHistoryDataProto',
full_name='hadoop.yarn.ApplicationHistoryDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='application_id', full_name='hadoop.yarn.ApplicationHistoryDataProto.application_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='application_name', full_name='hadoop.yarn.ApplicationHistoryDataProto.application_name', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='application_type', full_name='hadoop.yarn.ApplicationHistoryDataProto.application_type', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='user', full_name='hadoop.yarn.ApplicationHistoryDataProto.user', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='queue', full_name='hadoop.yarn.ApplicationHistoryDataProto.queue', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='submit_time', full_name='hadoop.yarn.ApplicationHistoryDataProto.submit_time', index=5,
number=6, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='start_time', full_name='hadoop.yarn.ApplicationHistoryDataProto.start_time', index=6,
number=7, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='finish_time', full_name='hadoop.yarn.ApplicationHistoryDataProto.finish_time', index=7,
number=8, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='diagnostics_info', full_name='hadoop.yarn.ApplicationHistoryDataProto.diagnostics_info', index=8,
number=9, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='final_application_status', full_name='hadoop.yarn.ApplicationHistoryDataProto.final_application_status', index=9,
number=10, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='yarn_application_state', full_name='hadoop.yarn.ApplicationHistoryDataProto.yarn_application_state', index=10,
number=11, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=69,
serialized_end=472,
)
_APPLICATIONSTARTDATAPROTO = descriptor.Descriptor(
name='ApplicationStartDataProto',
full_name='hadoop.yarn.ApplicationStartDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='application_id', full_name='hadoop.yarn.ApplicationStartDataProto.application_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='application_name', full_name='hadoop.yarn.ApplicationStartDataProto.application_name', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='application_type', full_name='hadoop.yarn.ApplicationStartDataProto.application_type', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='user', full_name='hadoop.yarn.ApplicationStartDataProto.user', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='queue', full_name='hadoop.yarn.ApplicationStartDataProto.queue', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='submit_time', full_name='hadoop.yarn.ApplicationStartDataProto.submit_time', index=5,
number=6, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='start_time', full_name='hadoop.yarn.ApplicationStartDataProto.start_time', index=6,
number=7, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=475,
serialized_end=681,
)
_APPLICATIONFINISHDATAPROTO = descriptor.Descriptor(
name='ApplicationFinishDataProto',
full_name='hadoop.yarn.ApplicationFinishDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='application_id', full_name='hadoop.yarn.ApplicationFinishDataProto.application_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='finish_time', full_name='hadoop.yarn.ApplicationFinishDataProto.finish_time', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='diagnostics_info', full_name='hadoop.yarn.ApplicationFinishDataProto.diagnostics_info', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='final_application_status', full_name='hadoop.yarn.ApplicationFinishDataProto.final_application_status', index=3,
number=4, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='yarn_application_state', full_name='hadoop.yarn.ApplicationFinishDataProto.yarn_application_state', index=4,
number=5, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=684,
serialized_end=964,
)
_APPLICATIONATTEMPTHISTORYDATAPROTO = descriptor.Descriptor(
name='ApplicationAttemptHistoryDataProto',
full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='application_attempt_id', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.application_attempt_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='host', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.host', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='rpc_port', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.rpc_port', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='tracking_url', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.tracking_url', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='diagnostics_info', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.diagnostics_info', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='final_application_status', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.final_application_status', index=5,
number=6, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='master_container_id', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.master_container_id', index=6,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='yarn_application_attempt_state', full_name='hadoop.yarn.ApplicationAttemptHistoryDataProto.yarn_application_attempt_state', index=7,
number=8, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=967,
serialized_end=1378,
)
_APPLICATIONATTEMPTSTARTDATAPROTO = descriptor.Descriptor(
name='ApplicationAttemptStartDataProto',
full_name='hadoop.yarn.ApplicationAttemptStartDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='application_attempt_id', full_name='hadoop.yarn.ApplicationAttemptStartDataProto.application_attempt_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='host', full_name='hadoop.yarn.ApplicationAttemptStartDataProto.host', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='rpc_port', full_name='hadoop.yarn.ApplicationAttemptStartDataProto.rpc_port', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='master_container_id', full_name='hadoop.yarn.ApplicationAttemptStartDataProto.master_container_id', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=1381,
serialized_end=1579,
)
_APPLICATIONATTEMPTFINISHDATAPROTO = descriptor.Descriptor(
name='ApplicationAttemptFinishDataProto',
full_name='hadoop.yarn.ApplicationAttemptFinishDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='application_attempt_id', full_name='hadoop.yarn.ApplicationAttemptFinishDataProto.application_attempt_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='tracking_url', full_name='hadoop.yarn.ApplicationAttemptFinishDataProto.tracking_url', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='diagnostics_info', full_name='hadoop.yarn.ApplicationAttemptFinishDataProto.diagnostics_info', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='final_application_status', full_name='hadoop.yarn.ApplicationAttemptFinishDataProto.final_application_status', index=3,
number=4, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='yarn_application_attempt_state', full_name='hadoop.yarn.ApplicationAttemptFinishDataProto.yarn_application_attempt_state', index=4,
number=5, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=1582,
serialized_end=1900,
)
_CONTAINERHISTORYDATAPROTO = descriptor.Descriptor(
name='ContainerHistoryDataProto',
full_name='hadoop.yarn.ContainerHistoryDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='container_id', full_name='hadoop.yarn.ContainerHistoryDataProto.container_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='allocated_resource', full_name='hadoop.yarn.ContainerHistoryDataProto.allocated_resource', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='assigned_node_id', full_name='hadoop.yarn.ContainerHistoryDataProto.assigned_node_id', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='priority', full_name='hadoop.yarn.ContainerHistoryDataProto.priority', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='start_time', full_name='hadoop.yarn.ContainerHistoryDataProto.start_time', index=4,
number=5, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='finish_time', full_name='hadoop.yarn.ContainerHistoryDataProto.finish_time', index=5,
number=6, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='diagnostics_info', full_name='hadoop.yarn.ContainerHistoryDataProto.diagnostics_info', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='container_exit_status', full_name='hadoop.yarn.ContainerHistoryDataProto.container_exit_status', index=7,
number=8, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='container_state', full_name='hadoop.yarn.ContainerHistoryDataProto.container_state', index=8,
number=9, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=1903,
serialized_end=2294,
)
_CONTAINERSTARTDATAPROTO = descriptor.Descriptor(
name='ContainerStartDataProto',
full_name='hadoop.yarn.ContainerStartDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='container_id', full_name='hadoop.yarn.ContainerStartDataProto.container_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='allocated_resource', full_name='hadoop.yarn.ContainerStartDataProto.allocated_resource', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='assigned_node_id', full_name='hadoop.yarn.ContainerStartDataProto.assigned_node_id', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='priority', full_name='hadoop.yarn.ContainerStartDataProto.priority', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='start_time', full_name='hadoop.yarn.ContainerStartDataProto.start_time', index=4,
number=5, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=2297,
serialized_end=2549,
)
_CONTAINERFINISHDATAPROTO = descriptor.Descriptor(
name='ContainerFinishDataProto',
full_name='hadoop.yarn.ContainerFinishDataProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='container_id', full_name='hadoop.yarn.ContainerFinishDataProto.container_id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='finish_time', full_name='hadoop.yarn.ContainerFinishDataProto.finish_time', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='diagnostics_info', full_name='hadoop.yarn.ContainerFinishDataProto.diagnostics_info', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='container_exit_status', full_name='hadoop.yarn.ContainerFinishDataProto.container_exit_status', index=3,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='container_state', full_name='hadoop.yarn.ContainerFinishDataProto.container_state', index=4,
number=5, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=2552,
serialized_end=2768,
)
_APPLICATIONHISTORYDATAPROTO.fields_by_name['application_id'].message_type = yarn_protos_pb2._APPLICATIONIDPROTO
_APPLICATIONHISTORYDATAPROTO.fields_by_name['final_application_status'].enum_type = yarn_protos_pb2._FINALAPPLICATIONSTATUSPROTO
_APPLICATIONHISTORYDATAPROTO.fields_by_name['yarn_application_state'].enum_type = yarn_protos_pb2._YARNAPPLICATIONSTATEPROTO
_APPLICATIONSTARTDATAPROTO.fields_by_name['application_id'].message_type = yarn_protos_pb2._APPLICATIONIDPROTO
_APPLICATIONFINISHDATAPROTO.fields_by_name['application_id'].message_type = yarn_protos_pb2._APPLICATIONIDPROTO
_APPLICATIONFINISHDATAPROTO.fields_by_name['final_application_status'].enum_type = yarn_protos_pb2._FINALAPPLICATIONSTATUSPROTO
_APPLICATIONFINISHDATAPROTO.fields_by_name['yarn_application_state'].enum_type = yarn_protos_pb2._YARNAPPLICATIONSTATEPROTO
_APPLICATIONATTEMPTHISTORYDATAPROTO.fields_by_name['application_attempt_id'].message_type = yarn_protos_pb2._APPLICATIONATTEMPTIDPROTO
_APPLICATIONATTEMPTHISTORYDATAPROTO.fields_by_name['final_application_status'].enum_type = yarn_protos_pb2._FINALAPPLICATIONSTATUSPROTO
_APPLICATIONATTEMPTHISTORYDATAPROTO.fields_by_name['master_container_id'].message_type = yarn_protos_pb2._CONTAINERIDPROTO
_APPLICATIONATTEMPTHISTORYDATAPROTO.fields_by_name['yarn_application_attempt_state'].enum_type = yarn_protos_pb2._YARNAPPLICATIONATTEMPTSTATEPROTO
_APPLICATIONATTEMPTSTARTDATAPROTO.fields_by_name['application_attempt_id'].message_type = yarn_protos_pb2._APPLICATIONATTEMPTIDPROTO
_APPLICATIONATTEMPTSTARTDATAPROTO.fields_by_name['master_container_id'].message_type = yarn_protos_pb2._CONTAINERIDPROTO
_APPLICATIONATTEMPTFINISHDATAPROTO.fields_by_name['application_attempt_id'].message_type = yarn_protos_pb2._APPLICATIONATTEMPTIDPROTO
_APPLICATIONATTEMPTFINISHDATAPROTO.fields_by_name['final_application_status'].enum_type = yarn_protos_pb2._FINALAPPLICATIONSTATUSPROTO
_APPLICATIONATTEMPTFINISHDATAPROTO.fields_by_name['yarn_application_attempt_state'].enum_type = yarn_protos_pb2._YARNAPPLICATIONATTEMPTSTATEPROTO
_CONTAINERHISTORYDATAPROTO.fields_by_name['container_id'].message_type = yarn_protos_pb2._CONTAINERIDPROTO
_CONTAINERHISTORYDATAPROTO.fields_by_name['allocated_resource'].message_type = yarn_protos_pb2._RESOURCEPROTO
_CONTAINERHISTORYDATAPROTO.fields_by_name['assigned_node_id'].message_type = yarn_protos_pb2._NODEIDPROTO
_CONTAINERHISTORYDATAPROTO.fields_by_name['priority'].message_type = yarn_protos_pb2._PRIORITYPROTO
_CONTAINERHISTORYDATAPROTO.fields_by_name['container_state'].enum_type = yarn_protos_pb2._CONTAINERSTATEPROTO
_CONTAINERSTARTDATAPROTO.fields_by_name['container_id'].message_type = yarn_protos_pb2._CONTAINERIDPROTO
_CONTAINERSTARTDATAPROTO.fields_by_name['allocated_resource'].message_type = yarn_protos_pb2._RESOURCEPROTO
_CONTAINERSTARTDATAPROTO.fields_by_name['assigned_node_id'].message_type = yarn_protos_pb2._NODEIDPROTO
_CONTAINERSTARTDATAPROTO.fields_by_name['priority'].message_type = yarn_protos_pb2._PRIORITYPROTO
_CONTAINERFINISHDATAPROTO.fields_by_name['container_id'].message_type = yarn_protos_pb2._CONTAINERIDPROTO
_CONTAINERFINISHDATAPROTO.fields_by_name['container_state'].enum_type = yarn_protos_pb2._CONTAINERSTATEPROTO
DESCRIPTOR.message_types_by_name['ApplicationHistoryDataProto'] = _APPLICATIONHISTORYDATAPROTO
DESCRIPTOR.message_types_by_name['ApplicationStartDataProto'] = _APPLICATIONSTARTDATAPROTO
DESCRIPTOR.message_types_by_name['ApplicationFinishDataProto'] = _APPLICATIONFINISHDATAPROTO
DESCRIPTOR.message_types_by_name['ApplicationAttemptHistoryDataProto'] = _APPLICATIONATTEMPTHISTORYDATAPROTO
DESCRIPTOR.message_types_by_name['ApplicationAttemptStartDataProto'] = _APPLICATIONATTEMPTSTARTDATAPROTO
DESCRIPTOR.message_types_by_name['ApplicationAttemptFinishDataProto'] = _APPLICATIONATTEMPTFINISHDATAPROTO
DESCRIPTOR.message_types_by_name['ContainerHistoryDataProto'] = _CONTAINERHISTORYDATAPROTO
DESCRIPTOR.message_types_by_name['ContainerStartDataProto'] = _CONTAINERSTARTDATAPROTO
DESCRIPTOR.message_types_by_name['ContainerFinishDataProto'] = _CONTAINERFINISHDATAPROTO
class ApplicationHistoryDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _APPLICATIONHISTORYDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ApplicationHistoryDataProto)
class ApplicationStartDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _APPLICATIONSTARTDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ApplicationStartDataProto)
class ApplicationFinishDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _APPLICATIONFINISHDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ApplicationFinishDataProto)
class ApplicationAttemptHistoryDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _APPLICATIONATTEMPTHISTORYDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ApplicationAttemptHistoryDataProto)
class ApplicationAttemptStartDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _APPLICATIONATTEMPTSTARTDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ApplicationAttemptStartDataProto)
class ApplicationAttemptFinishDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _APPLICATIONATTEMPTFINISHDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ApplicationAttemptFinishDataProto)
class ContainerHistoryDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _CONTAINERHISTORYDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ContainerHistoryDataProto)
class ContainerStartDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _CONTAINERSTARTDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ContainerStartDataProto)
class ContainerFinishDataProto(message.Message):
__metaclass__ = reflection.GeneratedProtocolMessageType
DESCRIPTOR = _CONTAINERFINISHDATAPROTO
# @@protoc_insertion_point(class_scope:hadoop.yarn.ContainerFinishDataProto)
# @@protoc_insertion_point(module_scope)
| 51.482468
| 4,461
| 0.771379
| 4,526
| 36,707
| 5.983429
| 0.04905
| 0.054946
| 0.035154
| 0.045198
| 0.856615
| 0.78472
| 0.724789
| 0.704368
| 0.701414
| 0.690041
| 0
| 0.042904
| 0.115482
| 36,707
| 712
| 4,462
| 51.554775
| 0.791179
| 0.022802
| 0
| 0.714939
| 1
| 0.001524
| 0.280559
| 0.253117
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.007622
| 0
| 0.04878
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
827c1499480e756ad9e2a3f7961085adc59a4ee6
| 394
|
py
|
Python
|
nlpaug/augmenter/audio/__init__.py
|
avostryakov/nlpaug
|
f75770c230fe586cf21d11ad3342c2f160560d6a
|
[
"MIT"
] | 1
|
2019-11-11T06:47:43.000Z
|
2019-11-11T06:47:43.000Z
|
nlpaug/augmenter/audio/__init__.py
|
avostryakov/nlpaug
|
f75770c230fe586cf21d11ad3342c2f160560d6a
|
[
"MIT"
] | null | null | null |
nlpaug/augmenter/audio/__init__.py
|
avostryakov/nlpaug
|
f75770c230fe586cf21d11ad3342c2f160560d6a
|
[
"MIT"
] | null | null | null |
from __future__ import absolute_import
from nlpaug.augmenter.audio.audio_augmenter import *
from nlpaug.augmenter.audio.noise import *
from nlpaug.augmenter.audio.shift import *
from nlpaug.augmenter.audio.speed import *
from nlpaug.augmenter.audio.pitch import *
from nlpaug.augmenter.audio.loudness import *
from nlpaug.augmenter.audio.crop import *
from nlpaug.augmenter.audio.mask import *
| 39.4
| 52
| 0.827411
| 54
| 394
| 5.925926
| 0.259259
| 0.25
| 0.4
| 0.625
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.091371
| 394
| 9
| 53
| 43.777778
| 0.893855
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
8280aeee5d2980b7fd169c22dfbd30407b319f36
| 4,026
|
py
|
Python
|
test/test_picross.py
|
perimosocordiae/picross
|
f5525b9975d007f280c95aba391f7a3a3c7e69fb
|
[
"MIT"
] | 1
|
2017-04-01T19:35:08.000Z
|
2017-04-01T19:35:08.000Z
|
test/test_picross.py
|
perimosocordiae/picross
|
f5525b9975d007f280c95aba391f7a3a3c7e69fb
|
[
"MIT"
] | 1
|
2017-03-25T23:45:21.000Z
|
2017-03-27T18:14:47.000Z
|
test/test_picross.py
|
perimosocordiae/picross
|
f5525b9975d007f280c95aba391f7a3a3c7e69fb
|
[
"MIT"
] | null | null | null |
import unittest
import numpy as np
from numpy.testing import assert_array_equal
from picross import solve, FULL as X, EMPTY as O
class PicrossTest(unittest.TestCase):
def test_solve_1(self):
rows = [[2,1,1,1,1,1,1],[5,1,1,4],[4,4],[1,1],[3],
[7],[6],[3],[1,3],[2,4],
[3,8],[13],[12],[12],[15],
[6,2,1],[6,1,2,1],[2,1,1,2,3,1,1],[2,2,1,4,1,2,1],[5,1,2,1,2,1,2]]
cols = [[2,4],[4,6],[7,1],[1,9],[2,6,2],
[1,6],[2,6,3],[1,5],[3,5,2],[1,1,10],
[1,2,7,2],[15,2],[11],[15,3],[1,2,1,2,1],
[1,2,4],[3,2],[1,3],[2,1],[1,3]]
expected = np.array([
[O, O, O, X, X, O, X, O, X, O, O, X, O, X, O, O, X, O, X, O],
[O, O, O, O, X, X, X, X, X, O, O, X, O, X, O, O, X, X, X, X],
[O, O, O, O, O, O, O, O, X, X, X, X, O, X, X, X, X, O, O, O],
[O, O, O, O, O, O, O, O, O, O, O, X, O, X, O, O, O, O, O, O],
[O, O, O, O, O, O, O, O, O, O, O, X, X, X, O, O, O, O, O, O],
[O, O, O, O, O, O, O, O, O, X, X, X, X, X, X, X, O, O, O, O],
[O, O, O, O, O, O, O, O, O, O, X, X, X, X, X, X, O, O, O, O],
[O, O, O, O, O, O, O, O, O, O, O, X, X, X, O, O, O, O, O, O],
[O, X, O, O, O, O, O, O, O, O, O, X, X, X, O, O, O, O, O, O],
[X, X, O, O, O, O, O, O, O, O, X, X, X, X, O, O, O, O, O, O],
[X, X, X, O, O, O, X, X, X, X, X, X, X, X, O, O, O, O, O, O],
[O, X, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O, O, O, O],
[O, O, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O, O, O, O],
[O, O, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O, O, O, O],
[O, X, X, X, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O, O],
[O, X, X, X, X, X, X, O, O, X, X, O, O, O, O, X, O, O, O, O],
[X, X, X, X, X, X, O, O, O, X, O, O, O, O, X, X, O, X, O, O],
[X, X, O, X, O, O, X, O, O, X, X, O, O, X, X, X, O, X, O, X],
[X, X, O, X, X, O, X, O, X, X, X, X, O, X, O, O, X, X, O, X],
[X, X, X, X, X, O, X, O, X, X, O, X, O, X, X, O, X, O, X, X],
], dtype=int)
soln = solve(rows, cols)
assert_array_equal(soln, expected)
def test_solve_2(self):
rows = [[1],[4,3],[3,5],[2,2,5],[3,3,7],
[8,7],[6,6],[6,6],[5,5],[11],
[7],[9],[10],[10],[10],
[7],[14],[14],[14],[12]]
cols = [[3],[3],[2],[3,3],[5,4],
[1,6,3,4],[10,9],[3,15],[2,14],[11],
[11],[3,11],[16],[11,4],[6,4,4],
[8,4],[8,3],[5],[4],[2]]
expected = np.array([
[O, O, O, O, O, O, X, O, O, O, O, O, O, O, O, O, O, O, O, O],
[O, O, O, O, O, X, X, X, X, O, O, O, O, O, O, O, X, X, X, O],
[O, O, O, O, O, O, X, X, X, O, O, O, O, O, O, X, X, X, X, X],
[X, X, O, O, O, O, X, X, O, O, O, O, O, O, O, X, X, X, X, X],
[X, X, X, O, X, X, X, O, O, O, O, O, X, X, X, X, X, X, X, O],
[X, X, X, X, X, X, X, X, O, O, O, X, X, X, X, X, X, X, O, O],
[O, O, O, X, X, X, X, X, X, O, O, X, X, X, X, X, X, O, O, O],
[O, O, O, X, X, X, X, X, X, O, O, X, X, X, X, X, X, O, O, O],
[O, O, O, O, X, X, X, X, X, O, O, O, X, X, X, X, X, O, O, O],
[O, O, O, O, O, X, X, X, X, X, X, X, X, X, X, X, O, O, O, O],
[O, O, O, O, O, O, O, X, X, X, X, X, X, X, O, O, O, O, O, O],
[O, O, O, O, O, O, X, X, X, X, X, X, X, X, X, O, O, O, O, O],
[O, O, O, O, O, X, X, X, X, X, X, X, X, X, X, O, O, O, O, O],
[O, O, O, O, O, X, X, X, X, X, X, X, X, X, X, O, O, O, O, O],
[O, O, O, O, O, X, X, X, X, X, X, X, X, X, X, O, O, O, O, O],
[O, O, O, O, O, O, X, X, X, X, X, X, X, O, O, O, O, O, O, O],
[O, O, O, X, X, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O],
[O, O, O, X, X, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O],
[O, O, O, X, X, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O],
[O, O, O, O, X, X, X, X, X, X, X, X, X, X, X, X, O, O, O, O],
], dtype=int)
soln = solve(rows, cols)
assert_array_equal(soln, expected)
if __name__ == '__main__':
unittest.main()
| 50.325
| 78
| 0.336811
| 1,044
| 4,026
| 1.281609
| 0.045019
| 0.497758
| 0.612108
| 0.672646
| 0.718236
| 0.710015
| 0.687593
| 0.672646
| 0.66293
| 0.648729
| 0
| 0.074667
| 0.347988
| 4,026
| 79
| 79
| 50.962025
| 0.435048
| 0
| 0
| 0.273973
| 0
| 0
| 0.001987
| 0
| 0
| 0
| 0
| 0
| 0.041096
| 1
| 0.027397
| false
| 0
| 0.054795
| 0
| 0.09589
| 0
| 0
| 0
| 1
| null | 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
828ed17b8fbc600af1768ec4a95671b77295192f
| 4,031
|
py
|
Python
|
mliv/neuralnet/architectures.py
|
microsoft/AdversarialGMM
|
7a5cd51353c8a81e16c01220b71f77e4e1102add
|
[
"MIT"
] | 23
|
2020-12-01T22:55:40.000Z
|
2022-01-26T04:11:14.000Z
|
mliv/neuralnet/architectures.py
|
microsoft/AdversarialGMM
|
7a5cd51353c8a81e16c01220b71f77e4e1102add
|
[
"MIT"
] | null | null | null |
mliv/neuralnet/architectures.py
|
microsoft/AdversarialGMM
|
7a5cd51353c8a81e16c01220b71f77e4e1102add
|
[
"MIT"
] | 10
|
2020-12-05T17:12:49.000Z
|
2022-01-10T23:42:37.000Z
|
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
import torch
import torch.nn as nn
import torch.nn.functional as F
class CNN_Z_agmm(nn.Module):
def __init__(self):
super(CNN_Z_agmm, self).__init__()
self.conv1 = nn.Conv2d(1, 32, 3, 1)
self.conv2 = nn.Conv2d(32, 64, 3, 1)
self.dropout1 = nn.Dropout2d(0.25)
self.dropout2 = nn.Dropout2d(0.5)
self.fc1 = nn.Linear(9216, 128)
self.fc2 = nn.Linear(128, 10)
def forward(self, x):
x = self.conv1(x)
x = F.relu(x)
x = self.conv2(x)
x = F.relu(x)
x = F.max_pool2d(x, 2)
x = self.dropout1(x)
x = torch.flatten(x, 1)
x = self.fc1(x)
x = F.relu(x)
x = self.dropout2(x)
x = self.fc2(x)
output = x # F.log_softmax(x, dim=1)
return output
class CNN_Z_kernel(nn.Module):
def __init__(self, g_features=100):
super(CNN_Z_kernel, self).__init__()
self.conv1 = nn.Conv2d(1, 32, 3, 1)
self.conv2 = nn.Conv2d(32, 64, 3, 1)
self.dropout1 = nn.Dropout2d(0.25)
self.dropout2 = nn.Dropout2d(0.5)
self.fc1 = nn.Linear(9216, 128)
self.fc2 = nn.Linear(128, g_features)
def forward(self, x):
x = self.conv1(x)
x = F.relu(x)
x = self.conv2(x)
x = F.relu(x)
x = F.max_pool2d(x, 2)
x = self.dropout1(x)
x = torch.flatten(x, 1)
x = self.fc1(x)
x = F.relu(x)
x = self.dropout2(x)
x = self.fc2(x)
output = x # F.log_softmax(x, dim=1)
return output
class CNN_X(nn.Module):
def __init__(self):
super(CNN_X, self).__init__()
self.conv1 = nn.Conv2d(1, 32, 3, 1)
self.conv2 = nn.Conv2d(32, 64, 3, 1)
self.dropout1 = nn.Dropout2d(0.25)
self.dropout2 = nn.Dropout2d(0.5)
self.fc1 = nn.Linear(9216, 512)
self.fc2 = nn.Linear(512, 1)
def forward(self, x):
x = self.conv1(x)
x = F.relu(x)
x = self.conv2(x)
x = F.relu(x)
x = F.max_pool2d(x, 2)
x = self.dropout1(x)
x = torch.flatten(x, 1)
x = self.fc1(x)
x = F.relu(x)
x = self.dropout2(x)
x = self.fc2(x)
output = x # F.log_softmax(x, dim=1)
return output
class CNN_X_bn(nn.Module):
def __init__(self):
super(CNN_X_bn, self).__init__()
self.conv1 = nn.Conv2d(1, 32, 3, 1)
self.conv2 = nn.Conv2d(32, 64, 3, 1)
self.dropout1 = nn.Dropout2d(0.25)
self.dropout2 = nn.Dropout2d(0.5)
self.fc1 = nn.Linear(9216, 128)
self.fc2 = nn.Linear(128, 10)
self.bn = nn.BatchNorm1d(10)
self.fc3 = nn.Linear(10, 1)
def forward(self, x):
x = self.conv1(x)
x = F.relu(x)
x = self.conv2(x)
x = F.relu(x)
x = F.max_pool2d(x, 2)
x = self.dropout1(x)
x = torch.flatten(x, 1)
x = self.fc1(x)
x = F.relu(x)
x = self.dropout2(x)
x = self.fc2(x)
x = self.bn(x)
x = self.fc3(x)
output = x # F.log_softmax(x, dim=1)
return output
def fc_z_kernel(n_z, n_hidden, g_features, dropout_p):
FC_Z_kernel = nn.Sequential(
nn.Dropout(p=dropout_p),
nn.Linear(n_z, n_hidden),
nn.LeakyReLU(),
nn.Dropout(p=dropout_p),
nn.Linear(n_hidden, g_features),
nn.ReLU(),
)
return FC_Z_kernel
def fc_z_agmm(n_z, n_hidden, dropout_p):
FC_Z_agmm = nn.Sequential(
nn.Dropout(p=dropout_p),
nn.Linear(n_z, n_hidden),
nn.LeakyReLU(),
nn.Dropout(p=dropout_p),
nn.Linear(n_hidden, 20),
nn.Linear(20, 1),
)
return FC_Z_agmm
def fc_x(n_t, n_hidden, dropout_p):
FC_X = nn.Sequential(
nn.Dropout(p=dropout_p),
nn.Linear(n_t, n_hidden),
nn.LeakyReLU(),
nn.Dropout(p=dropout_p),
nn.Linear(n_hidden, 1),
)
return FC_X
| 26.873333
| 54
| 0.533614
| 639
| 4,031
| 3.214398
| 0.112676
| 0.037001
| 0.05258
| 0.040896
| 0.810127
| 0.784323
| 0.784323
| 0.771178
| 0.743914
| 0.743914
| 0
| 0.075458
| 0.322749
| 4,031
| 149
| 55
| 27.053691
| 0.676923
| 0.040685
| 0
| 0.710938
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.085938
| false
| 0
| 0.023438
| 0
| 0.195313
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
82e0ee25b9abe7dc4f9c3a9f047cc986a9799476
| 8,793
|
py
|
Python
|
polaris/polaris/tests/commands/test_check_trustlines.py
|
ouattararomuald/django-polaris
|
c18dbf7c42c7745673d2e59b2f473848d990297b
|
[
"Apache-2.0"
] | null | null | null |
polaris/polaris/tests/commands/test_check_trustlines.py
|
ouattararomuald/django-polaris
|
c18dbf7c42c7745673d2e59b2f473848d990297b
|
[
"Apache-2.0"
] | null | null | null |
polaris/polaris/tests/commands/test_check_trustlines.py
|
ouattararomuald/django-polaris
|
c18dbf7c42c7745673d2e59b2f473848d990297b
|
[
"Apache-2.0"
] | null | null | null |
import pytest
from unittest.mock import patch, Mock, call
from stellar_sdk import Keypair
from stellar_sdk.exceptions import ConnectionError
from polaris.models import Transaction, Asset
from polaris.management.commands.check_trustlines import Command as CheckTrustlinesCMD
@pytest.mark.django_db
@patch("polaris.management.commands.check_trustlines.settings.HORIZON_SERVER")
@patch("polaris.management.commands.check_trustlines.PendingDeposits.submit")
@patch(
"polaris.management.commands.check_trustlines.MultiSigTransactions.requires_multisig"
)
@patch("polaris.management.commands.check_trustlines.rdi")
def test_check_trustlines_single_transaction_success(
mock_rdi, mock_requires_multisig, mock_submit, mock_server
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
stellar_account=Keypair.random().public_key,
status=Transaction.STATUS.pending_trust,
kind=Transaction.KIND.deposit,
)
mock_submit.return_value = True
mock_requires_multisig.return_value = False
account_json = {
"id": 1,
"sequence": 1,
"balances": [{"asset_code": "USD", "asset_issuer": usd.issuer}],
"thresholds": {"low_threshold": 1, "med_threshold": 1, "high_threshold": 1,},
"signers": [{"key": transaction.stellar_account, "weight": 1}],
}
mock_server.accounts.return_value = Mock(
account_id=Mock(return_value=Mock(call=Mock(return_value=account_json)))
)
CheckTrustlinesCMD.check_trustlines()
mock_server.accounts().account_id.assert_called_once_with(
transaction.stellar_account
)
mock_server.accounts().account_id().call.assert_called_once()
mock_requires_multisig.assert_called_once_with(transaction)
mock_submit.assert_called_once_with(transaction)
mock_rdi.after_deposit.assert_called_once_with(transaction)
@pytest.mark.django_db
@patch("polaris.management.commands.check_trustlines.settings.HORIZON_SERVER")
@patch("polaris.management.commands.check_trustlines.PendingDeposits.submit")
@patch(
"polaris.management.commands.check_trustlines.MultiSigTransactions.requires_multisig"
)
@patch("polaris.management.commands.check_trustlines.rdi")
def test_check_trustlines_two_transactions_same_account_success(
mock_rdi, mock_requires_multisig, mock_submit, mock_server
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction_one = Transaction.objects.create(
asset=usd,
stellar_account=Keypair.random().public_key,
status=Transaction.STATUS.pending_trust,
kind=Transaction.KIND.deposit,
)
transaction_two = Transaction.objects.create(
asset=usd,
stellar_account=transaction_one.stellar_account,
status=Transaction.STATUS.pending_trust,
kind=Transaction.KIND.deposit,
)
mock_submit.return_value = True
mock_requires_multisig.return_value = False
account_json = {
"id": 1,
"sequence": 1,
"balances": [{"asset_code": "USD", "asset_issuer": usd.issuer}],
"thresholds": {"low_threshold": 1, "med_threshold": 1, "high_threshold": 1,},
"signers": [{"key": transaction_one.stellar_account, "weight": 1}],
}
mock_server.accounts.return_value = Mock(
account_id=Mock(return_value=Mock(call=Mock(return_value=account_json)))
)
CheckTrustlinesCMD.check_trustlines()
mock_server.accounts().account_id.assert_called_once_with(
transaction_one.stellar_account
)
mock_server.accounts().account_id().call.assert_called_once()
mock_requires_multisig.assert_has_calls(
[call(transaction_two), call(transaction_one)]
)
mock_submit.assert_has_calls([call(transaction_two), call(transaction_one)])
mock_rdi.after_deposit.assert_has_calls(
[call(transaction_two), call(transaction_one)]
)
@pytest.mark.django_db
@patch("polaris.management.commands.check_trustlines.settings.HORIZON_SERVER")
@patch("polaris.management.commands.check_trustlines.PendingDeposits.submit")
@patch(
"polaris.management.commands.check_trustlines.MultiSigTransactions.requires_multisig"
)
@patch("polaris.management.commands.check_trustlines.rdi")
def test_check_trustlines_horizon_connection_error(
mock_rdi, mock_requires_multisig, mock_submit, mock_server
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
stellar_account=Keypair.random().public_key,
status=Transaction.STATUS.pending_trust,
kind=Transaction.KIND.deposit,
)
mock_server.accounts.return_value = Mock(
account_id=Mock(return_value=Mock(call=Mock(side_effect=ConnectionError())))
)
CheckTrustlinesCMD.check_trustlines()
mock_server.accounts().account_id.assert_called_once_with(
transaction.stellar_account
)
mock_server.accounts().account_id().call.assert_called_once()
mock_requires_multisig.assert_not_called()
mock_submit.assert_not_called()
mock_rdi.assert_not_called()
@pytest.mark.django_db
@patch("polaris.management.commands.check_trustlines.settings.HORIZON_SERVER")
@patch("polaris.management.commands.check_trustlines.PendingDeposits.submit")
@patch(
"polaris.management.commands.check_trustlines.MultiSigTransactions.requires_multisig"
)
@patch("polaris.management.commands.check_trustlines.rdi")
def test_check_trustlines_skip_xlm(
mock_rdi, mock_requires_multisig, mock_submit, mock_server
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
stellar_account=Keypair.random().public_key,
status=Transaction.STATUS.pending_trust,
kind=Transaction.KIND.deposit,
)
mock_submit.return_value = True
mock_requires_multisig.return_value = False
account_json = {
"id": 1,
"sequence": 1,
"balances": [
{"asset_code": "USD", "asset_issuer": usd.issuer},
{"asset_type": "native"},
],
"thresholds": {"low_threshold": 1, "med_threshold": 1, "high_threshold": 1,},
"signers": [{"key": transaction.stellar_account, "weight": 1}],
}
mock_server.accounts.return_value = Mock(
account_id=Mock(return_value=Mock(call=Mock(return_value=account_json)))
)
CheckTrustlinesCMD.check_trustlines()
mock_server.accounts().account_id.assert_called_once_with(
transaction.stellar_account
)
mock_server.accounts().account_id().call.assert_called_once()
mock_requires_multisig.assert_called_once_with(transaction)
mock_submit.assert_called_once_with(transaction)
mock_rdi.after_deposit.assert_called_once_with(transaction)
@pytest.mark.django_db
@patch("polaris.management.commands.check_trustlines.settings.HORIZON_SERVER")
@patch("polaris.management.commands.check_trustlines.PendingDeposits.submit")
@patch(
"polaris.management.commands.check_trustlines.MultiSigTransactions.requires_multisig"
)
@patch("polaris.management.commands.check_trustlines.rdi")
@patch(
"polaris.management.commands.check_trustlines.MultiSigTransactions.save_as_pending_signatures"
)
def test_check_trustlines_requires_multisig(
mock_save_as_pending_signatures,
mock_rdi,
mock_requires_multisig,
mock_submit,
mock_server,
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
stellar_account=Keypair.random().public_key,
status=Transaction.STATUS.pending_trust,
kind=Transaction.KIND.deposit,
)
mock_submit.return_value = True
mock_requires_multisig.return_value = True
account_json = {
"id": 1,
"sequence": 1,
"balances": [
{"asset_code": "USD", "asset_issuer": usd.issuer},
{"asset_type": "native"},
],
"thresholds": {"low_threshold": 1, "med_threshold": 1, "high_threshold": 1,},
"signers": [{"key": transaction.stellar_account, "weight": 1}],
}
mock_server.accounts.return_value = Mock(
account_id=Mock(return_value=Mock(call=Mock(return_value=account_json)))
)
CheckTrustlinesCMD.check_trustlines()
mock_server.accounts().account_id.assert_called_once_with(
transaction.stellar_account
)
mock_server.accounts().account_id().call.assert_called_once()
mock_requires_multisig.assert_called_once_with(transaction)
mock_save_as_pending_signatures.assert_called_once_with(transaction)
mock_submit.assert_not_called()
mock_rdi.after_deposit.assert_not_called()
| 38.39738
| 98
| 0.739907
| 1,015
| 8,793
| 6.082759
| 0.09064
| 0.077745
| 0.089083
| 0.1069
| 0.9276
| 0.907677
| 0.907677
| 0.881924
| 0.874312
| 0.866213
| 0
| 0.0032
| 0.146935
| 8,793
| 228
| 99
| 38.565789
| 0.819891
| 0
| 0
| 0.713592
| 0
| 0
| 0.21665
| 0.16172
| 0
| 0
| 0
| 0
| 0.126214
| 1
| 0.024272
| false
| 0
| 0.029126
| 0
| 0.053398
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7d8f8a85a70b0b1836cab0ae7afb1486927b44e6
| 8,630
|
py
|
Python
|
third_party/implicit_hyper_opt/data_loaders.py
|
googleinterns/commentaries
|
3edd312bdcf3dd99ffdda8324a65de46ef0bae0f
|
[
"Apache-2.0"
] | 2
|
2021-04-20T00:54:06.000Z
|
2021-05-11T00:56:41.000Z
|
third_party/implicit_hyper_opt/data_loaders.py
|
googleinterns/commentaries
|
3edd312bdcf3dd99ffdda8324a65de46ef0bae0f
|
[
"Apache-2.0"
] | 2
|
2021-11-02T11:14:31.000Z
|
2021-11-02T11:17:10.000Z
|
third_party/implicit_hyper_opt/data_loaders.py
|
googleinterns/commentaries
|
3edd312bdcf3dd99ffdda8324a65de46ef0bae0f
|
[
"Apache-2.0"
] | 1
|
2021-10-31T18:34:59.000Z
|
2021-10-31T18:34:59.000Z
|
# MIT License
#
# Copyright (c) 2018 Jonathan Lorraine, Google LLC
import os
import ipdb
import numpy as np
import pandas as pd
from glob import glob
from sklearn.model_selection import train_test_split
import torch
from torch.utils.data import Dataset, DataLoader, Subset
from torchvision import datasets, transforms
import h5py
def getSubset(data, size):
return Subset(data, np.random.randint(0, high=len(data) - 1, size=size))
def load_mnist(batch_size, val_split=True, subset=[-1, -1, -1], num_train=50000, only_split_train=False):
transformations = [transforms.ToTensor()]
transformations.append(transforms.Normalize((0.1307,), (0.3081,)))
transform = transforms.Compose(transformations)
if val_split:
# num_train = 50000 # Will split training set into 50,000 training and 10,000 validation images
# Train set
original_trainset = datasets.MNIST(root='./data/mnist', train=True, download=True, transform=transform)
trainset = original_trainset
trainset, valset = torch.utils.data.random_split(trainset, [num_train, len(trainset)-num_train])
# Test set
testset = datasets.MNIST(root='./data/mnist', train=False, download=True, transform=transform)
train_dataloader = DataLoader(trainset, batch_size=batch_size, shuffle=True, pin_memory=True,
num_workers=0) # 50,000 images
val_dataloader = DataLoader(valset, batch_size=batch_size, shuffle=True, pin_memory=True,
num_workers=0) # 10,000 images
test_dataloader = DataLoader(testset, batch_size=batch_size, shuffle=True, pin_memory=False,
num_workers=0) # 10,000 images
return train_dataloader, val_dataloader, test_dataloader
else:
trainset = datasets.MNIST(root='./data/mnist', train=True, download=True, transform=transform)
testset = datasets.MNIST(root='./data/mnist', train=False, download=True, transform=transform)
if subset[0] != -1:
trainset = getSubset(trainset, subset[0])
if subset[2] != -1:
testset = getSubset(testset, subset[2])
train_dataloader = DataLoader(trainset, batch_size=batch_size, pin_memory=True, shuffle=True,
num_workers=0) # 50,000 images
test_dataloader = DataLoader(testset, batch_size=batch_size, pin_memory=True, shuffle=False,
num_workers=0) # 10,000 images
return train_dataloader, None, test_dataloader
def load_cifar10(batch_size, num_train=45000, val_split=True, augmentation=False, subset=[-1, -1, -1],
only_split_train=False):
train_transforms = []
test_transforms = []
if augmentation:
train_transforms.append(transforms.RandomCrop(32, padding=4))
train_transforms.append(transforms.RandomHorizontalFlip())
train_transforms.append(transforms.ToTensor())
test_transforms.append(transforms.ToTensor())
normalize = transforms.Normalize(mean=[x / 255.0 for x in [125.3, 123.0, 113.9]],
std=[x / 255.0 for x in [63.0, 62.1, 66.7]])
train_transforms.append(normalize)
test_transforms.append(normalize)
train_transform = transforms.Compose(train_transforms)
test_transform = transforms.Compose(test_transforms)
if val_split:
# num_train = 45000 # Will split training set into 45,000 training and 5,000 validation images
# Train set
original_trainset = datasets.CIFAR10(root='./data/cifar10', train=True, download=True,
transform=train_transform)
trainset = original_trainset
trainset, valset = torch.utils.data.random_split(trainset, [num_train, len(trainset)-num_train])
# Test set
testset = datasets.CIFAR10(root='./data/cifar10', train=False, download=True, transform=test_transform)
if only_split_train:
rand_ind = np.random.randint(0, high=len(original_trainset) - 1, size=subset[0] + subset[1])
if subset[0] != -1:
trainset = Subset(original_trainset, rand_ind[:subset[0]])
if subset[2] != -1:
testset = getSubset(testset, subset[2])
if subset[1] != -1:
valset = Subset(original_trainset, rand_ind[subset[0]:subset[0] + subset[1]])
else:
if subset[0] != -1:
trainset = getSubset(trainset, subset[0])
if subset[2] != -1:
testset = getSubset(testset, subset[2])
if subset[1] != -1:
valset = getSubset(valset, subset[1])
train_dataloader = DataLoader(trainset, batch_size=batch_size, shuffle=True, pin_memory=True,
num_workers=0) # 45,000 images
val_dataloader = DataLoader(valset, batch_size=batch_size, shuffle=True, pin_memory=True,
num_workers=0) # 5,000 images
test_dataloader = DataLoader(testset, batch_size=batch_size, shuffle=False, pin_memory=True,
num_workers=0) # 10,000 images
return train_dataloader, val_dataloader, test_dataloader
else:
trainset = datasets.CIFAR10(root='./data/cifar10', train=True, download=True, transform=train_transform)
testset = datasets.CIFAR10(root='./data/cifar10', train=False, download=True, transform=test_transform)
if subset[0] != -1:
trainset = getSubset(trainset, subset[0])
if subset[2] != -1:
testset = getSubset(testset, subset[2])
train_dataloader = DataLoader(trainset, batch_size=batch_size, shuffle=True, pin_memory=True,
num_workers=2) # 50,000 images
test_dataloader = DataLoader(testset, batch_size=batch_size, shuffle=False, pin_memory=True,
num_workers=2) # 10,000 images
return train_dataloader, None, test_dataloader
def load_cifar100(batch_size, num_train=45000, val_split=True, augmentation=False, subset=[-1, -1, -1]):
train_transforms = []
test_transforms = []
if augmentation:
train_transforms.append(transforms.RandomCrop(32, padding=4))
train_transforms.append(transforms.RandomHorizontalFlip())
train_transforms.append(transforms.ToTensor())
test_transforms.append(transforms.ToTensor())
normalize = transforms.Normalize(mean=[x / 255.0 for x in [125.3, 123.0, 113.9]],
std=[x / 255.0 for x in [63.0, 62.1, 66.7]])
train_transforms.append(normalize)
test_transforms.append(normalize)
train_transform = transforms.Compose(train_transforms)
test_transform = transforms.Compose(test_transforms)
if val_split:
# Train set
trainset = datasets.CIFAR100(root='./data/cifar100', train=True, download=True, transform=train_transform)
trainset, valset = torch.utils.data.random_split(trainset, [num_train, len(trainset)-num_train])
# Test set
testset = datasets.CIFAR100(root='./data/cifar100', train=False, download=True, transform=test_transform)
if subset[0] != -1:
trainset = getSubset(trainset, subset[0])
if subset[2] != -1:
testset = getSubset(testset, subset[2])
if subset[1] != -1:
valset = getSubset(valset, subset[1])
train_dataloader = DataLoader(trainset, batch_size=batch_size, shuffle=True, num_workers=0) # 45,000 images
val_dataloader = DataLoader(valset, batch_size=batch_size, shuffle=True, num_workers=0) # 5,000 images
test_dataloader = DataLoader(testset, batch_size=batch_size, shuffle=False, num_workers=0) # 10,000 images
return train_dataloader, val_dataloader, test_dataloader
else:
trainset = datasets.CIFAR100(root='./data/cifar100', train=True, download=True, transform=train_transform)
testset = datasets.CIFAR100(root='./data/cifar100', train=False, download=True, transform=test_transform)
if subset[0] != -1:
trainset = getSubset(trainset, subset[0])
if subset[2] != -1:
testset = getSubset(testset, subset[2])
train_dataloader = DataLoader(trainset, batch_size=batch_size, shuffle=True, num_workers=0) # 50,000 images
test_dataloader = DataLoader(testset, batch_size=batch_size, shuffle=False, num_workers=0) # 10,000 images
return train_dataloader, None, test_dataloader
| 44.947917
| 116
| 0.648899
| 1,028
| 8,630
| 5.289883
| 0.110895
| 0.054616
| 0.038617
| 0.049651
| 0.87569
| 0.858772
| 0.849945
| 0.837624
| 0.81758
| 0.817212
| 0
| 0.048713
| 0.243569
| 8,630
| 191
| 117
| 45.183246
| 0.784314
| 0.059328
| 0
| 0.759399
| 0
| 0
| 0.020279
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.030075
| false
| 0
| 0.075188
| 0.007519
| 0.157895
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7dd681af575efedde3fe97b3e743f7ff3342119d
| 2,973
|
py
|
Python
|
tests/test_density.py
|
uvchik/windpowerlib
|
a338694a84e373ec2c2d0f2ac5a3037d4a1c0d0c
|
[
"MIT"
] | 1
|
2020-09-20T23:25:15.000Z
|
2020-09-20T23:25:15.000Z
|
tests/test_density.py
|
uvchik/windpowerlib
|
a338694a84e373ec2c2d0f2ac5a3037d4a1c0d0c
|
[
"MIT"
] | null | null | null |
tests/test_density.py
|
uvchik/windpowerlib
|
a338694a84e373ec2c2d0f2ac5a3037d4a1c0d0c
|
[
"MIT"
] | null | null | null |
"""
SPDX-FileCopyrightText: 2019 oemof developer group <contact@oemof.org>
SPDX-License-Identifier: MIT
"""
import pandas as pd
import numpy as np
from pandas.util.testing import assert_series_equal
from numpy.testing import assert_allclose
from windpowerlib.density import barometric, ideal_gas
class TestDensity:
def test_barometric(self):
parameters = {'pressure': pd.Series(data=[101125, 101000]),
'pressure_height': 0,
'hub_height': 100,
'temperature_hub_height': pd.Series(data=[267, 268])}
# Test pressure as pd.Series and temperature_hub_height as pd.Series
# and np.array
rho_exp = pd.Series(data=[1.30305336, 1.29656645])
assert_series_equal(barometric(**parameters), rho_exp)
parameters['temperature_hub_height'] = np.array(
parameters['temperature_hub_height'])
assert_series_equal(barometric(**parameters), rho_exp)
# Test pressure as np.array and temperature_hub_height as pd.Series
parameters['pressure'] = np.array(parameters['pressure'])
parameters['temperature_hub_height'] = pd.Series(
data=parameters['temperature_hub_height'])
assert_series_equal(barometric(**parameters), rho_exp)
# Test pressure as np.array and temperature_hub_height as np.array
rho_exp = np.array([1.30305336, 1.29656645])
parameters['temperature_hub_height'] = np.array(
parameters['temperature_hub_height'])
assert_allclose(barometric(**parameters), rho_exp)
assert isinstance(barometric(**parameters), np.ndarray)
def test_ideal_gas(self):
parameters = {'pressure': pd.Series(data=[101125, 101000]),
'pressure_height': 0,
'hub_height': 100,
'temperature_hub_height': pd.Series(data=[267, 268])}
# Test pressure as pd.Series and temperature_hub_height as pd.Series
# and np.array
rho_exp = pd.Series(data=[1.30309439, 1.29660728])
assert_series_equal(ideal_gas(**parameters), rho_exp)
parameters['temperature_hub_height'] = np.array(
parameters['temperature_hub_height'])
assert_series_equal(ideal_gas(**parameters), rho_exp)
# Test pressure as np.array and temperature_hub_height as pd.Series
parameters['pressure'] = np.array(parameters['pressure'])
parameters['temperature_hub_height'] = pd.Series(
data=parameters['temperature_hub_height'])
assert_allclose(ideal_gas(**parameters), rho_exp)
# Test pressure as np.array and temperature_hub_height as np.array
rho_exp = np.array([1.30309439, 1.29660728])
parameters['temperature_hub_height'] = np.array(
parameters['temperature_hub_height'])
assert_allclose(ideal_gas(**parameters), rho_exp)
assert isinstance(ideal_gas(**parameters), np.ndarray)
| 43.086957
| 76
| 0.667003
| 351
| 2,973
| 5.418803
| 0.162393
| 0.104101
| 0.210305
| 0.189274
| 0.777603
| 0.752366
| 0.752366
| 0.73817
| 0.725026
| 0.725026
| 0
| 0.052083
| 0.225025
| 2,973
| 68
| 77
| 43.720588
| 0.773438
| 0.17558
| 0
| 0.659091
| 0
| 0
| 0.166667
| 0.126437
| 0
| 0
| 0
| 0
| 0.272727
| 1
| 0.045455
| false
| 0
| 0.113636
| 0
| 0.181818
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c49a2a438aea0d429c175d2ebb5993dedc75b786
| 3,922
|
py
|
Python
|
extras/appdaemon/apps/timer.py
|
aneisch/home-assistant
|
d8a866d75f512d23ffa7b9e5d82d7c575ece3c76
|
[
"Apache-2.0"
] | 18
|
2016-08-10T01:02:27.000Z
|
2017-10-26T04:19:49.000Z
|
extras/appdaemon/apps/timer.py
|
aneisch/home-assistant
|
d8a866d75f512d23ffa7b9e5d82d7c575ece3c76
|
[
"Apache-2.0"
] | null | null | null |
extras/appdaemon/apps/timer.py
|
aneisch/home-assistant
|
d8a866d75f512d23ffa7b9e5d82d7c575ece3c76
|
[
"Apache-2.0"
] | 4
|
2017-04-20T19:41:21.000Z
|
2017-05-16T17:10:05.000Z
|
import appdaemon.plugins.hass.hassapi as hass
import datetime
from datetime import timedelta
import time
# Simple app to get a precise countdown from Alexa timer
class Timer(hass.Hass):
def initialize(self):
self.listen_state(self.state_change, self.args["timer_entity"])
def state_change(self, entity, attribute, old, new, kwargs):
countdown_destination_entity = self.args["countdown_destination_entity"]
if new == "unknown" or new == "unavailable":
state = "No Timers Set"
self.set_state(countdown_destination_entity, state=state)
if self.args["mqtt"]:
self.call_service("mqtt/publish", topic="appdaemon/" + countdown_destination_entity, payload=state)
else:
new_stripped = new[:-6]
datetime_object = datetime.datetime.strptime(new_stripped, '%Y-%m-%dT%H:%M:%S')
remaining = datetime_object - datetime.datetime.now()
self.log("New timer set: {} from now, ending at {}".format(remaining,new))
while True:
state = self.get_state(self.args["timer_entity"])
remaining = datetime_object - datetime.datetime.now()
seconds = remaining.total_seconds()
if state != new:
self.log("Timer Changed, Stopping Loop")
break
elif seconds <= 0:
state = "Expired"
self.set_state(countdown_destination_entity, state=state)
if self.args["mqtt"]:
self.call_service("mqtt/publish", topic="appdaemon/" + countdown_destination_entity, payload=state)
self.log("Timer Expired")
break
state = str(remaining)[:-7]
self.set_state(countdown_destination_entity, state=state)
if self.args["mqtt"]:
self.call_service("mqtt/publish", topic="appdaemon/" + countdown_destination_entity, payload=state)
time.sleep(1)
class Timer2(hass.Hass):
def initialize(self):
self.listen_state(self.state_change, self.args["timer_entity"])
def state_change(self, entity, attribute, old, new, kwargs):
countdown_destination_entity_prefix = self.args["countdown_destination_entity_prefix"]
if new == "unknown" or new == "unavailable" or new == 0:
state = "No Timers Set"
if self.args["mqtt"]:
self.call_service("mqtt/publish", topic="appdaemon/" + countdown_destination_entity, payload=state)
else:
new_stripped = new[:-6]
datetime_object = datetime.datetime.strptime(new_stripped, '%Y-%m-%dT%H:%M:%S')
remaining = datetime_object - datetime.datetime.now()
self.log("New timer set: {} from now, ending at {}".format(remaining,new))
while True:
state = self.get_state(self.args["timer_entity"])
remaining = datetime_object - datetime.datetime.now()
seconds = remaining.total_seconds()
if state != new:
self.log("Timer Changed, Stopping Loop")
break
elif seconds <= 0:
state = "Expired"
self.set_state(countdown_destination_entity, state=state)
if self.args["mqtt"]:
self.call_service("mqtt/publish", topic="appdaemon/" + countdown_destination_entity, payload=state)
self.log("Timer Expired")
break
state = str(remaining)[:-7]
self.set_state(countdown_destination_entity, state=state)
if self.args["mqtt"]:
self.call_service("mqtt/publish", topic="appdaemon/" + countdown_destination_entity, payload=state)
time.sleep(1)
| 50.282051
| 123
| 0.583631
| 420
| 3,922
| 5.290476
| 0.188095
| 0.135014
| 0.175518
| 0.037804
| 0.907291
| 0.876688
| 0.851485
| 0.851485
| 0.851485
| 0.851485
| 0
| 0.003682
| 0.307496
| 3,922
| 77
| 124
| 50.935065
| 0.814433
| 0.013768
| 0
| 0.859155
| 0
| 0
| 0.139421
| 0.016296
| 0
| 0
| 0
| 0
| 0
| 1
| 0.056338
| false
| 0
| 0.056338
| 0
| 0.140845
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c4b353dd88212a63ef24d11ee36c2ed0d49dccb0
| 1,713
|
py
|
Python
|
tests/test_result.py
|
hexatester/dapodik
|
d89c0fb899c89e866527f6b7b57f741abd6444ea
|
[
"MIT"
] | 4
|
2021-02-01T15:19:35.000Z
|
2022-01-26T02:47:21.000Z
|
tests/test_result.py
|
hexatester/dapodik
|
d89c0fb899c89e866527f6b7b57f741abd6444ea
|
[
"MIT"
] | 3
|
2020-01-08T17:07:15.000Z
|
2020-01-08T18:05:12.000Z
|
tests/test_result.py
|
hexatester/dapodik
|
d89c0fb899c89e866527f6b7b57f741abd6444ea
|
[
"MIT"
] | 2
|
2021-08-04T13:48:08.000Z
|
2021-12-25T02:36:49.000Z
|
from dapodik.result import DapodikResult
from dapodik.rest import Agama
from typing import List
def test_result():
data = """{ "results" : 8, "id" : "agama_id", "start": 0, "limit": 20, "rows" : [{"agama_id":1,"nama":"Islam","create_date":"2013-05-13 06:51:30","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"},{"agama_id":2,"nama":"Kristen","create_date":"2013-05-13 00:00:00","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"},{"agama_id":3,"nama":"Katholik","create_date":"2013-05-13 06:51:30","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"},{"agama_id":4,"nama":"Hindu","create_date":"2013-05-13 06:51:30","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"},{"agama_id":5,"nama":"Budha","create_date":"2013-05-13 06:51:30","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"},{"agama_id":6,"nama":"Khonghucu","create_date":"2013-05-13 06:51:30","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"},{"agama_id":7,"nama":"Kepercayaan kpd Tuhan YME","create_date":"2017-01-31 01:00:00","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"},{"agama_id":99,"nama":"lainnya","create_date":"2013-05-13 06:51:30","last_update":"2021-06-19 13:23:39","expired_date":null,"last_sync":"2021-06-19 13:23:39"}] }"""
result = DapodikResult.from_str(data, List[Agama])
assert isinstance(result, DapodikResult)
assert isinstance(result.rows, list)
for agama in result.rows:
assert isinstance(agama, Agama)
break
| 122.357143
| 1,370
| 0.686515
| 313
| 1,713
| 3.619808
| 0.214058
| 0.084731
| 0.112974
| 0.141218
| 0.624007
| 0.60812
| 0.60812
| 0.60812
| 0.60812
| 0.60812
| 0
| 0.218261
| 0.06655
| 1,713
| 13
| 1,371
| 131.769231
| 0.490306
| 0
| 0
| 0
| 0
| 0.090909
| 0.789842
| 0.720957
| 0
| 0
| 0
| 0
| 0.272727
| 1
| 0.090909
| false
| 0
| 0.272727
| 0
| 0.363636
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
487b16632a932959d08ed2a6ceef9ec7af276b4b
| 8,601
|
py
|
Python
|
tests/dhcpv4/relay/test_v4_request_relay_part3.py
|
shawnmullaney/forge
|
aaaef0a0645f73d24666aab6a400f3604e753aac
|
[
"0BSD"
] | null | null | null |
tests/dhcpv4/relay/test_v4_request_relay_part3.py
|
shawnmullaney/forge
|
aaaef0a0645f73d24666aab6a400f3604e753aac
|
[
"0BSD"
] | null | null | null |
tests/dhcpv4/relay/test_v4_request_relay_part3.py
|
shawnmullaney/forge
|
aaaef0a0645f73d24666aab6a400f3604e753aac
|
[
"0BSD"
] | null | null | null |
"""DHCPv4 address request process"""
# pylint: disable=invalid-name,line-too-long
import pytest
import misc
import srv_control
import srv_msg
@pytest.mark.v4
@pytest.mark.dhcp4
@pytest.mark.relay
@pytest.mark.request
def test_v4_request_relay_renewing_success():
misc.test_setup()
srv_control.set_time('renew-timer', '2')
srv_control.set_time('rebind-timer', '50')
srv_control.set_time('valid-lifetime', '500')
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.network_variable('source_port', '67')
srv_msg.network_variable('source_address', '$(GIADDR4)')
srv_msg.network_variable('destination_address', '$(SRV4_ADDR)')
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_copy_option('server_id')
srv_msg.client_does_include_with_value('requested_addr', '192.168.50.1')
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'ACK')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
# make sure that T1 time expires and client will be in RENEWING state.
srv_msg.forge_sleep('3', 'seconds')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_sets_value('Client', 'ciaddr', '192.168.50.1')
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'ACK')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
@pytest.mark.v4
@pytest.mark.dhcp4
@pytest.mark.relay
@pytest.mark.request
def test_v4_request_relay_rebinding_success():
misc.test_setup()
srv_control.set_time('renew-timer', '2')
srv_control.set_time('rebind-timer', '3')
srv_control.set_time('valid-lifetime', '500')
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.network_variable('source_port', '67')
srv_msg.network_variable('source_address', '$(GIADDR4)')
srv_msg.network_variable('destination_address', '$(SRV4_ADDR)')
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_copy_option('server_id')
srv_msg.client_does_include_with_value('requested_addr', '192.168.50.1')
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'ACK')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
# make sure that T1 time expires and client will be in RENEWING state.
srv_msg.forge_sleep('4', 'seconds')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_sets_value('Client', 'ciaddr', '192.168.50.1')
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'ACK')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
@pytest.mark.v4
@pytest.mark.dhcp4
@pytest.mark.relay
@pytest.mark.request
def test_v4_request_relay_rebinding_fail():
misc.test_setup()
srv_control.set_time('renew-timer', '2')
srv_control.set_time('rebind-timer', '3')
srv_control.set_time('valid-lifetime', '4')
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.network_variable('source_port', '67')
srv_msg.network_variable('source_address', '$(GIADDR4)')
srv_msg.network_variable('destination_address', '$(SRV4_ADDR)')
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_copy_option('server_id')
srv_msg.client_does_include_with_value('requested_addr', '192.168.50.1')
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'ACK')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
# make sure that leases time expires
srv_msg.forge_sleep('5', 'seconds')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', '1')
srv_msg.client_sets_value('Client', 'ciaddr', '192.168.50.1')
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'NAK')
srv_msg.response_check_include_option('Response', None, '54')
srv_msg.response_check_option_content('Response', '54', None, 'value', '$(SRV4_ADDR)')
| 43.439394
| 90
| 0.715731
| 1,253
| 8,601
| 4.554669
| 0.089385
| 0.107237
| 0.088313
| 0.126511
| 0.970913
| 0.970913
| 0.970913
| 0.970913
| 0.970913
| 0.970913
| 0
| 0.052104
| 0.118591
| 8,601
| 197
| 91
| 43.659898
| 0.700699
| 0.028718
| 0
| 0.918239
| 0
| 0
| 0.230078
| 0.008987
| 0
| 0
| 0
| 0
| 0
| 1
| 0.018868
| true
| 0.056604
| 0.025157
| 0
| 0.044025
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 9
|
6f994ef1c8fabd70be9b46d48581fe86ee92929b
| 7,795
|
py
|
Python
|
baxter_ras_interface/scripts/Gd_List_Game1.py
|
gabrieldiaz94/RAS-Baxter-Interface
|
7766d012617bffd09e42b6b76ea105fb3fe24481
|
[
"Apache-2.0"
] | 1
|
2022-03-06T15:47:33.000Z
|
2022-03-06T15:47:33.000Z
|
baxter_ras_interface/scripts/Gd_List_Game1.py
|
willandru/RAS-Baxter-Interface
|
7766d012617bffd09e42b6b76ea105fb3fe24481
|
[
"Apache-2.0"
] | null | null | null |
baxter_ras_interface/scripts/Gd_List_Game1.py
|
willandru/RAS-Baxter-Interface
|
7766d012617bffd09e42b6b76ea105fb3fe24481
|
[
"Apache-2.0"
] | 1
|
2022-03-06T15:46:37.000Z
|
2022-03-06T15:46:37.000Z
|
#!/usr/bin/env python
#Reference: the baxter_stocking_stuffer project by students in Northwestern's MSR program - Josh Marino, Sabeen Admani, Andrew Turchina and Chu-Chu Igbokwe
#Service provided - ObjLocation service - contains x,y,z coordinates of object in baxter's stationary body frame, whether it is ok to grasp and if objects were found in the current frame.
import rospy
import numpy as np
import cv2
import cv_bridge
import baxter_interface
import math
import datetime
from std_msgs.msg import String,Int32MultiArray
from sensor_msgs.msg import Image
from geometry_msgs.msg import Point
from cv_bridge import CvBridge, CvBridgeError
from jp_baxtertry1.srv import *
import time
def matriz1(response,Orderold):
global time1,n
n=len(response.matriz_5)+len(response.matriz_6)+len(response.matriz_7)+len(response.matriz_8)
Order=list(range(0,n+1))
for x in range(len(response.matriz_5)):
Order[x]=response.matriz_5[x]
y=x+1
for x in range(len(response.matriz_6)):
Order[x+y]=response.matriz_6[x]
y_1=x+y+1
for x in range(len(response.matriz_7)):
Order[x+y_1]=response.matriz_7[x]
y_2=x+y_1+1
for x in range(len(response.matriz_8)):
Order[x+y_2]=response.matriz_8[x]
Order[0:n]=Order[0:n]
Order[n]=time1
change=0
for x in range(n):
if Order[x]!=Orderold[x]:
print(Order[x])
change=1
if change==0:
Order[0:n]=Orderold[0:n]
if change==1:
Orderold[0:n]=Order[0:n]
Orderold[n]=Order[n]-Orderold[n]
return change
def matriz2(response,Orderold):
global time1,n
n=len(response.matriz_5)+len(response.matriz_6)+len(response.matriz_7)+len(response.matriz_8)
Order=list(range(0,n+1))
for x in range(len(response.matriz_5)):
Order[x]=response.matriz_5[x]
y=x+1
for x in range(len(response.matriz_6)):
Order[x+y]=response.matriz_6[x]
y_1=x+y+1
for x in range(len(response.matriz_7)):
Order[x+y_1]=response.matriz_7[x]
y_2=x+y_1+1
for x in range(len(response.matriz_8)):
Order[x+y_2]=response.matriz_8[x]
Order[0:n]=Order[0:n]
Order[n]=time1
Orderold[0:n]=Order[0:n]
Orderold[n]=Order[n]-Orderold[n]
return Orderold
def cantidad_colores(azules,verdes,rojos,amarillos,Orderold):
n_1=len(Orderold)
azul_aux=0
verde_aux=0
rojo_aux=0
amarillo_aux=0
for x in range(n_1-1):
if Orderold[x]==1:
verde_aux=verde_aux+1
if Orderold[x]==2:
rojo_aux=rojo_aux+1
if Orderold[x]==4:
azul_aux=azul_aux+1
if Orderold[x]==3:
amarillo_aux=amarillo_aux+1
obstaculos=36-azules-verdes-rojos-amarillos
obstaculos_aux=36-azul_aux-verde_aux-rojo_aux-amarillo_aux
continuar=0
if obstaculos_aux==obstaculos and azules==azul_aux and verdes==verde_aux and amarillos==amarillo_aux and rojos==rojo_aux:
continuar=1
if obstaculos_aux==36:
continuar=2
return continuar
def cantidad_colores2(azules,verdes,rojos,amarillos,Orderold):
n_1=len(Orderold)
azul_aux=0
verde_aux=0
rojo_aux=0
amarillo_aux=0
for x in range(n_1):
if Orderold[x]==1:
verde_aux=verde_aux+1
if Orderold[x]==2:
rojo_aux=rojo_aux+1
if Orderold[x]==4:
azul_aux=azul_aux+1
if Orderold[x]==3:
amarillo_aux=amarillo_aux+1
obstaculos=36-azules-verdes-rojos-amarillos
obstaculos_aux=36-azul_aux-verde_aux-rojo_aux-amarillo_aux
continuar=0
if obstaculos_aux==obstaculos and azules==azul_aux and verdes==verde_aux and amarillos==amarillo_aux and rojos==rojo_aux:
continuar=1
if obstaculos_aux==36:
continuar=2
return continuar
def main(dificultad,matriz,beta_juego,aux_help,imp):
global Orderold
if aux_help ==0:
Orderold=matriz
global time1
close=0
time1 = datetime.datetime.now()
time1=time.mktime(time1.timetuple())
time2=time1
pub = rospy.Publisher('matriz', Int32MultiArray, queue_size=36)
rate = rospy.Rate(10) # 10hz
Orderes=Int32MultiArray()
#print Orderold
time1 = datetime.datetime.now()
time1=time.mktime(time1.timetuple())
global n
continuar=0
if dificultad==1:
verde=2
rojo=2
azul=0
amarillo=0
continuar=cantidad_colores(azul,verde,rojo,amarillo,Orderold)
if continuar==1:
close=1
print 'bien'
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
change=matriz1(response,Orderold)
if change==1 or imp==0:
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
order=matriz3(response)
cont=cantidad_colores(azul,verde,rojo,amarillo,order)
if cont==1:
Orderes.data=Orderold
rospy.loginfo(Orderes)
pub.publish(Orderes)
Orderold[n]=time1
close=2
if continuar==2 and imp==0:
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
mat=matriz2(response,Orderold)
Orderes.data=mat
rospy.loginfo(Orderes)
pub.publish(Orderes)
Orderold[n]=time1
close=2
if dificultad==2:
verde=3
rojo=3
azul=0
amarillo=0
continuar=cantidad_colores(azul,verde,rojo,amarillo,Orderold)
if continuar==1:
close=1
print 'bien'
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
change=matriz1(response,Orderold)
if change==1 or imp==0:
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
order=matriz3(response)
cont=cantidad_colores(azul,verde,rojo,amarillo,order)
if cont==1:
Orderes.data=Orderold
rospy.loginfo(Orderes)
pub.publish(Orderes)
Orderold[n]=time1
close=2
if continuar==2 and imp==0:
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
mat=matriz2(response,Orderold)
Orderes.data=mat
rospy.loginfo(Orderes)
pub.publish(Orderes)
Orderold[n]=time1
close=2
if dificultad==3:
verde=4
rojo=4
azul=0
amarillo=0
continuar=cantidad_colores(azul,verde,rojo,amarillo,Orderold)
if continuar==1:
close=1
print 'bien'
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
change=matriz1(response,Orderold)
if change==1 or imp==0:
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
order=matriz3(response)
cont=cantidad_colores(azul,verde,rojo,amarillo,order)
if cont==1:
Orderes.data=Orderold
rospy.loginfo(Orderes)
pub.publish(Orderes)
Orderold[n]=time1
close=2
if continuar==2 and imp==0:
InfoCoor_service = rospy.ServiceProxy("InfoCoor_service", InfoCoor)
rospy.wait_for_service('InfoCoor_service')
response = InfoCoor_service.call(InfoCoorRequest())
mat=matriz2(response,Orderold)
Orderes.data=mat
rospy.loginfo(Orderes)
pub.publish(Orderes)
Orderold[n]=time1
close=2
return close,continuar
| 32.752101
| 187
| 0.696087
| 1,116
| 7,795
| 4.719534
| 0.134409
| 0.102525
| 0.051642
| 0.022973
| 0.811278
| 0.811278
| 0.80881
| 0.80881
| 0.80881
| 0.788684
| 0
| 0.030977
| 0.192431
| 7,795
| 237
| 188
| 32.890295
| 0.805719
| 0.048621
| 0
| 0.781659
| 0
| 0
| 0.04129
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.056769
| null | null | 0.017467
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
6fc59d2bef2ae6f01b83dd6635a387ef5ba75991
| 2,608
|
py
|
Python
|
air_ticket/headers.py
|
nciefeiniu/python-test
|
d81fcfff8cdec724c3010d6b7a77aabad7f90595
|
[
"Apache-2.0"
] | null | null | null |
air_ticket/headers.py
|
nciefeiniu/python-test
|
d81fcfff8cdec724c3010d6b7a77aabad7f90595
|
[
"Apache-2.0"
] | null | null | null |
air_ticket/headers.py
|
nciefeiniu/python-test
|
d81fcfff8cdec724c3010d6b7a77aabad7f90595
|
[
"Apache-2.0"
] | null | null | null |
import random
def get_header(type):
# useragent
USER_AGENTS = [
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 LBBROWSER',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; …) Gecko/20100101 Firefox/59.0',
'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)',
'Mozilla/5.0 (Linux; U; Android 6.0.1; zh-CN; Le X820 Build/FEXCNFN5902812081S) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.89 UCBrowser/11.5.5.943 Mobile Safari/537.36',
'Mozilla/5.0 (Linux; U; Android 6.0.1; zh-CN; Le X820 Build/FEXCNFN5902812081S) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.89 UCBrowser/11.5.5.943 Mobile Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0',
'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko',
'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2)',
'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0',
'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko',
'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)',
'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36',
'Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)'
]
if type == 1:
headers = {
'User-Agent': random.choice(USER_AGENTS),
'Origin': 'http://www.ceair.com',
'Accept-Language': 'zh-CN,zh;q=0.9'
}
return headers
| 70.486486
| 202
| 0.646472
| 453
| 2,608
| 3.721854
| 0.227373
| 0.094899
| 0.106762
| 0.132859
| 0.787663
| 0.787663
| 0.787663
| 0.787663
| 0.744365
| 0.669039
| 0
| 0.205357
| 0.184049
| 2,608
| 36
| 203
| 72.444444
| 0.585526
| 0.003451
| 0
| 0.25
| 0
| 0.625
| 0.817411
| 0.01926
| 0
| 0
| 0
| 0
| 0
| 1
| 0.03125
| false
| 0
| 0.03125
| 0
| 0.09375
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
82ef3b93cc7bbf81afc73ec8189c75821396c611
| 35,155
|
py
|
Python
|
tests/test_check_marathon_services_replication.py
|
oholiab/paasta
|
f008e07622aaf09b43513fcaaef501e320870ae6
|
[
"Apache-2.0"
] | null | null | null |
tests/test_check_marathon_services_replication.py
|
oholiab/paasta
|
f008e07622aaf09b43513fcaaef501e320870ae6
|
[
"Apache-2.0"
] | 4
|
2021-02-08T20:55:34.000Z
|
2021-03-26T00:29:25.000Z
|
tests/test_check_marathon_services_replication.py
|
oholiab/paasta
|
f008e07622aaf09b43513fcaaef501e320870ae6
|
[
"Apache-2.0"
] | null | null | null |
# Copyright 2015 Yelp 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.
import mock
import contextlib
import pysensu_yelp
import check_marathon_services_replication
from paasta_tools.marathon_tools import MarathonServiceConfig
from paasta_tools.smartstack_tools import DEFAULT_SYNAPSE_PORT
from utils import compose_job_id
check_marathon_services_replication.log = mock.Mock()
def test_send_event_users_monitoring_tools_send_event_properly():
fake_service_name = 'superfast'
fake_namespace = 'jellyfish'
fake_status = '999999'
fake_output = 'YOU DID IT'
fake_cluster = 'fake_cluster'
fake_monitoring_overrides = {'fake_key': 'fake_value'}
fake_soa_dir = '/hi/hello/hey'
fake_cluster = 'fake_cluster'
expected_check_name = 'check_marathon_services_replication.%s' % compose_job_id(fake_service_name, fake_namespace)
with contextlib.nested(
mock.patch("paasta_tools.monitoring_tools.send_event", autospec=True),
mock.patch('check_marathon_services_replication.load_system_paasta_config', autospec=True),
mock.patch("paasta_tools.check_marathon_services_replication._log", autospec=True),
mock.patch("paasta_tools.marathon_tools.load_marathon_service_config", autospec=True),
) as (
send_event_patch,
load_system_paasta_config_patch,
log_patch,
load_marathon_service_config_patch,
):
load_marathon_service_config_patch.return_value.get_monitoring.return_value = fake_monitoring_overrides
check_marathon_services_replication.send_event(fake_service_name,
fake_namespace,
fake_cluster,
fake_soa_dir,
fake_status,
fake_output)
send_event_patch.assert_called_once_with(
fake_service_name,
expected_check_name,
mock.ANY,
fake_status,
fake_output,
fake_soa_dir
)
# The overrides dictionary is mutated in the function under test, so
# we expect the send_event_patch to be called with something that is a
# superset of what we originally put in (fake_monitoring_overrides)
actual_overrides_used = send_event_patch.call_args[0][2]
assert set({'alert_after': '2m'}.items()).issubset(set(actual_overrides_used.items()))
assert 'runbook' in actual_overrides_used
def test_send_event_users_monitoring_tools_send_event_respects_alert_after():
fake_service_name = 'superfast'
fake_namespace = 'jellyfish'
fake_status = '999999'
fake_output = 'YOU DID IT'
fake_cluster = 'fake_cluster'
fake_monitoring_overrides = {'alert_after': '666m'}
fake_soa_dir = '/hi/hello/hey'
fake_cluster = 'fake_cluster'
expected_check_name = 'check_marathon_services_replication.%s' % compose_job_id(fake_service_name, fake_namespace)
with contextlib.nested(
mock.patch("paasta_tools.monitoring_tools.send_event", autospec=True),
mock.patch('check_marathon_services_replication.load_system_paasta_config', autospec=True),
mock.patch("paasta_tools.check_marathon_services_replication._log", autospec=True),
mock.patch("paasta_tools.marathon_tools.load_marathon_service_config", autospec=True),
) as (
send_event_patch,
load_system_paasta_config_patch,
log_patch,
load_marathon_service_config_patch,
):
load_marathon_service_config_patch.return_value.get_monitoring.return_value = fake_monitoring_overrides
check_marathon_services_replication.send_event(fake_service_name,
fake_namespace,
fake_cluster,
fake_soa_dir,
fake_status,
fake_output)
send_event_patch.call_count == 1
send_event_patch.assert_called_once_with(
fake_service_name,
expected_check_name,
mock.ANY,
fake_status,
fake_output,
fake_soa_dir
)
# The overrides dictionary is mutated in the function under test, so
# we expect the send_event_patch to be called with something that is a
# superset of what we originally put in (fake_monitoring_overrides)
actual_overrides_used = send_event_patch.call_args[0][2]
assert set({'alert_after': '666m'}.items()).issubset(set(actual_overrides_used.items()))
assert not set({'alert_after': '2m'}.items()).issubset(set(actual_overrides_used.items()))
def test_add_context_to_event():
service = 'fake_service'
instance = 'fake_instance'
output = 'fake_output'
fake_context = 'fake_context'
with mock.patch('check_marathon_services_replication.get_context', autospec=True) as get_context_patch:
get_context_patch.return_value = "fake_context"
actual = check_marathon_services_replication.add_context_to_event(service, instance, output)
get_context_patch.assert_called_once_with(service, instance)
assert fake_context in actual
def test_check_smartstack_replication_for_instance_ok_when_expecting_zero():
service = 'test'
instance = 'main'
cluster = 'fake_cluster'
available = {'fake_region': {'test.main': 1, 'test.three': 4, 'test.four': 8}}
expected_replication_count = 0
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.OK,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_crit_when_absent():
service = 'test'
instance = 'some_absent_instance'
cluster = 'fake_cluster'
available = {'fake_region': {'test.two': 1, 'test.three': 4, 'test.four': 8}}
expected_replication_count = 8
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_load_smartstack_info_for_service.return_value = available
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.CRITICAL,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_crit_when_zero_replication():
service = 'test'
instance = 'zero_running'
cluster = 'fake_cluster'
available = {'fake_region': {'test.zero_running': 0, 'test.main': 8, 'test.fully_replicated': 8}}
expected_replication_count = 8
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_load_smartstack_info_for_service.return_value = available
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.CRITICAL,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_crit_when_low_replication():
service = 'test'
instance = 'not_enough'
cluster = 'fake_cluster'
available = {'fake_region': {'test.canary': 1, 'test.not_enough': 4, 'test.fully_replicated': 8}}
expected_replication_count = 8
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.CRITICAL,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_ok_with_enough_replication():
service = 'test'
instance = 'everything_up'
cluster = 'fake_cluster'
available = {'fake_region': {'test.canary': 1, 'test.low_replication': 4, 'test.everything_up': 8}}
expected_replication_count = 8
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.OK,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_ignores_things_under_a_different_namespace():
service = 'test'
instance = 'main'
namespace = 'canary'
cluster = 'fake_cluster'
available = {'fake_region': {'test.canary': 1, 'test.main': 4, 'test.fully_replicated': 8}}
expected_replication_count = 8
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event_if_under_replication', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=namespace),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event_if_under_replication,
mock_read_namespace_for_service_instance,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event_if_under_replication.call_count == 0
def test_check_smartstack_replication_for_instance_ok_with_enough_replication_multilocation():
service = 'test'
instance = 'everything_up'
cluster = 'fake_cluster'
available = {'fake_region': {'test.everything_up': 1}, 'fake_other_region': {'test.everything_up': 1}}
expected_replication_count = 2
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.OK,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_crit_when_low_replication_multilocation():
service = 'test'
instance = 'low_replication'
cluster = 'fake_cluster'
available = {'fake_region': {'test.low_replication': 1}, 'fake_other_region': {'test.low_replication': 0}}
expected_replication_count = 2
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.CRITICAL,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_crit_when_zero_replication_multilocation():
service = 'test'
instance = 'zero_running'
cluster = 'fake_cluster'
available = {'fake_region': {'test.zero_running': 0}, 'fake_other_region': {'test.zero_running': 0}}
expected_replication_count = 2
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.CRITICAL,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_crit_when_missing_replication_multilocation():
service = 'test'
instance = 'missing_instance'
cluster = 'fake_cluster'
available = {'fake_region': {'test.main': 0}, 'fake_other_region': {'test.main': 0}}
expected_replication_count = 2
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
mock_load_smartstack_info_for_service.return_value = available
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.CRITICAL,
output=mock.ANY)
def test_check_smartstack_replication_for_instance_crit_when_no_smartstack_info():
service = 'test'
instance = 'some_instance'
cluster = 'fake_cluster'
available = {}
expected_replication_count = 2
soa_dir = 'test_dir'
crit = 90
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('paasta_tools.marathon_tools.read_namespace_for_service_instance',
autospec=True, return_value=instance),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
mock.patch('check_marathon_services_replication.load_smartstack_info_for_service', autospec=True),
mock.patch('paasta_tools.marathon_tools.load_marathon_service_config', autospec=True)
) as (
mock_send_event,
mock_read_namespace_for_service_instance,
mock_get_context,
mock_load_smartstack_info_for_service,
mock_load_marathon_service_config,
):
mock_load_smartstack_info_for_service.return_value = available
mock_service_job_config = mock.MagicMock(spec_set=MarathonServiceConfig)
mock_load_marathon_service_config.return_value = mock_service_job_config
check_marathon_services_replication.check_smartstack_replication_for_instance(
service, instance, cluster, soa_dir, crit, expected_replication_count,
)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=pysensu_yelp.Status.CRITICAL,
output=mock.ANY)
def test_check_service_replication_for_normal_smartstack():
service = 'test_service'
instance = 'test_instance'
cluster = 'fake_cluster'
with contextlib.nested(
mock.patch('paasta_tools.marathon_tools.get_proxy_port_for_instance',
autospec=True, return_value=666),
mock.patch('paasta_tools.marathon_tools.get_expected_instance_count_for_namespace',
autospec=True, return_value=100),
mock.patch('check_marathon_services_replication.check_smartstack_replication_for_instance',
autospec=True),
) as (
mock_get_proxy_port_for_instance,
mock_get_expected_count,
mock_check_smartstack_replication_for_service
):
mock_client = mock.Mock()
check_marathon_services_replication.check_service_replication(
client=mock_client, service=service, instance=instance, cluster=cluster, crit_threshold=None, soa_dir=None)
mock_check_smartstack_replication_for_service.assert_called_once_with(
service=service,
instance=instance,
cluster=cluster,
soa_dir=None,
crit_threshold=None,
expected_count=100,
)
def test_check_service_replication_for_non_smartstack():
service = 'test_service'
instance = 'worker'
cluster = 'fake_cluster'
with contextlib.nested(
mock.patch('paasta_tools.marathon_tools.get_proxy_port_for_instance', autospec=True, return_value=None),
mock.patch('paasta_tools.marathon_tools.get_expected_instance_count_for_namespace',
autospec=True, return_value=100),
mock.patch('check_marathon_services_replication.check_healthy_marathon_tasks_for_service_instance',
autospec=True),
) as (
mock_get_proxy_port_for_instance,
mock_get_expected_count,
mock_check_healthy_marathon_tasks,
):
mock_client = mock.Mock()
check_marathon_services_replication.check_service_replication(
client=mock_client, service=service, instance=instance, cluster=cluster, crit_threshold=None, soa_dir=None)
mock_check_healthy_marathon_tasks.assert_called_once_with(
client=mock_client,
service=service,
instance=instance,
cluster=cluster,
soa_dir=None,
crit_threshold=None,
expected_count=100)
def test_get_healthy_marathon_instances_for_short_app_id():
fake_client = mock.Mock()
fakes = []
for i in range(0, 4):
fake_task = mock.Mock()
fake_task.app_id = '/service.instance.foo%s.bar%s' % (i, i)
mock_result = mock.Mock()
mock_result.alive = True if i % 2 == 0 else False
fake_task.health_check_results = [mock_result]
fakes.append(fake_task)
fake_client.list_tasks.return_value = fakes
actual = check_marathon_services_replication.get_healthy_marathon_instances_for_short_app_id(
fake_client,
'service.instance',
)
assert actual == 2
@mock.patch('check_marathon_services_replication.send_event_if_under_replication')
@mock.patch('check_marathon_services_replication.get_healthy_marathon_instances_for_short_app_id')
def test_check_healthy_marathon_tasks_for_service_instance(mock_healthy_instances,
mock_send_event_if_under_replication):
service = 'service'
instance = 'instance'
cluster = 'cluster'
soa_dir = 'soa_dir'
client = mock.Mock()
mock_healthy_instances.return_value = 2
check_marathon_services_replication.check_healthy_marathon_tasks_for_service_instance(
client=client,
service=service,
instance=instance,
cluster=cluster,
soa_dir=soa_dir,
crit_threshold=50,
expected_count=10
)
assert mock_send_event_if_under_replication.called_once_with(
service=service,
instance=instance,
cluster=cluster,
crit_threshold=50,
expected_count=10,
num_available=2,
soa_dir=soa_dir
)
def test_check_service_replication_for_namespace_with_no_deployments():
service = 'test_service'
instance = 'worker'
cluster = 'fake_cluster'
with contextlib.nested(
mock.patch('paasta_tools.marathon_tools.get_proxy_port_for_instance', autospec=True, return_value=None),
mock.patch('paasta_tools.marathon_tools.get_expected_instance_count_for_namespace',
autospec=True),
) as (
mock_get_proxy_port_for_instance,
mock_get_expected_count,
):
mock_client = mock.Mock()
mock_get_expected_count.side_effect = check_marathon_services_replication.NoDeploymentsAvailable
check_marathon_services_replication.check_service_replication(
client=mock_client, service=service, instance=instance, cluster=cluster, crit_threshold=None, soa_dir=None)
assert mock_get_proxy_port_for_instance.call_count == 0
def test_send_event_if_under_replication_handles_0_expected():
service = 'test_service'
instance = 'worker'
cluster = 'fake_cluster'
crit = 90
expected_count = 0
available = 0
soa_dir = '/dne'
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
) as (
mock_send_event,
mock_get_context,
):
check_marathon_services_replication.send_event_if_under_replication(
service, instance, cluster, crit, expected_count, available, soa_dir)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=0,
output=mock.ANY)
def test_send_event_if_under_replication_good():
service = 'test_service'
instance = 'worker'
cluster = 'fake_cluster'
crit = 90
expected_count = 100
available = 100
soa_dir = '/dne'
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
) as (
mock_send_event,
mock_get_context,
):
check_marathon_services_replication.send_event_if_under_replication(
service, instance, cluster, crit, expected_count, available, soa_dir)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=0,
output=mock.ANY)
def test_send_event_if_under_replication_critical():
service = 'test_service'
instance = 'worker'
cluster = 'fake_cluster'
crit = 90
expected_count = 100
available = 89
soa_dir = '/dne'
with contextlib.nested(
mock.patch('check_marathon_services_replication.send_event', autospec=True),
mock.patch('check_marathon_services_replication.get_context', autospec=True),
) as (
mock_send_event,
mock_get_context,
):
check_marathon_services_replication.send_event_if_under_replication(
service=service,
instance=instance,
cluster=cluster,
crit_threshold=crit,
expected_count=expected_count,
num_available=available,
soa_dir=soa_dir)
mock_send_event.assert_called_once_with(
service=service,
namespace=instance,
cluster=cluster,
soa_dir=soa_dir,
status=2,
output=mock.ANY)
def test_get_smartstack_replication_for_attribute():
fake_namespace = 'fake_main'
fake_service = 'fake_service'
fake_values_and_hosts = {
'fake_value_1': ['fake_host_1', 'fake_host_3'],
'fake_other_value': ['fake_host_4'],
}
with contextlib.nested(
mock.patch('paasta_tools.mesos_tools.get_mesos_slaves_grouped_by_attribute',
return_value=fake_values_and_hosts),
mock.patch('paasta_tools.monitoring.replication_utils.get_replication_for_services',
return_value={}, autospec=True),
) as (
mock_get_mesos_slaves_grouped_by_attribute,
mock_get_replication_for_services,
):
expected = {
'fake_value_1': {},
'fake_other_value': {}
}
actual = check_marathon_services_replication.get_smartstack_replication_for_attribute(
attribute='fake_attribute', service=fake_service, namespace=fake_namespace, blacklist=[])
assert actual == expected
assert mock_get_replication_for_services.call_count == 2
mock_get_mesos_slaves_grouped_by_attribute.assert_called_once_with(
attribute='fake_attribute',
blacklist=[],
)
mock_get_replication_for_services.assert_any_call(
synapse_host='fake_host_1',
synapse_port=DEFAULT_SYNAPSE_PORT,
services=['fake_service.fake_main'],
)
def test_main():
soa_dir = 'anw'
crit = 1
services = [('a', 'main'), ('b', 'main'), ('c', 'main')]
args = mock.Mock(soa_dir=soa_dir, crit=crit, verbose=False)
with contextlib.nested(
mock.patch('check_marathon_services_replication.parse_args',
return_value=args, autospec=True),
mock.patch('check_marathon_services_replication.get_services_for_cluster',
return_value=services, autospec=True),
mock.patch('check_marathon_services_replication.check_service_replication',
autospec=True),
mock.patch('check_marathon_services_replication.load_system_paasta_config',
autospec=True),
mock.patch('check_marathon_services_replication.marathon_tools.load_marathon_config')
) as (
mock_parse_args,
mock_get_services_for_cluster,
mock_check_service_replication,
mock_load_system_paasta_config,
mock_load_marathon_config,
):
mock_config = mock.Mock()
mock_load_marathon_config.return_value = mock_config
mock_load_system_paasta_config.return_value.get_cluster = mock.Mock(return_value='fake_cluster')
check_marathon_services_replication.main()
mock_parse_args.assert_called_once_with()
mock_get_services_for_cluster.assert_called_once_with(
cluster='fake_cluster', instance_type='marathon', soa_dir=soa_dir)
| 44.109159
| 119
| 0.704964
| 4,071
| 35,155
| 5.619013
| 0.060673
| 0.033049
| 0.072525
| 0.110514
| 0.873486
| 0.836415
| 0.820153
| 0.808699
| 0.793137
| 0.778929
| 0
| 0.005653
| 0.220026
| 35,155
| 796
| 120
| 44.164573
| 0.828592
| 0.027023
| 0
| 0.733057
| 0
| 0
| 0.193301
| 0.146204
| 0
| 0
| 0
| 0
| 0.04426
| 1
| 0.033195
| false
| 0
| 0.009682
| 0
| 0.042877
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d20e7577b579df6705c3ad38b0b387a427d983fd
| 11,067
|
py
|
Python
|
filenames/generate_filenames.py
|
edwardyang12/aanet
|
70e79a6d1ccf19491133e784b9df6a29dff88321
|
[
"Apache-2.0"
] | null | null | null |
filenames/generate_filenames.py
|
edwardyang12/aanet
|
70e79a6d1ccf19491133e784b9df6a29dff88321
|
[
"Apache-2.0"
] | null | null | null |
filenames/generate_filenames.py
|
edwardyang12/aanet
|
70e79a6d1ccf19491133e784b9df6a29dff88321
|
[
"Apache-2.0"
] | null | null | null |
import os
from glob import glob
from PIL import Image
from depth2disp import convert_file
import numpy as np
intrinsic = np.array([[1387.095, 0.0, 960.0], [0.0, 1387.095, 540.0], [0.0, 0.0, 1.0]])
def gen_kitti_2015():
data_dir = 'data/KITTI/kitti_2015/data_scene_flow'
train_file = 'KITTI_2015_train.txt'
val_file = 'KITTI_2015_val.txt'
# Split the training set with 4:1 raito (160 for training, 40 for validation)
with open(train_file, 'w') as train_f, open(val_file, 'w') as val_f:
dir_name = 'image_2'
left_dir = os.path.join(data_dir, 'training', dir_name)
left_imgs = sorted(glob(left_dir + '/*_10.png'))
print('Number of images: %d' % len(left_imgs))
for left_img in left_imgs:
right_img = left_img.replace(dir_name, 'image_3')
disp_path = left_img.replace(dir_name, 'disp_occ_0')
img_id = int(os.path.basename(left_img).split('_')[0])
if img_id % 5 == 0:
val_f.write(left_img.replace(data_dir + '/', '') + ' ')
val_f.write(right_img.replace(data_dir + '/', '') + ' ')
val_f.write(disp_path.replace(data_dir + '/', '') + '\n')
else:
train_f.write(left_img.replace(data_dir + '/', '') + ' ')
train_f.write(right_img.replace(data_dir + '/', '') + ' ')
train_f.write(disp_path.replace(data_dir + '/', '') + '\n')
def gen_own_data():
data_dir = 'linked_v5'
train_list = 'linked_v5/training_lists/200_train.txt'
val_list = 'linked_v5/training_lists/200_val.txt'
train_list_f = open(train_list, 'r')
val_list_f = open(val_list, 'r')
train_file = 'filenames/custom_train.txt'
val_file = 'filenames/custom_val.txt'
with open(train_file, 'w') as train_f, open(val_file, 'w') as val_f:
while True:
x = train_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = 'training/' + x + '/0128_irL_denoised_half.png '
right = 'training/' + x + '/0128_irR_denoised_half.png '
# os.mkdir('/cephfs/edward/'+x)
# image = Image.open(data_dir + '/training/' + x + '/depthL_fromR.png')
# new_image = image.resize((960,540))
# new_image.save('/cephfs/edward/'+x +'/depthL_fromR_down.png')
# gt = '/cephfs/edward/'+x +'/depthL_fromR_down.png \n'
temp = '/cephfs/edward/'+x +'/depthL_fromR_down.png'
out = '/cephfs/edward/'+x +'/disp.png'
convert_file(temp, intrinsic,0.055,out)
gt = '/cephfs/edward/'+x +'/disp.png \n'
train_f.write(left)
train_f.write(right)
train_f.write(gt)
while True:
x = val_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = 'training/' + x + '/0128_irL_denoised_half.png '
right = 'training/' + x + '/0128_irR_denoised_half.png '
# image = Image.open(data_dir + '/training/' + x + '/depthL_fromR.png')
# new_image = image.resize((960,540))
# os.mkdir('/cephfs/edward/'+x)
# new_image.save('/cephfs/edward/'+x +'/depthL_fromR_down.png')
# gt = '/cephfs/edward/'+x +'/depthL_fromR_down.png \n'
temp = '/cephfs/edward/'+x +'/depthL_fromR_down.png'
out = '/cephfs/edward/'+x +'/disp.png'
convert_file(temp, intrinsic,0.055,out)
gt = '/cephfs/edward/'+x +'/disp.png \n'
val_f.write(left)
val_f.write(right)
val_f.write(gt)
def gen_own_data_full():
data_dir = 'linked_v9'
train_list = 'linked_v9/training_lists/all_train.txt'
val_list = 'linked_v9/training_lists/all_val.txt'
train_list_f = open(train_list, 'r')
val_list_f = open(val_list, 'r')
train_file = 'filenames/custom_train_full.txt'
val_file = 'filenames/custom_val_full.txt'
with open(train_file, 'w') as train_f, open(val_file, 'w') as val_f:
while True:
x = train_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = 'training/' + x + '/0128_irL_denoised_half.png '
right = 'training/' + x + '/0128_irR_denoised_half.png '
# image = Image.open(data_dir + '/training/' + x + '/depthR.png')
# new_image = image.resize((960,540))
# os.mkdir('/cephfs/edward/'+x)
# new_image.save('/cephfs/edward/'+x +'/depthR_down.png')
gt = '/cephfs/edward/'+x +'/depthR_down.png '# will need to convert into disparity
meta = 'training/' + x +'/meta.pkl \n'
train_f.write(left)
train_f.write(right)
train_f.write(gt)
train_f.write(meta)
while True:
x = val_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = 'training/' + x + '/0128_irL_denoised_half.png '
right = 'training/' + x + '/0128_irR_denoised_half.png '
# image = Image.open(data_dir + '/training/' + x + '/depthR.png')
# new_image = image.resize((960,540))
# os.mkdir('/cephfs/edward/'+x)
# new_image.save('/cephfs/edward/'+x +'/depthR_down.png')
gt = '/cephfs/edward/'+x +'/depthR_down.png '# will need to convert into disparity
meta = 'training/' + x +'/meta.pkl \n'
val_f.write(left)
val_f.write(right)
val_f.write(gt)
val_f.write(meta)
def gen_own_data_real():
data_dir = 'linked_real_v9'
train_list = 'linked_real_v9/test.txt'
train_list_f = open(train_list, 'r')
train_file = 'filenames/custom_test_real.txt'
with open(train_file, 'w') as train_f:
while True:
x = train_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = '/cephfs/edward/'+x + '/real/1024_irL_real_1080_half.png '
# image = Image.open(data_dir + '/' + x + '/1024_irL_real_1080.png')
# new_image = image.resize((960,540))
# if not os.path.isdir('/cephfs/edward/'+x):
# os.mkdir('/cephfs/edward/'+x)
#os.mkdir('/cephfs/edward/'+x+'/real/')
# new_image.save('/cephfs/edward/'+x +'/real/1024_irL_real_1080_half.png')
right = '/cephfs/edward/'+x + '/real/1024_irR_real_1080_half.png '
# image = Image.open(data_dir + '/' + x + '/1024_irR_real_1080.png')
# new_image = image.resize((960,540))
# new_image.save('/cephfs/edward/'+x +'/real/1024_irR_real_1080_half.png')
gt = '/cephfs/edward/'+x +'/sim/depthR_down.png ' # using sim as GT also
meta = '/workspace/aanet/linked_sim_v9/training/' + x +'/meta.pkl '
label = '/workspace/aanet/linked_real_v9/' + x +'/irL_label_image.png \n'
train_f.write(left)
train_f.write(right)
train_f.write(gt)
train_f.write(meta)
train_f.write(label)
def gen_own_data_sim():
data_dir = 'linked_sim_v9'
train_list = 'linked_sim_v9/training_lists/all.txt'
train_list_f = open(train_list, 'r')
train_file = 'filenames/custom_test_sim.txt'
with open(train_file, 'w') as train_f:
while True:
x = train_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = 'training/' + x + '/0128_irL_denoised_half.png '
right = 'training/' + x + '/0128_irR_denoised_half.png '
#image = Image.open(data_dir + '/training/' + x + '/depthR.png')
#new_image = image.resize((960,540))
#os.mkdir('/cephfs/edward/'+x)
#os.mkdir('/cephfs/edward/'+x+'/sim/')
#new_image.save('/cephfs/edward/'+x +'/sim/depthR_down.png')
gt = '/cephfs/edward/'+x +'/sim/depthR_down.png ' # will need to convert into disparity
meta = '/workspace/aanet/linked_sim_v9/training/' + x +'/meta.pkl '
label = '/workspace/aanet/linked_real_v9/' + x +'/irL_label_image.png \n'
train_f.write(left)
train_f.write(right)
train_f.write(gt)
train_f.write(meta)
train_f.write(label)
def gen_own_data_obj():
data_dir = 'linked_v9'
train_list = 'linked_v9/training_lists/all_train.txt'
val_list = 'linked_v9/training_lists/all_val.txt'
train_list_f = open(train_list, 'r')
val_list_f = open(val_list, 'r')
train_file = 'filenames/custom_train_full.txt'
val_file = 'filenames/custom_val_full.txt'
with open(train_file, 'w') as train_f, open(val_file, 'w') as val_f:
while True:
x = train_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = 'training/' + x + '/0128_irL_denoised_half.png '
right = 'training/' + x + '/0128_irR_denoised_half.png '
gt = '/cephfs/edward/'+x +'/depthR_down.png ' # will need to convert into disparity
meta = 'training/' + x +'/meta.pkl '
label = 'training/' + x +'/irL_label_image.png \n'
train_f.write(left)
train_f.write(right)
train_f.write(gt)
train_f.write(meta)
train_f.write(label)
while True:
x = val_list_f.readline() # gets each directory
if not x:
break
else:
x = x.split()[0]
if x[0]!='1' and x[0]!='0':
continue
left = 'training/' + x + '/0128_irL_denoised_half.png '
right = 'training/' + x + '/0128_irR_denoised_half.png '
gt = '/cephfs/edward/'+x +'/depthR_down.png '# will need to convert into disparity
meta = 'training/' + x +'/meta.pkl '
label = 'training/' + x +'/irL_label_image.png \n'
val_f.write(left)
val_f.write(right)
val_f.write(gt)
val_f.write(meta)
val_f.write(label)
if __name__ == '__main__':
gen_own_data_obj()
| 35.931818
| 99
| 0.537363
| 1,473
| 11,067
| 3.789545
| 0.093007
| 0.042995
| 0.074525
| 0.026872
| 0.859907
| 0.846829
| 0.829631
| 0.802401
| 0.787531
| 0.770333
| 0
| 0.03713
| 0.316165
| 11,067
| 307
| 100
| 36.04886
| 0.700449
| 0.18135
| 0
| 0.776699
| 0
| 0
| 0.233356
| 0.130826
| 0
| 0
| 0
| 0
| 0
| 1
| 0.029126
| false
| 0
| 0.024272
| 0
| 0.053398
| 0.004854
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
967971887e998dfef1e36fce660438766093827c
| 9,474
|
py
|
Python
|
tests/babel/reasonerStdTests/test_wildcard_handler.py
|
NCATSTranslator/connections_hypothesis_provider
|
a233068bf507a9cf65a7c70c88422984a77d7c20
|
[
"Apache-2.0"
] | null | null | null |
tests/babel/reasonerStdTests/test_wildcard_handler.py
|
NCATSTranslator/connections_hypothesis_provider
|
a233068bf507a9cf65a7c70c88422984a77d7c20
|
[
"Apache-2.0"
] | 7
|
2021-01-13T22:25:46.000Z
|
2021-07-29T15:26:06.000Z
|
tests/babel/reasonerStdTests/test_wildcard_handler.py
|
NCATSTranslator/chp
|
00668fd3d50a48fdd75abbeacaf173a3ad41942d
|
[
"Apache-2.0"
] | 2
|
2021-01-14T19:06:24.000Z
|
2021-01-26T15:02:12.000Z
|
"""
Source code developed by DI2AG.
Thayer School of Engineering at Dartmouth College
Authors: Dr. Eugene Santos, Jr
Mr. Chase Yakaboski,
Mr. Gregory Hyde,
Mr. Luke Veenhuis,
Dr. Keum Joo Kim
"""
import requests
import json
import unittest
from chp.reasoner_std import ReasonerStdHandler
class testWildCardHandler(unittest.TestCase):
""" Unit tests for the wildcard_handler
1. test_drug - queries Cyclophosphamide which has no sparsity issues
2. test_sparse_drug - queries the drug Gemzar which has a sparsity issue.
Used to throw an error. Should be handled.
"""
def test_drug(self):
""" queries Cyclophosphamide which has no sparsity issue. Should return
top 5 genes and a probability of survival
"""
# empty response
reasoner_std = { "query_graph": {},
"knowledge_graph": {},
"results": []
}
# empty query graph
reasoner_std["query_graph"] = { "edges": {},
"nodes": {}
}
# empty knowledge graph
reasoner_std["knowledge_graph"] = { "edges": {},
"nodes": {}
}
# add in evidence drug
drug = ('CYCLOPHOSPHAMIDE', 'CHEMBL:CHEMBL88')
reasoner_std['query_graph']['nodes']['n0'] = {
'category':'biolink:Drug',
'id':'{}'.format(drug[1])
}
# add in gene node (to be filled by contribution analysis
reasoner_std['query_graph']['nodes']['n1'] = {
'category':'biolink:Gene'
}
#add in disease node
disease = ('Breast_Cancer', 'MONDO:0007254')
reasoner_std['query_graph']['nodes']['n2'] = {
'category':'biolink:Disease',
'id':'{}'.format(disease[1])
}
# add target survival node
phenotype = ('Survival_Time', 'EFO:0000714')
reasoner_std['query_graph']['nodes']['n3'] = {
'category': 'biolink:PhenotypicFeature',
'id': '{}'.format(phenotype[1]),
}
# link disease to target survival node
reasoner_std['query_graph']['edges']['e0'] = {
'predicate':'biolink:DiseaseToPhenotypicFeatureAssociation',
'subject':'n2',
'object':'n3',
'properties': {
'qualifier': '>=',
'days': 940
}
}
# link genes/drugs to disease
reasoner_std['query_graph']['edges']['e1'] = {
'predicate':'biolink:GeneToDiseaseAssociation',
'subject': 'n1',
'object': 'n2'
}
reasoner_std['query_graph']['edges']['e2'] = {
'predicate':'biolink:ChemicalToDiseaseOrPhenotypicFeatureAssociation',
'subject': 'n0',
'object': 'n2'
}
handler = ReasonerStdHandler(source_ara='default',
dict_query=reasoner_std,
max_results=5)
queries = handler.buildChpQueries()
queries = handler.runChpQueries()
reasoner_std_final = handler.constructDecoratedKG()
KG = reasoner_std_final["message"]['knowledge_graph']
res_pretty = json.dumps(reasoner_std_final, indent=2)
print(res_pretty)
# extract probability
for _, edge in KG['edges'].items():
if edge['predicate'] == 'biolink:DiseaseToPhenotypicFeatureAssociation':
p_survival = edge['has_confidence_level']
#gene_contribs = edge['Description']
break
print("probability of survival:",p_survival)
def test_sparse_drug(self):
""" queries the drug Gemzar which has a sparsity issue. Used to throw an error.
Should be handled.
"""
# empty response
reasoner_std = { "query_graph": {},
"knowledge_graph": {},
"results": []
}
# empty query graph
reasoner_std["query_graph"] = { "edges": {},
"nodes": {}
}
# empty knowledge graph
reasoner_std["knowledge_graph"] = { "edges": {},
"nodes": {}
}
# add in evidence drug
drug = ('GEMZAR', 'CHEMBL:CHEMBL888')
reasoner_std['query_graph']['nodes']['n0'] = {
'category':'biolink:Drug',
'id':'{}'.format(drug[1])
}
# add in gene node (to be filled by contribution analysis
reasoner_std['query_graph']['nodes']['n1'] = {
'category':'biolink:Gene'
}
#add in disease node
disease = ('Breast_Cancer', 'MONDO:0007254')
reasoner_std['query_graph']['nodes']['n2'] = {
'category':'biolink:Disease',
'id':'{}'.format(disease[1])
}
# add target survival node
phenotype = ('Survival_Time', 'EFO:0000714')
reasoner_std['query_graph']['nodes']['n3'] = {
'category': 'biolink:PhenotypicFeature',
'id': '{}'.format(phenotype[1]),
}
# link disease to target survival node
reasoner_std['query_graph']['edges']['e0'] = {
'predicate':'biolink:DiseaseToPhenotypicFeatureAssociation',
'subject':'n2',
'object':'n3',
'properties': {
'qualifier': '>=',
'days': 940
}
}
# link genes/drugs to disease
reasoner_std['query_graph']['edges']['e1'] = {
'predicate':'biolink:GeneToDiseaseAssociation',
'subject': 'n1',
'object': 'n2'
}
reasoner_std['query_graph']['edges']['e2'] = {
'predicate':'biolink:ChemicalToDiseaseOrPhenotypicFeatureAssociation',
'subject': 'n0',
'object': 'n2'
}
handler = ReasonerStdHandler(source_ara='default',
dict_query=reasoner_std,
max_results=5)
queries = handler.buildChpQueries()
queries = handler.runChpQueries()
reasoner_std_final = handler.constructDecoratedKG()
KG = reasoner_std_final["message"]['knowledge_graph']
res_pretty = json.dumps(reasoner_std_final, indent=2)
print(res_pretty)
# extract probability
for _, edge in KG['edges'].items():
if edge['predicate'] == 'biolink:DiseaseToPhenotypicFeatureAssociation':
p_survival = edge['has_confidence_level']
#gene_contribs = edge['Description']
break
print("probability of survival:",p_survival)
if __name__ == '__main__':
unittest.main()
| 45.990291
| 124
| 0.382626
| 605
| 9,474
| 5.826446
| 0.259504
| 0.090496
| 0.081702
| 0.107234
| 0.861844
| 0.861844
| 0.838582
| 0.838582
| 0.838582
| 0.838582
| 0
| 0.017517
| 0.52396
| 9,474
| 205
| 125
| 46.214634
| 0.76408
| 0.133523
| 0
| 0.748092
| 0
| 0
| 0.188639
| 0.050105
| 0
| 0
| 0
| 0
| 0
| 1
| 0.015267
| false
| 0
| 0.030534
| 0
| 0.053435
| 0.030534
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
967c27b0f77d758510f894387902201fbb0739bc
| 1,727
|
py
|
Python
|
test/test_regpath.py
|
Pseudomanifold/POT
|
5861209f27fe8e022eca2ed2c8d0bb1da4a1146b
|
[
"MIT"
] | 830
|
2020-04-21T03:45:02.000Z
|
2022-03-31T18:27:08.000Z
|
test/test_regpath.py
|
Pseudomanifold/POT
|
5861209f27fe8e022eca2ed2c8d0bb1da4a1146b
|
[
"MIT"
] | 192
|
2020-04-17T10:15:37.000Z
|
2022-03-24T10:00:57.000Z
|
test/test_regpath.py
|
Pseudomanifold/POT
|
5861209f27fe8e022eca2ed2c8d0bb1da4a1146b
|
[
"MIT"
] | 402
|
2020-04-17T18:24:00.000Z
|
2022-03-29T18:26:33.000Z
|
"""Tests for module regularization path"""
# Author: Haoran Wu <haoran.wu@univ-ubs.fr>
#
# License: MIT License
import numpy as np
import ot
def test_fully_relaxed_path():
n_source = 50 # nb source samples (gaussian)
n_target = 40 # nb target samples (gaussian)
mu = np.array([0, 0])
cov = np.array([[1, 0], [0, 2]])
np.random.seed(0)
xs = ot.datasets.make_2D_samples_gauss(n_source, mu, cov)
xt = ot.datasets.make_2D_samples_gauss(n_target, mu, cov)
# source and target distributions
a = ot.utils.unif(n_source)
b = ot.utils.unif(n_target)
# loss matrix
M = ot.dist(xs, xt)
M /= M.max()
t, _, _ = ot.regpath.regularization_path(a, b, M, reg=1e-8,
semi_relaxed=False)
G = t.reshape((n_source, n_target))
np.testing.assert_allclose(a, G.sum(1), atol=1e-05)
np.testing.assert_allclose(b, G.sum(0), atol=1e-05)
def test_semi_relaxed_path():
n_source = 50 # nb source samples (gaussian)
n_target = 40 # nb target samples (gaussian)
mu = np.array([0, 0])
cov = np.array([[1, 0], [0, 2]])
np.random.seed(0)
xs = ot.datasets.make_2D_samples_gauss(n_source, mu, cov)
xt = ot.datasets.make_2D_samples_gauss(n_target, mu, cov)
# source and target distributions
a = ot.utils.unif(n_source)
b = ot.utils.unif(n_target)
# loss matrix
M = ot.dist(xs, xt)
M /= M.max()
t, _, _ = ot.regpath.regularization_path(a, b, M, reg=1e-8,
semi_relaxed=True)
G = t.reshape((n_source, n_target))
np.testing.assert_allclose(a, G.sum(1), atol=1e-05)
np.testing.assert_allclose(b, G.sum(0), atol=1e-10)
| 26.569231
| 64
| 0.607412
| 274
| 1,727
| 3.660584
| 0.262774
| 0.055833
| 0.055833
| 0.063809
| 0.861416
| 0.861416
| 0.861416
| 0.861416
| 0.861416
| 0.861416
| 0
| 0.035549
| 0.250724
| 1,727
| 64
| 65
| 26.984375
| 0.739567
| 0.176028
| 0
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 1
| 0.055556
| false
| 0
| 0.055556
| 0
| 0.111111
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9693c31aef8255f9f50d5ddb602faf91ec99b5c4
| 16,044
|
py
|
Python
|
backend/fms_core/migrations/0018_v3_1_0.py
|
c3g/freezeman
|
bc4b6c8a2876e888ce41b7d14127cc22bc2b2143
|
[
"W3C"
] | 2
|
2021-07-31T13:20:08.000Z
|
2021-09-28T13:18:55.000Z
|
backend/fms_core/migrations/0018_v3_1_0.py
|
c3g/freezeman
|
bc4b6c8a2876e888ce41b7d14127cc22bc2b2143
|
[
"W3C"
] | 71
|
2021-03-12T22:08:19.000Z
|
2022-03-25T15:24:40.000Z
|
backend/fms_core/migrations/0018_v3_1_0.py
|
c3g/freezeman
|
bc4b6c8a2876e888ce41b7d14127cc22bc2b2143
|
[
"W3C"
] | null | null | null |
# Generated by Django 3.1 on 2021-03-25 16:46
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
from django.contrib.auth.models import User
import django.utils.timezone
import fms_core.schema_validators
import reversion
ADMIN_USERNAME='biobankadmin'
def init_tracking_importedfile(apps, schema_editor):
ImportedFile = apps.get_model("fms_core", "ImportedFile")
admin_id = User.objects.get(username=ADMIN_USERNAME).id
for entry in ImportedFile.objects.all().iterator():
entry.created_at = entry.added
entry.created_by = entry.imported_by
entry.updated_by_id = admin_id
entry.save()
def init_tracking(apps, schema_editor):
Container = apps.get_model("fms_core", "Container")
Sample = apps.get_model("fms_core", "Sample")
Individual = apps.get_model("fms_core", "Individual")
Version = apps.get_model("reversion", "Version")
Revision = apps.get_model("reversion", "Revision")
# Preloading in a dictionary information needed about Revisions
revisions_dictionary = {}
for revision in Revision.objects.values('pk', 'user_id', 'date_created'):
revisions_dictionary[revision['pk']] = {'user_id': revision['user_id'], 'revision_date': revision['date_created']}
# Create a version for each entity with the new tracking fields
with reversion.create_revision(manage_manually=True):
reversion.set_comment("Addition of tracking fields.")
reversion.set_user(User.objects.get(username=ADMIN_USERNAME))
for container in Container.objects.all().iterator():
versions = Version.objects.filter(content_type__model="container", object_id=container.id)
first_version = versions.last()
latest_version = versions.first()
container.created_at = revisions_dictionary[first_version.revision_id]['revision_date']
container.created_by_id = revisions_dictionary[first_version.revision_id]['user_id']
container.updated_at = revisions_dictionary[latest_version.revision_id]['revision_date']
container.updated_by_id = revisions_dictionary[latest_version.revision_id]['user_id']
container.save()
reversion.add_to_revision(container)
for individual in Individual.objects.all().iterator():
versions = Version.objects.filter(content_type__model="individual", object_id=individual.id)
first_version = versions.last()
latest_version = versions.first()
individual.created_at = revisions_dictionary[first_version.revision_id]['revision_date']
individual.created_by_id = revisions_dictionary[first_version.revision_id]['user_id']
individual.updated_at = revisions_dictionary[latest_version.revision_id]['revision_date']
individual.updated_by_id = revisions_dictionary[latest_version.revision_id]['user_id']
individual.save()
reversion.add_to_revision(individual)
for sample in Sample.objects.all().iterator():
versions = Version.objects.filter(content_type__model="sample", object_id=sample.id)
first_version = versions.last()
latest_version = versions.first()
sample.created_at = revisions_dictionary[first_version.revision_id]['revision_date']
sample.created_by_id = revisions_dictionary[first_version.revision_id]['user_id']
sample.updated_at = revisions_dictionary[latest_version.revision_id]['revision_date']
sample.updated_by_id = revisions_dictionary[latest_version.revision_id]['user_id']
sample.save()
reversion.add_to_revision(sample)
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('fms_core', '0017_v3_1_0'),
]
operations = [
# Setting tracking for ImportedFile
migrations.AddField(
model_name='importedfile',
name='created_at',
field=models.DateTimeField(default=django.utils.timezone.now, help_text='Date the instance was created.'),
),
migrations.AddField(
model_name='importedfile',
name='created_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_importedfile_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='importedfile',
name='deleted',
field=models.BooleanField(default=False, help_text='Whether this instance has been deleted.'),
),
migrations.AddField(
model_name='importedfile',
name='updated_at',
field=models.DateTimeField(auto_now=True, help_text='Date the instance was modified.'),
),
migrations.AddField(
model_name='importedfile',
name='updated_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_importedfile_modification', to=settings.AUTH_USER_MODEL),
),
migrations.RunPython(
init_tracking_importedfile,
reverse_code=migrations.RunPython.noop,
),
migrations.AlterField(
model_name='importedfile',
name='created_at',
field=models.DateTimeField(auto_now_add=True, help_text='Date the instance was created.'),
),
migrations.RemoveField(
model_name='importedfile',
name='added',
),
migrations.RemoveField(
model_name='importedfile',
name='imported_by',
),
# Setting tracking for Container, Individual, Container
migrations.AddField(
model_name='container',
name='created_at',
field=models.DateTimeField(default=django.utils.timezone.now, help_text='Date the instance was created.'),
),
migrations.AddField(
model_name='container',
name='created_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_container_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='container',
name='deleted',
field=models.BooleanField(default=False, help_text='Whether this instance has been deleted.'),
),
migrations.AddField(
model_name='container',
name='updated_at',
field=models.DateTimeField(auto_now=True, blank=True, help_text='Date the instance was modified.'),
),
migrations.AddField(
model_name='container',
name='updated_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_container_modification', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='individual',
name='created_at',
field=models.DateTimeField(default=django.utils.timezone.now, help_text='Date the instance was created.'),
),
migrations.AddField(
model_name='individual',
name='created_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_individual_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='individual',
name='deleted',
field=models.BooleanField(default=False, help_text='Whether this instance has been deleted.'),
),
migrations.AddField(
model_name='individual',
name='updated_at',
field=models.DateTimeField(auto_now=True, help_text='Date the instance was modified.'),
),
migrations.AddField(
model_name='individual',
name='updated_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_individual_modification', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='sample',
name='created_at',
field=models.DateTimeField(default=django.utils.timezone.now, help_text='Date the instance was created.'),
),
migrations.AddField(
model_name='sample',
name='created_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_sample_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='sample',
name='deleted',
field=models.BooleanField(default=False, help_text='Whether this instance has been deleted.'),
),
migrations.AddField(
model_name='sample',
name='updated_at',
field=models.DateTimeField(auto_now=True, help_text='Date the instance was modified.'),
),
migrations.AddField(
model_name='sample',
name='updated_by',
field=models.ForeignKey(null=True, blank=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fms_core_sample_modification', to=settings.AUTH_USER_MODEL),
),
# Migration operation for extracting data from reversion and putting it into new tracking fields
migrations.RunPython(
init_tracking,
reverse_code=migrations.RunPython.noop,
),
# Modify created_at with auto_add_now=True for Container, Individual and Sample
migrations.AlterField(
model_name='container',
name='created_at',
field=models.DateTimeField(auto_now_add=True, help_text='Date the instance was created.'),
),
migrations.AlterField(
model_name='individual',
name='created_at',
field=models.DateTimeField(auto_now_add=True, help_text='Date the instance was created.'),
),
migrations.AlterField(
model_name='sample',
name='created_at',
field=models.DateTimeField(auto_now_add=True, help_text='Date the instance was created.'),
),
# Modify created_by and updated_by for each Model
migrations.AlterField(
model_name='importedfile',
name='created_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_importedfile_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='importedfile',
name='updated_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_importedfile_modification', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='sample',
name='created_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_sample_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='sample',
name='updated_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_sample_modification', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='container',
name='created_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_container_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='container',
name='updated_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_container_modification', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='individual',
name='created_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_individual_creation', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='individual',
name='updated_by',
field=models.ForeignKey(null=False, blank=True, on_delete=models.PROTECT,
related_name='fms_core_individual_modification', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='process',
name='created_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_process_creation', to='auth.user'),
),
migrations.AlterField(
model_name='process',
name='updated_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_process_modification', to='auth.user'),
),
migrations.AlterField(
model_name='processsample',
name='created_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_processsample_creation', to='auth.user'),
),
migrations.AlterField(
model_name='processsample',
name='updated_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_processsample_modification', to='auth.user'),
),
migrations.AlterField(
model_name='protocol',
name='created_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_protocol_creation', to='auth.user'),
),
migrations.AlterField(
model_name='protocol',
name='updated_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_protocol_modification', to='auth.user'),
),
migrations.AlterField(
model_name='samplekind',
name='created_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_samplekind_creation', to='auth.user'),
),
migrations.AlterField(
model_name='samplekind',
name='updated_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_samplekind_modification', to='auth.user'),
),
migrations.AlterField(
model_name='samplelineage',
name='created_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_samplelineage_creation', to='auth.user'),
),
migrations.AlterField(
model_name='samplelineage',
name='updated_by',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='fms_core_samplelineage_modification', to='auth.user'),
),
migrations.AlterField(
model_name='processsample',
name='execution_date',
field=models.DateField(help_text='Date of execution of the process.'),
),
migrations.AlterField(
model_name='sample',
name='creation_date',
field=models.DateField(help_text='Date of the sample reception or extraction.'),
),
]
| 48.035928
| 185
| 0.646223
| 1,731
| 16,044
| 5.739457
| 0.088388
| 0.041671
| 0.034021
| 0.060191
| 0.830398
| 0.808052
| 0.775239
| 0.761349
| 0.742124
| 0.677101
| 0
| 0.001739
| 0.24732
| 16,044
| 333
| 186
| 48.18018
| 0.820967
| 0.029668
| 0
| 0.695793
| 1
| 0
| 0.174561
| 0.049489
| 0
| 0
| 0
| 0
| 0
| 1
| 0.006472
| false
| 0
| 0.087379
| 0
| 0.10356
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
96a05f4bd7299bc6550695547057304d415fc8aa
| 56,199
|
py
|
Python
|
hours/tests/test_new_models.py
|
Sukriva/hauki
|
2ed569d2e4b1f1cf315939aa15c52dcabd52876b
|
[
"MIT"
] | null | null | null |
hours/tests/test_new_models.py
|
Sukriva/hauki
|
2ed569d2e4b1f1cf315939aa15c52dcabd52876b
|
[
"MIT"
] | null | null | null |
hours/tests/test_new_models.py
|
Sukriva/hauki
|
2ed569d2e4b1f1cf315939aa15c52dcabd52876b
|
[
"MIT"
] | null | null | null |
import datetime
import pytest
from hours.enums import FrequencyModifier, RuleContext, RuleSubject, State, Weekday
from hours.models import TimeElement
@pytest.mark.django_db
def test_resource_get_daily_opening_hours(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
weekdays=Weekday.business_days(),
)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=14, minute=0),
weekdays=Weekday.weekend(),
)
weekday_time_element = TimeElement(
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
weekend_time_element = TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=14, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=18),
) == {
datetime.date(year=2020, month=10, day=12): [weekday_time_element],
datetime.date(year=2020, month=10, day=13): [weekday_time_element],
datetime.date(year=2020, month=10, day=14): [weekday_time_element],
datetime.date(year=2020, month=10, day=15): [weekday_time_element],
datetime.date(year=2020, month=10, day=16): [weekday_time_element],
datetime.date(year=2020, month=10, day=17): [weekend_time_element],
datetime.date(year=2020, month=10, day=18): [weekend_time_element],
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_periods_in_result(
assert_count_equal,
resource,
date_period_factory,
time_span_group_factory,
time_span_factory,
):
date_period = date_period_factory(
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=17, minute=0),
weekdays=Weekday.business_days(),
resource_state=State.OPEN,
)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=10, minute=0),
weekdays=Weekday.business_days(),
resource_state=State.SELF_SERVICE,
)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=17, minute=0),
end_time=datetime.time(hour=19, minute=0),
weekdays=Weekday.business_days(),
resource_state=State.SELF_SERVICE,
)
weekday_time_element_open = TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=17, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
weekday_time_element_self_service_morning = TimeElement(
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=10, minute=0),
end_time_on_next_day=False,
resource_state=State.SELF_SERVICE,
override=False,
full_day=False,
)
weekday_time_element_self_service_evening = TimeElement(
start_time=datetime.time(hour=17, minute=0),
end_time=datetime.time(hour=19, minute=0),
end_time_on_next_day=False,
resource_state=State.SELF_SERVICE,
override=False,
full_day=False,
)
opening_hours = resource.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=12),
)
assert list(opening_hours.keys()) == [datetime.date(year=2020, month=10, day=12)]
assert_count_equal(
opening_hours[datetime.date(year=2020, month=10, day=12)],
[
weekday_time_element_open,
weekday_time_element_self_service_morning,
weekday_time_element_self_service_evening,
],
)
periods = [
i.periods for i in opening_hours[datetime.date(year=2020, month=10, day=12)]
]
assert periods == [[date_period], [date_period], [date_period]]
@pytest.mark.django_db
def test_get_period_for_date(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
weekdays=Weekday.business_days(),
)
assert date_period.get_daily_opening_hours(
datetime.date(year=2020, month=1, day=1),
datetime.date(year=2020, month=1, day=1),
) == {
datetime.date(year=2020, month=1, day=1): [
TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
]
}
@pytest.mark.django_db
def test_get_period_for_date_with_rule(
resource,
date_period_factory,
time_span_group_factory,
time_span_factory,
rule_factory,
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
weekdays=Weekday.business_days(),
)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=12, minute=0),
end_time=datetime.time(hour=16, minute=0),
weekdays=Weekday.weekend(),
)
rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.THURSDAY,
)
# Monday or Sunday not matching because rule limits the days only to thursdays
assert (
date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=5),
datetime.date(year=2020, month=10, day=5),
)
== {}
)
assert (
date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=18),
datetime.date(year=2020, month=10, day=18),
)
== {}
)
# Thursday
assert date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=15),
datetime.date(year=2020, month=10, day=15),
) == {
datetime.date(year=2020, month=10, day=15): [
TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
]
}
# The whole week
assert date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=18),
) == {
datetime.date(year=2020, month=10, day=15): [
TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
]
}
@pytest.mark.django_db
def test_get_period_for_dates_with_two_rules(
resource,
date_period_factory,
time_span_group_factory,
time_span_factory,
rule_factory,
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
weekdays=Weekday.business_days(),
)
rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.THURSDAY,
frequency_modifier=FrequencyModifier.EVEN,
)
rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.MONTH,
frequency_modifier=FrequencyModifier.EVEN,
)
# Odd Thursday in even month
assert (
date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=11),
datetime.date(year=2020, month=10, day=17),
)
== {}
)
# Odd Thursday in odd month
assert (
date_period.get_daily_opening_hours(
datetime.date(year=2020, month=9, day=14),
datetime.date(year=2020, month=9, day=20),
)
== {}
)
# Even Thursday in even month
assert date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=18),
datetime.date(year=2020, month=10, day=25),
) == {
datetime.date(year=2020, month=10, day=22): [
TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
]
}
# Even Thursday in odd month
assert (
date_period.get_daily_opening_hours(
datetime.date(year=2020, month=9, day=21),
datetime.date(year=2020, month=9, day=28),
)
== {}
)
@pytest.mark.django_db
def test_get_period_for_dates_with_two_time_span_groups(
resource,
date_period_factory,
time_span_group_factory,
time_span_factory,
rule_factory,
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
other_time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
weekdays=Weekday.business_days(),
)
time_span_factory(
group=other_time_span_group,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=16, minute=0),
weekdays=Weekday.business_days(),
)
rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.THURSDAY,
frequency_modifier=FrequencyModifier.ODD,
)
rule_factory(
group=other_time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.THURSDAY,
frequency_modifier=FrequencyModifier.EVEN,
)
# The odd week
assert date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=18),
) == {
datetime.date(year=2020, month=10, day=15): [
TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=18, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
]
}
# The even week
assert date_period.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=19),
datetime.date(year=2020, month=10, day=25),
) == {
datetime.date(year=2020, month=10, day=22): [
TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=16, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
]
}
@pytest.mark.django_db
def test_rule_filter_dates1(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.THURSDAY,
)
start_date = datetime.date(year=2020, month=10, day=1)
end_date = datetime.date(year=2020, month=10, day=31)
assert rule.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=10, day=1),
datetime.date(year=2020, month=10, day=8),
datetime.date(year=2020, month=10, day=15),
datetime.date(year=2020, month=10, day=22),
datetime.date(year=2020, month=10, day=29),
}
@pytest.mark.django_db
def test_rule_filter_dates1_2(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.THURSDAY,
start=1,
)
start_date = datetime.date(year=2020, month=1, day=1)
end_date = datetime.date(year=2020, month=10, day=31)
assert rule.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=1, day=2),
}
@pytest.mark.django_db
def test_rule_filter_dates1_3(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.THURSDAY,
start=2,
frequency_ordinal=3,
)
start_date = datetime.date(year=2020, month=10, day=1)
end_date = datetime.date(year=2020, month=10, day=31)
assert rule.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=10, day=8),
datetime.date(year=2020, month=10, day=29),
}
@pytest.mark.django_db
def test_rule_filter_dates2(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.MONTH,
subject=RuleSubject.DAY,
start=1,
)
start_date = datetime.date(year=2020, month=9, day=1)
end_date = datetime.date(year=2020, month=11, day=30)
assert rule.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=9, day=1),
datetime.date(year=2020, month=10, day=1),
datetime.date(year=2020, month=11, day=1),
}
@pytest.mark.django_db
def test_rule_filter_dates3(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.MONTH,
subject=RuleSubject.WEDNESDAY,
start=1,
)
start_date = datetime.date(year=2020, month=9, day=1)
end_date = datetime.date(year=2020, month=11, day=30)
assert rule.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=9, day=2),
datetime.date(year=2020, month=10, day=7),
datetime.date(year=2020, month=11, day=4),
}
@pytest.mark.django_db
def test_rule_filter_dates4(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=9, day=1),
end_date=datetime.date(year=2020, month=11, day=30),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.WEEK,
frequency_modifier=FrequencyModifier.EVEN,
)
start_date = datetime.date(year=2020, month=10, day=1)
end_date = datetime.date(year=2020, month=10, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=10, day=1),
datetime.date(year=2020, month=10, day=2),
datetime.date(year=2020, month=10, day=3),
datetime.date(year=2020, month=10, day=4),
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=13),
datetime.date(year=2020, month=10, day=14),
datetime.date(year=2020, month=10, day=15),
datetime.date(year=2020, month=10, day=16),
datetime.date(year=2020, month=10, day=17),
datetime.date(year=2020, month=10, day=18),
datetime.date(year=2020, month=10, day=26),
datetime.date(year=2020, month=10, day=27),
datetime.date(year=2020, month=10, day=28),
datetime.date(year=2020, month=10, day=29),
datetime.date(year=2020, month=10, day=30),
datetime.date(year=2020, month=10, day=31),
}
@pytest.mark.django_db
def test_rule_filter_dates5(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=9, day=1),
end_date=datetime.date(year=2020, month=11, day=30),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.WEEK,
frequency_modifier=FrequencyModifier.ODD,
)
start_date = datetime.date(year=2020, month=10, day=1)
end_date = datetime.date(year=2020, month=10, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=10, day=5),
datetime.date(year=2020, month=10, day=6),
datetime.date(year=2020, month=10, day=7),
datetime.date(year=2020, month=10, day=8),
datetime.date(year=2020, month=10, day=9),
datetime.date(year=2020, month=10, day=10),
datetime.date(year=2020, month=10, day=11),
datetime.date(year=2020, month=10, day=19),
datetime.date(year=2020, month=10, day=20),
datetime.date(year=2020, month=10, day=21),
datetime.date(year=2020, month=10, day=22),
datetime.date(year=2020, month=10, day=23),
datetime.date(year=2020, month=10, day=24),
datetime.date(year=2020, month=10, day=25),
}
@pytest.mark.django_db
def test_rule_filter_dates6(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.DAY,
start=15,
)
start_date = datetime.date(year=2020, month=1, day=1)
end_date = datetime.date(year=2020, month=1, day=31)
assert rule.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=1, day=15),
}
@pytest.mark.django_db
def test_rule_filter_dates6_1(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=9, day=1),
end_date=datetime.date(year=2020, month=11, day=30),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.WEEK,
start=8,
)
start_date = datetime.date(year=2020, month=10, day=1)
end_date = datetime.date(year=2020, month=10, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=10, day=19),
datetime.date(year=2020, month=10, day=20),
datetime.date(year=2020, month=10, day=21),
datetime.date(year=2020, month=10, day=22),
datetime.date(year=2020, month=10, day=23),
datetime.date(year=2020, month=10, day=24),
datetime.date(year=2020, month=10, day=25),
}
@pytest.mark.django_db
def test_rule_filter_dates6_2(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.PERIOD,
subject=RuleSubject.MONTH,
start=3,
)
start_date = datetime.date(year=2020, month=2, day=15)
end_date = datetime.date(year=2020, month=4, day=30)
days_in_march = {datetime.date(year=2020, month=3, day=d) for d in range(1, 32)}
assert rule.apply_to_date_range(start_date, end_date) == days_in_march
@pytest.mark.django_db
def test_rule_filter_dates7(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=9, day=1),
end_date=datetime.date(year=2020, month=11, day=30),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.MONTH,
subject=RuleSubject.WEEK,
start=3,
)
start_date = datetime.date(year=2020, month=10, day=1)
end_date = datetime.date(year=2020, month=10, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=13),
datetime.date(year=2020, month=10, day=14),
datetime.date(year=2020, month=10, day=15),
datetime.date(year=2020, month=10, day=16),
datetime.date(year=2020, month=10, day=17),
datetime.date(year=2020, month=10, day=18),
}
@pytest.mark.django_db
def test_rule_filter_dates7_1(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=9, day=1),
end_date=datetime.date(year=2020, month=11, day=30),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.MONTH,
subject=RuleSubject.WEEK,
start=1,
)
start_date = datetime.date(year=2020, month=9, day=1)
end_date = datetime.date(year=2020, month=11, day=30)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=9, day=1),
datetime.date(year=2020, month=9, day=2),
datetime.date(year=2020, month=9, day=3),
datetime.date(year=2020, month=9, day=4),
datetime.date(year=2020, month=9, day=5),
datetime.date(year=2020, month=9, day=6),
datetime.date(year=2020, month=9, day=28),
datetime.date(year=2020, month=9, day=29),
datetime.date(year=2020, month=9, day=30),
datetime.date(year=2020, month=10, day=1),
datetime.date(year=2020, month=10, day=2),
datetime.date(year=2020, month=10, day=3),
datetime.date(year=2020, month=10, day=4),
datetime.date(year=2020, month=10, day=26),
datetime.date(year=2020, month=10, day=27),
datetime.date(year=2020, month=10, day=28),
datetime.date(year=2020, month=10, day=29),
datetime.date(year=2020, month=10, day=30),
datetime.date(year=2020, month=10, day=31),
datetime.date(year=2020, month=11, day=1),
}
@pytest.mark.django_db
def test_rule_filter_dates8(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.DAY,
start=3,
)
start_date = datetime.date(year=2020, month=1, day=1)
end_date = datetime.date(year=2020, month=12, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=1, day=3),
}
@pytest.mark.django_db
def test_rule_filter_dates8_1(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.DAY,
start=3,
)
start_date = datetime.date(year=2019, month=1, day=1)
end_date = datetime.date(year=2021, month=12, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2019, month=1, day=3),
datetime.date(year=2020, month=1, day=3),
datetime.date(year=2021, month=1, day=3),
}
@pytest.mark.django_db
def test_rule_filter_dates9(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.WEEK,
start=3,
)
start_date = datetime.date(year=2020, month=1, day=1)
end_date = datetime.date(year=2020, month=12, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=1, day=13),
datetime.date(year=2020, month=1, day=14),
datetime.date(year=2020, month=1, day=15),
datetime.date(year=2020, month=1, day=16),
datetime.date(year=2020, month=1, day=17),
datetime.date(year=2020, month=1, day=18),
datetime.date(year=2020, month=1, day=19),
}
@pytest.mark.django_db
def test_rule_filter_dates10(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.WEEK,
start=1,
frequency_modifier=FrequencyModifier.EVEN,
)
start_date = datetime.date(year=2020, month=11, day=1)
end_date = datetime.date(year=2020, month=11, day=30)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=11, day=1),
datetime.date(year=2020, month=11, day=9),
datetime.date(year=2020, month=11, day=10),
datetime.date(year=2020, month=11, day=11),
datetime.date(year=2020, month=11, day=12),
datetime.date(year=2020, month=11, day=13),
datetime.date(year=2020, month=11, day=14),
datetime.date(year=2020, month=11, day=15),
datetime.date(year=2020, month=11, day=23),
datetime.date(year=2020, month=11, day=24),
datetime.date(year=2020, month=11, day=25),
datetime.date(year=2020, month=11, day=26),
datetime.date(year=2020, month=11, day=27),
datetime.date(year=2020, month=11, day=28),
datetime.date(year=2020, month=11, day=29),
}
@pytest.mark.django_db
def test_rule_filter_dates10_1(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule1 = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.WEEK,
start=1,
frequency_modifier=FrequencyModifier.EVEN,
)
start_date = datetime.date(year=2020, month=12, day=1)
end_date = datetime.date(year=2021, month=1, day=31)
assert rule1.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2020, month=12, day=7),
datetime.date(year=2020, month=12, day=8),
datetime.date(year=2020, month=12, day=9),
datetime.date(year=2020, month=12, day=10),
datetime.date(year=2020, month=12, day=11),
datetime.date(year=2020, month=12, day=12),
datetime.date(year=2020, month=12, day=13),
datetime.date(year=2020, month=12, day=21),
datetime.date(year=2020, month=12, day=22),
datetime.date(year=2020, month=12, day=23),
datetime.date(year=2020, month=12, day=24),
datetime.date(year=2020, month=12, day=25),
datetime.date(year=2020, month=12, day=26),
datetime.date(year=2020, month=12, day=27),
datetime.date(year=2021, month=1, day=11),
datetime.date(year=2021, month=1, day=12),
datetime.date(year=2021, month=1, day=13),
datetime.date(year=2021, month=1, day=14),
datetime.date(year=2021, month=1, day=15),
datetime.date(year=2021, month=1, day=16),
datetime.date(year=2021, month=1, day=17),
datetime.date(year=2021, month=1, day=25),
datetime.date(year=2021, month=1, day=26),
datetime.date(year=2021, month=1, day=27),
datetime.date(year=2021, month=1, day=28),
datetime.date(year=2021, month=1, day=29),
datetime.date(year=2021, month=1, day=30),
datetime.date(year=2021, month=1, day=31),
}
@pytest.mark.django_db
def test_rule_filter_dates11(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.MONTH,
start=3,
)
start_date = datetime.date(year=2020, month=2, day=15)
end_date = datetime.date(year=2020, month=4, day=30)
days_in_march = {datetime.date(year=2020, month=3, day=d) for d in range(1, 32)}
assert rule.apply_to_date_range(start_date, end_date) == days_in_march
@pytest.mark.django_db
def test_rule_filter_dates11_1(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.MONTH,
start=3,
)
start_date = datetime.date(year=2019, month=1, day=1)
end_date = datetime.date(year=2021, month=12, day=31)
days_in_march = set()
for year in [2019, 2020, 2021]:
days_in_march |= {
datetime.date(year=year, month=3, day=d) for d in range(1, 32)
}
assert rule.apply_to_date_range(start_date, end_date) == days_in_march
@pytest.mark.django_db
def test_rule_filter_dates11_2(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.MONTH,
start=3,
)
start_date = datetime.date(year=2019, month=1, day=1)
end_date = datetime.date(year=2021, month=12, day=31)
days_in_march = {datetime.date(year=2020, month=3, day=d) for d in range(1, 32)}
assert rule.apply_to_date_range(start_date, end_date) == days_in_march
@pytest.mark.django_db
def test_rule_filter_dates11_3(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=5, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.MONTH,
start=3,
)
start_date = datetime.date(year=2020, month=2, day=15)
end_date = datetime.date(year=2020, month=4, day=30)
assert rule.apply_to_date_range(start_date, end_date) == set()
@pytest.mark.django_db
def test_rule_filter_dates11_4(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=1, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.MONTH,
start=3,
)
start_date = datetime.date(year=2020, month=2, day=1)
end_date = datetime.date(year=2020, month=4, day=30)
assert rule.apply_to_date_range(start_date, end_date) == set()
@pytest.mark.django_db
def test_rule_filter_dates12(
resource, date_period_factory, time_span_group_factory, rule_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2019, month=1, day=1),
end_date=datetime.date(year=2021, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
rule = rule_factory(
group=time_span_group,
context=RuleContext.YEAR,
subject=RuleSubject.FRIDAY,
start=2,
)
start_date = datetime.date(year=2019, month=1, day=1)
end_date = datetime.date(year=2021, month=12, day=31)
assert rule.apply_to_date_range(start_date, end_date) == {
datetime.date(year=2019, month=1, day=11),
datetime.date(year=2020, month=1, day=10),
datetime.date(year=2021, month=1, day=8),
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_override(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
name="The whole year",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
date_period2 = date_period_factory(
name="Exception for december",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=12, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
override=True,
)
time_span_group2 = time_span_group_factory(period=date_period2)
time_span_factory(
group=time_span_group2,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=15, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
expected_time_element = TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=15, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=True,
full_day=False,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=12, day=23),
datetime.date(year=2020, month=12, day=25),
) == {
datetime.date(year=2020, month=12, day=23): [expected_time_element],
datetime.date(year=2020, month=12, day=24): [expected_time_element],
datetime.date(year=2020, month=12, day=25): [expected_time_element],
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_multiple_full_day_overrides(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
name="The whole year",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
date_period2 = date_period_factory(
name="Exception for december",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=12, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
override=True,
)
time_span_group2 = time_span_group_factory(period=date_period2)
time_span_factory(
group=time_span_group2,
resource_state=State.CLOSED,
weekdays=list(Weekday),
full_day=True,
)
date_period3 = date_period_factory(
name="Exceptions for december 24th and 25th",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=12, day=24),
end_date=datetime.date(year=2020, month=12, day=25),
override=True,
)
time_span_group3 = time_span_group_factory(period=date_period3)
time_span_factory(
group=time_span_group3,
resource_state=State.EXIT_ONLY,
weekdays=list(Weekday),
full_day=True,
)
expected_time_element_closed = TimeElement(
start_time=None,
end_time=None,
end_time_on_next_day=False,
resource_state=State.CLOSED,
override=True,
full_day=True,
)
expected_time_element_exit_only = TimeElement(
start_time=None,
end_time=None,
end_time_on_next_day=False,
resource_state=State.EXIT_ONLY,
override=True,
full_day=True,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=12, day=23),
datetime.date(year=2020, month=12, day=25),
) == {
datetime.date(year=2020, month=12, day=23): [expected_time_element_closed],
datetime.date(year=2020, month=12, day=24): [expected_time_element_exit_only],
datetime.date(year=2020, month=12, day=25): [expected_time_element_exit_only],
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_multiple_full_day_overrides_unbounded(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
name="The whole year",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
date_period2 = date_period_factory(
name="Exception for december forwards",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=12, day=1),
end_date=None,
override=True,
)
time_span_group2 = time_span_group_factory(period=date_period2)
time_span_factory(
group=time_span_group2,
resource_state=State.CLOSED,
weekdays=list(Weekday),
full_day=True,
)
date_period3 = date_period_factory(
name="Exceptions for december 24th and 25th",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=12, day=24),
end_date=datetime.date(year=2020, month=12, day=25),
override=True,
)
time_span_group3 = time_span_group_factory(period=date_period3)
time_span_factory(
group=time_span_group3,
resource_state=State.EXIT_ONLY,
weekdays=list(Weekday),
full_day=True,
)
expected_time_element_closed = TimeElement(
start_time=None,
end_time=None,
end_time_on_next_day=False,
resource_state=State.CLOSED,
override=True,
full_day=True,
)
expected_time_element_exit_only = TimeElement(
start_time=None,
end_time=None,
end_time_on_next_day=False,
resource_state=State.EXIT_ONLY,
override=True,
full_day=True,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=12, day=23),
datetime.date(year=2020, month=12, day=25),
) == {
datetime.date(year=2020, month=12, day=23): [expected_time_element_closed],
datetime.date(year=2020, month=12, day=24): [expected_time_element_exit_only],
datetime.date(year=2020, month=12, day=25): [expected_time_element_exit_only],
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_multiple_overrides(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
name="The whole year",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
date_period2 = date_period_factory(
name="Exception for december",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=12, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
override=True,
)
time_span_group2 = time_span_group_factory(period=date_period2)
time_span_factory(
group=time_span_group2,
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=15, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
date_period3 = date_period_factory(
name="Exceptions for december 24th and 25th",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=12, day=24),
end_date=datetime.date(year=2020, month=12, day=25),
override=True,
)
time_span_group3 = time_span_group_factory(period=date_period3)
time_span_factory(
group=time_span_group3,
start_time=datetime.time(hour=12, minute=0),
end_time=datetime.time(hour=14, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
expected_time_element_one_override = TimeElement(
start_time=datetime.time(hour=10, minute=0),
end_time=datetime.time(hour=15, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=True,
full_day=False,
)
expected_time_element_two_overrides = TimeElement(
start_time=datetime.time(hour=12, minute=0),
end_time=datetime.time(hour=14, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=True,
full_day=False,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=12, day=23),
datetime.date(year=2020, month=12, day=25),
) == {
datetime.date(year=2020, month=12, day=23): [
expected_time_element_one_override
],
datetime.date(year=2020, month=12, day=24): [
expected_time_element_two_overrides
],
datetime.date(year=2020, month=12, day=25): [
expected_time_element_two_overrides
],
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_combine_full_day_with_non_full_day(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
name="The whole year",
resource=resource,
resource_state=State.UNDEFINED,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
override=False,
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
resource_state=State.OPEN,
weekdays=list(Weekday),
)
date_period_factory(
name="Exception in december",
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=12, day=3),
end_date=datetime.date(year=2020, month=12, day=5),
override=False,
)
expected_time_element_open = TimeElement(
start_time=datetime.time(hour=8, minute=0),
end_time=datetime.time(hour=16, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
expected_time_element_open_24h = TimeElement(
start_time=None,
end_time=None,
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=True,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=12, day=1),
datetime.date(year=2020, month=12, day=8),
) == {
datetime.date(year=2020, month=12, day=1): [expected_time_element_open],
datetime.date(year=2020, month=12, day=2): [expected_time_element_open],
datetime.date(year=2020, month=12, day=3): [expected_time_element_open_24h],
datetime.date(year=2020, month=12, day=4): [expected_time_element_open_24h],
datetime.date(year=2020, month=12, day=5): [expected_time_element_open_24h],
datetime.date(year=2020, month=12, day=6): [expected_time_element_open],
datetime.date(year=2020, month=12, day=7): [expected_time_element_open],
datetime.date(year=2020, month=12, day=8): [expected_time_element_open],
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_past_midnight(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=16, minute=0),
end_time=datetime.time(hour=2, minute=0),
end_time_on_next_day=True,
weekdays=[Weekday.WEDNESDAY, Weekday.THURSDAY],
)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=16, minute=0),
end_time=datetime.time(hour=5, minute=0),
end_time_on_next_day=True,
weekdays=[Weekday.FRIDAY, Weekday.SATURDAY],
)
weekday_time_element_night = TimeElement(
start_time=datetime.time(hour=0, minute=0),
end_time=datetime.time(hour=2, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
weekday_time_element = TimeElement(
start_time=datetime.time(hour=16, minute=0),
end_time=datetime.time(hour=2, minute=0),
end_time_on_next_day=True,
resource_state=State.OPEN,
override=False,
full_day=False,
)
weekend_time_element_night = TimeElement(
start_time=datetime.time(hour=0, minute=0),
end_time=datetime.time(hour=5, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
weekend_time_element = TimeElement(
start_time=datetime.time(hour=16, minute=0),
end_time=datetime.time(hour=5, minute=0),
end_time_on_next_day=True,
resource_state=State.OPEN,
override=False,
full_day=False,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=18),
) == {
datetime.date(year=2020, month=10, day=14): [
weekday_time_element,
],
datetime.date(year=2020, month=10, day=15): [
weekday_time_element_night,
weekday_time_element,
],
datetime.date(year=2020, month=10, day=16): [
weekday_time_element_night,
weekend_time_element,
],
datetime.date(year=2020, month=10, day=17): [
weekend_time_element_night,
weekend_time_element,
],
}
@pytest.mark.django_db
def test_resource_get_daily_opening_hours_past_midnight_combine(
resource, date_period_factory, time_span_group_factory, time_span_factory
):
date_period = date_period_factory(
resource=resource,
resource_state=State.OPEN,
start_date=datetime.date(year=2020, month=1, day=1),
end_date=datetime.date(year=2020, month=12, day=31),
)
time_span_group = time_span_group_factory(period=date_period)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=16, minute=0),
end_time=datetime.time(hour=3, minute=0),
end_time_on_next_day=True,
weekdays=Weekday.business_days() + Weekday.weekend(),
)
time_span_factory(
group=time_span_group,
start_time=datetime.time(hour=2, minute=0),
end_time=datetime.time(hour=9, minute=0),
weekdays=Weekday.business_days() + Weekday.weekend(),
)
expected_time_element_morning = TimeElement(
start_time=datetime.time(hour=0, minute=0),
end_time=datetime.time(hour=9, minute=0),
end_time_on_next_day=False,
resource_state=State.OPEN,
override=False,
full_day=False,
)
expected_time_element_evening = TimeElement(
start_time=datetime.time(hour=16, minute=0),
end_time=datetime.time(hour=3, minute=0),
end_time_on_next_day=True,
resource_state=State.OPEN,
override=False,
full_day=False,
)
assert resource.get_daily_opening_hours(
datetime.date(year=2020, month=10, day=12),
datetime.date(year=2020, month=10, day=12),
) == {
datetime.date(year=2020, month=10, day=12): [
expected_time_element_morning,
expected_time_element_evening,
],
}
| 32.224197
| 86
| 0.659425
| 7,610
| 56,199
| 4.617083
| 0.022865
| 0.121243
| 0.161658
| 0.177026
| 0.976662
| 0.972478
| 0.965762
| 0.92418
| 0.918289
| 0.902949
| 0
| 0.068909
| 0.226107
| 56,199
| 1,743
| 87
| 32.242685
| 0.738963
| 0.004182
| 0
| 0.753415
| 0
| 0
| 0.005344
| 0
| 0
| 0
| 0
| 0
| 0.031421
| 1
| 0.02459
| false
| 0
| 0.002732
| 0
| 0.027322
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
73d783185a0b4508aaac17beac942c9196c3da5a
| 34,715
|
py
|
Python
|
macadam/base/preprocess.py
|
yongzhuo/Macadam
|
794a29c760ce25264388c3a85a6b118733afb023
|
[
"MIT"
] | 290
|
2020-06-04T17:01:30.000Z
|
2022-03-29T13:10:18.000Z
|
macadam/base/preprocess.py
|
furtherthanfar/Macadam
|
794a29c760ce25264388c3a85a6b118733afb023
|
[
"MIT"
] | 7
|
2020-06-05T02:30:51.000Z
|
2022-03-17T01:05:42.000Z
|
macadam/base/preprocess.py
|
furtherthanfar/Macadam
|
794a29c760ce25264388c3a85a6b118733afb023
|
[
"MIT"
] | 35
|
2020-06-11T07:32:17.000Z
|
2022-03-09T06:08:03.000Z
|
# !/usr/bin/python
# -*- coding: utf-8 -*-
# @time : 2020/4/23 21:17
# @author : Mo
# @function: preprocess of sentence and label, 1. auto, shuffle-size, sequence-length-max,
from macadam.conf.constant_params import UNK, PAD, MASK, CLS, SEP, PAD, UNK, BOS, EOS, WC, SL, TC, RE
from macadam.base.utils import save_json, load_json, dict_sort, padding_sequences
from macadam.conf.constant_params import EMBEDDING_TYPE
from macadam.conf.path_config import path_model_dir
from macadam.conf.logger_config import logger
from macadam import keras, K
from bert4keras.tokenizers import Tokenizer
from bert4keras.snippets import is_string
from typing import Iterable, List, Dict, Any
from collections import Counter, OrderedDict
from tqdm import tqdm
import numpy as np
# import threading
import random
import json
import os
__all__ = ["Tokenizer4Macadam",
"TokenizerVector",
"ListPrerocessXY",
"ListGenerator",
"FilePrerocessXY",
"FileGenerator",
]
class Tokenizer4Macadam(Tokenizer):
def __init__(self, token_dict, do_lower_case=False, *args, **kwargs):
super().__init__(token_dict, do_lower_case=do_lower_case, *args, **kwargs)
def truncate_sequence_multi(self, length_max: int, sequences: List[Any], pop_index: int = -2):
"""
truncate sequence of multi, 均衡裁剪List[List]数据, 每一条平均
Args:
first_sequence: List, first input of sentence when in single-task, pair-task or multi-task, eg. ["macadam", "英文", "什么", "意思"]
second_sequence: List, second inputs of sentence, eg. ["macadam", "什么", "意思"]
max_length: int, max length of the whole sequence, eg. 512
pop_index: int, index of start pop, eg. -2, -1
Returns:
None
"""
while True:
len_total = [len(sequences[i]) for i in range(len(sequences))]
len_sum = sum(len_total)
len_max = max(len_total)
idx = len_total.index(len_max)
if len_sum <= length_max:
break
sequences[idx].pop(pop_index)
def encode_multi(self, first_text: str, second_texts: List = None, limit_lengths: List = None, length_max: int = None,
first_length: int = None, second_length: int = None, is_multi: bool = True):
"""
bert encode of multi-text-input, 处理多输入(segment_ids标注两个还是多个[0,1]), 同时第二句子可能会截断[CLS]/[SEP]等信息
Args:
first_text: Any, first input of sentence when in single-task, pair-task or multi-task, eg. "macadam英文什么意思"
second_texts: List, second inputs of sentence, eg. ["macadam?", "啥macadam?", "macadam什么意思"]
limit_lengths: List, limit lengths of each in texts(second inputs), eg.[36, 36,128]
length_max: int, max length of the whole sequence, eg. 512
first_length: int, max length of first_text, eg. 128
second_length: int, max length of the whole sequence of texts(second inputs), eg. 128
is_multi: bool, either sign sentence in texts with multi or not
Returns:
input of bert-like model
"""
# split charcter, 分字
if is_string(first_text):
first_tokens = self.tokenize(first_text)
else:
first_tokens = first_text
# token to id and pad, 多则截断|少则padding
first_token_ids = self.tokens_to_ids(first_tokens)
if first_length:
first_token_ids = first_token_ids[:first_length]
first_token_ids.extend([self._token_pad_id] * (first_length - len(first_token_ids)))
# segment, like [0,0,0,0,0,1,1,1,1], 区分句子
first_segment_ids = [0] * len(first_tokens)
# second segments, 第一句以后的句子
second_token_ids = []
second_segment_ids = []
# if texts exist, 如果存在第二句话或者是往上, 避免为空的情况
if second_texts:
len_texts = len(second_texts)
for i in range(len_texts):
text = second_texts[i]
if not text:
tokens = None
elif is_string(text):
idx = int(bool(self._token_start))
tokens = self.tokenize(text)[idx:]
else:
tokens = text
if tokens:
# token to id, 字符转数字
token_ids = self.tokens_to_ids(tokens)
if limit_lengths and limit_lengths[i]:
token_ids = token_ids[:limit_lengths[i]]
token_ids.extend([self._token_pad_id] * (limit_lengths[i] - len(token_ids)))
# pull segment_id, 句子区分, 第一句为0, 第二句子s是否都标为1
if is_multi:
id_sent = 1 if i%2==0 else 0
else:
id_sent = 1
segment_ids = [id_sent] * len(token_ids)
second_token_ids.extend(token_ids)
second_segment_ids.extend(segment_ids)
# limit second texts, 限制除了第一个句子外的所有句子的长度
if second_length:
second_token_ids = second_token_ids[:second_length]
second_segment_ids = second_segment_ids[:second_length]
# add all, 所有句子相加
first_token_ids.extend(second_token_ids)
first_segment_ids.extend(second_segment_ids)
# limit all, 限制所有句子的长度
if length_max:
first_token_ids = first_token_ids[:length_max]
first_segment_ids = first_segment_ids[:length_max]
return first_token_ids, first_segment_ids
def encode_average(self, first_text: Any, second_texts: Any = None, limit_lengths: List = None, length_max: int = None,
first_length: int = None, second_length: int = None, is_multi: bool = True):
"""
bert encode of multi-text-input, 均衡截断
Args:
first_text: Any, first input of sentence when in single-task, pair-task or multi-task, eg. "macadam英文什么意思"
second_texts: Any, second inputs of sentence, eg. ["macadam?", "啥macadam?", "macadam什么意思"]
limit_lengths: List, limit lengths of each in texts(second inputs), eg.[36, 36,128]
length_max: int, max length of the whole sequence, eg. 512
first_length: int, max length of first_text, eg. 128
second_length: int, max length of the whole sequence of texts(second inputs), eg. 128
is_multi: bool, either sign sentence in texts with multi or not
Returns:
input of bert-like model
"""
length_max = 512 if not length_max else length_max
# split charcter, 分字
if is_string(first_text):
first_tokens = [self.tokenize(first_text)]
else:
first_tokens = [[self._token_start] + first_text + [self._token_end]]
# if texts exist, 如果存在第二句话或者是往上, 避免为空的情况
if second_texts:
len_texts = len(second_texts)
for i in range(len_texts):
text = second_texts[i]
if not text:
tokens = None
elif is_string(text):
idx = int(bool(self._token_start))
tokens = self.tokenize(text)[idx:]
else:
tokens = text + [self._token_end]
first_tokens.append(tokens)
# 均衡截断
if length_max:
self.truncate_sequence_multi(length_max, first_tokens, -2)
# token to id and pad, 多则截断|少则padding
first_token_ids = self.tokens_to_ids(first_tokens[0])
if first_length:
first_token_ids = first_token_ids[:first_length]
first_token_ids.extend([self._token_pad_id] * (first_length - len(first_token_ids)))
# segment, like [0,0,0,0,0,1,1,1,1], 区分句子
first_segment_ids = [0] * len(first_token_ids)
# second segments, 第一句以后的句子
second_token_ids = []
second_segment_ids = []
# if texts exist, 如果存在第二句话或者是往上, 避免为空的情况
if second_texts:
len_seconds = len(first_tokens) - 1
for i in range(len_seconds):
# token to id, 字符转数字
token_ids = self.tokens_to_ids(first_tokens[i+1])
if limit_lengths and limit_lengths[i]:
token_ids = token_ids[:limit_lengths[i]]
token_ids.extend([self._token_pad_id] * (limit_lengths[i] - len(token_ids)))
# pull segment_id, 句子区分, 第一句为0, 第二句子s是否都标为1
if is_multi:
id_sent = 1 if i%2==0 else 0
else:
id_sent = 1
segment_ids = [id_sent] * len(token_ids)
second_token_ids.extend(token_ids)
second_segment_ids.extend(segment_ids)
# limit second texts, 限制除了第一个句子外的所有句子的长度
if second_length:
second_token_ids = second_token_ids[:second_length]
second_segment_ids = second_segment_ids[:second_length]
# add all, 所有句子相加
first_token_ids.extend(second_token_ids)
first_segment_ids.extend(second_segment_ids)
return first_token_ids, first_segment_ids
def encode_mix(self, first_text: Any, second_texts: Any = None, limit_lengths: List = None, length_max: int = None,
first_length: int = None, second_length: int = None, is_multi: bool = True):
"""
bert encode of multi-text-input, 均衡截断(混合输入LATTICE-LSTM-BATCH模式情况, 即List[List]情况)
Args:
first_text: Any, first input of sentence when in single-task, pair-task or multi-task, eg. "macadam英文什么意思"
second_texts: Any, second inputs of sentence, eg. ["macadam?", "啥macadam?", "macadam什么意思"]
limit_lengths: List, limit lengths of each in texts(second inputs), eg.[36, 36,128]
length_max: int, max length of the whole sequence, eg. 512
first_length: int, max length of first_text, eg. 128
second_length: int, max length of the whole sequence of texts(second inputs), eg. 128
is_multi: bool, either sign sentence in texts with multi or not
Returns:
input of bert-like model
"""
# split charcter, 分字
first_tokens = [first_text]
# if texts exist, 如果存在第二句话或者是往上, 避免为空的情况
if second_texts:
len_texts = len(second_texts)
for i in range(len_texts):
tokens = second_texts[i]
first_tokens.append(tokens)
# 均衡截断
if length_max:
self.truncate_sequence_multi(length_max, first_tokens, -2)
# token to id and pad, 多则截断|少则padding
first_token_ids = []
for fts in first_tokens[0]:
first_token_ids.append(self.tokens_to_ids(fts))
# 截断最大长度
if first_length:
first_token_ids = first_token_ids[:first_length]
first_token_ids.extend([self.token_to_id(WC)] * (first_length - len(first_token_ids)))
# segment, like [0,0,0,0,0,1,1,1,1], 区分句子
first_segment_ids = [0] * len(first_token_ids)
# second segments, 第一句以后的句子
second_token_ids = []
second_segment_ids = []
# if texts exist, 如果存在第二句话或者是往上, 避免为空的情况
if second_texts:
len_seconds = len(first_tokens) - 1
for i in range(len_seconds):
# token to id, 字符转数字
token_ids = []
for ftsi in first_tokens[i+1]:
token_ids.append(self.tokens_to_ids(ftsi))
if limit_lengths and limit_lengths[i]:
token_ids = token_ids[:limit_lengths[i]]
token_ids.extend([self.token_to_id(WC)] * (limit_lengths[i] - len(token_ids)))
# pull segment_id, 句子区分, 第一句为0, 第二句子s是否都标为1
if is_multi:
id_sent = 1 if i%2==0 else 0
else:
id_sent = 1
segment_ids = [id_sent] * len(token_ids)
second_token_ids.extend(token_ids)
second_segment_ids.extend(segment_ids)
# limit second texts, 限制除了第一个句子外的所有句子的长度
if second_length:
second_token_ids = second_token_ids[:second_length]
second_segment_ids = second_segment_ids[:second_length]
# add all, 所有句子相加
first_token_ids.extend(second_token_ids)
first_segment_ids.extend(second_segment_ids)
return first_token_ids, first_segment_ids
class ListGenerator(Iterable):
def __init__(self, data: List, preprocess_xy, shuffle: bool=True, buffer_size: int=3200,
batch_size: int=32, len_data: int=None):
self.preprocess_xy = preprocess_xy
self.buffer_size = buffer_size
self.batch_size = batch_size
self.len_data = len_data
self.shuffle = shuffle
self.data = data
def __iter__(self):
"""
iter of train data and preprocess of batch_size
"""
# yield
if self.shuffle:
data_yield = self.generator()
else:
data_yield = iter(self.data)
# batch_x, batch_y, preprocess
batch_x_idx, batch_y_idx = [], []
for line in data_yield: # 对x,y进行数据预处理
line_json = json.loads(line)
x_id = self.preprocess_xy.preprocess_x(line_json.get("x", {}))
y_id = self.preprocess_xy.preprocess_y(line_json.get("y", {}))
batch_x_idx.append(x_id)
batch_y_idx.append(y_id)
# yiel when full, 批尺寸满了则处理
if len(batch_y_idx) == self.batch_size:
# 转化成 [array(), array]形式
batch_x_idx_array = []
batch_y_idx_array = np.array(batch_y_idx)
# "LATTICE-LSTM-BATCH"的情况单独出来, 即MIX-Embedding得情况
if self.preprocess_xy.embed_type in ["MIX"]:
x_1 = np.array([x[0][0] for x in batch_x_idx])
x_2 = np.array([x[1][0] for x in batch_x_idx])
batch_x_idx_array = [x_1, x_2]
yield batch_x_idx_array, batch_y_idx_array
elif self.preprocess_xy.embed_type in ["RANDOM", "WORD"]:
batch_x_idx_array = np.array(batch_x_idx)
yield batch_x_idx_array, batch_y_idx_array
else:
batch_x_idx = np.array(batch_x_idx)
for i in range(len(batch_x_idx[0])):
bxii_array = np.array([bxi[i] for bxi in batch_x_idx])
batch_x_idx_array.append(bxii_array)
yield batch_x_idx_array, batch_y_idx_array
batch_x_idx, batch_y_idx = [], []
# 最后一轮不足batch_size部分
if batch_y_idx:
batch_x_idx_array = []
batch_y_idx_array = np.array(batch_y_idx)
# "LATTICE-LSTM-BATCH"的情况单独出来
if self.preprocess_xy.embed_type in ["MIX"]:
x_1 = np.array([x[0][0] for x in batch_x_idx])
x_2 = np.array([x[1][0] for x in batch_x_idx])
batch_x_idx_array = [x_1, x_2]
yield batch_x_idx_array, batch_y_idx_array
elif self.preprocess_xy.embed_type in ["RANDOM", "WORD"]:
batch_x_idx_array = np.array(batch_x_idx)
yield batch_x_idx_array, batch_y_idx_array
else:
batch_x_idx = np.array(batch_x_idx)
for i in range(len(batch_x_idx[0])):
bxii_array = np.array([bxi[i] for bxi in batch_x_idx])
batch_x_idx_array.append(bxii_array)
yield batch_x_idx_array, batch_y_idx_array
def __len__(self):
"""
step of one epcoh
"""
return max(1, self.len_data//self.batch_size)
def generator(self):
"""
generate with shuffle of buffer_size
"""
stacks, flag = [], False
for line in self.data:
stacks.append(line)
if flag: # buffer满了以后随机选择一行进行pop
i = random.randint(0, self.buffer_size-1)
yield stacks.pop(i)
elif len(stacks) == self.buffer_size:
flag = True
while stacks: # 最后不足buffer的情况
i = random.randint(0, len(stacks)-1)
yield stacks.pop(i)
def forfit(self):
"""
repeat when fit
"""
while True:
for d in self.__iter__():
yield d
class ListPrerocessXY:
def __init__(self, embedding, data,
length_max: int = None,
path_dir: str = path_model_dir,
encoding: str = "utf-8",
use_onehot: bool = True,
embed_type: str = "BERT",
task: str = "TC",
y_start: str = "O",
y_end: str = "O"):
self.path_vocab_x = os.path.join(path_dir, "vocab_x.txt")
self.path_vocab_y = os.path.join(path_dir, "vocab_y.txt")
self.l2i, self.i2l = {}, {}
self.length_max = length_max
self.use_onehot = use_onehot
self.embed_type = embed_type.upper()
self.embedding = embedding
self.encoding = encoding
self.path_dir = path_dir
self.data = data
self.task = task.upper()
self.y_start = y_start
self.y_end = y_end
# auto自动模式下自己加载
if os.environ.get("MACADAM_LEVEL") == "AUTO":
self.init_params(self.data)
def analysis_max_length(self, data: List, rate: float = 0.95, length_bert_max:int=512):
"""
analysis max length of data, 分析最大序列的文本长度
Args:
data: List, train data of all, eg. [{"x":{"text":"你", "texts2":["是", "是不是"]}, "y":"YES"}]
rate: float, covge rate of all datas
length_bert_max: int, max length of bert-like model's sequence length
Returns:
None
"""
if self.length_max is None:
len_sents = []
for xy in tqdm(data, desc="analysis max length of sentence"):
xy_json = json.loads(xy.strip())
x = xy_json.get("x")
first_text = x.get("text")
second_texts = x.get("texts2")
for st in second_texts:
first_text += st
len_sents.append(len(first_text))
self.length_max = min(sorted(len_sents)[int(rate * len(len_sents))] + 2, length_bert_max)
logger.info("analysis max length of sentence is {0}".format(self.length_max))
def analysis_len_data(self, data: str=None):
"""
统计文本长度, 给定一个数据
"""
if data:
self.data = data
self.len_data = len(self.data)
return self.len_data
def build_vocab_y(self, data: List):
"""
创建列别标签字典等(l2i, i2l), create dict of label
Args:
data: List, train data of all, eg. [{"x":{"text":"你", "texts2":["是", "是不是"]}, "y":"YES"}]
Returns:
None
"""
# 统计类别标签, count label
ys = []
for xy in tqdm(data, desc="build dict of l2i"):
xy_json = json.loads(xy.strip())
y = xy_json.get("y")
if type(y) == list:
for yi in y:
if yi not in ys:
ys.append(yi)
else:
if y not in ys:
ys.append(y)
# 创建字典, create dict
for ysc in ys:
self.l2i[ysc] = len(self.l2i)
self.i2l[len(self.l2i)-1] = ysc
# ner任务的[CLS], [SEP]; 或者是"O"
if self.task == SL and self.embed_type in EMBEDDING_TYPE:
if self.y_start not in self.l2i:
self.l2i[self.y_start] = len(self.l2i)
self.i2l[len(self.l2i) - 1] = self.y_start
if self.y_end not in self.l2i:
self.l2i[self.y_end] = len(self.l2i)
self.i2l[len(self.l2i) - 1] = self.y_end
logger.info("build vocab of l2i is {0}".format(self.l2i))
# # 保存label信息等
# save_json([self.l2i, self.i2l], self.path_vocab_y, encoding=self.encoding)
def preprocess_x(self, line_json: Dict, limit_lengths: List=None, use_seconds: bool = True, is_multi: bool = True):
"""
pre-process with x(sequence)
Args:
line_json: Dict, original inputs of network, eg. {"x":{"text":"你", "texts2":["是", "是不是"]}
limit_lengths: List, limit lengths of each in texts(second inputs), eg.[36, 36]
use_seconds: bool, either use [SEP] separate texts2 or not, eg.True
is_multi: bool, either sign sentence in texts with multi or not, eg. True
Returns:
inputs of bert-like model
"""
text = line_json.get("text")
texts2 = line_json.get("texts2", None)
idxs = self.embedding.sent2idx(text=text, second_text=texts2, limit_lengths=limit_lengths,
use_seconds=use_seconds, is_multi=is_multi)
if self.embed_type in ["WORD", "RANDOM"]: # and self.task == TC:
idxs = idxs[0]
# # LATTICE-LSTM-BATCH单独划分出来
# if self.embed_type != "MIX":
# idxs = padding_sequences(sequences=[idxs] if type(idxs[0])==int else idxs,
# length_max=self.length_max, padding=0)
# else:
# idxs = [idxs[0][0], idxs[1][0]]
return idxs
def preprocess_y(self, y):
"""
pre-process with y(label)
Args:
y: List or str, input of label, eg. "YES"
use_onehot: bool, whether use onehot encoding label or not, eg.True
Returns:
inputs of label
"""
if type(y) == list:
if self.task == SL:
[y] = padding_sequences(sequences=[y], length_max=self.length_max,
padding="O", task=SL,
padding_start=self.y_start, padding_end=self.y_end)
# 补全y的cls和sep
y = [self.y_start] + y[:self.length_max-2] + [self.y_end]
label = [self.l2i[yi] for yi in y]
else:
label = self.l2i[y]
if self.use_onehot:
from tensorflow.python.keras.utils import to_categorical
label = to_categorical(label, num_classes=len(self.l2i))
return label
def init_params(self, data: List, rate: float = 0.95):
"""
analysis max length of data and build dict of label, 分析最大序列的文本长度以及创建类别标签字典
Args:
data: List, train data of all, eg. [{"x":{"text":"你", "texts2":["是", "是不是"]}, "y":"YES"}]
rate: float, covge rate of all datas
length_bert_max: int, max length of bert-like model's sequence length
Returns:
None
"""
self.analysis_max_length(data, rate)
self.build_vocab_y(data)
class FileGenerator(Iterable):
def __init__(self, path: str,
preprocess_xy,
shuffle: bool = True,
buffer_size: int = 32000,
batch_size: int = 32,
len_data: int = None,
encoding: str = "utf-8"):
self.path = path
self.preprocess_xy = preprocess_xy
self.buffer_size = buffer_size
self.batch_size = batch_size
self.shuffle = shuffle
self.len_data = len_data
self.encoding = encoding
# self.lock = threading.Lock()
def __iter__(self):
"""
iter of train data and preprocess of batch_size
"""
# yield
data_yield = self.generator()
# batch_x, batch_y, preprocess
batch_x_idx, batch_y_idx = [], []
for line in data_yield: # 对x,y进行数据预处理
line_json = json.loads(line)
x_id = self.preprocess_xy.preprocess_x(line_json.get("x"))
y_id = self.preprocess_xy.preprocess_y(line_json.get("y"))
batch_x_idx.append(x_id)
batch_y_idx.append(y_id)
# yiel when full, 批尺寸满了则处理
if len(batch_y_idx) == self.batch_size:
# 转化成 [array(), array]形式
batch_x_idx_array = []
batch_y_idx_array = np.array(batch_y_idx)
# "LATTICE-LSTM-BATCH"的情况单独出来, 即MIX-Embedding得情况
if self.preprocess_xy.embed_type in ["MIX"]:
x_1 = np.array([x[0][0] for x in batch_x_idx])
x_2 = np.array([x[1][0] for x in batch_x_idx])
batch_x_idx_array = [x_1, x_2]
yield batch_x_idx_array, batch_y_idx_array
elif self.preprocess_xy.embed_type in ["RANDOM", "WORD"]:
batch_x_idx_array = np.array(batch_x_idx)
yield batch_x_idx_array, batch_y_idx_array
else:
batch_x_idx = np.array(batch_x_idx)
for i in range(len(batch_x_idx[0])):
bxii_array = np.array([bxi[i] for bxi in batch_x_idx])
batch_x_idx_array.append(bxii_array)
yield batch_x_idx_array, batch_y_idx_array
batch_x_idx, batch_y_idx = [], []
# 最后一轮不足batch_size部分
if batch_y_idx:
batch_x_idx_array = []
batch_y_idx_array = np.array(batch_y_idx)
# "LATTICE-LSTM-BATCH"的情况单独出来
if self.preprocess_xy.embed_type in ["MIX"]:
x_1 = np.array([x[0][0] for x in batch_x_idx])
x_2 = np.array([x[1][0] for x in batch_x_idx])
batch_x_idx_array = [x_1, x_2]
yield batch_x_idx_array, batch_y_idx_array
elif self.preprocess_xy.embed_type in ["RANDOM", "WORD"]:
batch_x_idx_array = np.array(batch_x_idx)
yield batch_x_idx_array, batch_y_idx_array
else:
batch_x_idx = np.array(batch_x_idx)
for i in range(len(batch_x_idx[0])):
bxii_array = np.array([bxi[i] for bxi in batch_x_idx])
batch_x_idx_array.append(bxii_array)
yield batch_x_idx_array, batch_y_idx_array
def __len__(self):
"""
step of one epcoh
"""
return max(1, self.len_data//self.batch_size)
def generator(self):
"""
generate with shuffle of buffer_size, whether shuffle or not
"""
stacks, flag = [], False
with open(self.path, "r", encoding=self.encoding) as fr:
if self.shuffle:
for line in fr:
stacks.append(line)
if flag: # buffer满了以后随机选择一行进行pop
i = random.randint(0, self.buffer_size-1)
yield stacks.pop(i)
elif len(stacks) == self.buffer_size:
flag = True
while stacks: # 最后不足buffer的情况
i = random.randint(0, len(stacks)-1)
yield stacks.pop(i)
else:
for line in fr:
yield line
fr.close()
def forfit(self):
"""
repeat when fit
"""
# with self.lock:
while True:
for d in self.__iter__():
yield d
class FilePrerocessXY:
def __init__(self, embedding, path,
length_max: int = None,
path_dir: str = path_model_dir,
encoding: str = "utf-8",
use_onehot: bool = True,
embed_type: str = "BERT",
task: str = "TC",
y_start: str = "O",
y_end: str = "O"):
self.l2i, self.i2l = {}, {}
self.length_max = length_max
self.use_onehot = use_onehot
self.embed_type = embed_type
self.embedding = embedding
self.encoding = encoding
self.path_dir = path_dir
self.path = path
self.task = task
self.y_start = y_start
self.y_end = y_end
self.len_data = None
# auto自动模式下自己加载
if os.environ.get("MACADAM_LEVEL") == "AUTO":
self.init_params(self.path)
def analysis_max_length(self, path: str=None, rate: float=0.95, length_bert_max:int=512):
"""
analysis max length of data, 分析最大序列的文本长度, 未统计cls,sep等
Args:
path: str, train data file, eg. "/home/data/textclassification/baidu_qa_2019/train.json"
rate: float, covge rate of all datas
length_bert_max: int, max length of bert-like model's sequence length
Returns:
None
"""
if path and os.path.exists(path):
self.path = path
# 如果没强制指定最大长度
if self.length_max is None:
len_sents = []
with open(self.path, "r", encoding=self.encoding) as fr:
for xy in tqdm(fr, desc="analysis max length of sentence"):
xy_json = json.loads(xy.strip())
x = xy_json.get("x")
first_text = x.get("text")
second_texts = x.get("texts2")
for st in second_texts:
first_text += st
len_sents.append(len(first_text))
# 取得覆盖rate(0.95)语料的长度
self.length_max = min(sorted(len_sents)[int(rate * len(len_sents))] + 2, length_bert_max)
logger.info("analysis max length of sentence is {0}".format(self.length_max))
def analysis_len_data(self, path: str=None):
"""
analysis sample of path, 统计文本长度
Args:
path: str, train data file, eg. "/home/data/textclassification/baidu_qa_2019/train.json"
Returns:
None
"""
self.len_data = 0
if path and os.path.exists(path):
self.path = path
with open(self.path, "r", encoding=self.encoding) as fr:
for _ in tqdm(fr, desc="build dict of l2i"):
self.len_data += 1
fr.close()
return self.len_data
def build_vocab_y(self, path: str=None):
"""
创建列别标签字典等(l2i, i2l), create dict of label
Args:
path: str, train data file, eg. "/home/data/textclassification/baidu_qa_2019/train.json"
Returns:
None
"""
if path and os.path.exists(path):
self.path = path
# 统计类别标签, count label
ys_counter = []
ys = []
with open(self.path, "r", encoding=self.encoding) as fr:
for xy in tqdm(fr, desc="build dict of l2i"):
xy_json = json.loads(xy.strip())
y = xy_json.get("y")
if type(y) == list:
for yi in y:
if yi not in ys:
ys.append(yi)
ys_counter += y
else:
if y not in ys:
ys.append(y)
ys_counter.append(y)
fr.close()
# 类别统计
ys_counter_dict = dict(Counter(ys_counter))
ys_counter_dict_sort = dict_sort(ys_counter_dict)
logger.info(json.dumps(ys_counter_dict_sort, ensure_ascii=False, indent=4))
# 创建字典, create dict
for ysc in ys:
self.l2i[ysc] = len(self.l2i)
self.i2l[len(self.l2i) - 1] = ysc
# ner任务的[CLS], [SEP]; 或者是"O"
if self.task == SL and self.embed_type in EMBEDDING_TYPE:
if self.y_start not in self.l2i:
self.l2i[self.y_start] = len(self.l2i)
self.i2l[len(self.l2i) - 1] = self.y_start
if self.y_end not in self.l2i:
self.l2i[self.y_end] = len(self.l2i)
self.i2l[len(self.l2i) - 1] = self.y_end
logger.info("build vocab of l2i is {0}".format(self.l2i))
def preprocess_x(self, line_json: Dict,
limit_lengths: List=None,
use_seconds: bool = True,
is_multi: bool = True):
"""
pre-process with x(sequence)
Args:
line_json: Dict, original inputs of network, eg. {"x":{"text":"你", "texts2":["是", "是不是"]}
limit_lengths: List, limit lengths of each in texts(second inputs), eg.[36, 36]
use_seconds: bool, either use [SEP] separate texts2 or not, eg.True
is_multi: bool, either sign sentence in texts with multi or not, eg. True
Returns:
inputs of bert-like model
"""
text = line_json.get("text")
texts2 = line_json.get("texts2", None)
idxs = self.embedding.sent2idx(text=text, second_text=texts2, limit_lengths=limit_lengths,
use_seconds=use_seconds, is_multi=is_multi)
if self.embed_type in ["WORD", "RANDOM"]: # and self.task == TC:
idxs = idxs[0]
return idxs
def preprocess_y(self, y):
"""
pre-process with y(label)
Args:
y: List or str, input of label, eg. "YES"
use_onehot: bool, whether use onehot encoding label or not, eg.True
Returns:
inputs of label
"""
if type(y) == list:
if self.task == SL:
[y] = padding_sequences(sequences=[y], length_max=self.length_max,
padding="O", task=SL,
padding_start=self.y_start, padding_end=self.y_end)
# 补全y的cls和sep
y = [self.y_start] + y[:self.length_max-2] + [self.y_end]
label = [self.l2i[yi] for yi in y]
else:
label = self.l2i[y]
if self.use_onehot:
from tensorflow.python.keras.utils import to_categorical
label = to_categorical(label, num_classes=len(self.l2i))
return label
def init_params(self, path: str, rate: float = 0.95):
"""
analysis max length of data and build dict of label, 分析最大序列的文本长度以及创建类别标签字典
Args:
path: str, train data file, eg. "/home/data/textclassification/baidu_qa_2019/train.json"
rate: float, covge rate of all datas
length_bert_max: int, max length of bert-like model's sequence length
Returns:
None
"""
self.analysis_max_length(path, rate)
self.build_vocab_y(path)
if __name__ == "__main__":
mm = 0
| 41.977025
| 137
| 0.552528
| 4,443
| 34,715
| 4.083052
| 0.077875
| 0.021168
| 0.030759
| 0.021609
| 0.849402
| 0.840913
| 0.824872
| 0.818422
| 0.801279
| 0.790089
| 0
| 0.014905
| 0.350627
| 34,715
| 826
| 138
| 42.027845
| 0.789824
| 0.224543
| 0
| 0.761364
| 0
| 0
| 0.021486
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.054924
| false
| 0
| 0.032197
| 0
| 0.117424
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
73f6571556957eb490ba66e2780b13eb3d66d277
| 8,044
|
py
|
Python
|
include/quantum.py
|
oplik0/basics-of-quantum-computing
|
32084c4b320abfb341c46b581b979d047369eada
|
[
"Apache-2.0",
"CC-BY-4.0"
] | 31
|
2019-10-06T19:13:26.000Z
|
2022-03-16T14:53:23.000Z
|
include/quantum.py
|
oplik0/basics-of-quantum-computing
|
32084c4b320abfb341c46b581b979d047369eada
|
[
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null |
include/quantum.py
|
oplik0/basics-of-quantum-computing
|
32084c4b320abfb341c46b581b979d047369eada
|
[
"Apache-2.0",
"CC-BY-4.0"
] | 12
|
2020-03-07T09:15:40.000Z
|
2022-03-21T16:41:24.000Z
|
import random, math
# randomly create a 2-dimensional quantum state
def random_quantum_state():
first_entry = random.randrange(-100,101)
second_entry = random.randrange(-100,101)
length_square = first_entry**2+second_entry**2
while length_square == 0:
first_entry = random.randrange(-100,101)
second_entry = random.randrange(-100,101)
length_square = first_entry**2+second_entry**2
first_entry = first_entry / length_square**0.5
second_entry = second_entry / length_square**0.5
return [first_entry,second_entry]
# randomly create a 2-dimensional quantum state
def random_quantum_state2():
angle_degree = random.randrange(360)
angle_radian = math.pi * angle_degree / 180
return [math.cos(angle_radian),math.sin(angle_radian)]
# finding the angle of a 2-dimensional quantum state
def angle_quantum_state(x,y):
angle_radian = math.acos(x) # radian of the angle with state |0>
angle_degree = 360*angle_radian/(2*math.pi) # degree of the angle with state |0>
# if the second amplitude is negative,
# then angle is (-angle_degree)
# or equivalently 360 + (-angle_degree)
if y<0: angle_degree = 360-angle_degree # degree of the angle
# else degree of the angle is the same as degree of the angle with state |0>
return angle_degree
def giant_oracle(circuit99,quantum_reg):
number=18
if(number%2 == 0):
circuit99.x(quantum_reg[0])
if(number%4 < 2):
circuit99.x(quantum_reg[1])
if(number%8 < 4):
circuit99.x(quantum_reg[2])
if(number%16 < 8):
circuit99.x(quantum_reg[3])
if(number%32 < 16):
circuit99.x(quantum_reg[4])
if(number%64 < 32):
circuit99.x(quantum_reg[5])
if(number%128 < 64):
circuit99.x(quantum_reg[6])
if(number%256 < 128):
circuit99.x(quantum_reg[7])
if(number%512 < 256):
circuit99.x(quantum_reg[8])
if(number < 512):
circuit99.x(quantum_reg[9])
circuit99.ccx(quantum_reg[0],quantum_reg[1],quantum_reg[18])
circuit99.ccx(quantum_reg[2],quantum_reg[3],quantum_reg[11])
circuit99.ccx(quantum_reg[4],quantum_reg[5],quantum_reg[12])
circuit99.ccx(quantum_reg[6],quantum_reg[7],quantum_reg[13])
circuit99.ccx(quantum_reg[8],quantum_reg[9],quantum_reg[14])
circuit99.ccx(quantum_reg[18],quantum_reg[11],quantum_reg[15])
circuit99.ccx(quantum_reg[12],quantum_reg[13],quantum_reg[16])
circuit99.ccx(quantum_reg[15],quantum_reg[16],quantum_reg[17])
circuit99.ccx(quantum_reg[14],quantum_reg[17],quantum_reg[10])
circuit99.ccx(quantum_reg[15],quantum_reg[16],quantum_reg[17])
circuit99.ccx(quantum_reg[12],quantum_reg[13],quantum_reg[16])
circuit99.ccx(quantum_reg[18],quantum_reg[11],quantum_reg[15])
circuit99.ccx(quantum_reg[8],quantum_reg[9],quantum_reg[14])
circuit99.ccx(quantum_reg[6],quantum_reg[7],quantum_reg[13])
circuit99.ccx(quantum_reg[4],quantum_reg[5],quantum_reg[12])
circuit99.ccx(quantum_reg[2],quantum_reg[3],quantum_reg[11])
circuit99.ccx(quantum_reg[0],quantum_reg[1],quantum_reg[18])
if(number%2 == 0):
circuit99.x(quantum_reg[0])
if(number%4 < 2):
circuit99.x(quantum_reg[1])
if(number%8 < 4):
circuit99.x(quantum_reg[2])
if(number%16 < 8):
circuit99.x(quantum_reg[3])
if(number%32 < 16):
circuit99.x(quantum_reg[4])
if(number%64 < 32):
circuit99.x(quantum_reg[5])
if(number%128 < 64):
circuit99.x(quantum_reg[6])
if(number%256 < 128):
circuit99.x(quantum_reg[7])
if(number%512 < 256):
circuit99.x(quantum_reg[8])
if(number < 512):
circuit99.x(quantum_reg[9])
def giant_oracle2(circuit99,quantum_reg):
numbers=[12,45]
for number in numbers:
if(number%2 == 0):
circuit99.x(quantum_reg[0])
if(number%4 < 2):
circuit99.x(quantum_reg[1])
if(number%8 < 4):
circuit99.x(quantum_reg[2])
if(number%16 < 8):
circuit99.x(quantum_reg[3])
if(number%32 < 16):
circuit99.x(quantum_reg[4])
if(number%64 < 32):
circuit99.x(quantum_reg[5])
if(number%128 < 64):
circuit99.x(quantum_reg[6])
if(number%256 < 128):
circuit99.x(quantum_reg[7])
if(number%512 < 256):
circuit99.x(quantum_reg[8])
if(number < 512):
circuit99.x(quantum_reg[9])
circuit99.ccx(quantum_reg[0],quantum_reg[1],quantum_reg[18])
circuit99.ccx(quantum_reg[2],quantum_reg[3],quantum_reg[11])
circuit99.ccx(quantum_reg[4],quantum_reg[5],quantum_reg[12])
circuit99.ccx(quantum_reg[6],quantum_reg[7],quantum_reg[13])
circuit99.ccx(quantum_reg[8],quantum_reg[9],quantum_reg[14])
circuit99.ccx(quantum_reg[18],quantum_reg[11],quantum_reg[15])
circuit99.ccx(quantum_reg[12],quantum_reg[13],quantum_reg[16])
circuit99.ccx(quantum_reg[15],quantum_reg[16],quantum_reg[17])
circuit99.ccx(quantum_reg[14],quantum_reg[17],quantum_reg[10])
circuit99.ccx(quantum_reg[15],quantum_reg[16],quantum_reg[17])
circuit99.ccx(quantum_reg[12],quantum_reg[13],quantum_reg[16])
circuit99.ccx(quantum_reg[18],quantum_reg[11],quantum_reg[15])
circuit99.ccx(quantum_reg[8],quantum_reg[9],quantum_reg[14])
circuit99.ccx(quantum_reg[6],quantum_reg[7],quantum_reg[13])
circuit99.ccx(quantum_reg[4],quantum_reg[5],quantum_reg[12])
circuit99.ccx(quantum_reg[2],quantum_reg[3],quantum_reg[11])
circuit99.ccx(quantum_reg[0],quantum_reg[1],quantum_reg[18])
if(number%2 == 0):
circuit99.x(quantum_reg[0])
if(number%4 < 2):
circuit99.x(quantum_reg[1])
if(number%8 < 4):
circuit99.x(quantum_reg[2])
if(number%16 < 8):
circuit99.x(quantum_reg[3])
if(number%32 < 16):
circuit99.x(quantum_reg[4])
if(number%64 < 32):
circuit99.x(quantum_reg[5])
if(number%128 < 64):
circuit99.x(quantum_reg[6])
if(number%256 < 128):
circuit99.x(quantum_reg[7])
if(number%512 < 256):
circuit99.x(quantum_reg[8])
if(number < 512):
circuit99.x(quantum_reg[9])
def giant_diffusion(circuit99,quantum_reg):
for i in range(10):
circuit99.h(quantum_reg[i])
circuit99.x(quantum_reg[i])
circuit99.ccx(quantum_reg[0],quantum_reg[1],quantum_reg[18])
circuit99.ccx(quantum_reg[2],quantum_reg[3],quantum_reg[11])
circuit99.ccx(quantum_reg[4],quantum_reg[5],quantum_reg[12])
circuit99.ccx(quantum_reg[6],quantum_reg[7],quantum_reg[13])
circuit99.ccx(quantum_reg[8],quantum_reg[9],quantum_reg[14])
circuit99.ccx(quantum_reg[18],quantum_reg[11],quantum_reg[15])
circuit99.ccx(quantum_reg[12],quantum_reg[13],quantum_reg[16])
circuit99.ccx(quantum_reg[15],quantum_reg[16],quantum_reg[17])
circuit99.ccx(quantum_reg[14],quantum_reg[17],quantum_reg[10])
circuit99.ccx(quantum_reg[15],quantum_reg[16],quantum_reg[17])
circuit99.ccx(quantum_reg[12],quantum_reg[13],quantum_reg[16])
circuit99.ccx(quantum_reg[18],quantum_reg[11],quantum_reg[15])
circuit99.ccx(quantum_reg[8],quantum_reg[9],quantum_reg[14])
circuit99.ccx(quantum_reg[6],quantum_reg[7],quantum_reg[13])
circuit99.ccx(quantum_reg[4],quantum_reg[5],quantum_reg[12])
circuit99.ccx(quantum_reg[2],quantum_reg[3],quantum_reg[11])
circuit99.ccx(quantum_reg[0],quantum_reg[1],quantum_reg[18])
for i in range(10):
circuit99.x(quantum_reg[i])
circuit99.h(quantum_reg[i])
circuit99.x(quantum_reg[10])
def Uf(circuit,qreg):
circuit.ccx(qreg[0],qreg[1],qreg[2])
def Uf_8(circuit,quantum_reg):
circuit.x(quantum_reg[2])
circuit.ccx(quantum_reg[2],quantum_reg[1],quantum_reg[4])
circuit.ccx(quantum_reg[4],quantum_reg[0],quantum_reg[3])
circuit.ccx(quantum_reg[2],quantum_reg[1],quantum_reg[4])
circuit.x(quantum_reg[2])
| 38.304762
| 81
| 0.667703
| 1,240
| 8,044
| 4.125806
| 0.070968
| 0.416341
| 0.137217
| 0.219312
| 0.878225
| 0.854965
| 0.831509
| 0.821345
| 0.821345
| 0.805317
| 0
| 0.109216
| 0.183864
| 8,044
| 210
| 82
| 38.304762
| 0.670069
| 0.052461
| 0
| 0.849711
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.046243
| false
| 0
| 0.00578
| 0
| 0.069364
| 0
| 0
| 0
| 0
| null | 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
73f91ab82faf94de5bddc1370cb91df3f3a292f0
| 3,842
|
py
|
Python
|
bommerge/components/test_resistor.py
|
sakoPO/bommerge
|
88a3697ce03908053c9d7c52fd3f78db0ce52371
|
[
"BSD-3-Clause"
] | null | null | null |
bommerge/components/test_resistor.py
|
sakoPO/bommerge
|
88a3697ce03908053c9d7c52fd3f78db0ce52371
|
[
"BSD-3-Clause"
] | null | null | null |
bommerge/components/test_resistor.py
|
sakoPO/bommerge
|
88a3697ce03908053c9d7c52fd3f78db0ce52371
|
[
"BSD-3-Clause"
] | null | null | null |
import unittest
import resistor
from decimal import *
class TestResistor(unittest.TestCase):
def test_conversion(self):
self.assertEqual(resistor.convert_resistance_to_ohms('1m'), Decimal('0.001'))
self.assertEqual(resistor.convert_resistance_to_ohms('1m\u03a9'), Decimal('0.001'))
self.assertEqual(resistor.convert_resistance_to_ohms('0'), Decimal('0'))
self.assertEqual(resistor.convert_resistance_to_ohms('1'), Decimal('1'))
self.assertEqual(resistor.convert_resistance_to_ohms('1R'), Decimal('1'))
self.assertEqual(resistor.convert_resistance_to_ohms(u'1\u03a9'), Decimal('1'))
self.assertEqual(resistor.convert_resistance_to_ohms('1k'), Decimal('1000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1k\u03a9'), Decimal('1000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1M'), Decimal('1000000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1M\u03a9'), Decimal('1000000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1G'), Decimal('1000000000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1G\u03a9'), Decimal('1000000000'))
# test fractionals
self.assertEqual(resistor.convert_resistance_to_ohms('1m1'), Decimal('0.0011'))
self.assertEqual(resistor.convert_resistance_to_ohms('1m\u03a91'), Decimal('0.0011'))
self.assertEqual(resistor.convert_resistance_to_ohms('1R1'), Decimal('1.1'))
self.assertEqual(resistor.convert_resistance_to_ohms(u'1\u03a91'), Decimal('1.1'))
self.assertEqual(resistor.convert_resistance_to_ohms('1k1'), Decimal('1100'))
self.assertEqual(resistor.convert_resistance_to_ohms('1k\u03a91'), Decimal('1100'))
self.assertEqual(resistor.convert_resistance_to_ohms('1M1'), Decimal('1100000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1M\u03a91'), Decimal('1100000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1G1'), Decimal('1100000000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1G\u03a91'), Decimal('1100000000'))
#
self.assertEqual(resistor.convert_resistance_to_ohms('1.1m'), Decimal('0.0011'))
self.assertEqual(resistor.convert_resistance_to_ohms(u'1.1m\u03a9'), Decimal('0.0011'))
self.assertEqual(resistor.convert_resistance_to_ohms('1.1R'), Decimal('1.1'))
self.assertEqual(resistor.convert_resistance_to_ohms(u'1.1\u03a9'), Decimal('1.1'))
self.assertEqual(resistor.convert_resistance_to_ohms('1.1k'), Decimal('1100'))
self.assertEqual(resistor.convert_resistance_to_ohms('1.1kR'), Decimal('1100'))
self.assertEqual(resistor.convert_resistance_to_ohms(u'1.1k\u03a9'), Decimal('1100'))
self.assertEqual(resistor.convert_resistance_to_ohms('1.1M'), Decimal('1100000'))
self.assertEqual(resistor.convert_resistance_to_ohms(u'1.1M\u03a9'), Decimal('1100000'))
self.assertEqual(resistor.convert_resistance_to_ohms('1.1G'), Decimal('1100000000'))
self.assertEqual(resistor.convert_resistance_to_ohms(u'1.1G\u03a9'), Decimal('1100000000'))
def test_conversion_decimal_to_str(self):
self.assertEqual(resistor.ohms_to_string(Decimal('0.0001')), u'100u\u03a9')
self.assertEqual(resistor.ohms_to_string(Decimal('0.1')), u'100m\u03a9')
self.assertEqual(resistor.ohms_to_string(Decimal('0')), u'0\u03a9')
self.assertEqual(resistor.ohms_to_string(Decimal('1')), u'1\u03a9')
self.assertEqual(resistor.ohms_to_string(Decimal('1000')), u'1k\u03a9')
self.assertEqual(resistor.ohms_to_string(Decimal('1000000')), u'1M\u03a9')
self.assertEqual(resistor.ohms_to_string(Decimal('1000000000')), u'1G\u03a9')
if __name__ == "__main__":
unittest.main()
| 55.681159
| 99
| 0.718636
| 481
| 3,842
| 5.47817
| 0.099792
| 0.227704
| 0.349146
| 0.375712
| 0.864516
| 0.864516
| 0.864516
| 0.864516
| 0.735863
| 0.379507
| 0
| 0.098895
| 0.128839
| 3,842
| 68
| 100
| 56.5
| 0.688378
| 0.004165
| 0
| 0
| 0
| 0
| 0.120942
| 0
| 0
| 0
| 0
| 0
| 0.833333
| 1
| 0.041667
| false
| 0
| 0.0625
| 0
| 0.125
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
fb687f01d08ba9046dc125ed65f1c6cb23a16552
| 18,801
|
py
|
Python
|
evap/staff/fixtures/excel_files_test_data.py
|
felixrindt/EvaP
|
fe65fcc511cc942695ce1edbaab170894f0d37b1
|
[
"MIT"
] | 29
|
2020-02-28T23:03:41.000Z
|
2022-02-19T09:29:36.000Z
|
evap/staff/fixtures/excel_files_test_data.py
|
felixrindt/EvaP
|
fe65fcc511cc942695ce1edbaab170894f0d37b1
|
[
"MIT"
] | 247
|
2020-02-19T17:18:15.000Z
|
2022-03-31T20:59:47.000Z
|
evap/staff/fixtures/excel_files_test_data.py
|
felixrindt/EvaP
|
fe65fcc511cc942695ce1edbaab170894f0d37b1
|
[
"MIT"
] | 35
|
2020-04-10T21:50:02.000Z
|
2022-03-10T16:42:11.000Z
|
import io
import xlwt
duplicate_user_import_filedata = {
'Users': [
['Title', 'First Name', 'Last Name', 'Email'],
['', 'Lucilia', 'Manilium', 'lucilia.manilium@institution.example.com'],
['', 'Bastius', 'Quid', 'bastius.quid@external.example.com'],
['', 'Bastius', 'Quid', 'bastius.quid@external.example.com']
]
}
numerical_data_in_user_data_filedata = {
'Users': [
['Title', 'First Name', 'Last Name', 'Email'],
['', 'Lucilia', 'Manilium', 'lucilia.manilium@institution.example.com'],
[3.14, 'Bastius', 'Quid', 'bastius.quid@external.example.com'],
['', 'Gustav', 42, 'gustav42@external.example.com']
]
}
invalid_enrollment_data_filedata = {
'MA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com'],
['Master', 'Quid', 'Basti', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Herbringen', 'Bring', 'Dr.', 'Nonumy', 'Eirmod', '456@external.example.com'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Machen', 'Do', 'Dr.', 'Romano', 'Electram', '111@external.example.com'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'maybe', 'Verhandeln', 'Deal', 'Prof. Dr.', 'Tempor', 'Invidunt', '789@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Kaufen', 'Buy', 'Dr.', 'Romano', 'Electram', '111@external.example.com'],
['Master', 'Synephebos', 'Diam', '', 'Seminar', 'no', 'Zerplatzen', 'Burst', 'Dr.', 'Sadipscing', 'Elitr', '234@external.example.com'],
['Diploma', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Vorlesung', 'yes', 'Schneiden', 'Cut', 'Dr.', 'Sic', 'Graecis', '890@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Kommen', 'Come', 'Prof. Dr.', 'Takimata', 'Labore', '678@internal.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Kosten', 'Cost', 'Dr.', 'Aliquyam', 'Sanctus', ''],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Praktikum', 'no', 'Wählen', 'Choose', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Vorlesung', 'no', 'Schlagen', 'Beat', 'Prof. Dr.', 'Amet', 'Consetetur', '123@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Herbringen', 'Bring', 'Dr.', 'Nonumy', 'Eirmod', '456@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Zerplatzen', 'Burst', 'Dr.', 'Sadipscing', 'Elitr', '234@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Vorlesung', 'yes', 'Fangen', 'Catch', 'Prof. Dr.', 'Tempor', 'Invidunt', '789@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Zerbrechen', 'Break', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Seminar', 'no', 'Kaufen', 'Bought', 'Dr.', 'Romano', 'Electram', '111@external.example.com'],
['Diploma', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Vorlesung', 'yes', 'Schneiden', 'Cut', 'Dr.', 'Sic', 'Graecis', '890@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Seminar', 'no', 'Kosten', 'Cost', 'Dr.', 'Aliquyam', 'Sanctus', '567@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Praktikum', 'no', 'Wählen', 'Choose', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Seminar', 'no', 'Zerbrechen', 'Break', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com']
],
'BA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'yes', 'Schütteln', 'Shake', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Singen', 'Sing', 'Dr.', 'Praeterea', 'Eadamque', '345@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Sinken', 'Sink', 'Dr.', 'Itaque', 'Ferdi', '789@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Sitzen', 'Sit', 'Prof. Dr.', 'Tempor', 'Invidunt', '789@external.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Schließen', 'Shut', 'Prof. Dr.', 'Itch', 'Probabo', '234@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Zeigen', 'Show', 'Dr.', 'Sed', 'Tam', '456@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'no', 'Scheinen', 'Shine', 'Prof. Dr.', 'Multi', 'Augendas', '567@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'yes', 'Schütteln', 'Shake', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Seminar', 'yes', 'Stehlen', 'Steal', 'Dr.', 'Nonumy', 'Eirmod', '456@external.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'yes', 'Sprechen', 'Speak', 'Prof.-Dr.', 'Honoris', 'Invitat', '111@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'no', 'Schlafen', 'Sleep', 'Prof. Dr. ', 'Takimata', 'Labore', '678@external.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'no', 'Zeigen', 'Show', 'Dr.', 'Sed', 'Tam', '456@institution.example.com']
]
}
test_enrollment_data_filedata = {
'MA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Herbringen', 'Bring', 'Dr.', 'Nonumy', 'Eirmod', '456@external.example.com'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Machen', 'Do', 'Dr.', 'Romano', 'Electram', '111@external.example.com'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Verhandeln', 'Deal', 'Prof. Dr.', 'Tempor', 'Invidunt', '789@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Kaufen', 'Buy', 'Dr.', 'Romano', 'Electram', '111@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Zerplatzen', 'Burst', 'Dr.', 'Sadipscing', 'Elitr', '234@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Vorlesung', 'yes', 'Schneiden', 'Cut', 'Dr.', 'Sic', 'Graecis', '890@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Kommen', 'Come', 'Prof. Dr.', 'Takimata', 'Labore', '678@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Kosten', 'Cost', 'Dr.', 'Aliquyam', 'Sanctus', '567@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Vorlesung', 'no', 'Wählen', 'Choose', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Vorlesung', 'no', 'Schlagen', 'Beat', 'Prof. Dr.', 'Amet', 'Consetetur', '123@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Herbringen', 'Bring', 'Dr.', 'Nonumy', 'Eirmod', '456@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Zerplatzen', 'Burst', 'Dr.', 'Sadipscing', 'Elitr', '234@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Vorlesung', 'yes', 'Fangen', 'Catch', 'Prof. Dr.', 'Tempor', 'Invidunt', '789@external.example.com'],
['Master', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Zerbrechen', 'Break', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Seminar', 'no', 'Kaufen', 'Buy', 'Dr.', 'Romano', 'Electram', '111@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Vorlesung', 'yes', 'Schneiden', 'Cut', 'Dr.', 'Sic', 'Graecis', '890@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Seminar', 'no', 'Kosten', 'Cost', 'Dr.', 'Aliquyam', 'Sanctus', '567@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Vorlesung', 'no', 'Wählen', 'Choose', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com'],
['Master', 'Menandri', 'Latinas', 'latinas.menandri@institution.example.com', 'Seminar', 'no', 'Zerbrechen', 'Break', 'Prof. Dr.', 'Dolor', 'Sit', 'asd@external.example.com']
],
'BA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'yes', 'Schütteln', 'Shake', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Singen', 'Sing', 'Dr.', 'Praeterea', 'Eadamque', '345@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Sinken', 'Sink', 'Dr.', 'Itaque', 'Ferdi', '789@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Sitzen', 'Sit', 'Prof. Dr.', 'Tempor', 'Invidunt', '789@external.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Schließen', 'Shut', 'Prof. Dr.', 'Itch', 'Probabo', '234@institution.example.com'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'Vorlesung', 'no', 'Zeigen', 'Show', 'Dr.', 'Sed', 'Tam', '456@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'no', 'Scheinen', 'Shine', 'Prof. Dr.', 'Multi', 'Augendas', '567@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'yes', 'Schütteln', 'Shake', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Seminar', 'yes', 'Stehlen', 'Steal', 'Dr.', 'Nonumy', 'Eirmod', '456@external.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'yes', 'Sprechen', 'Speak', 'Prof.-Dr.', 'Honoris', 'Invitat', '111@institution.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'no', 'Schlafen', 'Sleep', 'Prof. Dr. ', 'Takimata', 'Labore', '678@external.example.com'],
['Bachelor', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'Vorlesung', 'no', 'Zeigen', 'Show', 'Dr.', 'Sed', 'Tam', '456@institution.example.com']
]
}
test_enrollment_data_consecutive_and_trailing_spaces_filedata = {
'MA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Haeuser Bauen', 'Build houses ', '', 'Sed', 'Diam', '345@external.example.com'],
['Master', 'Synephebos', 'Diam', 'diam.synephebos@institution.example.com', 'Seminar', 'no', 'Haeuser Bauen ', 'Build houses', '', 'Sed', 'Diam', '345@external.example.com']
]
}
test_enrollment_data_degree_merge_filedata = {
'MA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com'],
['Bachelor', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com']
]
}
test_enrollment_data_import_names_filedata = {
'MA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'S', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com'],
['M. Sc.', 'Lorem', 'Ipsum', 'ipsum.lorem@institution.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.example.com']
],
'BA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@institution.example.com', 'VORlesung', 'yes', 'Rechtschreibung', 'Spelling', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com'],
['B. Sc.', 'Metrodorus', 'Torquate', 'torquate.metrodorus@institution.example.com', 'V', 'yes', 'Rechtschreibung', 'Spelling', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com']
]
}
test_unknown_degree_error_filedata = {
'Sheet 1': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['bachelor', 'Doe', 'John', 'john.doe@institution.example.com', 'Vorlesung', 'yes', 'Neovim kompilieren', 'compiling Neovim', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com'],
['beginner', 'Roe', 'Jane', 'jane.roe@institution.example.com', 'Vorlesung', 'yes', 'Neovim kompilieren', 'compiling Neovim', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@institution.example.com'],
],
}
valid_user_courses_import_filedata = {
'MA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Master', 'Quid', 'Bastius', 'bastius.quid@external.example.com', 'Seminar', 'no', 'Bauen', 'Build', '', 'Sed', 'Diam', '345@external.institution.com']
],
'BA Belegungen': [
['Degree', 'Student last name', 'Student first name', 'Student email address', 'Course kind', 'Course is graded', 'Course name (de)', 'Course name (en)', 'Responsible title', 'Responsible last name', 'Responsible first name', 'Responsible email address'],
['Bachelor', 'Manilium', 'Lucilia', 'lucilia.manilium@student.institution.com', 'Vorlesung', 'no', 'Schütteln', 'Shake', 'Prof. Dr.', 'Prorsus', 'Christoph', '123@external.com']
]
}
def create_memory_excel_file(data):
memory_excel_file = io.BytesIO()
workbook = xlwt.Workbook()
for sheet_name, sheet_data in data.items():
sheet = workbook.add_sheet(sheet_name)
for (row_num, row_data) in enumerate(sheet_data):
for (column_num, cell_data) in enumerate(row_data):
sheet.write(row_num, column_num, cell_data)
workbook.save(memory_excel_file)
return memory_excel_file.getvalue()
| 113.259036
| 263
| 0.638902
| 2,053
| 18,801
| 5.821237
| 0.097906
| 0.13137
| 0.154631
| 0.074303
| 0.94536
| 0.94536
| 0.94536
| 0.930884
| 0.928039
| 0.914986
| 0
| 0.013155
| 0.130685
| 18,801
| 165
| 264
| 113.945455
| 0.718062
| 0
| 0
| 0.51634
| 0
| 0
| 0.655976
| 0.268018
| 0
| 0
| 0
| 0
| 0
| 1
| 0.006536
| false
| 0
| 0.03268
| 0
| 0.045752
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
fb913fc6571255671fbb9194e7d56c19b6c5a613
| 156
|
py
|
Python
|
web/utils/tokens.py
|
jaobernardi/robosdocovid
|
e620b2951e5bdd9046f81abf38e767080a9695f4
|
[
"Apache-2.0"
] | null | null | null |
web/utils/tokens.py
|
jaobernardi/robosdocovid
|
e620b2951e5bdd9046f81abf38e767080a9695f4
|
[
"Apache-2.0"
] | null | null | null |
web/utils/tokens.py
|
jaobernardi/robosdocovid
|
e620b2951e5bdd9046f81abf38e767080a9695f4
|
[
"Apache-2.0"
] | null | null | null |
from string import ascii_letters
from random import choice
def generate_string(length=10):
return "".join([choice(ascii_letters) for i in range(length)])
| 26
| 63
| 0.788462
| 24
| 156
| 5
| 0.708333
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014493
| 0.115385
| 156
| 5
| 64
| 31.2
| 0.855072
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.5
| 0.25
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
fb960e2e87f84bf6ae9d1814b1e773b5a449d482
| 21,955
|
py
|
Python
|
src/DriverSplitAll.py
|
bineet-coderep/Uncertain-Linear-System
|
911ff9d66ab97b156e5b51b3583d6b6a584870ac
|
[
"AFL-1.1"
] | 1
|
2020-11-20T07:38:40.000Z
|
2020-11-20T07:38:40.000Z
|
src/DriverSplitAll.py
|
bineet-coderep/Uncertain-Linear-System
|
911ff9d66ab97b156e5b51b3583d6b6a584870ac
|
[
"AFL-1.1"
] | null | null | null |
src/DriverSplitAll.py
|
bineet-coderep/Uncertain-Linear-System
|
911ff9d66ab97b156e5b51b3583d6b6a584870ac
|
[
"AFL-1.1"
] | null | null | null |
'''
Author: Bineet Ghosh, under supervision of Dr. Sridhar Duggirala
Email: ghosh.bineet22@gmail.com
- Linear Dynamical System: dot{x} = (A+E)x; where E is the perturbation.
Documentation: Not yet available. (TODO)
'''
import os,sys
PROJECT_ROOT = os.environ['ULS_ROOT_DIR']
sys.path.append(PROJECT_ROOT)
from lib.Benchmarks import *
from lib.Consolidated import *
mode='.'
h=0.01
class DriverCompU:
@staticmethod
def createMatrix(A,B,mode,h):
''' Creates a single matrix based on
. or +.
In case of . a rough approximation is
done'''
n1=np.size(A,0)
if (np.size(B)>0):
n2=np.size(B,1)
else:
n2=0
n=n1+n2
C=np.zeros((n,n),dtype=np.float)
if mode=='+':
for i in range(n1):
for j in range(n1):
C[i][j]=A[i][j]
for i in range(n1):
j2=0
for j in range(n1,n1+n2):
C[i][j]=B[i][j2]
j2=j2+1
for i in range(n1,n1+n2):
C[i][i]=1
elif mode=='.':
I=np.zeros((n1,n1),dtype=np.float)
for i in range(n1):
I[i][i]=1
A2=h*A
A2=np.add(I,A2)
B2=h*B
for i in range(n1):
for j in range(n1):
C[i][j]=A2[i][j]
for i in range(n1):
j2=0
for j in range(n1,n1+n2):
C[i][j]=B2[i][j2]
j2=j2+1
for i in range(n1,n1+n2):
C[i][i]=1
return C
def stableSystem1():
dynA=Benchmarks.StableSystem1.A
dynB=Benchmarks.StableSystem1.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(2,2): [1-(P/100),1+(P/100)]
}
C=[0,0,0]
V=np.array([
[1,-1,1],
[-1,1,0],
[1,0,-1],
])
P=[(-1,1),(-1,1),(-1,1)]
rs=(C,V,P)
T=100
th1=1
th2=2
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Stable1")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def stableSystem2():
dynA=Benchmarks.StableSystem2.A
dynB=Benchmarks.StableSystem2.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(0,1): [1-(P/100),1+(P/100)]
}
C=[0,0]
V=np.array([
[1,0],
[0,1]
])
P=[(-1,1),(-1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Stable2")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def stableSystem3():
dynA=Benchmarks.StableSystem3.A
dynB=Benchmarks.StableSystem3.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(0,1): [1-(P/100),1+(P/100)]
}
C=[0,0]
V=np.array([
[1,0],
[0,1]
])
P=[(-1,1),(-1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Stable3")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def stableSystem4():
dynA=Benchmarks.StableSystem4.A
dynB=Benchmarks.StableSystem4.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(0,0): [1-(P/100),1+(P/100)],
(2,2): [1-(P/100),1+(P/100)]
}
C=[0,0,0]
V=np.array([
[1,0,0],
[0,1,0],
[0,0,1],
])
P=[(-1,1),(-1,1),(1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Stable4")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def flightEnvelope():
dynA=Benchmarks.FlightEnvelope.A
dynB=Benchmarks.FlightEnvelope.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=20
E={
(3,7): [1-(P/100),1+(P/100)],
(4,6): [1-(P/100),1+(P/100)]
}
E2={
(0,1): [1-(P/100),1+(P/100)],
(0,3): [1-(P/100),1+(P/100)],
(1,4): [1-(P/100),1+(P/100)],
(8,11): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
VI=np.array([
[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1]
])
V=np.array([
[1,0,0,0,1,0,0,1,0,0,0,-1,0,0,1,1],
[0,1,0,0,1,0,0,0,0,0,0,1,0,0,1,0],
[-1,0,1,0,0,0,-1,0,1,0,1,0,0,-1,0,0],
[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],
[0,-1,0,0,1,0,0,0,1,0,-1,0,1,0,0,0],
[1,0,-1,0,0,1,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,1,0,0,-1,0,0,0,0,-1,0],
[0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],
[0,-1,0,0,0,0,0,0,1,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,0,0,1,0,0,0,-1,0,0],
[0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0],
[1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,-1],
[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],
[0,-1,0,0,0,0,-1,0,0,0,0,0,0,1,0,0],
[0,0,0,-1,0,0,0,0,0,0,-1,0,0,0,1,0],
[1,0,0,0,0,0,-1,0,0,0,0,0,-1,0,0,1]
])
P=[(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(1,1),(1,1),(1,1),(1,1)]
rs=(C,VI,P)
T=2050
th1=0
th2=1
start=50
n=1000
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"FlightEnvelope20p")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def coOPVehiclesI():
dynA=Benchmarks.CoOPVehiclesI.A
dynB=Benchmarks.CoOPVehiclesI.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(0,0): [1-(P/100),1+(P/100)],
(2,0): [1-(P/100),1+(P/100)],
(2,1): [1-(P/100),1+(P/100)],
(2,8): [1-(P/100),1+(P/100)],
(5,0): [1-(P/100),1+(P/100)],
(5,8): [1-(P/100),1+(P/100)]
}
E2={
(2,0): [1-(P/100),1+(P/100)],
(5,0): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0,0,0,0,0,0]
V=np.array([
[1,0,0,0,0,0,0,0,0,0],
[0,1,0,0,0,0,0,0,0,0],
[0,0,1,0,0,0,0,0,0,0],
[0,0,0,1,0,0,0,0,0,0],
[0,0,0,0,1,0,0,0,0,0],
[0,0,0,0,0,1,0,0,0,0],
[0,0,0,0,0,0,1,0,0,0],
[0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,0,1,0],
[0,0,0,0,0,0,0,0,0,1]
])
P=[(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Loan']
co=SplitBloat(E,rs,T,"CoOpI")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def pkpd2():
dynA=Benchmarks.PKPD2.A
dynB=Benchmarks.PKPD2.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=20
E={
(0,4): [1-(P/100),1+(P/100)],
#(2,0): [1-(P/100),1+(P/100)],
#(2,2): [1-(P/100),1+(P/100)]
(3,0): [1-(P/100),1+(P/100)],
(3,3): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0]
V=np.array([
[1,0,0,0,0],
[0,1,0,0,0],
[0,0,1,0,0],
[0,0,0,1,0],
[0,0,0,0,1],
])
V2=np.array([
[1,0,-1,0,-1],
[0,1,1,0,0],
[1,1,0,0,-1],
[1,0,-1,1,0],
[1,1,0,1,1],
])
P=[(1,6),(0,10),(0,10),(1,8),(0,200)]
rs=(C,V,P)
T=2050
th1=1
th2=2
start=50
n=500
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"PKPD2-3")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def dcConv():
dynA=Benchmarks.DCConv.A
dynB=Benchmarks.DCConv.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=10
E={
(0,2): [1-(P/100),1+(P/100)],
(1,1): [1-(P/100),1+(P/100)]
}
C=[0,0,0]
V2=np.array([
[1,0,0],
[0,1,0],
[0,0,1]
])
V=np.array([
[1,-1,0],
[0,1,-1],
[-1,0,1]
])
P=[(-1,1),(-1,1),(1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=2
start=10
n=20
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"DC_10p")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def spaceCraftRndzvs():
dynA=Benchmarks.SpaceCraftRndzvs.A
dynB=Benchmarks.SpaceCraftRndzvs.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(2,1): [1-(P/100),1+(P/100)],
(2,0): [1-(P/100),1+(P/100)],
(2,3): [1-(P/100),1+(P/100)],
(3,2): [1-(P/100),1+(P/100)],
}
C=[0,0,0,0,0,0]
V2=np.array([
[1,0,0,0,0,0],
[0,1,0,0,0,0],
[0,0,1,0,0,0],
[0,0,0,1,0,0],
[0,0,0,0,1,0],
[0,0,0,0,0,1],
])
V=np.array([
[1,0,0,1,0,-1],
[0,-1,0,1,0,-1],
[-1,-1,1,0,0,1],
[0,1,0,1,1,-1],
[-1,-1,0,0,1,0],
[1,-1,0,-1,0,1],
])
P=[(-1,1),(-1,1),(1,1),(1,1),(1,1),(1,1)]
rs=(C,V2,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Spacev2")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def holesCXc():
dynA=Benchmarks.HolesCXc.A
dynB=Benchmarks.HolesCXc.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=20
E={
(0,3): [1-(P/100),1+(P/100)],
(1,2): [1-(P/100),1+(P/100)],
(3,2): [1-(P/100),1+(P/100)],
(4,3): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0,0,0,0,0,0]
V=np.array([
[1,0,0,0,0,0,0,0,0,0],
[0,1,0,0,0,0,0,0,0,0],
[0,0,1,0,0,0,0,0,0,0],
[0,0,0,1,0,0,0,0,0,0],
[0,0,0,0,1,0,0,0,0,0],
[0,0,0,0,0,1,0,0,0,0],
[0,0,0,0,0,0,1,0,0,0],
[0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,0,1,0],
[0,0,0,0,0,0,0,0,0,1],
])
P=[(-1,1),(-1,1),(1,1),(-1,1),(-1,1),(1,1),(1,1),(1,1),(1,1),(1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=50
n=2000
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Holes20p")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def motorTransmission1():
dynA=Benchmarks.MotorTransmission1.A
dynB=Benchmarks.MotorTransmission1.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=20
E={
(0,6): [1-(P/100),1+(P/100)],
(1,6): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0,0,0]
V2=np.array([
[1,0,0,0,0,0,0],
[0,1,0,0,0,0,0],
[0,0,1,0,0,0,0],
[0,0,0,1,0,0,0],
[0,0,0,0,1,0,0],
[0,0,0,0,0,1,0],
[0,0,0,0,0,0,1]
])
V=np.array([
[1,0,0,1,0,0,-1],
[0,1,0,-1,0,-1,0],
[1,0,1,1,1,-1,0],
[0,-1,0,1,0,0,-1],
[-1,0,0,0,1,0,1],
[0,0,-1,0,0,1,0],
[1,0,0,1,0,0,1]
])
P=[(-1,1),(-1,1),(-1,-1),(-1,1),(-1,1),(1,1),(1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=50
n=5000
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Motor1_20p")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def motorTransmission2():
dynA=Benchmarks.MotorTransmission2.A
dynB=Benchmarks.MotorTransmission2.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(4,0): [1-(P/100),1+(P/100)],
(4,1): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0]
V=np.array([
[1,0,0,0,0],
[0,1,0,0,0],
[0,0,1,0,0],
[0,0,0,1,0],
[0,0,0,0,1]
])
P=[(-1,1),(-1,1),(1,1),(1,1),(-1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=4
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Motor2")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def aircraftDynamics():
dynA=Benchmarks.AircraftDynamics.A
dynB=Benchmarks.AircraftDynamics.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=80
E={
(2,3): [1-(P/100),1+(P/100)],
(3,2): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0]
V=np.array([
[1,0,0,0],
[0,1,0,0],
[0,0,1,0],
[0,0,0,1]
])
P=[(-1,1),(-1,1),(20,30),(20,30)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"AircraftDynamics")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def giradI():
dynA=Benchmarks.GiradI.A
dynB=Benchmarks.GiradI.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(0,0): [1-(P/100),1+(P/100)],
(1,0): [1-(P/100),1+(P/100)]
}
C=[0,0]
V=np.array([
[1,0],
[0,1]
])
P=[(0.9,1.1),(-0.1,0.1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"GiradI")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def giradII():
dynA=Benchmarks.GiradII.A
dynB=Benchmarks.GiradII.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(0,0): [1-(P/100),1+(P/100)],
(2,2): [1-(P/100),1+(P/100)],
(4,4): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0]
V=np.array([
[1,0,0,0,0],
[0,1,0,0,0],
[0,0,1,0,0],
[0,0,0,1,0],
[0,0,0,0,1],
])
P=[(0.9,1.1),(-0.1,0.1),(0.9,1.1),(-0.1,0.1),(0.9,1.1)]
rs=(C,V,P)
T=2050
th1=0
th2=3
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"GiradII")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def acc():
dynA=Benchmarks.ACC.A
dynB=Benchmarks.ACC.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=10
E=Benchmarks.ACC.E
C=[0,0,0,0]
V=np.array([
[1,0,0,0],
[0,1,0,0],
[0,0,1,0],
[0,0,0,1],
])
P=[(0,35),(5,50),(0,35),(1,1)]
rs=(C,V,P)
T=30
th1=1
th2=2
start=50
n=2000
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"ACC")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'slow')
def laneChange():
dynA=Benchmarks.LaneChange.A
dynB=Benchmarks.LaneChange.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=10
E=Benchmarks.LaneChange.E
C=[0,0,0,0,0,0,0]
V=np.array([
[1,0,0,0,0,0,0],
[0,1,0,0,0,0,0],
[0,0,1,0,0,0,0],
[0,0,0,1,0,0,0],
[0,0,0,0,1,0,0],
[0,0,0,0,0,1,0],
[0,0,0,0,0,0,1],
])
P=[(0,50),(3,3.5),(0,0),(20,30),(0,0),(0,0),(1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=50
n=500
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"LaneChange")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def coOPVehiclesII():
dynA=Benchmarks.CoOPVehiclesII.A
dynB=Benchmarks.CoOPVehiclesII.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=20
E={
(0,0): [1-(P/100),1+(P/100)],
(2,0): [1-(P/100),1+(P/100)],
(2,1): [1-(P/100),1+(P/100)],
(2,8): [1-(P/100),1+(P/100)],
(5,0): [1-(P/100),1+(P/100)],
(5,8): [1-(P/100),1+(P/100)]
}
E2={
(2,0): [1-(P/100),1+(P/100)],
(5,0): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0,0,0,0,0,0]
V=np.array([
[1,0,0,0,0,0,0,0,0,0],
[0,1,0,0,0,0,0,0,0,0],
[0,0,1,0,0,0,0,0,0,0],
[0,0,0,1,0,0,0,0,0,0],
[0,0,0,0,1,0,0,0,0,0],
[0,0,0,0,0,1,0,0,0,0],
[0,0,0,0,0,0,1,0,0,0],
[0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,0,1,0],
[0,0,0,0,0,0,0,0,0,1]
])
P=[(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1),(-1,1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=200
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"CoOpII")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def fiveVehiclePlatton():
dynA=Benchmarks.FiveVehiclePlatton.A
dynB=Benchmarks.FiveVehiclePlatton.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=2
E={
(3,7): [1-(P/100),1+(P/100)],
(4,6): [1-(P/100),1+(P/100)]
}
E2={
(2,1): [1-(P/100),1+(P/100)],
(5,1): [1-(P/100),1+(P/100)],
(5,3): [1-(P/100),1+(P/100)],
(8,3): [1-(P/100),1+(P/100)],
(3,7): [1-(P/100),1+(P/100)],
(4,6): [1-(P/100),1+(P/100)]
}
C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
VI=np.array([
[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,1,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,1,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1]
])
V=np.array([
[1,0,0,0,1,0,0,1,0,0,0,-1,0,0,1,1],
[0,1,0,0,1,0,0,0,0,0,0,1,0,0,1,0],
[-1,0,1,0,0,0,-1,0,1,0,1,0,0,-1,0,0],
[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],
[0,-1,0,0,1,0,0,0,1,0,-1,0,1,0,0,0],
[1,0,-1,0,0,1,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,1,0,0,-1,0,0,0,0,-1,0],
[0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],
[0,-1,0,0,0,0,0,0,1,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,0,0,1,0,0,0,-1,0,0],
[0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0],
[1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,-1],
[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],
[0,-1,0,0,0,0,-1,0,0,0,0,0,0,1,0,0],
[0,0,0,-1,0,0,0,0,0,0,-1,0,0,0,1,0],
[1,0,0,0,0,0,-1,0,0,0,0,0,-1,0,0,1]
])
P=[(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1),(0.9,1.1)]
rs=(C,VI,P)
T=2050
th1=0
th2=1
start=0
n=50
step=0.01
methodList=['Kagstrom1','Loan']
#sp=Split(A,E2,rs,T)
#sp.printReachableSetAll(0,1,"FiveVehiclePlatton")
co=SplitBloat(E2,rs,T,"FiveVehiclePlatton")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
def mathias():
dynA=Benchmarks.Mathias.A
dynB=Benchmarks.Mathias.B
A=DriverCompU.createMatrix(dynA,dynB,mode,h)
P=20
E=Benchmarks.Mathias.E
C=[0,0,0,0,0]
V=np.array([
[1,0,0,0,0],
[0,1,0,0,0],
[0,0,1,0,0],
[0,0,0,1,0],
[0,0,0,0,1],
])
P=[(-0.1,0.1),(-0.1,0.1),(-0.1,0.1),(-0.1,0.1),(-0.1,0.1)]
rs=(C,V,P)
T=2050
th1=0
th2=1
start=0
n=50
step=0.01
methodList=['Kagstrom1','Kagstrom2','Loan']
co=SplitBloat(E,rs,T,"Mathias")
co.getStats(dynA,dynB,th1,th2,start,n,step,methodList,'fast')
'''
#Batch 1
DriverCompU.stableSystem1()
DriverCompU.stableSystem2()
DriverCompU.stableSystem3()
DriverCompU.stableSystem4()
#DriverCompU.dcConv()
DriverCompU.giradI()
DriverCompU.spaceCraftRndzvs()
DriverCompU.giradII()
DriverCompU.aircraftDynamics()
DriverCompU.motorTransmission2()
'''
'''
#Batch 2
DriverCompU.acc()
DriverCompU.flightEnvelope()
DriverCompU.coOPVehiclesII()
'''
'''
#Batch 3
DriverCompU.laneChange()
DriverCompU.fiveVehiclePlatton()
'''
'''
#Batch 4
DriverCompU.holesCXc()
DriverCompU.pkpd2()
DriverCompU.motorTransmission1()
DriverCompU.coOPVehiclesI()
'''
DriverCompU.acc()
#DriverCompU.motorTransmission1()
| 27.239454
| 161
| 0.430061
| 4,231
| 21,955
| 2.230206
| 0.039943
| 0.274481
| 0.340504
| 0.377702
| 0.719055
| 0.715451
| 0.71206
| 0.700191
| 0.692137
| 0.682705
| 0
| 0.218349
| 0.31141
| 21,955
| 805
| 162
| 27.273292
| 0.405808
| 0.020679
| 0
| 0.652778
| 0
| 0
| 0.032751
| 0
| 0
| 0
| 0
| 0.001242
| 0
| 1
| 0.029167
| false
| 0
| 0.004167
| 0
| 0.036111
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
fbc0667dce40f262af98e1757773cd5cdf145a8c
| 1,168
|
py
|
Python
|
test/test_helper.py
|
kjahan/queens
|
07dfe66bff9734668721f5bd5124d7f8a55efc72
|
[
"Apache-2.0"
] | null | null | null |
test/test_helper.py
|
kjahan/queens
|
07dfe66bff9734668721f5bd5124d7f8a55efc72
|
[
"Apache-2.0"
] | null | null | null |
test/test_helper.py
|
kjahan/queens
|
07dfe66bff9734668721f5bd5124d7f8a55efc72
|
[
"Apache-2.0"
] | null | null | null |
import pytest
import src.helper as helper
@pytest.fixture
def A_mock():
return [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
def test_check_all_rows_should_pass(A_mock):
A_mock[0][0] = 1
A_mock[1][2] = 1
assert helper.check_all_rows(A_mock)
def test_check_all_rows_with_two_queens_in_one_row(A_mock):
A_mock[0][0] = 1
A_mock[0][2] = 1
assert not helper.check_all_rows(A_mock)
def test_check_all_columns_should_pass(A_mock):
A_mock[0][0] = 1
A_mock[1][2] = 1
assert helper.check_all_columns(A_mock)
def test_check_all_rows_with_two_queens_in_one_column(A_mock):
A_mock[0][0] = 1
A_mock[1][0] = 1
assert not helper.check_all_columns(A_mock)
def test_check_all_diagonals_should_pass(A_mock):
A_mock[0][0] = 1
A_mock[1][2] = 1
assert helper.check_all_diagonals(A_mock)
def test_check_all_diagonals_with_two_queens_on_diagonal(A_mock):
A_mock[1][0] = 1
A_mock[0][1] = 1
assert not helper.check_all_diagonals(A_mock)
def test_check_all_columns_should_pass(A_mock):
A_mock[1][3] = 1
A_mock[2][2] = 1
A_mock[3][1] = 1
assert not helper.check_all_diagonals(A_mock)
| 26.545455
| 67
| 0.69863
| 231
| 1,168
| 3.142857
| 0.142857
| 0.206612
| 0.057851
| 0.071625
| 0.847107
| 0.790634
| 0.763085
| 0.738292
| 0.738292
| 0.713499
| 0
| 0.063278
| 0.174658
| 1,168
| 43
| 68
| 27.162791
| 0.689834
| 0
| 0
| 0.411765
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.205882
| 1
| 0.235294
| false
| 0.117647
| 0.058824
| 0.029412
| 0.323529
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 9
|
fbcc83f0360c1d770c85a80969459084457df079
| 460
|
py
|
Python
|
kapitan/inputs/helm/helm_binding.py
|
Nightrider0098/kapitan
|
59fd623b73be6ae0e61e28b3a070127fefa7d3a0
|
[
"Apache-2.0"
] | 1
|
2021-06-22T22:01:42.000Z
|
2021-06-22T22:01:42.000Z
|
kapitan/inputs/helm/helm_binding.py
|
Nightrider0098/kapitan
|
59fd623b73be6ae0e61e28b3a070127fefa7d3a0
|
[
"Apache-2.0"
] | 1
|
2021-03-05T09:31:14.000Z
|
2021-03-05T09:31:14.000Z
|
kapitan/inputs/helm/helm_binding.py
|
vshn/kapitan
|
6be4ee2bd0273c998f51e4930a8a8ce163ecfedc
|
[
"Apache-2.0"
] | null | null | null |
# auto-generated file
import _cffi_backend
ffi = _cffi_backend.FFI('helm_binding',
_version = 0x2601,
_types = b'\x00\x00\x01\x0D\x00\x00\x0E\x03\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x01\x03\x00\x00\x07\x01\x00\x00\x01\x11\x00\x00\x00\x0F\x00\x00\x0F\x0D\x00\x00\x0F\x03\x00\x00\x00\x0F\x00\x00\x02\x01\x00\x00\x00\x01',
_globals = (b'\x00\x00\x0B\x23free',0,b'\x00\x00\x00\x23renderChart',0),
)
| 51.111111
| 273
| 0.719565
| 93
| 460
| 3.473118
| 0.290323
| 0.408669
| 0.250774
| 0.22291
| 0.362229
| 0.362229
| 0.213622
| 0.213622
| 0.213622
| 0.213622
| 0
| 0.333333
| 0.067391
| 460
| 8
| 274
| 57.5
| 0.41958
| 0.041304
| 0
| 0
| 1
| 0.166667
| 0.71754
| 0.644647
| 0
| 1
| 0.013667
| 0
| 0
| 1
| 0
| false
| 0
| 0.166667
| 0
| 0.166667
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
fbd60b1710bdafd2c2daada159cf5c3c1fcb612e
| 33,355
|
py
|
Python
|
ml/models/mafs.py
|
davidcsterratt/snl
|
5c086fac092209c5efd2e4b882bbcb197e2facf8
|
[
"MIT"
] | null | null | null |
ml/models/mafs.py
|
davidcsterratt/snl
|
5c086fac092209c5efd2e4b882bbcb197e2facf8
|
[
"MIT"
] | null | null | null |
ml/models/mafs.py
|
davidcsterratt/snl
|
5c086fac092209c5efd2e4b882bbcb197e2facf8
|
[
"MIT"
] | null | null | null |
from itertools import izip
import numpy as np
import theano
import theano.tensor as tt
import ml.models.layers as layers
import ml.models.mades as mades
import util.misc
import util.ml
dtype = theano.config.floatX
class MaskedAutoregressiveFlow:
"""
Implements a Masked Autoregressive Flow, which is a stack of mades such that the random numbers which drive made i
are generated by made i-1. The first made is driven by standard gaussian noise. In the current implementation, all
mades are of the same type. If there is only one made in the stack, then it's equivalent to a single made.
"""
def __init__(self, n_inputs, n_hiddens, act_fun, n_mades, batch_norm=True, input_order='sequential', mode='sequential', input=None, rng=np.random):
"""
Constructor.
:param n_inputs: number of inputs
:param n_hiddens: list with number of hidden units for each hidden layer
:param act_fun: name of activation function
:param n_mades: number of mades
:param batch_norm: whether to use batch normalization between mades
:param input_order: order of inputs of last made
:param mode: strategy for assigning degrees to hidden nodes: can be 'random' or 'sequential'
:param input: theano variable to serve as input; if None, a new variable is created
"""
# save input arguments
self.n_inputs = n_inputs
self.n_hiddens = n_hiddens
self.act_fun = act_fun
self.n_mades = n_mades
self.batch_norm = batch_norm
self.mode = mode
self.input = tt.matrix('x', dtype=dtype) if input is None else input
self.parms = []
self.mades = []
self.bns = []
self.u = self.input
self.logdet_dudx = 0.0
for i in xrange(n_mades):
# create a new made
made = mades.GaussianMade(n_inputs, n_hiddens, act_fun, input_order, mode, self.u, rng)
self.mades.append(made)
self.parms += made.parms
input_order = input_order if input_order == 'random' else made.input_order[::-1]
# inverse autoregressive transform
self.u = made.u
self.logdet_dudx += 0.5 * tt.sum(made.logp, axis=1)
# batch normalization
if batch_norm:
bn = layers.BatchNorm(self.u, n_inputs)
self.u = bn.y
self.parms += bn.parms
self.logdet_dudx += tt.sum(bn.log_gamma) - 0.5 * tt.sum(tt.log(bn.v))
self.bns.append(bn)
self.input_order = self.mades[0].input_order
# log likelihoods
self.L = -0.5 * n_inputs * np.log(2 * np.pi) - 0.5 * tt.sum(self.u ** 2, axis=1) + self.logdet_dudx
self.L.name = 'L'
# train objective
self.trn_loss = -tt.mean(self.L)
self.trn_loss.name = 'trn_loss'
# theano evaluation functions, will be compiled when first needed
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_us_f = None
def reset_theano_functions(self):
"""
Resets theano functions, so that they are compiled again when needed.
"""
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_us_f = None
for made in self.mades:
made.reset_theano_functions()
for bn in self.bns:
bn.reset_theano_functions()
def eval(self, x, log=True):
"""
Evaluate log probabilities for given inputs.
:param x: data matrix where rows are inputs
:param log: whether to return probabilities in the log domain
:return: list of log probabilities log p(x)
"""
# compile theano function, if haven't already done so
if self.eval_lprob_f is None:
self.eval_lprob_f = theano.function(
inputs=[self.input],
outputs=self.L,
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x = np.asarray(x, dtype=dtype)
lprob = self.eval_lprob_f(x[np.newaxis, :])[0] if x.ndim == 1 else self.eval_lprob_f(x)
return lprob if log else np.exp(lprob)
def grad_log_p(self, x):
"""
Evaluate the gradient of the log probability wrt the input.
:param x: rows are input locations
:return: gradient d/dx log p(x)
"""
# compile theano function, if haven't already done so
if getattr(self, 'eval_grad_f', None) is None:
self.eval_grad_f = theano.function(
inputs=[self.input],
outputs=tt.grad(tt.sum(self.L), self.input),
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x = np.asarray(x, dtype=dtype)
grad = self.eval_grad_f(x[np.newaxis, :])[0] if x.ndim == 1 else self.eval_grad_f(x)
return grad
def gen(self, n_samples=None, u=None, rng=np.random):
"""
Generate samples, by propagating random numbers through each made.
:param n_samples: number of samples, 1 if None
:param u: random numbers to use in generating samples; if None, new random numbers are drawn
:return: samples
"""
if n_samples is None:
return self.gen(1, u if u is None else u[np.newaxis, :], rng)[0]
x = rng.randn(n_samples, self.n_inputs).astype(dtype) if u is None else u
if getattr(self, 'batch_norm', False):
for made, bn in izip(self.mades[::-1], self.bns[::-1]):
x = bn.eval_inv(x)
x = made.gen(n_samples, x, rng)
else:
for made in self.mades[::-1]:
x = made.gen(n_samples, x, rng)
return x
def calc_random_numbers(self, x):
"""
Givan a dataset, calculate the random numbers used internally to generate the dataset.
:param x: numpy array, rows are datapoints
:return: numpy array, rows are corresponding random numbers
"""
# compile theano function, if haven't already done so
if self.eval_us_f is None:
self.eval_us_f = theano.function(
inputs=[self.input],
outputs=self.u
)
x = np.asarray(x, dtype=dtype)
return self.eval_us_f(x[np.newaxis, :])[0] if x.ndim == 1 else self.eval_us_f(x)
class ConditionalMaskedAutoregressiveFlow:
"""
Implements a Conditional Masked Autoregressive Flow.
"""
def __init__(self, n_inputs, n_outputs, n_hiddens, act_fun, n_mades, batch_norm=True, output_order='sequential', mode='sequential', input=None, output=None, rng=np.random):
"""
Constructor.
:param n_inputs: number of (conditional) inputs
:param n_outputs: number of outputs
:param n_hiddens: list with number of hidden units for each hidden layer
:param act_fun: name of activation function
:param n_mades: number of mades in the flow
:param batch_norm: whether to use batch normalization between mades in the flow
:param output_order: order of outputs of last made
:param mode: strategy for assigning degrees to hidden nodes: can be 'random' or 'sequential'
:param input: theano variable to serve as input; if None, a new variable is created
:param output: theano variable to serve as output; if None, a new variable is created
"""
# save input arguments
self.n_inputs = n_inputs
self.n_outputs = n_outputs
self.n_hiddens = n_hiddens
self.act_fun = act_fun
self.n_mades = n_mades
self.batch_norm = batch_norm
self.mode = mode
self.input = tt.matrix('x', dtype=dtype) if input is None else input
self.y = tt.matrix('y', dtype=dtype) if output is None else output
self.parms = []
self.mades = []
self.bns = []
self.u = self.y
self.logdet_dudy = 0.0
for i in xrange(n_mades):
# create a new made
made = mades.ConditionalGaussianMade(n_inputs, n_outputs, n_hiddens, act_fun, output_order, mode, self.input, self.u, rng)
self.mades.append(made)
self.parms += made.parms
output_order = output_order if output_order == 'random' else made.output_order[::-1]
# inverse autoregressive transform
self.u = made.u
self.logdet_dudy += 0.5 * tt.sum(made.logp, axis=1)
# batch normalization
if batch_norm:
bn = layers.BatchNorm(self.u, n_outputs)
self.u = bn.y
self.parms += bn.parms
self.logdet_dudy += tt.sum(bn.log_gamma) - 0.5 * tt.sum(tt.log(bn.v))
self.bns.append(bn)
self.output_order = self.mades[0].output_order
# log likelihoods
self.L = -0.5 * n_inputs * np.log(2 * np.pi) - 0.5 * tt.sum(self.u ** 2, axis=1) + self.logdet_dudy
self.L.name = 'L'
# train objective
self.trn_loss = -tt.mean(self.L)
self.trn_loss.name = 'trn_loss'
# theano evaluation functions, will be compiled when first needed
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_score_f = None
self.eval_us_f = None
def reset_theano_functions(self):
"""
Resets theano functions, so that they are compiled again when needed.
"""
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_score_f = None
self.eval_us_f = None
for made in self.mades:
made.reset_theano_functions()
for bn in self.bns:
bn.reset_theano_functions()
def eval(self, xy, log=True):
"""
Evaluate log probabilities for given input-output pairs.
:param xy: a pair (x, y) where x rows are inputs and y rows are outputs
:param log: whether to return probabilities in the log domain
:return: log probabilities: log p(y|x)
"""
# compile theano function, if haven't already done so
if self.eval_lprob_f is None:
self.eval_lprob_f = theano.function(
inputs=[self.input, self.y],
outputs=self.L,
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
lprob = self.eval_lprob_f(x, y)
lprob = lprob[0] if one_datapoint else lprob
return lprob if log else np.exp(lprob)
def grad_log_p(self, xy):
"""
Evaluate the gradient of the log probability wrt the output, for given input-output pairs.
:param xy: a pair (x, y) where x rows are inputs and y rows are outputs
:return: gradient d/dy log p(y|x)
"""
# compile theano function, if haven't already done so
if getattr(self, 'eval_grad_f', None) is None:
self.eval_grad_f = theano.function(
inputs=[self.input, self.y],
outputs=tt.grad(tt.sum(self.L), self.y),
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
grad = self.eval_grad_f(x, y)
grad = grad[0] if one_datapoint else grad
return grad
def score(self, xy):
"""
Evaluate the gradient of the log probability wrt the input, for given input-output pairs.
:param xy: a pair (x, y) where x rows are inputs and y rows are outputs
:return: gradient d/dx log p(y|x)
"""
# compile theano function, if haven't already done so
if self.eval_score_f is None:
self.eval_score_f = theano.function(
inputs=[self.input, self.y],
outputs=tt.grad(tt.sum(self.L), self.input),
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
grads = self.eval_score_f(x, y)
grads = grads[0] if one_datapoint else grads
return grads
def gen(self, x, n_samples=None, u=None, rng=np.random):
"""
Generate samples, by propagating random numbers through each made, after conditioning on input x.
:param x: input vector
:param n_samples: number of samples, 1 if None
:param u: random numbers to use in generating samples; if None, new random numbers are drawn
:return: samples
"""
if n_samples is None:
return self.gen(x, 1, u if u is None else u[np.newaxis, :], rng)[0]
y = rng.randn(n_samples, self.n_outputs).astype(dtype) if u is None else u
if getattr(self, 'batch_norm', False):
for made, bn in izip(self.mades[::-1], self.bns[::-1]):
y = bn.eval_inv(y)
y = made.gen(x, n_samples, y, rng)
else:
for made in self.mades[::-1]:
y = made.gen(x, n_samples, y, rng)
return y
def calc_random_numbers(self, xy):
"""
Given a dataset, calculate the random numbers used internally to generate the dataset.
:param xy: a pair (x, y) of numpy arrays, where x rows are inputs and y rows are outputs
:return: numpy array, rows are corresponding random numbers
"""
# compile theano function, if haven't already done so
if self.eval_us_f is None:
self.eval_us_f = theano.function(
inputs=[self.input, self.y],
outputs=self.u
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
u = self.eval_us_f(x, y)
return u[0] if one_datapoint else u
class MaskedAutoregressiveFlow_on_MADE:
"""
A Masked Autoregressive Flow, where the target distribution is given by a MoG MADE.
"""
def __init__(self, n_inputs, n_hiddens, act_fun, n_layers, n_comps, batch_norm=True, input_order='sequential', mode='sequential', input=None, rng=np.random):
"""
Constructor.
:param n_inputs: number of inputs
:param n_hiddens: list with number of hidden units for each hidden layer
:param act_fun: name of activation function
:param n_layers: number of layers in the flow
:param n_comps: number of gaussians per conditional for the target made
:param batch_norm: whether to use batch normalization between layers
:param input_order: order of inputs of last made
:param mode: strategy for assigning degrees to hidden nodes: can be 'random' or 'sequential'
:param input: theano variable to serve as input; if None, a new variable is created
"""
# save input arguments
self.n_inputs = n_inputs
self.n_hiddens = n_hiddens
self.act_fun = act_fun
self.n_layers = n_layers
self.n_comps = n_comps
self.batch_norm = batch_norm
self.mode = mode
self.input = tt.matrix('x', dtype=dtype) if input is None else input
self.parms = []
# maf
self.maf = MaskedAutoregressiveFlow(n_inputs, n_hiddens, act_fun, n_layers, batch_norm, input_order, mode, self.input, rng)
self.bns = self.maf.bns
self.parms += self.maf.parms
self.input_order = self.maf.input_order
# mog made
input_order = input_order if input_order == 'random' else self.maf.mades[-1].input_order[::-1]
self.made = mades.MixtureOfGaussiansMade(n_inputs, n_hiddens, act_fun, n_comps, input_order, mode, self.maf.u, rng)
self.parms += self.made.parms
# log likelihoods
self.L = self.made.L + self.maf.logdet_dudx
self.L.name = 'L'
# train objective
self.trn_loss = -tt.mean(self.L)
self.trn_loss.name = 'trn_loss'
# theano evaluation functions, will be compiled when first needed
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_us_f = None
def reset_theano_functions(self):
"""
Resets theano functions, so that they are compiled again when needed.
"""
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_us_f = None
self.maf.reset_theano_functions()
self.made.reset_theano_functions()
for bn in self.bns:
bn.reset_theano_functions()
def eval(self, x, log=True):
"""
Evaluate log probabilities for given inputs.
:param x: data matrix where rows are inputs
:param log: whether to return probabilities in the log domain
:return: list of log probabilities log p(x)
"""
# compile theano function, if haven't already done so
if self.eval_lprob_f is None:
self.eval_lprob_f = theano.function(
inputs=[self.input],
outputs=self.L,
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x = np.array(x, dtype=dtype)
lprob = self.eval_lprob_f(x[np.newaxis, :])[0] if x.ndim == 1 else self.eval_lprob_f(x)
return lprob if log else np.exp(lprob)
def grad_log_p(self, x):
"""
Evaluate the gradient of the log probability wrt the input.
:param x: rows are input locations
:return: gradient d/dx log p(x)
"""
# compile theano function, if haven't already done so
if getattr(self, 'eval_grad_f', None) is None:
self.eval_grad_f = theano.function(
inputs=[self.input],
outputs=tt.grad(tt.sum(self.L), self.input),
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x = np.asarray(x, dtype=dtype)
grad = self.eval_grad_f(x[np.newaxis, :])[0] if x.ndim == 1 else self.eval_grad_f(x)
return grad
def gen(self, n_samples=None, u=None, rng=np.random):
"""
Generate samples, by propagating random numbers through each made.
:param n_samples: number of samples, 1 if None
:param u: random numbers to use in generating samples; if None, new random numbers are drawn
:return: samples
"""
if n_samples is None:
return self.gen(1, u if u is None else u[np.newaxis, :], rng)[0]
x = rng.randn(n_samples, self.n_inputs).astype(dtype) if u is None else u
x = self.made.gen(n_samples, x, rng)
x = self.maf.gen(n_samples, x, rng)
return x
def calc_random_numbers(self, x):
"""
Givan a dataset, calculate the random numbers used internally to generate the dataset.
:param x: numpy array, rows are datapoints
:return: numpy array, rows are corresponding random numbers
"""
# compile theano function, if haven't already done so
if self.eval_us_f is None:
self.eval_us_f = theano.function(
inputs=[self.input],
outputs=self.made.u
)
x = np.array(x, dtype=dtype)
return self.eval_us_f(x[np.newaxis, :])[0] if x.ndim == 1 else self.eval_us_f(x)
class ConditionalMaskedAutoregressiveFlow_on_MADE:
"""
Conditional Masked Autoregressive Flow, where the target distribution is a conditional Mog MADE.
"""
def __init__(self, n_inputs, n_outputs, n_hiddens, act_fun, n_layers, n_comps, batch_norm=True, output_order='sequential', mode='sequential', input=None, output=None, rng=np.random):
"""
Constructor.
:param n_inputs: number of (conditional) inputs
:param n_outputs: number of outputs
:param n_hiddens: list with number of hidden units for each hidden layer
:param act_fun: name of activation function
:param n_layers: number of layers in the flow
:param n_comps: number of gaussians for each conditional of target made
:param batch_norm: whether to use batch normalization between mades in the flow
:param output_order: order of outputs of last made
:param mode: strategy for assigning degrees to hidden nodes: can be 'random' or 'sequential'
:param input: theano variable to serve as input; if None, a new variable is created
:param output: theano variable to serve as output; if None, a new variable is created
"""
# save input arguments
self.n_inputs = n_inputs
self.n_outputs = n_outputs
self.n_hiddens = n_hiddens
self.act_fun = act_fun
self.n_layers = n_layers
self.n_comps = n_comps
self.batch_norm = batch_norm
self.mode = mode
self.input = tt.matrix('x', dtype=dtype) if input is None else input
self.y = tt.matrix('y', dtype=dtype) if output is None else output
self.parms = []
# maf
self.maf = ConditionalMaskedAutoregressiveFlow(n_inputs, n_outputs, n_hiddens, act_fun, n_layers, batch_norm, output_order, mode, self.input, self.y, rng)
self.bns = self.maf.bns
self.parms += self.maf.parms
self.output_order = self.maf.output_order
# mog made
output_order = output_order if output_order == 'random' else self.maf.mades[-1].output_order[::-1]
self.made = mades.ConditionalMixtureOfGaussiansMade(n_inputs, n_outputs, n_hiddens, act_fun, n_comps, output_order, mode, self.input, self.maf.u, rng)
self.parms += self.made.parms
# log likelihoods
self.L = self.made.L + self.maf.logdet_dudy
self.L.name = 'L'
# train objective
self.trn_loss = -tt.mean(self.L)
self.trn_loss.name = 'trn_loss'
# theano evaluation functions, will be compiled when first needed
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_score_f = None
self.eval_us_f = None
def reset_theano_functions(self):
"""
Resets theano functions, so that they are compiled again when needed.
"""
self.eval_lprob_f = None
self.eval_grad_f = None
self.eval_score_f = None
self.eval_us_f = None
self.maf.reset_theano_functions()
self.made.reset_theano_functions()
for bn in self.bns:
bn.reset_theano_functions()
def eval(self, xy, log=True):
"""
Evaluate log probabilities for given input-output pairs.
:param xy: a pair (x, y) where x rows are inputs and y rows are outputs
:param log: whether to return probabilities in the log domain
:return: log probabilities: log p(y|x)
"""
# compile theano function, if haven't already done so
if self.eval_lprob_f is None:
self.eval_lprob_f = theano.function(
inputs=[self.input, self.y],
outputs=self.L,
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
lprob = self.eval_lprob_f(x, y)
lprob = lprob[0] if one_datapoint else lprob
return lprob if log else np.exp(lprob)
def grad_log_p(self, xy):
"""
Evaluate the gradient of the log probability wrt the output, for given input-output pairs.
:param xy: a pair (x, y) where x rows are inputs and y rows are outputs
:return: gradient d/dy log p(y|x)
"""
# compile theano function, if haven't already done so
if getattr(self, 'eval_grad_f', None) is None:
self.eval_grad_f = theano.function(
inputs=[self.input, self.y],
outputs=tt.grad(tt.sum(self.L), self.y),
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
grad = self.eval_grad_f(x, y)
grad = grad[0] if one_datapoint else grad
return grad
def score(self, xy):
"""
Evaluate the gradient of the log probability wrt the input, for given input-output pairs.
:param xy: a pair (x, y) where x rows are inputs and y rows are outputs
:return: gradient d/dx log p(y|x)
"""
# compile theano function, if haven't already done so
if self.eval_score_f is None:
self.eval_score_f = theano.function(
inputs=[self.input, self.y],
outputs=tt.grad(tt.sum(self.L), self.input),
givens=[(bn.m, bn.bm) for bn in self.bns] + [(bn.v, bn.bv) for bn in self.bns]
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
grads = self.eval_score_f(x, y)
grads = grads[0] if one_datapoint else grads
return grads
def gen(self, x, n_samples=None, u=None, rng=np.random):
"""
Generate samples, by propagating random numbers through each made, after conditioning on input x.
:param x: input vector
:param n_samples: number of samples, 1 if None
:param u: random numbers to use in generating samples; if None, new random numbers are drawn
:return: samples
"""
if n_samples is None:
return self.gen(x, 1, u if u is None else u[np.newaxis, :], rng)[0]
y = rng.randn(n_samples, self.n_outputs).astype(dtype) if u is None else u
y = self.made.gen(x, n_samples, y, rng)
y = self.maf.gen(x, n_samples, y, rng)
return y
def calc_random_numbers(self, xy):
"""
Givan a dataset, calculate the random numbers used internally to generate the dataset.
:param xy: a pair (x, y) of numpy arrays, where x rows are inputs and y rows are outputs
:return: numpy array, rows are corresponding random numbers
"""
# compile theano function, if haven't already done so
if self.eval_us_f is None:
self.eval_us_f = theano.function(
inputs=[self.input, self.y],
outputs=self.made.u
)
x, y, one_datapoint = util.misc.prepare_cond_input(xy, dtype)
u = self.eval_us_f(x, y)
return u[0] if one_datapoint else u
class MaskedAutoregressiveFlow_SVI:
"""
Implements the SVI version of a Masked Autoregressive Flow.
"""
def __init__(self, n_inputs, n_hiddens, act_fun, n_mades, input_order='sequential', mode='sequential', input=None, rng=np.random):
"""
Constructor.
:param n_inputs: number of inputs
:param n_hiddens: list with number of hidden units for each hidden layer
:param act_fun: name of activation function
:param n_mades: number of mades in the flow
:param input_order: order of inputs of last made
:param mode: strategy for assigning degrees to hidden nodes: can be 'random' or 'sequential'
:param input: theano variable to serve as input; if None, a new variable is created
"""
# save input arguments
self.n_inputs = n_inputs
self.n_hiddens = n_hiddens
self.act_fun = act_fun
self.n_mades = n_mades
self.mode = mode
self.input = tt.matrix('x', dtype=dtype) if input is None else input
self.mps = []
self.sps = []
self.all_us = []
self.mades = []
self.u = self.input
for i in xrange(n_mades):
# create a new made
made = mades.GaussianMade_SVI(n_inputs, n_hiddens, act_fun, input_order, mode, self.u, rng)
self.mades.append(made)
self.mps += made.mps
self.sps += made.sps
self.all_us += made.all_us
input_order = input_order if input_order == 'random' else made.input_order[::-1]
# inverse autoregressive transform
self.u = made.u
self.u.name = 'u' + str(n_mades - i - 1)
self.input_order = self.mades[0].input_order
self.parms = self.mps + self.sps
# the sum of logp's is equal to the sum of logdet's
sum_logp = sum([tt.sum(made.logp, axis=1) for made in self.mades])
sum_logp.name = 'sum_logp'
# log likelihoods
self.L = -0.5 * (n_inputs * np.log(2 * np.pi) - sum_logp + tt.sum(self.u ** 2, axis=1))
self.L.name = 'L'
# train objective
self.trn_loss = -tt.mean(self.L)
self.trn_loss.name = 'trn_loss'
# theano evaluation functions, will be compiled when first needed
self.eval_lprob_f = None
self.eval_lprob_f_rand = None
self.eval_lprob_f_rand_const = None
def reset_theano_functions(self):
"""
Resets theano functions, so that they are compiled again when needed.
"""
self.eval_lprob_f = None
self.eval_lprob_f_rand = None
self.eval_lprob_f_rand_const = None
for made in self.mades:
made.reset_theano_functions()
def _create_constant_noise_across_datapoints(self, n_data):
"""
Helper function. Creates and returns new theano variables representing noise, where noise is the same across
datapoints in the minibatch. Useful for binding the original noise variables in an evaluation function where
randomness is required but same predictions are needed across minibatch.
"""
all_us = []
for made in self.mades:
all_us += made._create_constant_noise_across_datapoints(n_data)
return all_us
def _create_zero_noise(self, n_data):
"""
Helper function. Creates and returns new theano variables representing zero noise. Useful for binding the
original noise variables in an evaluation function where randomness is not required.
"""
all_us = []
for made in self.mades:
all_us += made._create_zero_noise(n_data)
return all_us
def eval(self, x, log=True, rand=False, const_noise=False):
"""
Evaluate log probabilities for given inputs.
:param x: data matrix where rows are inputs
:param log: whether to return probabilities in the log domain
:param rand: whether to inject randomness to the activations
:param const_noise: whether the injected randomness is the same across datapoints
:return: list of log probabilities log p(x)
"""
x = np.asarray(x, dtype=dtype)
one_datapoint = x.ndim == 1
x = x[np.newaxis, :] if one_datapoint else x
if rand:
if const_noise:
# compile theano function, if haven't already done so
if self.eval_lprob_f_rand_const is None:
n_data = tt.iscalar('n_data')
all_us = self._create_constant_noise_across_datapoints(n_data)
self.eval_lprob_f_rand_const = theano.function(
inputs=[self.input, n_data],
outputs=self.L,
givens=zip(self.all_us, all_us)
)
lprob = self.eval_lprob_f_rand_const(x, x.shape[0])
else:
# compile theano function, if haven't already done so
if self.eval_lprob_f_rand is None:
self.eval_lprob_f_rand = theano.function(
inputs=[self.input],
outputs=self.L
)
lprob = self.eval_lprob_f_rand(x)
else:
# compile theano function, if haven't already done so
if self.eval_lprob_f is None:
n_data = tt.iscalar('n_data')
all_us = self._create_zero_noise(n_data)
self.eval_lprob_f = theano.function(
inputs=[self.input, n_data],
outputs=self.L,
givens=zip(self.all_us, all_us)
)
lprob = self.eval_lprob_f(x, x.shape[0])
lprob = lprob[0] if one_datapoint else lprob
return lprob if log else np.exp(lprob)
def gen(self, n_samples=None, rand=False, const_noise=False, u=None, rng=np.random):
"""
Generate samples, by propagating random numbers through each made.
:param n_samples: number of samples, 1 if None
:param rand: whether to inject randomness to the activations
:param const_noise: whether the injected randomness is the same across samples
:param u: random numbers to use in generating samples; if None, new random numbers are drawn
:return: samples
"""
if n_samples is None:
return self.gen(1, rand, const_noise, u if u is None else u[np.newaxis, :], rng)[0]
x = rng.randn(n_samples, self.n_inputs).astype(dtype) if u is None else u
for made in self.mades[::-1]:
x = made.gen(n_samples, rand, const_noise, x, rng)
return x
def calc_random_numbers(self, x):
raise NotImplementedError()
| 36.653846
| 186
| 0.604317
| 4,788
| 33,355
| 4.077277
| 0.057226
| 0.037291
| 0.023973
| 0.026534
| 0.924444
| 0.913124
| 0.896476
| 0.888638
| 0.868456
| 0.854165
| 0
| 0.003969
| 0.305052
| 33,355
| 909
| 187
| 36.694169
| 0.838223
| 0.315635
| 0
| 0.767654
| 0
| 0
| 0.012638
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.075171
| false
| 0
| 0.018223
| 0
| 0.166287
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
836ff5699a93de1474b5a522858432413c95b31c
| 2,044
|
py
|
Python
|
tecnoservicio/users/forms.py
|
zaresdelweb/tecnoservicio
|
ce31e2b463dd7d3b6f7aa9ad78e8b78a65136f98
|
[
"BSD-3-Clause"
] | null | null | null |
tecnoservicio/users/forms.py
|
zaresdelweb/tecnoservicio
|
ce31e2b463dd7d3b6f7aa9ad78e8b78a65136f98
|
[
"BSD-3-Clause"
] | null | null | null |
tecnoservicio/users/forms.py
|
zaresdelweb/tecnoservicio
|
ce31e2b463dd7d3b6f7aa9ad78e8b78a65136f98
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django import forms
from .models import User
class UserForm(forms.ModelForm):
class Meta:
# Set this form to use the User model.
model = User
# Constrain the UserForm to just these fields.
fields = ("first_name", "last_name")
class UsuarioForm(forms.ModelForm):
password1 = forms.CharField(label="Password", widget=forms.PasswordInput)
password2 = forms.CharField(label="Password", widget=forms.PasswordInput, help_text="Introduce el password")
email = forms.EmailField(label="Correo electrónico", widget=forms.EmailInput, required=False)
def clean_password2(self):
password1 = self.cleaned_data.get("password1")
password2 = self.cleaned_data.get("password2")
if password1 and password2 and password1 != password2:
raise forms.ValidationError("Los passwords no coinciden")
return password2
class Meta:
# Set this form to use the User model.
model = User
# Constrain the UserForm to just these fields.
fields = ("username", "email", "password1", "password2", "perfil")
class Usuario_editarForm(forms.ModelForm):
email = forms.EmailField(label="Correo electrónico", widget=forms.EmailInput, required=False)
class Meta:
# Set this form to use the User model.
model = User
# Constrain the UserForm to just these fields.
fields = ("username", "email", "perfil")
class PasswordForm(forms.ModelForm):
password1 = forms.CharField(label="Password", widget=forms.PasswordInput)
password2 = forms.CharField(label="Password", widget=forms.PasswordInput, help_text="Introduce el password")
def clean_password2(self):
password1 = self.cleaned_data.get("password1")
password2 = self.cleaned_data.get("password2")
if password1 and password2 and password1 != password2:
raise forms.ValidationError("Los passwords no coinciden")
return password2
class Meta:
# Set this form to use the User model.
model = User
# Constrain the UserForm to just these fields.
fields = ("password1", "password2")
| 32.967742
| 109
| 0.748532
| 257
| 2,044
| 5.88716
| 0.272374
| 0.043622
| 0.031725
| 0.0423
| 0.830139
| 0.830139
| 0.830139
| 0.830139
| 0.830139
| 0.830139
| 0
| 0.0166
| 0.145303
| 2,044
| 61
| 110
| 33.508197
| 0.849456
| 0.170744
| 0
| 0.702703
| 0
| 0
| 0.172906
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.054054
| false
| 0.513514
| 0.081081
| 0
| 0.567568
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 9
|
83d29ca2431bd11081d041ff8e83fe1ff6a9f917
| 144
|
py
|
Python
|
boa3_test/test_sc/interop_test/blockchain/CurrentIndex.py
|
hal0x2328/neo3-boa
|
6825a3533384cb01660773050719402a9703065b
|
[
"Apache-2.0"
] | 25
|
2020-07-22T19:37:43.000Z
|
2022-03-08T03:23:55.000Z
|
boa3_test/test_sc/interop_test/blockchain/CurrentIndex.py
|
hal0x2328/neo3-boa
|
6825a3533384cb01660773050719402a9703065b
|
[
"Apache-2.0"
] | 419
|
2020-04-23T17:48:14.000Z
|
2022-03-31T13:17:45.000Z
|
boa3_test/test_sc/interop_test/blockchain/CurrentIndex.py
|
hal0x2328/neo3-boa
|
6825a3533384cb01660773050719402a9703065b
|
[
"Apache-2.0"
] | 15
|
2020-05-21T21:54:24.000Z
|
2021-11-18T06:17:24.000Z
|
from boa3.builtin import public
from boa3.builtin.interop.blockchain import current_index
@public
def main() -> int:
return current_index
| 18
| 57
| 0.784722
| 20
| 144
| 5.55
| 0.65
| 0.144144
| 0.27027
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01626
| 0.145833
| 144
| 7
| 58
| 20.571429
| 0.886179
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| true
| 0
| 0.4
| 0.2
| 0.8
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
83d7fcc0fa70c3b657992b78817085ac51e0a20d
| 76
|
py
|
Python
|
glue/core/data_exporters/__init__.py
|
ejeschke/glue
|
21689e3474aeaeb70e258d76c60755596856976c
|
[
"BSD-3-Clause"
] | 3
|
2015-09-10T22:23:55.000Z
|
2019-04-04T18:47:33.000Z
|
glue/core/data_exporters/__init__.py
|
ejeschke/glue
|
21689e3474aeaeb70e258d76c60755596856976c
|
[
"BSD-3-Clause"
] | null | null | null |
glue/core/data_exporters/__init__.py
|
ejeschke/glue
|
21689e3474aeaeb70e258d76c60755596856976c
|
[
"BSD-3-Clause"
] | null | null | null |
def setup():
from . import gridded_fits
from . import astropy_table
| 19
| 31
| 0.697368
| 10
| 76
| 5.1
| 0.8
| 0.392157
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.236842
| 76
| 3
| 32
| 25.333333
| 0.87931
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0.666667
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
83e3902d9a9fbfa575c7f2dc50079afb8bf7bbd4
| 9,203
|
py
|
Python
|
CE_mechanism/plot_voltammogram_CE.py
|
truejulosdu13/Electrochemistry
|
183914d75f7d8ec8fdaa03a1f5133f24afaf6f38
|
[
"MIT"
] | null | null | null |
CE_mechanism/plot_voltammogram_CE.py
|
truejulosdu13/Electrochemistry
|
183914d75f7d8ec8fdaa03a1f5133f24afaf6f38
|
[
"MIT"
] | null | null | null |
CE_mechanism/plot_voltammogram_CE.py
|
truejulosdu13/Electrochemistry
|
183914d75f7d8ec8fdaa03a1f5133f24afaf6f38
|
[
"MIT"
] | null | null | null |
import sys
sys.path.append('../')
import numpy as np
import matplotlib.pyplot as plt
from potential_applied import *
from EDP_solver_CE import *
# main programm for linear sweep voltammetry
def main_LSV_CE(cst_all):
F_norm = cst_all["F_norm"]
Nx = cst_all["Nx"]
Nt = cst_all["Nt"]
DM = cst_all["DM"]
Dx = cst_all["Dx"]
(E, tk) = rampe(cst_all["E_i"], cst_all["E_ox"], cst_all["E_red"], cst_all["v"], cst_all["Ox"])
k_p, k_m = cst_all["k_p"], cst_all["k_m"]
## time step
Dt = tk/cst_all["Nt"]
print("DM = ", cst_all["DM"], "and lambda = ", cst_all["Lambda"])
## profil de concentration inital
# calcul de l'equilibre entre a et b (a+b =a0+b0 et a/b=K)
(C_a_eq, C_b_eq) = compute_equilibrium(cst_all["C_a"], cst_all["C_b"], cst_all["K"])
cst_conc_eq = (C_a_eq, C_b_eq, cst_all["C_c"])
C_new = np.append([C_a_eq for i in range(Nx)], [C_b_eq for i in range(Nx)])
C_new = np.append(C_new, [cst_conc_eq[2] for i in range(Nx)])
## propagation temporelle
fig, ax = plt.subplots(4, figsize=(20, 10))
(M_new_constant, M_old) = Matrix_constant_CE(Nx, Dt, 3, k_p, k_m, DM)
I = np.array(())
for i in range(Nt):
C_old = C_new
t = i*Dt
M_new = Matrix_CE_boundaries(M_new_constant,
t,
E,
cst_all["Lambda"],
Nx,
F_norm,
cst_all["E_0_1"],
cst_all["alpha"],
cst_all["n"])
C_new = compute_Cnew_CE(M_new, M_old, C_old, cst_conc_eq, Nx)
I = np.append(I, compute_I_CE(C_new, cst_all))
if i % math.floor(Nt/10) == 0:
ax[0].plot([j*Dx for j in range(Nx)], C_new[:-2*Nx], label= 'time = %is' %(i*Dt))
ax[1].plot([j*Dx for j in range(Nx)], C_new[Nx:-Nx], label= 'time = %is' %(i*Dt))
ax[2].plot([j*Dx for j in range(Nx)], C_new[2*Nx:], label= 'time = %is' %(i*Dt))
ax[3].plot([E(i*(Dt)) for i in range(Nt)], I)
ax[0].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
ax[1].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
ax[2].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
plt.show()
return(I)
# main programm for cyclic staircase voltammetry
def main_CSV_CE(cst_all):
F_norm = cst_all["F_norm"]
Nx = cst_all["Nx"]
Nt = cst_all["Nt"]
DM = cst_all["DM"]
Dx = cst_all["Dx"]
(E, tk) = CSV(cst_all["E_i"], cst_all["E_ox"], cst_all["E_red"], cst_all["Delta_E"], cst_all["v"])
k_p, k_m = cst_all["k_p"], cst_all["k_m"]
## time step
Dt = tk/cst_all["Nt"]
print("DM = ", cst_all["DM"], "and lambda = ", cst_all["Lambda"])
## profil de concentration inital
# calcul de l'equilibre entre a et b (a+b =a0+b0 et a/b=K)
(C_a_eq, C_b_eq) = compute_equilibrium(cst_all["C_a"], cst_all["C_b"], cst_all["K"])
cst_conc_eq = (C_a_eq, C_b_eq, cst_all["C_c"])
C_new = np.append([C_a_eq for i in range(Nx)], [C_b_eq for i in range(Nx)])
C_new = np.append(C_new, [cst_conc_eq[2] for i in range(Nx)])
## propagation temporelle
fig, ax = plt.subplots(4, figsize=(20, 10))
(M_new_constant, M_old) = Matrix_constant_CE(Nx, Dt, 3, k_p, k_m, DM)
I = np.array(())
for i in range(Nt):
C_old = C_new
t = i*Dt
M_new = Matrix_CE_boundaries(M_new_constant,
t,
E,
cst_all["Lambda"],
Nx,
F_norm,
cst_all["E_0_1"],
cst_all["alpha"],
cst_all["n"])
C_new = compute_Cnew_CE(M_new, M_old, C_old, cst_conc_eq, Nx)
I = np.append(I, compute_I_CE(C_new, cst_all))
if i % math.floor(Nt/10) == 0:
ax[0].plot([j*Dx for j in range(Nx)], C_new[:-2*Nx], label= 'time = %is' %(i*Dt))
ax[1].plot([j*Dx for j in range(Nx)], C_new[Nx:-Nx], label= 'time = %is' %(i*Dt))
ax[2].plot([j*Dx for j in range(Nx)], C_new[2*Nx:], label= 'time = %is' %(i*Dt))
ax[3].plot([E(i*(Dt)) for i in range(Nt)], I)
ax[0].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
ax[1].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
ax[2].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
plt.show()
return(I)
# main programm for square wave voltammetry
def main_SWV_CE(cst_all):
F_norm = cst_all["F_norm"]
Nx = cst_all["Nx"]
Nt = cst_all["Nt"]
DM = cst_all["DM"]
Dx = cst_all["Dx"]
(E, E_sweep, tk) = SWV(cst_all["E_i"],
cst_all["E_ox"],
cst_all["E_red"],
cst_all["E_SW"],
cst_all["Delta_E"],
cst_all["f"],
cst_all["Ox"])
k_p, k_m = cst_all["k_p"], cst_all["k_m"]
## time step
Dt = tk/cst_all["Nt"]
print("DM = ", cst_all["DM"], "and lambda = ", cst_all["Lambda"])
print("Dt = ", Dt, "and T = 2Pi/f = ", 2*np.pi/cst_all["f"])
# arbitrary criteria to check if the time step is small enough compared to the time step of the SW
if 20*Dt > 2*np.pi/cst_all["f"]:
print("YOU SHOULD INCREASE THE NUMBER OF TIME STEPS TO GET MEANINGFUL RESULTS !")
## profil de concentration inital
# calcul de l'equilibre entre a et b (a+b =a0+b0 et a/b=K)
(C_a_eq, C_b_eq) = compute_equilibrium(cst_all["C_a"], cst_all["C_b"], cst_all["K"])
cst_conc_eq = (C_a_eq, C_b_eq, cst_all["C_c"])
C_new = np.append([C_a_eq for i in range(Nx)], [C_b_eq for i in range(Nx)])
C_new = np.append(C_new, [cst_conc_eq[2] for i in range(Nx)])
## propagation temporelle
fig, ax = plt.subplots(5, figsize=(10, 20))
(M_new_constant, M_old) = Matrix_constant_CE(Nx, Dt, 3, k_p, k_m, DM)
I = np.array(())
for i in range(Nt):
C_old = C_new
t = i*Dt
M_new = Matrix_CE_boundaries(M_new_constant,
t,
E,
cst_all["Lambda"],
Nx,
F_norm,
cst_all["E_0_1"],
cst_all["alpha"],
cst_all["n"])
C_new = compute_Cnew_CE(M_new, M_old, C_old, cst_conc_eq, Nx)
I = np.append(I, compute_I_CE(C_new, cst_all))
if i % math.floor(cst_all["Nt"]/10) == 0:
ax[0].plot([j*Dx for j in range(Nx)], C_new[:-2*Nx], label= 'time = %is' %(i*Dt))
ax[1].plot([j*Dx for j in range(Nx)], C_new[Nx:-Nx], label= 'time = %is' %(i*Dt))
ax[2].plot([j*Dx for j in range(Nx)], C_new[2*Nx:], label= 'time = %is' %(i*Dt))
ax[3].plot([E_sweep(i*Dt) for i in range(cst_all["Nt"])], I)
ax[4].plot([i*Dt for i in range(cst_all["Nt"])],[E(i*(Dt)) for i in range(cst_all["Nt"])])
ax[0].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
ax[1].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
ax[2].legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.)
plt.show()
return(I)
# exctraction des courants for rev et differentiels de la SWV
def plot_SWV(cst_all, I):
(E, E_sweep, tk) = SWV(cst_all["E_i"],
cst_all["E_ox"],
cst_all["E_red"],
cst_all["E_SW"],
cst_all["Delta_E"],
cst_all["f"],
cst_all["Ox"])
Nt = cst_all["Nt"]
Dt = tk/Nt
I_for = []
E_for = []
I_rev = []
E_rev = []
i = 1
count = 0
while i < Nt:
if E((i-1)*Dt) == E(i*Dt):
i += 1
else:
if count == 0:
I_for.append(I[i-1])
E_for.append(E((i-1)*Dt))
count = 1
else:
I_rev.append(I[i-1])
E_rev.append(E((i-1)*Dt))
count = 0
i += 1
plt.plot(E_for, I_for, label = 'i_for')
plt.plot(E_rev, I_rev, label = 'i_rev')
if len(I_for) == len(I_rev):
Delta_I = np.array(I_for) - np.array(I_rev)
plt.plot(E_for, Delta_I, label = 'delta_i')
elif len(I_rev) == len(I_for)-1:
I_rev_new = np.append(0, np.array(I_rev))
Delta_I = np.array(I_for) - np.array(I_rev_new)
plt.plot(E_for, Delta_I, label = 'delta_i')
else:
print("Il y a une couille dans le potage")
plt.legend()
plt.figure(figsize=(10,10))
plt.show()
return(E_for, I_for, E_rev, I_rev, Delta_I)
| 39.161702
| 102
| 0.501032
| 1,504
| 9,203
| 2.827128
| 0.103059
| 0.129821
| 0.0381
| 0.043979
| 0.812559
| 0.807855
| 0.791863
| 0.791627
| 0.791627
| 0.762935
| 0
| 0.022623
| 0.337173
| 9,203
| 234
| 103
| 39.32906
| 0.674426
| 0.070738
| 0
| 0.759563
| 0
| 0
| 0.077067
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.021858
| false
| 0
| 0.027322
| 0
| 0.04918
| 0.032787
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
f79b90c230222b579e6cc59938e37e17d81104d8
| 7,874
|
py
|
Python
|
examples/benchmark.py
|
Nerolf05/pyubx2
|
b87296c1bba94bb14b182beea7e2ca6cf0555608
|
[
"BSD-3-Clause"
] | 1
|
2021-04-19T17:32:30.000Z
|
2021-04-19T17:32:30.000Z
|
examples/benchmark.py
|
Nerolf05/pyubx2
|
b87296c1bba94bb14b182beea7e2ca6cf0555608
|
[
"BSD-3-Clause"
] | null | null | null |
examples/benchmark.py
|
Nerolf05/pyubx2
|
b87296c1bba94bb14b182beea7e2ca6cf0555608
|
[
"BSD-3-Clause"
] | null | null | null |
"""
pyubx2 performance benchmarking utility
Created on 5 Nov 2021
@author: semuadmin
"""
from datetime import datetime
from platform import version, python_version
from pyubx2.ubxreader import UBXReader
from pyubx2._version import __version__ as pyubx2ver
CYCLES = 10000
UBXMESSAGES = [
b"\xb5b\x10\x02\x18\x00\x72\xd8\x07\x00\x18\x18\x00\x00\x4b\xfd\xff\x10\x40\x02\x00\x11\x23\x28\x00\x12\x72\xd8\x07\x00\x03\x9c",
b"\xb5b\x10\x02\x1c\x00\x6d\xd8\x07\x00\x18\x20\x00\x00\xcd\x06\x00\x0e\xe4\xfe\xff\x0d\x03\xfa\xff\x05\x09\x0b\x00\x0c\x6d\xd8\x07\x00\xee\x51",
b"\xb5b\x10\x02\x18\x00\xd5\xd8\x07\x00\x18\x18\x00\x00\x4d\xfd\xff\x10\x45\x02\x00\x11\x1f\x28\x00\x12\xd5\xd8\x07\x00\xcc\xac",
b"\xb5b\x10\x02\x1c\x00\xd0\xd8\x07\x00\x18\x20\x00\x00\x7c\x06\x00\x0e\xcb\xfe\xff\x0d\xac\xf9\xff\x05\x09\x0b\x00\x0c\xd0\xd8\x07\x00\xf2\xae",
b"\xb5b\x10\x02\x18\x00\x38\xd9\x07\x00\x18\x18\x00\x00\x4a\xfd\xff\x10\x41\x02\x00\x11\x27\x28\x00\x12\x38\xd9\x07\x00\x95\x7a",
b"\xb5b\x10\x02\x1c\x00\x33\xd9\x07\x00\x18\x20\x00\x00\x0f\x06\x00\x0e\x16\xfe\xff\x0d\x5b\xfa\xff\x05\x0a\x0b\x00\x0c\x33\xd9\x07\x00\x49\x9f",
b"\xb5b\x10\x02\x18\x00\x9c\xd9\x07\x00\x18\x18\x00\x00\x4e\xfd\xff\x10\x4e\x02\x00\x11\x20\x28\x00\x12\x9c\xd9\x07\x00\x67\x0e",
b"\xb5b\x10\x02\x1c\x00\x97\xd9\x07\x00\x18\x20\x00\x00\x85\x06\x00\x0e\x77\xfe\xff\x0d\xe1\xf9\xff\x05\x0a\x0b\x00\x0c\x97\xd9\x07\x00\x6d\xa4",
b"\xb5b\x10\x02\x18\x00\xff\xd9\x07\x00\x18\x18\x00\x00\x4c\xfd\xff\x10\x3e\x02\x00\x11\x24\x28\x00\x12\xff\xd9\x07\x00\x1f\x22",
b"\xb5b\x10\x02\x1c\x00\xfa\xd9\x07\x00\x18\x20\x00\x00\x92\x06\x00\x0e\x61\xfe\xff\x0d\x9f\xf9\xff\x05\x0a\x0b\x00\x0c\xfa\xd9\x07\x00\xe8\x90",
b"\xb5b\x10\x02\x18\x00\x63\xda\x07\x00\x18\x18\x00\x00\x47\xfd\xff\x10\x44\x02\x00\x11\x1c\x28\x00\x12\x63\xda\x07\x00\xe2\xe4",
b"\xb5b\x10\x02\x1c\x00\x5e\xda\x07\x00\x18\x20\x00\x00\xef\x06\x00\x0e\xb8\xfe\xff\x0d\xc8\xf9\xff\x05\x0a\x0b\x00\x0c\x5e\xda\x07\x00\x8f\xce",
b"\xb5b\x10\x02\x18\x00\xc6\xda\x07\x00\x18\x18\x00\x00\x4a\xfd\xff\x10\x4e\x02\x00\x11\x21\x28\x00\x12\xc6\xda\x07\x00\xba\x88",
b"\xb5b\x10\x02\x1c\x00\xc1\xda\x07\x00\x18\x20\x00\x00\x82\x06\x00\x0e\x5b\xfe\xff\x0d\xc8\xf9\xff\x05\x09\x0b\x00\x0c\xc1\xda\x07\x00\x8a\xd2",
b"\xb5b\x10\x02\x18\x00\x2a\xdb\x07\x00\x18\x18\x00\x00\x48\xfd\xff\x10\x47\x02\x00\x11\x27\x28\x00\x12\x2a\xdb\x07\x00\x81\x4e",
b"\xb5b\x10\x02\x1c\x00\x25\xdb\x07\x00\x18\x20\x00\x00\x1b\x07\x00\x0e\xed\xfe\xff\x0d\xfa\xf9\xff\x05\x09\x0b\x00\x0c\x25\xdb\x07\x00\xb2\xef",
b"\xb5b\x10\x02\x1c\x00\xdb\x25\x01\x00\x18\x20\x00\x00\x76\x02\x00\x0e\x06\xf8\xff\x0d\xde\xf7\xff\x05\x54\x0a\x00\x0c\xdb\x25\x01\x00\x3b\x91",
b"\xb5b\x10\x02\x18\x00\xee\x23\x01\x00\x18\x18\x00\x00\xe8\x11\x00\x10\xfa\x07\x00\x11\xa1\x22\x00\x12\xee\x23\x01\x00\x6e\xf9",
b"\xb5b\x10\x02\x1c\x00\x94\x21\x01\x00\x18\x20\x00\x00\xff\x05\x00\x0e\xf3\xfe\xff\x0d\x4d\x0b\x00\x05\x51\x0a\x00\x0c\x94\x21\x01\x00\xa5\x52",
b"\xb5b\x05\x01\x02\x00\x06\x01\x0f\x38",
b"\xb5b\x06\x01\x08\x00\xf0\x01\x00\x01\x01\x01\x00\x00\x036",
b"\xb5b\x06\x00\x00\x00\x06\x18",
b"\xb5b\x01\x12$\x000D\n\x18\xfd\xff\xff\xff\xf1\xff\xff\xff\xfc\xff\xff\xff\x10\x00\x00\x00\x0f\x00\x00\x00\x83\xf5\x01\x00A\x00\x00\x00\xf0\xdfz\x00\xd0\xa6",
b"\xb5b\x06\x17\x04\x00\x00\x00\x00\x00\x21\xe9",
b"\xb5b\x06\x17\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x29\x61",
b"\xb5b\x13\x80\x0e\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x01\x02\xf2\xc2",
b"\xb5b\x13\x21\x06\x00\x03\x01\x02\x00\x00\x04\x44\x3a",
b"\xb5b\x06\x8b\x0c\x00\x00\x00\x00\x00\x01\x00\x52\x40\x80\x25\x00\x00\xd5\xd0",
b"\xb5b\x06\x8b\x09\x00\x00\x00\x00\x00\x01\x00\x51\x20\x55\x61\xc2",
b"\xb5b\x06\x8b\x16\x00\x00\x00\x00\x00\x01\x00\x51\x20\x55\x01\x00\x52\x40\x80\x25\x00\x00\x02\x00\x21\x30\x23\x1c\x92",
b"\xb5b\x06\x8b\x0c\x00\x00\x00\x00\x00\x68\x00\x11\x40\xb6\xf3\x9d\x3f\xdb\x3d",
b"\xb5b\x10\x02\x1c\x00\x6d\xd8\x07\x00\x18\x20\x00\x00\xcd\x06\x00\x0e\xe4\xfe\xff\x0d\x03\xfa\xff\x05\x09\x0b\x00\x0c\x6d\xd8\x07\x00\xee\x51",
b"\xb5b\x10\x02\x18\x00\x72\xd8\x07\x00\x18\x18\x00\x00\x4b\xfd\xff\x10\x40\x02\x00\x11\x23\x28\x00\x12\x72\xd8\x07\x00\x03\x9c",
b"\xb5b\n1\x14\x01\x00\x01\x00\x00-+-,+-.,-.+,+.-..-,..//./00203017?9398:L]<@C;H<>=A@BDCGJNQRVY[_cgpqyz\x7f\x84\x8c\x90\x99\xa0\xa7\xae\xb0\xae\xaa\xa7\xa2\x9b\x97\x96\x94\x91\x90\x8e\x8c\x8c\x8c\x8b\x8b\x89\x88\x89\x89\x89\x8b\x88\x89\x8a\x89\x8a\x8a\x89\x8a\x8b\x8a\x8a\x8b\x8b\x8c\x8a\x8a\x8a\x8b\x88\x88\x87\x87\x86\x85\x85\x85\x84\x89\x84\x85\x83\x84\x84\x84\x85\x88\x87\x87\x88\x8a\x8a\x8a\x8a\x8b\x8e\x8c\x8d\x8d\x8f\x8e\x8d\x8f\x8e\x8f\x8f\x8e\x8f\x8f\x90\x91\x92\x93\x93\x93\x95\x94\x94\x94\x94\x95\x94\x95\x93\x93\x91\x92\x93\x92\x94\x95\x94\x95\x97\x97\x98\x97\x94\x90\x8d\x86\x82\x7fyupmg`]VRLEB?=;99665422202101///-//.-0-.-/..--,.-+-,--+.,,--,,-*\x00 \xa1\x07 \xa1\x07\x00@\xc4`^\x0c\x00\x00\x00\x15j",
b"\xb5b\r\x01\x10\x00\x88gh\x16\x00\x00\x00\x00\x00\x00\x00\x00\x85\x08\x1b\x0fB\xff",
b"\xb5b\x05\x01\x02\x00\x06\x01\x0f\x38",
b"\xb5b\x06\x01\x08\x00\xf0\x01\x00\x01\x01\x01\x00\x00\x036",
b"\xb5b\x06\x00\x00\x00\x06\x18",
b"\xb5b\x01\x12$\x000D\n\x18\xfd\xff\xff\xff\xf1\xff\xff\xff\xfc\xff\xff\xff\x10\x00\x00\x00\x0f\x00\x00\x00\x83\xf5\x01\x00A\x00\x00\x00\xf0\xdfz\x00\xd0\xa6",
b"\xb5b\x06\x17\x04\x00\x00\x00\x00\x00\x21\xe9",
b"\xb5b\x06\x17\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x29\x61",
b"\xb5b\x13\x80\x0e\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x01\x02\xf2\xc2",
b"\xb5b\x13\x21\x06\x00\x03\x01\x02\x00\x00\x04\x44\x3a",
b"\xb5b\x06\x8b\x0c\x00\x00\x00\x00\x00\x01\x00\x52\x40\x80\x25\x00\x00\xd5\xd0",
b"\xb5b\x06\x8b\x09\x00\x00\x00\x00\x00\x01\x00\x51\x20\x55\x61\xc2",
b"\xb5b\x06\x8b\x16\x00\x00\x00\x00\x00\x01\x00\x51\x20\x55\x01\x00\x52\x40\x80\x25\x00\x00\x02\x00\x21\x30\x23\x1c\x92",
b"\xb5b\x06\x8b\x0c\x00\x00\x00\x00\x00\x68\x00\x11\x40\xb6\xf3\x9d\x3f\xdb\x3d",
b"\xb5b\x10\x02\x1c\x00\x6d\xd8\x07\x00\x18\x20\x00\x00\xcd\x06\x00\x0e\xe4\xfe\xff\x0d\x03\xfa\xff\x05\x09\x0b\x00\x0c\x6d\xd8\x07\x00\xee\x51",
b"\xb5b\x10\x02\x18\x00\x72\xd8\x07\x00\x18\x18\x00\x00\x4b\xfd\xff\x10\x40\x02\x00\x11\x23\x28\x00\x12\x72\xd8\x07\x00\x03\x9c",
b"\xb5b\n1\x14\x01\x00\x01\x00\x00-+-,+-.,-.+,+.-..-,..//./00203017?9398:L]<@C;H<>=A@BDCGJNQRVY[_cgpqyz\x7f\x84\x8c\x90\x99\xa0\xa7\xae\xb0\xae\xaa\xa7\xa2\x9b\x97\x96\x94\x91\x90\x8e\x8c\x8c\x8c\x8b\x8b\x89\x88\x89\x89\x89\x8b\x88\x89\x8a\x89\x8a\x8a\x89\x8a\x8b\x8a\x8a\x8b\x8b\x8c\x8a\x8a\x8a\x8b\x88\x88\x87\x87\x86\x85\x85\x85\x84\x89\x84\x85\x83\x84\x84\x84\x85\x88\x87\x87\x88\x8a\x8a\x8a\x8a\x8b\x8e\x8c\x8d\x8d\x8f\x8e\x8d\x8f\x8e\x8f\x8f\x8e\x8f\x8f\x90\x91\x92\x93\x93\x93\x95\x94\x94\x94\x94\x95\x94\x95\x93\x93\x91\x92\x93\x92\x94\x95\x94\x95\x97\x97\x98\x97\x94\x90\x8d\x86\x82\x7fyupmg`]VRLEB?=;99665422202101///-//.-0-.-/..--,.-+-,--+.,,--,,-*\x00 \xa1\x07 \xa1\x07\x00@\xc4`^\x0c\x00\x00\x00\x15j",
]
def benchmark():
os = version()
ver = python_version()
txnc = len(UBXMESSAGES)
txnt = txnc * CYCLES
print(
f"\nOperating system: {os}",
f"\nPython version: {ver}",
f"\npyubx2 version: {pyubx2ver}",
f"\nTest cycles: {CYCLES:,}",
f"\nTxn per cycle: {txnc:,}",
)
start = datetime.now()
print(f"\nBenchmark test started at {start} ...")
for n in range(CYCLES):
for i, msg in enumerate(UBXMESSAGES):
res = UBXReader.parse(msg)
end = datetime.now()
print(f"Benchmark test ended at {end}.")
duration = (end - start).total_seconds()
print(
f"\n{txnt:,} messages processed in {duration:,.3f} seconds = {txnt/duration:,.2f} txns/second.\n"
)
if __name__ == "__main__":
benchmark()
| 77.960396
| 719
| 0.68669
| 1,700
| 7,874
| 3.17
| 0.147059
| 0.138059
| 0.113565
| 0.100204
| 0.714047
| 0.711264
| 0.643533
| 0.5617
| 0.557246
| 0.557246
| 0
| 0.326672
| 0.065786
| 7,874
| 100
| 720
| 78.74
| 0.405927
| 0.010414
| 0
| 0.414634
| 0
| 0.573171
| 0.850462
| 0.809738
| 0
| 1
| 0
| 0
| 0
| 1
| 0.012195
| false
| 0
| 0.04878
| 0
| 0.060976
| 0.04878
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e3d7b7fa55985e4b8489962f6cbf010df9ad9263
| 14,428
|
py
|
Python
|
tests/augmentation/test_transforms.py
|
austinjp/textacy
|
dddfdbf0e0ab3bf756bc4eda042eab1001aac709
|
[
"Apache-2.0"
] | 1,929
|
2016-02-14T08:30:38.000Z
|
2022-03-31T03:00:35.000Z
|
tests/augmentation/test_transforms.py
|
austinjp/textacy
|
dddfdbf0e0ab3bf756bc4eda042eab1001aac709
|
[
"Apache-2.0"
] | 304
|
2016-02-18T15:52:22.000Z
|
2022-03-31T18:06:54.000Z
|
tests/augmentation/test_transforms.py
|
austinjp/textacy
|
dddfdbf0e0ab3bf756bc4eda042eab1001aac709
|
[
"Apache-2.0"
] | 285
|
2016-03-20T04:25:08.000Z
|
2022-03-24T11:31:17.000Z
|
import collections
from textacy import make_spacy_doc
from textacy.augmentation import transforms
from textacy.augmentation import utils as aug_utils
import pytest
@pytest.fixture(scope="module")
def spacy_doc():
text = (
"Democrats might know that they stand against Trump's policies, but coming up with their own plan is harder than you think. "
"For a long time, the party's top echelon has been captive to free trade orthodoxy. "
"Since Bill Clinton, the theory of the case among the Democratic Party's elite has been the more globalization, the better — with mostly a deaf ear turned to the people and places most badly affected. "
"Worse, their response to globalization's excesses has been: "
"Here's a new trade deal, much better than the last one."
)
return make_spacy_doc(text, lang="en_core_web_sm")
@pytest.fixture(scope="module")
def aug_toks(spacy_doc):
return aug_utils.to_aug_toks(spacy_doc)
@pytest.mark.skipif(
aug_utils.concept_net.filepath is None,
reason="ConceptNet resource must be downloaded before running tests",
)
class TestSubstituteWordSynonyms:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.substitute_word_synonyms(aug_toks, num=num)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
for num in [1, 3]:
new_aug_toks = transforms.substitute_word_synonyms(aug_toks, num=num)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert any(
aug_tok.text != new_aug_tok.text
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.substitute_word_synonyms(aug_toks, num=num)
def test_pos(self, aug_toks):
for pos in ["NOUN", ("NOUN", "VERB", "ADJ", "ADV")]:
new_aug_toks = transforms.substitute_word_synonyms(
aug_toks, num=1, pos=pos)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert any(
aug_tok.text != new_aug_tok.text
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.substitute_word_synonyms(aug_toks, num=num)
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.substitute_word_synonyms(obj, num=1)
@pytest.mark.skipif(
aug_utils.concept_net.filepath is None,
reason="ConceptNet resource must be downloaded before running tests",
)
class TestInsertWordSynonyms:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.insert_word_synonyms(aug_toks, num=num)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
for num in [1, 3]:
new_aug_toks = transforms.insert_word_synonyms(aug_toks, num=num)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) > len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.insert_word_synonyms(aug_toks, num=num)
def test_pos(self, aug_toks):
for pos in ["NOUN", ("NOUN", "VERB", "ADJ", "ADV")]:
new_aug_toks = transforms.insert_word_synonyms(
aug_toks, num=1, pos=pos)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) > len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.insert_word_synonyms(aug_toks, num=num)
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.insert_word_synonyms(obj, num=1)
class TestSwapWords:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.swap_words(aug_toks, num=num)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
for num in [1, 3]:
new_aug_toks = transforms.swap_words(aug_toks, num=num)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert any(
aug_tok.text != new_aug_tok.text
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.swap_words(aug_toks, num=num)
def test_pos(self, aug_toks):
for pos in ["NOUN", ("NOUN", "VERB", "ADJ", "ADV")]:
new_aug_toks = transforms.swap_words(aug_toks, num=1, pos=pos)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert any(
aug_tok.text != new_aug_tok.text
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.swap_words(aug_toks, num=num)
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.swap_words(obj, num=1)
class TestDeleteWords:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.delete_words(aug_toks, num=num)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
for num in [1, 3]:
new_aug_toks = transforms.delete_words(aug_toks, num=num)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) < len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.delete_words(aug_toks, num=num)
def test_pos(self, aug_toks):
for pos in ["NOUN", ("NOUN", "VERB", "ADJ", "ADV")]:
new_aug_toks = transforms.delete_words(aug_toks, num=1, pos=pos)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) < len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.delete_words(aug_toks, num=num)
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.delete_words(obj, num=1)
@pytest.mark.skipif(
aug_utils.udhr.index is None,
reason="UDHR dataset must be downloaded before running tests",
)
class TestSubstituteChars:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.substitute_chars(aug_toks, num=num, lang="en")
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
# using higher nums here to prevent the very unlikely case
# that all characters are substituted by the same character
for num in [3, 5]:
new_aug_toks = transforms.substitute_chars(aug_toks, num=num, lang="en")
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert any(
aug_tok.text != new_aug_tok.text
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
assert all(
len(aug_tok.text) == len(new_aug_tok.text)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.substitute_chars(aug_toks, num=num, lang="en")
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.substitute_chars(aug_toks, num=num, lang="en")
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.substitute_chars(obj, num=1, lang="en")
@pytest.mark.skipif(
aug_utils.udhr.index is None,
reason="UDHR dataset must be downloaded before running tests",
)
class TestInsertChars:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.insert_chars(aug_toks, num=num, lang="en")
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
for num in [1, 3]:
new_aug_toks = transforms.insert_chars(aug_toks, num=num, lang="en")
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert all(
(
aug_tok.text == new_aug_tok.text or
len(aug_tok.text) < len(new_aug_tok.text)
)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.insert_chars(aug_toks, num=num, lang="en")
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.insert_chars(aug_toks, num=num, lang="en")
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.insert_chars(obj, num=1, lang="en")
class TestSwapChars:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.swap_chars(aug_toks, num=num)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
# using higher nums here to prevent the very unlikely case
# that all characters are swapped with the same character
for num in [3, 5]:
new_aug_toks = transforms.swap_chars(aug_toks, num=num)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert any(
aug_tok.text != new_aug_tok.text
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
assert all(
len(aug_tok.text) == len(new_aug_tok.text)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.swap_chars(aug_toks, num=num)
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.swap_chars(aug_toks, num=num)
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.swap_chars(obj, num=1)
class TestDeleteChars:
def test_noop(self, aug_toks):
for num in [0, 0.0]:
new_aug_toks = transforms.delete_chars(aug_toks, num=num)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks):
assert aug_tok.text == new_aug_tok.text
def test_num_int(self, aug_toks):
for num in [1, 3]:
new_aug_toks = transforms.delete_chars(aug_toks, num=num)
assert isinstance(new_aug_toks, list)
assert len(new_aug_toks) == len(aug_toks)
assert all(
isinstance(aug_tok, aug_utils.AugTok)
for aug_tok in new_aug_toks
)
assert all(
(
aug_tok.text == new_aug_tok.text or
len(aug_tok.text) > len(new_aug_tok.text)
)
for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
)
def test_num_float(self, aug_toks):
for num in [0.1, 0.3]:
_ = transforms.delete_chars(aug_toks, num=num)
def test_errors(self, aug_toks):
for num in [-1, 2.0]:
with pytest.raises(ValueError):
_ = transforms.delete_chars(aug_toks, num=num)
for obj in [["foo", "bar"], "foo bar"]:
with pytest.raises(TypeError):
_ = transforms.delete_chars(obj, num=1)
| 37.868766
| 210
| 0.588994
| 2,017
| 14,428
| 3.939514
| 0.087258
| 0.156808
| 0.093129
| 0.059904
| 0.889882
| 0.879185
| 0.874654
| 0.874654
| 0.872892
| 0.871634
| 0
| 0.010952
| 0.316537
| 14,428
| 380
| 211
| 37.968421
| 0.794747
| 0.015733
| 0
| 0.786164
| 0
| 0.006289
| 0.067977
| 0
| 0
| 0
| 0
| 0
| 0.169811
| 1
| 0.119497
| false
| 0
| 0.015723
| 0.003145
| 0.166667
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
580948487639d2bb4454305b5cfe589861174a19
| 3,863
|
py
|
Python
|
aib/sql/gl_tots_code.py
|
FrankMillman/AccInABox
|
fc4cd26bf525c1bbe8e541d9339c69b0adbad546
|
[
"MIT"
] | 3
|
2015-02-25T19:44:43.000Z
|
2020-12-18T05:49:09.000Z
|
aib/sql/gl_tots_code.py
|
FrankMillman/AccInABox
|
fc4cd26bf525c1bbe8e541d9339c69b0adbad546
|
[
"MIT"
] | 1
|
2019-11-20T12:31:34.000Z
|
2019-11-20T12:31:35.000Z
|
aib/sql/gl_tots_code.py
|
FrankMillman/AccInABox
|
fc4cd26bf525c1bbe8e541d9339c69b0adbad546
|
[
"MIT"
] | 1
|
2020-06-07T06:25:19.000Z
|
2020-06-07T06:25:19.000Z
|
# def get_sql(cte, params, company, conn, gl_code):
#
# sql = cte + ("""
# SELECT
# a.op_date AS "[DATE]", a.cl_date AS "[DATE]"
# , SUM(COALESCE(b.tran_tot, 0)) AS "[REAL2]"
# , SUM(COALESCE(c.tran_tot, 0) - COALESCE(b.tran_tot, 0)) AS "[REAL2]"
# , SUM(COALESCE(c.tran_tot, 0)) AS "[REAL2]"
# FROM
# (SELECT dates.op_date, dates.cl_date, (
# SELECT c.row_id FROM {0}.gl_totals c
# JOIN {0}.gl_codes f on f.row_id = c.gl_code_id
# WHERE c.tran_date < dates.op_date
# AND c.location_row_id = d.row_id
# AND c.function_row_id = e.row_id
# AND c.source_code_id = g.row_id
# AND f.gl_code = {1}
# AND c.deleted_id = 0
# ORDER BY c.tran_date DESC LIMIT 1
# ) AS op_row_id, (
# SELECT c.row_id FROM {0}.gl_totals c
# JOIN {0}.gl_codes f on f.row_id = c.gl_code_id
# WHERE c.tran_date <= dates.cl_date
# AND c.location_row_id = d.row_id
# AND c.function_row_id = e.row_id
# AND c.source_code_id = g.row_id
# AND f.gl_code = {1}
# AND c.deleted_id = 0
# ORDER BY c.tran_date DESC LIMIT 1
# ) AS cl_row_id
# FROM dates, {0}.adm_locations d, {0}.adm_functions e, {0}.gl_source_codes g
# WHERE d.location_type = 'location'
# AND e.function_type = 'function'
# ) AS a
# LEFT JOIN {0}.gl_totals b on b.row_id = a.op_row_id
# LEFT JOIN {0}.gl_totals c on c.row_id = a.cl_row_id
# GROUP BY a.op_date, a.cl_date
# ORDER BY a.op_date
# """.format(company, conn.constants.param_style)
# )
#
# params += (gl_code, gl_code)
#
# fmt = '{:%d-%m} - {:%d-%m} : {:>12}{:>12}{:>12}'
#
# return sql, params, fmt
def get_sql(cte, params, company, conn, gl_code):
sql = cte + ("""
SELECT
a.op_date AS "[DATE]", a.cl_date AS "[DATE]"
, b.gl_code
, SUM(COALESCE(a.op_tot, 0)) AS "[REAL2]"
, SUM(COALESCE(a.cl_tot, 0) - COALESCE(a.op_tot, 0)) AS "[REAL2]"
, SUM(COALESCE(a.cl_tot, 0)) AS "[REAL2]"
FROM
(SELECT dates.op_date, dates.cl_date,
(SELECT SUM(c.tran_tot) FROM (
SELECT a.tran_tot, ROW_NUMBER() OVER (PARTITION BY
a.gl_code_id, a.location_row_id, a.function_row_id, a.source_code_id
ORDER BY a.tran_date DESC) row_num
FROM {0}.gl_totals a
JOIN {0}.gl_codes b on b.row_id = a.gl_code_id AND b.gl_code = {1}
WHERE a.deleted_id = 0
AND a.tran_date < dates.op_date
) as c
WHERE c.row_num = 1) as op_tot,
(SELECT SUM(c.tran_tot) FROM (
SELECT a.tran_tot, ROW_NUMBER() OVER (PARTITION BY
a.gl_code_id, a.location_row_id, a.function_row_id, a.source_code_id
ORDER BY a.tran_date DESC) row_num
FROM {0}.gl_totals a
JOIN {0}.gl_codes b on b.row_id = a.gl_code_id AND b.gl_code = {1}
WHERE a.deleted_id = 0
AND a.tran_date <= dates.cl_date
) as c
WHERE c.row_num = 1) as cl_tot
FROM dates
) AS a
JOIN {0}.gl_codes b ON b.gl_code = {1}
GROUP BY a.op_date, a.cl_date, b.gl_code
ORDER BY a.op_date
""".format(company, conn.constants.param_style)
)
params += (gl_code, gl_code, gl_code)
fmt = '{:%d-%m} - {:%d-%m} : {:<12}{:>12}{:>12}{:>12}'
return sql, params, fmt
| 40.239583
| 90
| 0.500388
| 586
| 3,863
| 3.054608
| 0.109215
| 0.072626
| 0.026816
| 0.036872
| 0.893296
| 0.869832
| 0.864246
| 0.843017
| 0.810056
| 0.785475
| 0
| 0.022812
| 0.375874
| 3,863
| 95
| 91
| 40.663158
| 0.719618
| 0.496764
| 0
| 0.4
| 0
| 0.1
| 0.861887
| 0.047443
| 0
| 0
| 0
| 0
| 0
| 1
| 0.025
| false
| 0
| 0
| 0
| 0.05
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
58118c392fe4516cc942297760a7208c049733ad
| 1,244
|
py
|
Python
|
tests/math/unary/test_inversetrig.py
|
kw-0/MyGrad
|
307f1bb5f2391e7f4df49fe43a7acf9d1e8ea141
|
[
"MIT"
] | 147
|
2018-07-14T01:37:35.000Z
|
2022-03-29T06:37:58.000Z
|
tests/math/unary/test_inversetrig.py
|
kw-0/MyGrad
|
307f1bb5f2391e7f4df49fe43a7acf9d1e8ea141
|
[
"MIT"
] | 223
|
2018-05-31T14:13:18.000Z
|
2022-02-27T18:53:49.000Z
|
tests/math/unary/test_inversetrig.py
|
kw-0/MyGrad
|
307f1bb5f2391e7f4df49fe43a7acf9d1e8ea141
|
[
"MIT"
] | 27
|
2018-06-17T14:42:05.000Z
|
2021-10-31T00:21:09.000Z
|
import numpy as np
from mygrad import arccot, arccsc, arcsec
from tests.wrappers.uber import backprop_test_factory, fwdprop_test_factory
@fwdprop_test_factory(
mygrad_func=arccsc,
true_func=lambda x: np.arcsin(1 / x),
index_to_bnds={0: (-10.1, -1.1)},
num_arrays=1,
)
def test_arccsc_fwd():
pass
@backprop_test_factory(
mygrad_func=arccsc,
true_func=lambda x: np.arcsin(1 / x),
index_to_bnds={0: (1.1, 100.0)},
num_arrays=1,
)
def test_arccsc_backward(data):
pass
@fwdprop_test_factory(
mygrad_func=arcsec,
true_func=lambda x: np.arccos(1 / x),
index_to_bnds={0: (-10.1, -1.1)},
num_arrays=1,
)
def test_arcsec_fwd():
pass
@backprop_test_factory(
mygrad_func=arcsec,
true_func=lambda x: np.arccos(1 / x),
index_to_bnds={0: (1.1, 100.0)},
num_arrays=1,
)
def test_arcsec_backward(data):
pass
@fwdprop_test_factory(
mygrad_func=arccot,
true_func=lambda x: np.arctan(1 / x),
index_to_bnds={0: (0.1, 10)},
num_arrays=1,
)
def test_arccot_fwd():
pass
@backprop_test_factory(
mygrad_func=arccot,
true_func=lambda x: np.arctan(1 / x),
index_to_bnds={0: (0.1, 10)},
num_arrays=1,
)
def test_arccot_backward(data):
pass
| 19.138462
| 75
| 0.67283
| 202
| 1,244
| 3.856436
| 0.183168
| 0.112965
| 0.130937
| 0.161746
| 0.87163
| 0.825417
| 0.794608
| 0.736842
| 0.677792
| 0.677792
| 0
| 0.047714
| 0.191318
| 1,244
| 64
| 76
| 19.4375
| 0.72664
| 0
| 0
| 0.705882
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.117647
| false
| 0.117647
| 0.058824
| 0
| 0.176471
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 8
|
5820c3cfe822d438ddc70ee2bbef71a828ac5f9d
| 753
|
py
|
Python
|
sample_pipeline/build/lib/sample_pipeline/tests_3_fixtures_from_a_cached_pipeline/conftest.py
|
CFMTech/python_pipeline_blog_post
|
21938d3531653af4240b6b229cf649139abeef9d
|
[
"MIT"
] | 1
|
2021-12-12T14:19:10.000Z
|
2021-12-12T14:19:10.000Z
|
sample_pipeline/build/lib/sample_pipeline/tests_3_fixtures_from_a_cached_pipeline/conftest.py
|
mwouts/python_pipeline_blog_post
|
e4b0e579a568a916d37645cbfa838b21668b2c6c
|
[
"MIT"
] | null | null | null |
sample_pipeline/build/lib/sample_pipeline/tests_3_fixtures_from_a_cached_pipeline/conftest.py
|
mwouts/python_pipeline_blog_post
|
e4b0e579a568a916d37645cbfa838b21668b2c6c
|
[
"MIT"
] | 1
|
2021-12-12T14:19:54.000Z
|
2021-12-12T14:19:54.000Z
|
"""In this conftest, we load the sample fixtures from a cached pipeline
generated by the test test_generate_cached_pipeline"""
import pytest
from . import load_from_cached_pipeline
@pytest.fixture
def start_date():
"""A sample start date for the pipeline"""
return "2021-01-04"
@pytest.fixture
def end_date():
"""A sample end date for the pipeline"""
return "2021-01-29"
@pytest.fixture
def tickers():
"""A sample list of tickers"""
return {"AAPL", "MSFT", "AMZN", "GOOGL"}
@pytest.fixture
def yahoo_data():
return load_from_cached_pipeline("yahoo_data")
@pytest.fixture
def closes():
return load_from_cached_pipeline("closes")
@pytest.fixture
def volumes():
return load_from_cached_pipeline("volumes")
| 18.825
| 71
| 0.715803
| 106
| 753
| 4.90566
| 0.377358
| 0.161538
| 0.184615
| 0.169231
| 0.276923
| 0.115385
| 0.115385
| 0
| 0
| 0
| 0
| 0.025478
| 0.166003
| 753
| 39
| 72
| 19.307692
| 0.802548
| 0.288181
| 0
| 0.3
| 1
| 0
| 0.116505
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.3
| true
| 0
| 0.1
| 0.15
| 0.7
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
583efeb53fe85c5d164b219747731b0823bcee2e
| 13,000
|
py
|
Python
|
integration/apps/parres/parres.py
|
avilcheslopez/geopm
|
35ad0af3f17f42baa009c97ed45eca24333daf33
|
[
"MIT",
"BSD-3-Clause"
] | null | null | null |
integration/apps/parres/parres.py
|
avilcheslopez/geopm
|
35ad0af3f17f42baa009c97ed45eca24333daf33
|
[
"MIT",
"BSD-3-Clause"
] | null | null | null |
integration/apps/parres/parres.py
|
avilcheslopez/geopm
|
35ad0af3f17f42baa009c97ed45eca24333daf33
|
[
"MIT",
"BSD-3-Clause"
] | null | null | null |
# Copyright (c) 2015 - 2022, Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
#
import os
import sys
import glob
import textwrap
import subprocess
from apps import apps
def setup_run_args(parser):
""" Add common arguments for all run scripts.
"""
parser.add_argument('--parres-init-setup-file', dest='parres_init_setup',
action='store', type=str,
help='Path to the parres-init-setup-file' +
'Absolute path or relative to the app' +
'directory. Default is None')
parser.add_argument('--parres-exp-setup-file', dest='parres_exp_setup',
action='store', type=str,
help='Path to the parres-exp-setup-file' +
'Absolute path or relative to the app' +
'directory. Default is None')
parser.add_argument('--parres-teardown-file', dest='parres_teardown',
action='store', type=str,
help='Path to the parres-teardown-file' +
'Absolute path or relative to the app' +
'directory. Default is None')
parser.add_argument('--parres-cores-per-node', dest='parres_cores_per_node',
action='store', type=int,
help='Number of physical cores to reserve for the app. ' +
'If not defined, app-type will determine setting.')
parser.add_argument('--parres-gpus-per-node', dest='parres_gpus_per_node',
action='store', type=int,
help='Number of physical GPUs to reserve for the app. ' +
'If not defined, app-type will determine setting.')
parser.add_argument('--parres-cores-per-rank', dest='parres_cores_per_rank',
action='store', type=int, default=1,
help='Number of physical cores to use per rank for OMP parallelism.' +
'Default is 1.')
parser.add_argument('--parres-args', dest='parres_args',
action='store', type=str,
help='Arguments for parres binary')
def create_dgemm_appconf(mach, args):
''' Create a ParresAppConfig object from an ArgParse and experiment.machine object.
'''
return ParresDgemmAppConf(mach, args.node_count, args.parres_cores_per_node, args.node_count,
args.parres_gpus_per_node, args.parres_cores_per_rank, args.parres_init_setup, args.parres_exp_setup, args.parres_teardown, args.parres_args)
class ParresDgemmAppConf(apps.AppConf):
@staticmethod
def name():
return 'parres_dgemm'
def __init__(self, mach, num_nodes, cores_per_node, node_count, gpus_per_node, cores_per_rank, parres_init_setup, parres_exp_setup, parres_teardown, parres_args):
if cores_per_node is None:
self._cores_per_node = 4
else:
if cores_per_node > mach.num_core():
raise RuntimeError('Number of requested cores is more than the number ' +
'of available cores: {}'.format(cores_per_node))
self._cores_per_node = cores_per_node
if self._cores_per_node % cores_per_rank != 0:
raise RuntimeError('Number of requested cores is not divisible by OMP threads '
'per rank: {} % {}'.format(self._cores_per_node, cores_per_rank))
self._cores_per_rank = cores_per_rank
if node_count != 1:
raise RuntimeError('ParRes Dgemm is only setup for 1 node not {}'.format(node_count))
if gpus_per_node is None:
gpus_per_node = mach.num_gpu()
else:
if (gpus_per_node != mach.num_gpu()):
raise RuntimeError('Number of requested GPUs must be the same as the available # of GPUs')
if not ( self._cores_per_node // self.get_cpu_per_rank() == gpus_per_node):
raise RunTimeError('Can currently only handle the same # of ranks and GPUs per node')
benchmark_dir = os.path.dirname(os.path.abspath(__file__))
if not parres_init_setup is None:
if not os.path.isfile(parres_init_setup):
if (os.path.isfile(os.path.join(benchmark_dir, parres_init_setup))):
parres_init_setup = os.path.join(benchmark_dir, parres_init_setup)
else:
raise runtimeError("Parres-init-setup file not found:" + parres_init_setup)
os.chmod(parres_init_setup, 0o755)
subprocess.call(parres_init_setup, shell=True)
if not parres_exp_setup is None:
if not os.path.isfile(parres_exp_setup):
if (os.path.isfile(os.path.join(benchmark_dir, parres_exp_setup))):
parres_exp_setup = os.path.join(benchmark_dir, parres_exp_setup)
else:
raise runtimeError("Parres-exp-setup file not found:" + parres_exp_setup)
if not parres_teardown is None:
if not os.path.isfile(parres_teardown):
if (os.path.isfile(os.path.join(benchmark_dir, parres_teardown))):
parres_teardown = os.path.join(benchmark_dir, parres_teardown)
else:
raise runtimeError("Parres-teardown file not found:" + parres_teardown)
self._parres_exp_setup = parres_exp_setup
self._parres_teardown = parres_teardown
binary_name = 'Kernels/Cxx11/dgemm-mpi-cublas'
if parres_args is None:
params = ["10","16000"]
else:
params=parres_args.split()
self.app_params = " ".join(params)
self.exe_path = os.path.join(benchmark_dir, binary_name)
def get_rank_per_node(self):
return self._cores_per_node // self.get_cpu_per_rank()
def get_cpu_per_rank(self):
return self._cores_per_rank
def get_bash_exec_path(self):
return self.exe_path
def get_bash_exec_args(self):
return self.app_params
def get_bash_setup_commands(self):
setup_commands = textwrap.dedent('''
ulimit -s unlimited
export I_MPI_FABRICS=shm
''')
return setup_commands
def trial_setup(self, run_id, output_dir):
if not self._parres_exp_setup is None:
os.chmod(self._parres_exp_setup, 0o755)
subprocess.call(self._parres_exp_setup, shell=True)
def experiment_teardown(self, output_dir):
if not self._parres_teardown is None:
os.chmod(self._parres_teardown, 0o755)
subprocess.call(self._parres_teardown, shell=True)
def parse_fom(self, log_path):
result = None
key = 'AVG Rate (MF/s): '
with open(log_path) as fid:
for line in fid.readlines():
if key in line:
result = line.split(': ')[1]
result = float(result.split(' ')[0])
break
return result
def create_nstream_appconf(mach, args):
''' Create a ParresAppConfig object from an ArgParse and experiment.machine object.
'''
return ParresNstreamAppConf(mach, args.node_count, args.parres_cores_per_node, args.node_count,
args.parres_gpus_per_node, args.parres_cores_per_rank, args.parres_init_setup, args.parres_exp_setup, args.parres_teardown,
args.parres_args)
class ParresNstreamAppConf(apps.AppConf):
@staticmethod
def name():
return 'parres_nstream'
def __init__(self, mach, num_nodes, cores_per_node, node_count, gpus_per_node, cores_per_rank, parres_init_setup, parres_exp_setup, parres_teardown, parres_args):
if cores_per_node is None:
self._cores_per_node = 1
else:
if cores_per_node != 1:
raise RuntimeError('Currently Nstream can only handle 1 core per Node')
self._cores_per_node = cores_per_node
if self._cores_per_node % cores_per_rank != 0:
raise RuntimeError('Number of requested cores is not divisible by OMP threads '
'per rank: {} % {}'.format(self._cores_per_node, cores_per_rank))
self._cores_per_rank = cores_per_rank
if node_count != 1:
raise RuntimeError('ParRes Dgemm is only setup for 1 node not {}'.format(node_count))
if gpus_per_node is None:
gpus_per_node = 1
else:
if (gpus_per_node > mach.num_gpu()):
raise RuntimeError('Number of requested GPUs is more than the number ' +
'of available GPUs: {}'.format(gpus_per_node))
if not ( ( self._cores_per_node // self.get_cpu_per_rank() == 1 ) and gpus_per_node == 1):
raise RunTimeError('Can currently only handle 1 ranks per node and 1 GPUs per node')
benchmark_dir = os.path.dirname(os.path.abspath(__file__))
if not parres_init_setup is None:
if not os.path.isfile(parres_init_setup):
if (os.path.isfile(os.path.join(benchmark_dir, parres_init_setup))):
parres_init_setup = os.path.join(benchmark_dir, parres_init_setup)
else:
raise runtimeError("Parres-init-setup file not found:" + parres_init_setup)
os.chmod(parres_init_setup, 0o755)
subprocess.call(parres_init_setup, shell=True)
if not parres_exp_setup is None:
if not os.path.isfile(parres_exp_setup):
if (os.path.isfile(os.path.join(benchmark_dir, parres_exp_setup))):
parres_exp_setup = os.path.join(benchmark_dir, parres_exp_setup)
else:
raise runtimeError("Parres-exp-setup file not found:" + parres_exp_setup)
if not parres_teardown is None:
if not os.path.isfile(parres_teardown):
if (os.path.isfile(os.path.join(benchmark_dir, parres_teardown))):
parres_teardown = os.path.join(benchmark_dir, parres_teardown)
else:
raise runtimeError("Parres-teardown file not found:" + parres_teardown)
self._parres_exp_setup = parres_exp_setup
self._parres_teardown = parres_teardown
binary_name = 'Kernels/Cxx11/nstream-mpi-cuda'
if parres_args is None:
params = ["1","1000000000"]
else:
params=parres_args.split()
self.app_params = " ".join(params)
self.exe_path = os.path.join(benchmark_dir, binary_name)
def get_rank_per_node(self):
return self._cores_per_node // self.get_cpu_per_rank()
def get_cpu_per_rank(self):
return self._cores_per_rank
def get_bash_exec_path(self):
return self.exe_path
def get_bash_exec_args(self):
return self.app_params
def get_bash_setup_commands(self):
setup_commands = textwrap.dedent('''
ulimit -s unlimited
export I_MPI_FABRICS=shm
''')
return setup_commands
def trial_setup(self, run_id, output_dir):
if not self._parres_exp_setup is None:
os.chmod(self._parres_exp_setup, 0o755)
subprocess.call(self._parres_exp_setup, shell=True)
def experiment_teardown(self, output_dir):
if not self._parres_teardown is None:
os.chmod(self._parres_teardown, 0o755)
subprocess.call(self._parres_teardown, shell=True)
def parse_fom(self, log_path):
result = None
key = 'Rate (MB/s): '
with open(log_path) as fid:
for line in fid.readlines():
if key in line:
result = line.split(': ')[1]
result = float(result.split(' ')[0])
break
return result
| 44.827586
| 353
| 0.562308
| 1,514
| 13,000
| 4.550859
| 0.117569
| 0.046734
| 0.06299
| 0.038607
| 0.874456
| 0.861974
| 0.835269
| 0.808708
| 0.808708
| 0.803338
| 0
| 0.009077
| 0.355923
| 13,000
| 289
| 354
| 44.982699
| 0.813806
| 0.087385
| 0
| 0.733945
| 0
| 0
| 0.167286
| 0.023814
| 0
| 0
| 0
| 0
| 0
| 1
| 0.105505
| false
| 0
| 0.027523
| 0.045872
| 0.215596
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
58606f75f67c10bee62ee144067e92fdfedddfed
| 156
|
py
|
Python
|
tests/python-reference/types/test_pow.py
|
brownplt/lambda-py
|
c3ee39502c8953d36b886e5a203f2eb51d2f495b
|
[
"Apache-2.0"
] | 25
|
2015-04-16T04:31:49.000Z
|
2022-03-10T15:53:28.000Z
|
tests/python-reference/types/test_pow.py
|
brownplt/lambda-py
|
c3ee39502c8953d36b886e5a203f2eb51d2f495b
|
[
"Apache-2.0"
] | 1
|
2018-11-21T22:40:02.000Z
|
2018-11-26T17:53:11.000Z
|
tests/python-reference/types/test_pow.py
|
brownplt/lambda-py
|
c3ee39502c8953d36b886e5a203f2eb51d2f495b
|
[
"Apache-2.0"
] | 1
|
2021-03-26T03:36:19.000Z
|
2021-03-26T03:36:19.000Z
|
___assertEqual(0**17, 0)
___assertEqual(17**0, 1)
___assertEqual(0**0, 1)
___assertEqual(17**1, 17)
___assertEqual(2**10, 1024)
___assertEqual(2**-2, 0.25)
| 22.285714
| 27
| 0.717949
| 25
| 156
| 3.76
| 0.32
| 0.255319
| 0.276596
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.194444
| 0.076923
| 156
| 6
| 28
| 26
| 0.458333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
58651093f9f2ad4737cddf419ff6828d11f1b871
| 26,194
|
py
|
Python
|
sdk/python/pulumi_azure/streamanalytics/_inputs.py
|
ScriptBox99/pulumi-azure
|
1b8c6d5479ccabc39094741eac25a8ca44c8833a
|
[
"ECL-2.0",
"Apache-2.0"
] | 109
|
2018-06-18T00:19:44.000Z
|
2022-02-20T05:32:57.000Z
|
sdk/python/pulumi_azure/streamanalytics/_inputs.py
|
ScriptBox99/pulumi-azure
|
1b8c6d5479ccabc39094741eac25a8ca44c8833a
|
[
"ECL-2.0",
"Apache-2.0"
] | 663
|
2018-06-18T21:08:46.000Z
|
2022-03-31T20:10:11.000Z
|
sdk/python/pulumi_azure/streamanalytics/_inputs.py
|
ScriptBox99/pulumi-azure
|
1b8c6d5479ccabc39094741eac25a8ca44c8833a
|
[
"ECL-2.0",
"Apache-2.0"
] | 41
|
2018-07-19T22:37:38.000Z
|
2022-03-14T10:56:26.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = [
'FunctionJavaScriptUDFInputArgs',
'FunctionJavaScriptUDFOutputArgs',
'JobIdentityArgs',
'OutputBlobSerializationArgs',
'OutputEventHubSerializationArgs',
'OutputServiceBusQueueSerializationArgs',
'OutputServicebusTopicSerializationArgs',
'ReferenceInputBlobSerializationArgs',
'StreamInputBlobSerializationArgs',
'StreamInputEventHubSerializationArgs',
'StreamInputIotHubSerializationArgs',
]
@pulumi.input_type
class FunctionJavaScriptUDFInputArgs:
def __init__(__self__, *,
type: pulumi.Input[str]):
"""
:param pulumi.Input[str] type: The Data Type for the Input Argument of this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
"""
pulumi.set(__self__, "type", type)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The Data Type for the Input Argument of this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@pulumi.input_type
class FunctionJavaScriptUDFOutputArgs:
def __init__(__self__, *,
type: pulumi.Input[str]):
"""
:param pulumi.Input[str] type: The Data Type output from this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
"""
pulumi.set(__self__, "type", type)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The Data Type output from this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@pulumi.input_type
class JobIdentityArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
principal_id: Optional[pulumi.Input[str]] = None,
tenant_id: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The type of identity used for the Stream Analytics Job. Possible values are `SystemAssigned`.
:param pulumi.Input[str] principal_id: The ID of the Principal (Client) in Azure Active Directory.
:param pulumi.Input[str] tenant_id: The ID of the Azure Active Directory Tenant.
"""
pulumi.set(__self__, "type", type)
if principal_id is not None:
pulumi.set(__self__, "principal_id", principal_id)
if tenant_id is not None:
pulumi.set(__self__, "tenant_id", tenant_id)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The type of identity used for the Stream Analytics Job. Possible values are `SystemAssigned`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter(name="principalId")
def principal_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the Principal (Client) in Azure Active Directory.
"""
return pulumi.get(self, "principal_id")
@principal_id.setter
def principal_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "principal_id", value)
@property
@pulumi.getter(name="tenantId")
def tenant_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the Azure Active Directory Tenant.
"""
return pulumi.get(self, "tenant_id")
@tenant_id.setter
def tenant_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "tenant_id", value)
@pulumi.input_type
class OutputBlobSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
:param pulumi.Input[str] format: Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
if format is not None:
pulumi.set(__self__, "format", format)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
@property
@pulumi.getter
def format(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
return pulumi.get(self, "format")
@format.setter
def format(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "format", value)
@pulumi.input_type
class OutputEventHubSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv` and `Json`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
:param pulumi.Input[str] format: Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
if format is not None:
pulumi.set(__self__, "format", format)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv` and `Json`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
@property
@pulumi.getter
def format(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
return pulumi.get(self, "format")
@format.setter
def format(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "format", value)
@pulumi.input_type
class OutputServiceBusQueueSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv` and `Json`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
:param pulumi.Input[str] format: Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
if format is not None:
pulumi.set(__self__, "format", format)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv` and `Json`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
@property
@pulumi.getter
def format(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
return pulumi.get(self, "format")
@format.setter
def format(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "format", value)
@pulumi.input_type
class OutputServicebusTopicSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv` and `Json`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
:param pulumi.Input[str] format: Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
if format is not None:
pulumi.set(__self__, "format", format)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv` and `Json`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
@property
@pulumi.getter
def format(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
"""
return pulumi.get(self, "format")
@format.setter
def format(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "format", value)
@pulumi.input_type
class ReferenceInputBlobSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for the reference data. Possible values are `Avro`, `Csv` and `Json`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for the reference data. Possible values are `Avro`, `Csv` and `Json`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
@pulumi.input_type
class StreamInputBlobSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
@pulumi.input_type
class StreamInputEventHubSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
@pulumi.input_type
class StreamInputIotHubSerializationArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
encoding: Optional[pulumi.Input[str]] = None,
field_delimiter: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
:param pulumi.Input[str] encoding: The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
:param pulumi.Input[str] field_delimiter: The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
pulumi.set(__self__, "type", type)
if encoding is not None:
pulumi.set(__self__, "encoding", encoding)
if field_delimiter is not None:
pulumi.set(__self__, "field_delimiter", field_delimiter)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter
def encoding(self) -> Optional[pulumi.Input[str]]:
"""
The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
"""
return pulumi.get(self, "encoding")
@encoding.setter
def encoding(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "encoding", value)
@property
@pulumi.getter(name="fieldDelimiter")
def field_delimiter(self) -> Optional[pulumi.Input[str]]:
"""
The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.
"""
return pulumi.get(self, "field_delimiter")
@field_delimiter.setter
def field_delimiter(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "field_delimiter", value)
| 42.31664
| 209
| 0.636443
| 3,205
| 26,194
| 5.096724
| 0.043058
| 0.096296
| 0.113131
| 0.088889
| 0.931497
| 0.919437
| 0.916192
| 0.911478
| 0.907683
| 0.907683
| 0
| 0.000857
| 0.242842
| 26,194
| 618
| 210
| 42.385113
| 0.82277
| 0.379782
| 0
| 0.872973
| 1
| 0
| 0.086094
| 0.022038
| 0
| 0
| 0
| 0
| 0
| 1
| 0.208108
| false
| 0
| 0.013514
| 0
| 0.340541
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
5868df4ec9bca0af321305b52f19b87f4c7107c8
| 600,753
|
py
|
Python
|
2algo/user4.py
|
allengrr/deadlock_project
|
933878077c45a7df04daa087407bb2620c064617
|
[
"MIT"
] | null | null | null |
2algo/user4.py
|
allengrr/deadlock_project
|
933878077c45a7df04daa087407bb2620c064617
|
[
"MIT"
] | null | null | null |
2algo/user4.py
|
allengrr/deadlock_project
|
933878077c45a7df04daa087407bb2620c064617
|
[
"MIT"
] | 1
|
2021-03-21T17:54:26.000Z
|
2021-03-21T17:54:26.000Z
|
record4 = [[({'t4.103.114.0': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.0': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.0': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.0': [0.559, 10.0], 't3.103.114.0': [0.733, 5.0], 't5.103.114.0': [0.413, 5.0]}), 'newmec-3'], [({'t5.103.114.1': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.1': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.1': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.1': [0.438, 5.0], 't2.103.114.1': [0.452, 5.0], 't3.103.114.1': [0.698, 5.0]}), 'newmec-3'], [({'t5.103.114.2': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.2': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.2': [0.413, 5.0], 't2.103.114.2': [0.416, 5.0]}), 'newmec-3'], [({'t4.101.114.3': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.3': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.3': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.3': [0.446, 10.0], 't2.101.114.3': [0.628, 5.0], 't5.101.114.3': [0.564, 5.0]}), 'newmec-1'], [({'t2.102.114.4': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.4': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.4': [0.491, 5.0], 't5.102.114.4': [0.716, 5.0]}), 'newmec-2'], [({'t1.101.114.5': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.5': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.5': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.5': [0.72, 6.667], 't2.101.114.5': [0.648, 5.0], 't3.101.114.5': [0.591, 5.0]}), 'newmec-1'], [({'t3.102.114.6': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.6': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.6': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.6': [0.708, 5.0], 't5.102.114.6': [0.491, 5.0], 't2.102.114.6': [0.557, 5.0]}), 'newmec-2'], [({'t5.101.114.7': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.7': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.7': [0.799, 5.0], 't1.101.114.7': [0.621, 6.667]}), 'newmec-1'], [({'t3.101.114.8': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.8': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.8': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.8': [0.587, 5.0], 't2.101.114.8': [0.538, 5.0], 't4.101.114.8': [0.404, 10.0]}), 'newmec-1'], [({'t2.103.114.9': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.9': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.9': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.9': [0.413, 5.0], 't1.103.114.9': [0.585, 6.667], 't5.103.114.9': [0.797, 5.0]}), 'newmec-3'], [({'t1.102.114.10': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.10': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.10': [0.774, 6.667], 't3.102.114.10': [0.732, 5.0]}), 'newmec-2'], [({'t2.103.114.11': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.11': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.11': [0.644, 5.0], 't4.103.114.11': [0.742, 10.0]}), 'newmec-3'], [({'t2.101.114.12': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.12': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.12': [0.697, 5.0], 't5.101.114.12': [0.467, 5.0]}), 'newmec-1'], [({'t4.101.114.13': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.13': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.13': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.13': [0.743, 10.0], 't1.101.114.13': [0.471, 6.667], 't2.101.114.13': [0.609, 5.0]}), 'newmec-1'], [({'t5.101.114.14': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.14': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.14': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.14': [0.501, 5.0], 't4.101.114.14': [0.727, 10.0], 't2.101.114.14': [0.433, 5.0]}), 'newmec-1'], [({'t2.101.114.15': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.15': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.15': [0.665, 5.0], 't5.101.114.15': [0.552, 5.0]}), 'newmec-1'], [({'t2.101.114.16': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.16': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.16': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.16': [0.693, 5.0], 't3.101.114.16': [0.769, 5.0], 't5.101.114.16': [0.449, 5.0]}), 'newmec-1'], [({'t4.102.114.17': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.17': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.17': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.17': [0.741, 10.0], 't5.102.114.17': [0.701, 5.0], 't3.102.114.17': [0.662, 5.0]}), 'newmec-2'], [({'t2.103.114.18': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.18': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.18': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.18': [0.508, 5.0], 't5.103.114.18': [0.787, 5.0], 't3.103.114.18': [0.757, 5.0]}), 'newmec-3'], [({'t4.103.114.19': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.19': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.19': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.19': [0.769, 10.0], 't5.103.114.19': [0.535, 5.0], 't1.103.114.19': [0.556, 6.667]}), 'newmec-3'], [({'t5.101.114.20': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.20': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.20': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.20': [0.504, 5.0], 't3.101.114.20': [0.455, 5.0], 't1.101.114.20': [0.743, 6.667]}), 'newmec-1'], [({'t3.103.114.21': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.21': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.21': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.21': [0.654, 5.0], 't1.103.114.21': [0.523, 6.667], 't2.103.114.21': [0.768, 5.0]}), 'newmec-3'], [({'t1.101.114.22': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.22': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.22': [0.545, 6.667], 't5.101.114.22': [0.419, 5.0]}), 'newmec-1'], [({'t5.103.114.23': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.23': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.23': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.23': [0.699, 5.0], 't3.103.114.23': [0.614, 5.0], 't2.103.114.23': [0.778, 5.0]}), 'newmec-3'], [({'t2.103.114.24': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.24': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.24': [0.787, 5.0], 't1.103.114.24': [0.724, 6.667]}), 'newmec-3'], [({'t1.102.114.25': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.25': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.25': [0.784, 6.667], 't4.102.114.25': [0.467, 10.0]}), 'newmec-2'], [({'t1.101.114.26': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.26': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.26': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.26': [0.536, 6.667], 't2.101.114.26': [0.465, 5.0], 't5.101.114.26': [0.742, 5.0]}), 'newmec-1'], [({'t2.101.114.27': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.27': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.27': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.27': [0.55, 5.0], 't4.101.114.27': [0.486, 10.0], 't1.101.114.27': [0.798, 6.667]}), 'newmec-1'], [({'t2.103.114.28': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.28': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.28': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.28': [0.452, 5.0], 't4.103.114.28': [0.56, 10.0], 't1.103.114.28': [0.724, 6.667]}), 'newmec-3'], [({'t4.103.114.29': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.29': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.29': [0.669, 10.0], 't3.103.114.29': [0.708, 5.0]}), 'newmec-3'], [({'t3.103.114.30': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.30': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.30': [0.784, 5.0], 't5.103.114.30': [0.502, 5.0]}), 'newmec-3'], [({'t1.156.114.31': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.31': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.31': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.31': [0.537, 6.667], 't3.156.114.31': [0.545, 5.0], 't2.156.114.31': [0.61, 5.0]}), 'osboxes-0'], [({'t5.103.114.32': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.32': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.32': [0.644, 5.0], 't3.103.114.32': [0.73, 5.0]}), 'newmec-3'], [({'t1.156.114.33': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.33': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.33': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.33': [0.49, 6.667], 't3.156.114.33': [0.648, 5.0], 't2.156.114.33': [0.502, 5.0]}), 'osboxes-0'], [({'t1.103.114.34': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.34': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.34': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.34': [0.474, 6.667], 't4.103.114.34': [0.654, 10.0], 't2.103.114.34': [0.498, 5.0]}), 'newmec-3'], [({'t3.101.114.35': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.35': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.35': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.35': [0.416, 5.0], 't1.101.114.35': [0.674, 6.667], 't5.101.114.35': [0.583, 5.0]}), 'newmec-1'], [({'t3.103.114.36': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.36': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.36': [0.512, 5.0], 't2.103.114.36': [0.535, 5.0]}), 'newmec-3'], [({'t1.101.114.37': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.37': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.37': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.37': [0.789, 6.667], 't4.101.114.37': [0.477, 10.0], 't3.101.114.37': [0.742, 5.0]}), 'newmec-1'], [({'t2.156.114.38': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.38': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.38': [0.78, 5.0], 't5.156.114.38': [0.713, 5.0]}), 'osboxes-0'], [({'t3.103.114.39': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.39': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.39': [0.448, 5.0], 't5.103.114.39': [0.763, 5.0]}), 'newmec-3'], [({'t3.102.114.40': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.40': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.40': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.40': [0.584, 5.0], 't4.102.114.40': [0.415, 10.0], 't1.102.114.40': [0.458, 6.667]}), 'newmec-2'], [({'t2.101.114.41': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.41': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.41': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.41': [0.784, 5.0], 't1.101.114.41': [0.445, 6.667], 't3.101.114.41': [0.703, 5.0]}), 'newmec-1'], [({'t5.103.114.42': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.42': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.42': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.42': [0.555, 5.0], 't2.103.114.42': [0.488, 5.0], 't4.103.114.42': [0.539, 10.0]}), 'newmec-3'], [({'t4.102.114.43': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.43': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.43': [0.646, 10.0], 't2.102.114.43': [0.709, 5.0]}), 'newmec-2'], [({'t5.103.114.44': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.44': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.44': [0.435, 5.0], 't4.103.114.44': [0.542, 10.0]}), 'newmec-3'], [({'t4.102.114.45': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.45': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.45': [0.44, 10.0], 't1.102.114.45': [0.692, 6.667]}), 'newmec-2'], [({'t3.102.114.46': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.46': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.46': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.46': [0.692, 5.0], 't4.102.114.46': [0.596, 10.0], 't5.102.114.46': [0.624, 5.0]}), 'newmec-2'], [({'t2.101.114.47': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.47': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.47': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.47': [0.698, 5.0], 't1.101.114.47': [0.6, 6.667], 't5.101.114.47': [0.429, 5.0]}), 'newmec-1'], [({'t5.101.114.48': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.48': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.48': [0.505, 5.0], 't2.101.114.48': [0.482, 5.0]}), 'newmec-1'], [({'t2.103.114.49': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.49': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.49': [0.707, 5.0], 't1.103.114.49': [0.66, 6.667]}), 'newmec-3'], [({'t4.101.114.50': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.50': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.50': [0.683, 10.0], 't2.101.114.50': [0.479, 5.0]}), 'newmec-1'], [({'t3.103.114.51': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.51': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.51': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.51': [0.549, 5.0], 't4.103.114.51': [0.71, 10.0], 't1.103.114.51': [0.432, 6.667]}), 'newmec-3'], [({'t2.101.114.52': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.52': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.52': [0.786, 5.0], 't3.101.114.52': [0.773, 5.0]}), 'newmec-1'], [({'t1.103.114.53': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.53': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.53': [0.682, 6.667], 't4.103.114.53': [0.562, 10.0]}), 'newmec-3'], [({'t5.103.114.54': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.54': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.54': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.54': [0.675, 5.0], 't4.103.114.54': [0.528, 10.0], 't2.103.114.54': [0.426, 5.0]}), 'newmec-3'], [({'t5.103.114.55': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.55': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.55': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.55': [0.486, 5.0], 't2.103.114.55': [0.426, 5.0], 't3.103.114.55': [0.791, 5.0]}), 'newmec-3'], [({'t4.156.114.56': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.56': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.56': [0.601, 10.0], 't3.156.114.56': [0.429, 5.0]}), 'osboxes-0'], [({'t4.103.114.57': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.57': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.57': [0.473, 10.0], 't2.103.114.57': [0.489, 5.0]}), 'newmec-3'], [({'t5.101.114.58': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.58': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.58': [0.564, 5.0], 't2.101.114.58': [0.438, 5.0]}), 'newmec-1'], [({'t3.103.114.59': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.59': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.59': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.59': [0.449, 5.0], 't5.103.114.59': [0.609, 5.0], 't2.103.114.59': [0.473, 5.0]}), 'newmec-3'], [({'t5.102.114.60': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.60': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.60': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.60': [0.622, 5.0], 't3.102.114.60': [0.594, 5.0], 't2.102.114.60': [0.669, 5.0]}), 'newmec-2'], [({'t3.102.114.61': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.61': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.61': [0.685, 5.0], 't1.102.114.61': [0.465, 6.667]}), 'newmec-2'], [({'t1.101.114.62': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.62': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.62': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.62': [0.755, 6.667], 't4.101.114.62': [0.401, 10.0], 't2.101.114.62': [0.726, 5.0]}), 'newmec-1'], [({'t3.103.114.63': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.63': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.63': [0.594, 5.0], 't5.103.114.63': [0.582, 5.0]}), 'newmec-3'], [({'t2.101.114.64': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.64': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.64': [0.787, 5.0], 't5.101.114.64': [0.694, 5.0]}), 'newmec-1'], [({'t1.103.114.65': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.65': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.65': [0.567, 6.667], 't3.103.114.65': [0.582, 5.0]}), 'newmec-3'], [({'t2.156.114.66': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.66': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.66': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.66': [0.567, 5.0], 't3.156.114.66': [0.689, 5.0], 't4.156.114.66': [0.478, 10.0]}), 'osboxes-0'], [({'t2.103.114.67': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.67': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.67': [0.433, 5.0], 't1.103.114.67': [0.576, 6.667]}), 'newmec-3'], [({'t1.103.114.68': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.68': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.68': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.68': [0.443, 6.667], 't2.103.114.68': [0.586, 5.0], 't4.103.114.68': [0.739, 10.0]}), 'newmec-3'], [({'t4.101.114.69': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.69': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.69': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.69': [0.548, 10.0], 't3.101.114.69': [0.792, 5.0], 't5.101.114.69': [0.664, 5.0]}), 'newmec-1'], [({'t4.103.114.70': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.70': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.70': [0.537, 10.0], 't1.103.114.70': [0.764, 6.667]}), 'newmec-3'], [({'t2.103.114.71': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.71': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.71': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.71': [0.415, 5.0], 't3.103.114.71': [0.581, 5.0], 't4.103.114.71': [0.478, 10.0]}), 'newmec-3'], [({'t4.102.114.72': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.72': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.72': [0.452, 10.0], 't2.102.114.72': [0.594, 5.0]}), 'newmec-2'], [({'t3.101.114.73': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.73': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.73': [0.44, 5.0], 't5.101.114.73': [0.61, 5.0]}), 'newmec-1'], [({'t1.101.114.74': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.74': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.74': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.74': [0.7, 6.667], 't2.101.114.74': [0.641, 5.0], 't4.101.114.74': [0.75, 10.0]}), 'newmec-1'], [({'t3.103.114.75': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.75': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.75': [0.451, 5.0], 't5.103.114.75': [0.57, 5.0]}), 'newmec-3'], [({'t2.103.114.76': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.76': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.76': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.76': [0.56, 5.0], 't1.103.114.76': [0.692, 6.667], 't3.103.114.76': [0.76, 5.0]}), 'newmec-3'], [({'t5.103.114.77': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.77': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.77': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.77': [0.72, 5.0], 't4.103.114.77': [0.506, 10.0], 't1.103.114.77': [0.59, 6.667]}), 'newmec-3'], [({'t3.103.114.78': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.78': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.78': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.78': [0.625, 5.0], 't2.103.114.78': [0.511, 5.0], 't5.103.114.78': [0.672, 5.0]}), 'newmec-3'], [({'t3.101.114.79': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.79': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.79': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.79': [0.785, 5.0], 't1.101.114.79': [0.404, 6.667], 't5.101.114.79': [0.612, 5.0]}), 'newmec-1'], [({'t4.103.114.80': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.80': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.80': [0.752, 10.0], 't5.103.114.80': [0.689, 5.0]}), 'newmec-3'], [({'t3.103.114.81': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.81': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.81': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.81': [0.548, 5.0], 't1.103.114.81': [0.668, 6.667], 't2.103.114.81': [0.756, 5.0]}), 'newmec-3'], [({'t4.101.114.82': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.82': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.82': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.82': [0.413, 10.0], 't2.101.114.82': [0.452, 5.0], 't3.101.114.82': [0.461, 5.0]}), 'newmec-1'], [({'t1.156.114.83': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.83': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.83': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.83': [0.543, 6.667], 't4.156.114.83': [0.736, 10.0], 't2.156.114.83': [0.611, 5.0]}), 'osboxes-0'], [({'t5.101.114.84': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.84': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.84': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.84': [0.635, 5.0], 't1.101.114.84': [0.518, 6.667], 't4.101.114.84': [0.44, 10.0]}), 'newmec-1'], [({'t2.101.114.85': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.85': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.85': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.85': [0.444, 5.0], 't4.101.114.85': [0.684, 10.0], 't5.101.114.85': [0.498, 5.0]}), 'newmec-1'], [({'t5.102.114.86': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.86': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.86': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.86': [0.794, 5.0], 't4.102.114.86': [0.546, 10.0], 't2.102.114.86': [0.445, 5.0]}), 'newmec-2'], [({'t4.103.114.87': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.87': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.87': [0.481, 10.0], 't3.103.114.87': [0.46, 5.0]}), 'newmec-3'], [({'t2.101.114.88': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.88': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.88': [0.68, 5.0], 't4.101.114.88': [0.616, 10.0]}), 'newmec-1'], [({'t4.101.114.89': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.89': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.89': [0.781, 10.0], 't5.101.114.89': [0.782, 5.0]}), 'newmec-1'], [({'t3.103.114.90': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.90': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.90': [0.618, 5.0], 't2.103.114.90': [0.664, 5.0]}), 'newmec-3'], [({'t5.103.114.91': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.91': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.91': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.91': [0.758, 5.0], 't3.103.114.91': [0.747, 5.0], 't4.103.114.91': [0.409, 10.0]}), 'newmec-3'], [({'t5.101.114.92': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.92': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.92': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.92': [0.694, 5.0], 't3.101.114.92': [0.604, 5.0], 't1.101.114.92': [0.597, 6.667]}), 'newmec-1'], [({'t2.101.114.93': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.93': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.93': [0.439, 5.0], 't4.101.114.93': [0.424, 10.0]}), 'newmec-1'], [({'t3.101.114.94': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.94': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.94': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.94': [0.435, 5.0], 't2.101.114.94': [0.736, 5.0], 't4.101.114.94': [0.445, 10.0]}), 'newmec-1'], [({'t5.103.114.95': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.95': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.95': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.95': [0.512, 5.0], 't3.103.114.95': [0.78, 5.0], 't2.103.114.95': [0.715, 5.0]}), 'newmec-3'], [({'t2.156.114.96': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.96': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.96': [0.794, 5.0], 't1.156.114.96': [0.645, 6.667]}), 'osboxes-0'], [({'t4.102.114.97': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.97': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.97': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.97': [0.612, 10.0], 't2.102.114.97': [0.668, 5.0], 't5.102.114.97': [0.61, 5.0]}), 'newmec-2'], [({'t2.103.114.98': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.98': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.98': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.98': [0.784, 5.0], 't5.103.114.98': [0.655, 5.0], 't1.103.114.98': [0.465, 6.667]}), 'newmec-3'], [({'t1.101.114.99': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.99': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.99': [0.72, 6.667], 't4.101.114.99': [0.683, 10.0]}), 'newmec-1'], [({'t1.102.114.100': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.100': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.100': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.100': [0.632, 6.667], 't2.102.114.100': [0.732, 5.0], 't5.102.114.100': [0.797, 5.0]}), 'newmec-2'], [({'t5.103.114.101': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.101': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.101': [0.509, 5.0], 't4.103.114.101': [0.463, 10.0]}), 'newmec-3'], [({'t3.101.114.102': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.102': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.102': [0.632, 5.0], 't4.101.114.102': [0.627, 10.0]}), 'newmec-1'], [({'t1.156.114.103': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.103': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.103': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.103': [0.503, 6.667], 't3.156.114.103': [0.78, 5.0], 't5.156.114.103': [0.732, 5.0]}), 'osboxes-0'], [({'t2.103.114.104': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.104': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.104': [0.442, 5.0], 't1.103.114.104': [0.479, 6.667]}), 'newmec-3'], [({'t5.103.114.105': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.105': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.105': [0.746, 5.0], 't2.103.114.105': [0.762, 5.0]}), 'newmec-3'], [({'t3.101.114.106': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.106': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.106': [0.69, 5.0], 't4.101.114.106': [0.501, 10.0]}), 'newmec-1'], [({'t2.103.114.107': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.107': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.107': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.107': [0.601, 5.0], 't3.103.114.107': [0.629, 5.0], 't1.103.114.107': [0.531, 6.667]}), 'newmec-3'], [({'t5.103.114.108': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.108': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.108': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.108': [0.53, 5.0], 't1.103.114.108': [0.673, 6.667], 't4.103.114.108': [0.552, 10.0]}), 'newmec-3'], [({'t3.101.114.109': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.109': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.109': [0.61, 5.0], 't2.101.114.109': [0.77, 5.0]}), 'newmec-1'], [({'t4.101.114.110': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.110': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.110': [0.602, 10.0], 't5.101.114.110': [0.798, 5.0]}), 'newmec-1'], [({'t5.103.114.111': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.111': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.111': [0.596, 5.0], 't1.103.114.111': [0.42, 6.667]}), 'newmec-3'], [({'t5.103.114.112': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.112': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.112': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.112': [0.708, 5.0], 't3.103.114.112': [0.516, 5.0], 't2.103.114.112': [0.541, 5.0]}), 'newmec-3'], [({'t4.101.114.113': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.113': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.113': [0.654, 10.0], 't3.101.114.113': [0.609, 5.0]}), 'newmec-1'], [({'t5.103.114.114': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.114': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.114': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.114': [0.699, 5.0], 't4.103.114.114': [0.476, 10.0], 't1.103.114.114': [0.502, 6.667]}), 'newmec-3'], [({'t5.103.114.115': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.115': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.115': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.115': [0.571, 5.0], 't1.103.114.115': [0.727, 6.667], 't3.103.114.115': [0.524, 5.0]}), 'newmec-3'], [({'t2.102.114.116': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.116': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.116': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.116': [0.566, 5.0], 't5.102.114.116': [0.63, 5.0], 't4.102.114.116': [0.539, 10.0]}), 'newmec-2'], [({'t3.103.114.117': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.117': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.117': [0.718, 5.0], 't5.103.114.117': [0.571, 5.0]}), 'newmec-3'], [({'t2.102.114.118': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.118': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.118': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.118': [0.703, 5.0], 't3.102.114.118': [0.495, 5.0], 't1.102.114.118': [0.79, 6.667]}), 'newmec-2'], [({'t5.101.114.119': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.119': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.119': [0.615, 5.0], 't2.101.114.119': [0.78, 5.0]}), 'newmec-1'], [({'t5.102.114.120': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.120': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.120': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.120': [0.561, 5.0], 't4.102.114.120': [0.52, 10.0], 't1.102.114.120': [0.53, 6.667]}), 'newmec-2'], [({'t4.103.114.121': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.121': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.121': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.121': [0.595, 10.0], 't2.103.114.121': [0.568, 5.0], 't3.103.114.121': [0.412, 5.0]}), 'newmec-3'], [({'t3.102.114.122': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.122': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.122': [0.652, 5.0], 't1.102.114.122': [0.712, 6.667]}), 'newmec-2'], [({'t4.156.114.123': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.123': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.123': [0.474, 10.0], 't1.156.114.123': [0.734, 6.667]}), 'osboxes-0'], [({'t4.101.114.124': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.124': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.124': [0.666, 10.0], 't5.101.114.124': [0.472, 5.0]}), 'newmec-1'], [({'t1.101.114.125': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.125': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.125': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.125': [0.787, 6.667], 't4.101.114.125': [0.433, 10.0], 't3.101.114.125': [0.566, 5.0]}), 'newmec-1'], [({'t5.102.114.126': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.126': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.126': [0.526, 5.0], 't4.102.114.126': [0.8, 10.0]}), 'newmec-2'], [({'t3.156.114.127': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.127': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.127': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.156.114.127': [0.651, 5.0], 't5.156.114.127': [0.771, 5.0], 't2.156.114.127': [0.719, 5.0]}), 'osboxes-0'], [({'t4.102.114.128': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.128': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.128': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.128': [0.471, 10.0], 't1.102.114.128': [0.763, 6.667], 't5.102.114.128': [0.592, 5.0]}), 'newmec-2'], [({'t3.103.114.129': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.129': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.129': [0.657, 5.0], 't1.103.114.129': [0.643, 6.667]}), 'newmec-3'], [({'t2.101.114.130': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.130': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.130': [0.605, 5.0], 't1.101.114.130': [0.424, 6.667]}), 'newmec-1'], [({'t4.103.114.131': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.131': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.131': [0.511, 10.0], 't3.103.114.131': [0.675, 5.0]}), 'newmec-3'], [({'t2.101.114.132': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.132': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.132': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.132': [0.615, 5.0], 't4.101.114.132': [0.739, 10.0], 't5.101.114.132': [0.507, 5.0]}), 'newmec-1'], [({'t1.102.114.133': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.133': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.133': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.133': [0.53, 6.667], 't3.102.114.133': [0.788, 5.0], 't2.102.114.133': [0.611, 5.0]}), 'newmec-2'], [({'t3.103.114.134': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.134': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.134': [0.425, 5.0], 't5.103.114.134': [0.709, 5.0]}), 'newmec-3'], [({'t3.101.114.135': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.135': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.135': [0.685, 5.0], 't5.101.114.135': [0.403, 5.0]}), 'newmec-1'], [({'t4.101.114.136': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.136': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.136': [0.775, 10.0], 't5.101.114.136': [0.538, 5.0]}), 'newmec-1'], [({'t1.103.114.137': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.137': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.137': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.137': [0.707, 6.667], 't5.103.114.137': [0.729, 5.0], 't4.103.114.137': [0.475, 10.0]}), 'newmec-3'], [({'t4.103.114.138': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.138': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.138': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.138': [0.552, 10.0], 't5.103.114.138': [0.723, 5.0], 't2.103.114.138': [0.655, 5.0]}), 'newmec-3'], [({'t1.102.114.139': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.139': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.139': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.139': [0.733, 6.667], 't3.102.114.139': [0.566, 5.0], 't2.102.114.139': [0.597, 5.0]}), 'newmec-2'], [({'t4.103.114.140': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.140': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.140': [0.405, 10.0], 't3.103.114.140': [0.709, 5.0]}), 'newmec-3'], [({'t3.101.114.141': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.141': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.141': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.141': [0.616, 5.0], 't2.101.114.141': [0.781, 5.0], 't4.101.114.141': [0.417, 10.0]}), 'newmec-1'], [({'t5.156.114.142': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.142': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.142': [0.747, 5.0], 't3.156.114.142': [0.423, 5.0]}), 'osboxes-0'], [({'t4.102.114.143': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.143': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.143': [0.494, 10.0], 't3.102.114.143': [0.479, 5.0]}), 'newmec-2'], [({'t5.103.114.144': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.144': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.144': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.144': [0.666, 5.0], 't4.103.114.144': [0.542, 10.0], 't3.103.114.144': [0.743, 5.0]}), 'newmec-3'], [({'t2.101.114.145': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.145': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.145': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.145': [0.699, 5.0], 't4.101.114.145': [0.642, 10.0], 't5.101.114.145': [0.475, 5.0]}), 'newmec-1'], [({'t4.101.114.146': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.146': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.146': [0.464, 10.0], 't2.101.114.146': [0.731, 5.0]}), 'newmec-1'], [({'t5.103.114.147': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.147': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.147': [0.562, 5.0], 't2.103.114.147': [0.64, 5.0]}), 'newmec-3'], [({'t3.103.114.148': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.148': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.148': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.148': [0.573, 5.0], 't4.103.114.148': [0.702, 10.0], 't5.103.114.148': [0.563, 5.0]}), 'newmec-3'], [({'t5.103.114.149': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.149': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.149': [0.716, 5.0], 't4.103.114.149': [0.775, 10.0]}), 'newmec-3'], [({'t2.101.114.150': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.150': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.150': [0.74, 5.0], 't3.101.114.150': [0.798, 5.0]}), 'newmec-1'], [({'t4.101.114.151': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.151': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.151': [0.49, 10.0], 't2.101.114.151': [0.679, 5.0]}), 'newmec-1'], [({'t5.101.114.152': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.152': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.152': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.152': [0.687, 5.0], 't3.101.114.152': [0.772, 5.0], 't4.101.114.152': [0.719, 10.0]}), 'newmec-1'], [({'t4.103.114.153': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.153': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.153': [0.443, 10.0], 't2.103.114.153': [0.788, 5.0]}), 'newmec-3'], [({'t4.103.114.154': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.154': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.154': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.154': [0.764, 10.0], 't2.103.114.154': [0.585, 5.0], 't1.103.114.154': [0.788, 6.667]}), 'newmec-3'], [({'t3.101.114.155': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.155': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.155': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.155': [0.46, 5.0], 't5.101.114.155': [0.524, 5.0], 't4.101.114.155': [0.756, 10.0]}), 'newmec-1'], [({'t5.101.114.156': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.156': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.156': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.156': [0.724, 5.0], 't4.101.114.156': [0.457, 10.0], 't2.101.114.156': [0.619, 5.0]}), 'newmec-1'], [({'t3.103.114.157': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.157': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.157': [0.485, 5.0], 't5.103.114.157': [0.712, 5.0]}), 'newmec-3'], [({'t2.103.114.158': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.158': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.158': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.158': [0.797, 5.0], 't3.103.114.158': [0.497, 5.0], 't4.103.114.158': [0.462, 10.0]}), 'newmec-3'], [({'t4.156.114.159': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.159': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.159': [0.676, 10.0], 't1.156.114.159': [0.793, 6.667]}), 'osboxes-0'], [({'t3.103.114.160': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.160': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.160': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.160': [0.606, 5.0], 't4.103.114.160': [0.589, 10.0], 't5.103.114.160': [0.674, 5.0]}), 'newmec-3'], [({'t2.103.114.161': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.161': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.161': [0.624, 5.0], 't4.103.114.161': [0.745, 10.0]}), 'newmec-3'], [({'t3.101.114.162': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.162': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.162': [0.419, 5.0], 't2.101.114.162': [0.527, 5.0]}), 'newmec-1'], [({'t4.101.114.163': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.163': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.163': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.163': [0.419, 10.0], 't2.101.114.163': [0.692, 5.0], 't1.101.114.163': [0.564, 6.667]}), 'newmec-1'], [({'t4.156.114.164': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.164': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.164': [0.456, 10.0], 't1.156.114.164': [0.434, 6.667]}), 'osboxes-0'], [({'t5.101.114.165': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.165': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.165': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.165': [0.553, 5.0], 't3.101.114.165': [0.674, 5.0], 't1.101.114.165': [0.604, 6.667]}), 'newmec-1'], [({'t2.103.114.166': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.166': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.166': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.166': [0.447, 5.0], 't4.103.114.166': [0.48, 10.0], 't5.103.114.166': [0.556, 5.0]}), 'newmec-3'], [({'t2.101.114.167': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.167': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.167': [0.459, 5.0], 't4.101.114.167': [0.664, 10.0]}), 'newmec-1'], [({'t5.101.114.168': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.168': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.168': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.168': [0.586, 5.0], 't4.101.114.168': [0.565, 10.0], 't3.101.114.168': [0.691, 5.0]}), 'newmec-1'], [({'t3.101.114.169': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.169': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.169': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.169': [0.602, 5.0], 't2.101.114.169': [0.707, 5.0], 't4.101.114.169': [0.467, 10.0]}), 'newmec-1'], [({'t2.103.114.170': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.170': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.170': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.170': [0.557, 5.0], 't4.103.114.170': [0.697, 10.0], 't5.103.114.170': [0.698, 5.0]}), 'newmec-3'], [({'t4.101.114.171': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.171': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.171': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.171': [0.733, 10.0], 't1.101.114.171': [0.758, 6.667], 't2.101.114.171': [0.565, 5.0]}), 'newmec-1'], [({'t2.156.114.172': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.172': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.172': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.172': [0.492, 5.0], 't4.156.114.172': [0.767, 10.0], 't5.156.114.172': [0.619, 5.0]}), 'osboxes-0'], [({'t2.103.114.173': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.173': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.173': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.173': [0.529, 5.0], 't4.103.114.173': [0.557, 10.0], 't5.103.114.173': [0.651, 5.0]}), 'newmec-3'], [({'t5.101.114.174': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.174': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.174': [0.625, 5.0], 't2.101.114.174': [0.452, 5.0]}), 'newmec-1'], [({'t2.103.114.175': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.175': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.175': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.175': [0.547, 5.0], 't3.103.114.175': [0.448, 5.0], 't4.103.114.175': [0.76, 10.0]}), 'newmec-3'], [({'t1.101.114.176': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.176': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.176': [0.783, 6.667], 't2.101.114.176': [0.734, 5.0]}), 'newmec-1'], [({'t4.103.114.177': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.177': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.177': [0.441, 10.0], 't1.103.114.177': [0.614, 6.667]}), 'newmec-3'], [({'t4.156.114.178': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.178': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.178': [0.79, 10.0], 't5.156.114.178': [0.562, 5.0]}), 'osboxes-0'], [({'t1.103.114.179': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.179': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.179': [0.751, 6.667], 't2.103.114.179': [0.429, 5.0]}), 'newmec-3'], [({'t4.156.114.180': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.180': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.180': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.180': [0.563, 10.0], 't2.156.114.180': [0.776, 5.0], 't3.156.114.180': [0.541, 5.0]}), 'osboxes-0'], [({'t2.101.114.181': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.181': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.181': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.181': [0.413, 5.0], 't3.101.114.181': [0.506, 5.0], 't1.101.114.181': [0.792, 6.667]}), 'newmec-1'], [({'t2.101.114.182': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.182': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.182': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.182': [0.504, 5.0], 't5.101.114.182': [0.532, 5.0], 't4.101.114.182': [0.481, 10.0]}), 'newmec-1'], [({'t5.101.114.183': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.183': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.183': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.183': [0.684, 5.0], 't4.101.114.183': [0.776, 10.0], 't1.101.114.183': [0.518, 6.667]}), 'newmec-1'], [({'t2.102.114.184': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.184': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.184': [0.571, 5.0], 't1.102.114.184': [0.659, 6.667]}), 'newmec-2'], [({'t5.103.114.185': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.185': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.185': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.185': [0.416, 5.0], 't4.103.114.185': [0.799, 10.0], 't3.103.114.185': [0.626, 5.0]}), 'newmec-3'], [({'t2.103.114.186': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.186': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.186': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.186': [0.564, 5.0], 't4.103.114.186': [0.565, 10.0], 't5.103.114.186': [0.643, 5.0]}), 'newmec-3'], [({'t2.102.114.187': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.187': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.187': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.187': [0.701, 5.0], 't5.102.114.187': [0.73, 5.0], 't4.102.114.187': [0.668, 10.0]}), 'newmec-2'], [({'t2.103.114.188': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.188': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.188': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.188': [0.795, 5.0], 't1.103.114.188': [0.666, 6.667], 't3.103.114.188': [0.516, 5.0]}), 'newmec-3'], [({'t2.103.114.189': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.189': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.189': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.189': [0.41, 5.0], 't1.103.114.189': [0.779, 6.667], 't5.103.114.189': [0.767, 5.0]}), 'newmec-3'], [({'t1.101.114.190': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.190': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.190': [0.412, 6.667], 't5.101.114.190': [0.574, 5.0]}), 'newmec-1'], [({'t1.103.114.191': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.191': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.191': [0.453, 6.667], 't4.103.114.191': [0.639, 10.0]}), 'newmec-3'], [({'t5.101.114.192': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.192': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.192': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.192': [0.428, 5.0], 't1.101.114.192': [0.518, 6.667], 't2.101.114.192': [0.766, 5.0]}), 'newmec-1'], [({'t3.101.114.193': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.193': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.193': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.193': [0.609, 5.0], 't5.101.114.193': [0.48, 5.0], 't1.101.114.193': [0.6, 6.667]}), 'newmec-1'], [({'t5.103.114.194': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.194': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.194': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.194': [0.675, 5.0], 't2.103.114.194': [0.779, 5.0], 't1.103.114.194': [0.564, 6.667]}), 'newmec-3'], [({'t5.101.114.195': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.195': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.195': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.195': [0.6, 5.0], 't1.101.114.195': [0.65, 6.667], 't4.101.114.195': [0.551, 10.0]}), 'newmec-1'], [({'t2.101.114.196': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.196': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.196': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.196': [0.516, 5.0], 't1.101.114.196': [0.512, 6.667], 't4.101.114.196': [0.506, 10.0]}), 'newmec-1'], [({'t3.103.114.197': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.197': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.197': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.197': [0.609, 5.0], 't2.103.114.197': [0.412, 5.0], 't5.103.114.197': [0.574, 5.0]}), 'newmec-3'], [({'t5.103.114.198': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.198': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.198': [0.603, 5.0], 't2.103.114.198': [0.756, 5.0]}), 'newmec-3'], [({'t5.101.114.199': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.199': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.199': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.199': [0.648, 5.0], 't4.101.114.199': [0.47, 10.0], 't2.101.114.199': [0.507, 5.0]}), 'newmec-1'], [({'t2.102.114.200': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.200': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.200': [0.574, 5.0], 't1.102.114.200': [0.455, 6.667]}), 'newmec-2'], [({'t1.103.114.201': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.201': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.201': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.201': [0.62, 6.667], 't4.103.114.201': [0.437, 10.0], 't5.103.114.201': [0.742, 5.0]}), 'newmec-3'], [({'t4.101.114.202': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.202': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.202': [0.608, 10.0], 't3.101.114.202': [0.529, 5.0]}), 'newmec-1'], [({'t3.156.114.203': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.203': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.203': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.203': [0.611, 5.0], 't1.156.114.203': [0.542, 6.667], 't4.156.114.203': [0.713, 10.0]}), 'osboxes-0'], [({'t1.103.114.204': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.204': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.204': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.204': [0.41, 6.667], 't5.103.114.204': [0.731, 5.0], 't2.103.114.204': [0.656, 5.0]}), 'newmec-3'], [({'t2.101.114.205': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.205': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.205': [0.522, 5.0], 't1.101.114.205': [0.676, 6.667]}), 'newmec-1'], [({'t3.101.114.206': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.206': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.206': [0.709, 5.0], 't4.101.114.206': [0.675, 10.0]}), 'newmec-1'], [({'t2.103.114.207': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.207': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.207': [0.476, 5.0], 't5.103.114.207': [0.796, 5.0]}), 'newmec-3'], [({'t2.156.114.208': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.208': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.208': [0.658, 5.0], 't3.156.114.208': [0.462, 5.0]}), 'osboxes-0'], [({'t1.101.114.209': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.209': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.209': [0.766, 6.667], 't4.101.114.209': [0.686, 10.0]}), 'newmec-1'], [({'t2.103.114.210': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.210': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.210': [0.501, 5.0], 't5.103.114.210': [0.656, 5.0]}), 'newmec-3'], [({'t3.103.114.211': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.211': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.211': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.211': [0.749, 5.0], 't4.103.114.211': [0.742, 10.0], 't1.103.114.211': [0.713, 6.667]}), 'newmec-3'], [({'t5.102.114.212': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.212': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.212': [0.695, 5.0], 't2.102.114.212': [0.594, 5.0]}), 'newmec-2'], [({'t3.101.114.213': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.213': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.213': [0.711, 5.0], 't1.101.114.213': [0.59, 6.667]}), 'newmec-1'], [({'t1.103.114.214': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.214': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.214': [0.663, 6.667], 't2.103.114.214': [0.68, 5.0]}), 'newmec-3'], [({'t3.156.114.215': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.215': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.215': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.215': [0.618, 5.0], 't5.156.114.215': [0.581, 5.0], 't4.156.114.215': [0.742, 10.0]}), 'osboxes-0'], [({'t2.102.114.216': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.216': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.216': [0.646, 5.0], 't5.102.114.216': [0.489, 5.0]}), 'newmec-2'], [({'t2.102.114.217': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.217': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.217': [0.42, 5.0], 't3.102.114.217': [0.561, 5.0]}), 'newmec-2'], [({'t2.156.114.218': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.218': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.218': [0.666, 5.0], 't1.156.114.218': [0.467, 6.667]}), 'osboxes-0'], [({'t5.103.114.219': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.219': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.219': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.219': [0.53, 5.0], 't1.103.114.219': [0.747, 6.667], 't4.103.114.219': [0.648, 10.0]}), 'newmec-3'], [({'t5.103.114.220': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.220': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.220': [0.69, 5.0], 't3.103.114.220': [0.643, 5.0]}), 'newmec-3'], [({'t5.101.114.221': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.221': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.221': [0.436, 5.0], 't3.101.114.221': [0.667, 5.0]}), 'newmec-1'], [({'t4.101.114.222': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.222': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.222': [0.471, 10.0], 't2.101.114.222': [0.467, 5.0]}), 'newmec-1'], [({'t2.103.114.223': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.223': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.223': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.223': [0.774, 5.0], 't3.103.114.223': [0.432, 5.0], 't1.103.114.223': [0.701, 6.667]}), 'newmec-3'], [({'t4.103.114.224': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.224': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.224': [0.49, 10.0], 't2.103.114.224': [0.459, 5.0]}), 'newmec-3'], [({'t5.103.114.225': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.225': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.225': [0.475, 5.0], 't3.103.114.225': [0.685, 5.0]}), 'newmec-3'], [({'t2.103.114.226': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.226': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.226': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.226': [0.53, 5.0], 't3.103.114.226': [0.545, 5.0], 't5.103.114.226': [0.623, 5.0]}), 'newmec-3'], [({'t5.101.114.227': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.227': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.227': [0.78, 5.0], 't2.101.114.227': [0.596, 5.0]}), 'newmec-1'], [({'t4.101.114.228': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.228': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.228': [0.685, 10.0], 't2.101.114.228': [0.723, 5.0]}), 'newmec-1'], [({'t3.103.114.229': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.229': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.229': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.229': [0.458, 5.0], 't4.103.114.229': [0.615, 10.0], 't5.103.114.229': [0.421, 5.0]}), 'newmec-3'], [({'t3.101.114.230': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.230': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.230': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.230': [0.719, 5.0], 't2.101.114.230': [0.664, 5.0], 't4.101.114.230': [0.585, 10.0]}), 'newmec-1'], [({'t1.103.114.231': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.231': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.231': [0.752, 6.667], 't4.103.114.231': [0.752, 10.0]}), 'newmec-3'], [({'t5.156.114.232': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.232': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.156.114.232': [0.44, 5.0], 't1.156.114.232': [0.596, 6.667]}), 'osboxes-0'], [({'t4.103.114.233': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.233': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.233': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.233': [0.505, 10.0], 't3.103.114.233': [0.495, 5.0], 't2.103.114.233': [0.453, 5.0]}), 'newmec-3'], [({'t5.101.114.234': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.234': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.234': [0.774, 5.0], 't1.101.114.234': [0.766, 6.667]}), 'newmec-1'], [({'t5.103.114.235': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.235': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.235': [0.476, 5.0], 't2.103.114.235': [0.664, 5.0]}), 'newmec-3'], [({'t2.101.114.236': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.236': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.236': [0.456, 5.0], 't5.101.114.236': [0.559, 5.0]}), 'newmec-1'], [({'t4.103.114.237': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.237': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.237': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.237': [0.65, 10.0], 't2.103.114.237': [0.637, 5.0], 't3.103.114.237': [0.507, 5.0]}), 'newmec-3'], [({'t5.103.114.238': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.238': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.238': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.238': [0.673, 5.0], 't2.103.114.238': [0.742, 5.0], 't1.103.114.238': [0.642, 6.667]}), 'newmec-3'], [({'t3.103.114.239': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.239': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.239': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.239': [0.756, 5.0], 't2.103.114.239': [0.509, 5.0], 't1.103.114.239': [0.6, 6.667]}), 'newmec-3'], [({'t5.102.114.240': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.240': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.240': [0.561, 5.0], 't1.102.114.240': [0.601, 6.667]}), 'newmec-2'], [({'t2.103.114.241': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.241': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.241': [0.564, 5.0], 't5.103.114.241': [0.542, 5.0]}), 'newmec-3'], [({'t4.101.114.242': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.242': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.242': [0.733, 10.0], 't1.101.114.242': [0.587, 6.667]}), 'newmec-1'], [({'t5.156.114.243': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.243': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.243': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.243': [0.459, 5.0], 't4.156.114.243': [0.621, 10.0], 't2.156.114.243': [0.635, 5.0]}), 'osboxes-0'], [({'t1.101.114.244': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.244': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.244': [0.679, 6.667], 't2.101.114.244': [0.78, 5.0]}), 'newmec-1'], [({'t4.156.114.245': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.245': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.245': [0.786, 10.0], 't2.156.114.245': [0.755, 5.0]}), 'osboxes-0'], [({'t3.103.114.246': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.246': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.246': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.246': [0.735, 5.0], 't2.103.114.246': [0.662, 5.0], 't4.103.114.246': [0.569, 10.0]}), 'newmec-3'], [({'t5.102.114.247': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.247': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.247': [0.7, 5.0], 't4.102.114.247': [0.544, 10.0]}), 'newmec-2'], [({'t4.102.114.248': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.248': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.248': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.248': [0.473, 10.0], 't5.102.114.248': [0.609, 5.0], 't3.102.114.248': [0.539, 5.0]}), 'newmec-2'], [({'t2.103.114.249': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.249': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.249': [0.578, 5.0], 't3.103.114.249': [0.742, 5.0]}), 'newmec-3'], [({'t2.103.114.250': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.250': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.250': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.250': [0.473, 5.0], 't3.103.114.250': [0.436, 5.0], 't4.103.114.250': [0.524, 10.0]}), 'newmec-3'], [({'t1.103.114.251': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.251': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.251': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.251': [0.494, 6.667], 't2.103.114.251': [0.581, 5.0], 't5.103.114.251': [0.784, 5.0]}), 'newmec-3'], [({'t2.101.114.252': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.252': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.252': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.252': [0.746, 5.0], 't3.101.114.252': [0.457, 5.0], 't1.101.114.252': [0.62, 6.667]}), 'newmec-1'], [({'t2.103.114.253': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.253': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.253': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.253': [0.621, 5.0], 't5.103.114.253': [0.623, 5.0], 't3.103.114.253': [0.483, 5.0]}), 'newmec-3'], [({'t1.103.114.254': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.254': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.254': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.254': [0.623, 6.667], 't5.103.114.254': [0.664, 5.0], 't2.103.114.254': [0.463, 5.0]}), 'newmec-3'], [({'t2.103.114.255': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.255': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.255': [0.656, 5.0], 't5.103.114.255': [0.706, 5.0]}), 'newmec-3'], [({'t2.103.114.256': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.256': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.256': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.256': [0.684, 5.0], 't1.103.114.256': [0.421, 6.667], 't5.103.114.256': [0.767, 5.0]}), 'newmec-3'], [({'t4.103.114.257': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.257': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.257': [0.412, 10.0], 't2.103.114.257': [0.766, 5.0]}), 'newmec-3'], [({'t3.101.114.258': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.258': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.258': [0.764, 5.0], 't1.101.114.258': [0.68, 6.667]}), 'newmec-1'], [({'t4.156.114.259': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.259': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.259': [0.53, 10.0], 't1.156.114.259': [0.683, 6.667]}), 'osboxes-0'], [({'t2.156.114.260': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.260': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.260': [0.752, 5.0], 't3.156.114.260': [0.475, 5.0]}), 'osboxes-0'], [({'t4.156.114.261': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.261': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.261': [0.489, 10.0], 't2.156.114.261': [0.771, 5.0]}), 'osboxes-0'], [({'t3.103.114.262': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.262': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.262': [0.542, 5.0], 't2.103.114.262': [0.412, 5.0]}), 'newmec-3'], [({'t4.103.114.263': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.263': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.263': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.263': [0.512, 10.0], 't1.103.114.263': [0.683, 6.667], 't2.103.114.263': [0.631, 5.0]}), 'newmec-3'], [({'t3.101.114.264': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.264': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.264': [0.407, 5.0], 't5.101.114.264': [0.599, 5.0]}), 'newmec-1'], [({'t3.101.114.265': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.265': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.265': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.265': [0.652, 5.0], 't5.101.114.265': [0.408, 5.0], 't4.101.114.265': [0.434, 10.0]}), 'newmec-1'], [({'t4.156.114.266': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.266': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.266': [0.472, 10.0], 't1.156.114.266': [0.527, 6.667]}), 'osboxes-0'], [({'t5.156.114.267': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.267': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.267': [0.729, 5.0], 't4.156.114.267': [0.579, 10.0]}), 'osboxes-0'], [({'t5.101.114.268': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.268': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.268': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.268': [0.746, 5.0], 't4.101.114.268': [0.539, 10.0], 't3.101.114.268': [0.622, 5.0]}), 'newmec-1'], [({'t4.103.114.269': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.269': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.269': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.269': [0.781, 10.0], 't2.103.114.269': [0.763, 5.0], 't1.103.114.269': [0.577, 6.667]}), 'newmec-3'], [({'t2.103.114.270': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.270': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.270': [0.473, 5.0], 't3.103.114.270': [0.466, 5.0]}), 'newmec-3'], [({'t5.103.114.271': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.271': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.271': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.271': [0.635, 5.0], 't3.103.114.271': [0.485, 5.0], 't2.103.114.271': [0.694, 5.0]}), 'newmec-3'], [({'t3.101.114.272': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.272': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.272': [0.514, 5.0], 't4.101.114.272': [0.657, 10.0]}), 'newmec-1'], [({'t5.101.114.273': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.273': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.273': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.273': [0.602, 5.0], 't2.101.114.273': [0.485, 5.0], 't4.101.114.273': [0.668, 10.0]}), 'newmec-1'], [({'t3.103.114.274': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.274': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.274': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.274': [0.716, 5.0], 't4.103.114.274': [0.614, 10.0], 't2.103.114.274': [0.51, 5.0]}), 'newmec-3'], [({'t4.101.114.275': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.275': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.275': [0.676, 10.0], 't3.101.114.275': [0.46, 5.0]}), 'newmec-1'], [({'t4.101.114.276': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.276': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.276': [0.618, 10.0], 't5.101.114.276': [0.656, 5.0]}), 'newmec-1'], [({'t3.101.114.277': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.277': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.277': [0.432, 5.0], 't4.101.114.277': [0.695, 10.0]}), 'newmec-1'], [({'t3.156.114.278': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.278': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.278': [0.54, 5.0], 't4.156.114.278': [0.701, 10.0]}), 'osboxes-0'], [({'t2.101.114.279': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.279': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.279': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.279': [0.633, 5.0], 't4.101.114.279': [0.571, 10.0], 't3.101.114.279': [0.489, 5.0]}), 'newmec-1'], [({'t2.101.114.280': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.280': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.280': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.280': [0.524, 5.0], 't5.101.114.280': [0.495, 5.0], 't1.101.114.280': [0.742, 6.667]}), 'newmec-1'], [({'t4.101.114.281': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.281': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.281': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.281': [0.769, 10.0], 't2.101.114.281': [0.588, 5.0], 't5.101.114.281': [0.627, 5.0]}), 'newmec-1'], [({'t4.101.114.282': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.282': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.282': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.282': [0.53, 10.0], 't3.101.114.282': [0.466, 5.0], 't1.101.114.282': [0.657, 6.667]}), 'newmec-1'], [({'t3.101.114.283': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.283': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.283': [0.526, 5.0], 't1.101.114.283': [0.454, 6.667]}), 'newmec-1'], [({'t2.102.114.284': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.284': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.284': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.284': [0.556, 5.0], 't4.102.114.284': [0.639, 10.0], 't3.102.114.284': [0.627, 5.0]}), 'newmec-2'], [({'t5.102.114.285': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.285': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.285': [0.452, 5.0], 't2.102.114.285': [0.776, 5.0]}), 'newmec-2'], [({'t3.102.114.286': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.286': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.286': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.286': [0.662, 5.0], 't1.102.114.286': [0.545, 6.667], 't2.102.114.286': [0.436, 5.0]}), 'newmec-2'], [({'t4.101.114.287': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.287': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.287': [0.764, 10.0], 't3.101.114.287': [0.47, 5.0]}), 'newmec-1'], [({'t1.102.114.288': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.288': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.288': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.288': [0.439, 6.667], 't3.102.114.288': [0.644, 5.0], 't5.102.114.288': [0.689, 5.0]}), 'newmec-2'], [({'t3.101.114.289': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.289': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.289': [0.474, 5.0], 't2.101.114.289': [0.715, 5.0]}), 'newmec-1'], [({'t3.103.114.290': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.290': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.290': [0.612, 5.0], 't4.103.114.290': [0.5, 10.0]}), 'newmec-3'], [({'t1.103.114.291': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.291': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.291': [0.779, 6.667], 't2.103.114.291': [0.468, 5.0]}), 'newmec-3'], [({'t4.101.114.292': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.292': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.292': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.292': [0.637, 10.0], 't2.101.114.292': [0.676, 5.0], 't5.101.114.292': [0.594, 5.0]}), 'newmec-1'], [({'t2.101.114.293': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.293': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.293': [0.657, 5.0], 't4.101.114.293': [0.479, 10.0]}), 'newmec-1'], [({'t2.103.114.294': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.294': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.294': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.294': [0.537, 5.0], 't5.103.114.294': [0.429, 5.0], 't4.103.114.294': [0.69, 10.0]}), 'newmec-3'], [({'t4.103.114.295': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.295': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.295': [0.607, 10.0], 't2.103.114.295': [0.664, 5.0]}), 'newmec-3'], [({'t4.101.114.296': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.296': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.296': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.296': [0.469, 10.0], 't5.101.114.296': [0.62, 5.0], 't1.101.114.296': [0.524, 6.667]}), 'newmec-1'], [({'t3.101.114.297': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.297': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.297': [0.435, 5.0], 't1.101.114.297': [0.529, 6.667]}), 'newmec-1'], [({'t4.102.114.298': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.298': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.298': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.298': [0.643, 10.0], 't2.102.114.298': [0.662, 5.0], 't1.102.114.298': [0.432, 6.667]}), 'newmec-2'], [({'t5.103.114.299': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.299': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.299': [0.591, 5.0], 't4.103.114.299': [0.59, 10.0]}), 'newmec-3'], [({'t3.101.114.300': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.300': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.300': [0.426, 5.0], 't1.101.114.300': [0.623, 6.667]}), 'newmec-1'], [({'t5.101.114.301': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.301': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.301': [0.542, 5.0], 't4.101.114.301': [0.442, 10.0]}), 'newmec-1'], [({'t3.101.114.302': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.302': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.302': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.302': [0.744, 5.0], 't4.101.114.302': [0.497, 10.0], 't5.101.114.302': [0.668, 5.0]}), 'newmec-1'], [({'t1.103.114.303': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.303': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.303': [0.438, 6.667], 't2.103.114.303': [0.468, 5.0]}), 'newmec-3'], [({'t2.101.114.304': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.304': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.304': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.304': [0.491, 5.0], 't3.101.114.304': [0.513, 5.0], 't4.101.114.304': [0.693, 10.0]}), 'newmec-1'], [({'t4.101.114.305': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.305': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.305': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.305': [0.454, 10.0], 't3.101.114.305': [0.745, 5.0], 't2.101.114.305': [0.415, 5.0]}), 'newmec-1'], [({'t3.102.114.306': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.306': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.306': [0.503, 5.0], 't4.102.114.306': [0.556, 10.0]}), 'newmec-2'], [({'t4.103.114.307': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.307': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.307': [0.572, 10.0], 't2.103.114.307': [0.47, 5.0]}), 'newmec-3'], [({'t2.103.114.308': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.308': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.308': [0.752, 5.0], 't1.103.114.308': [0.499, 6.667]}), 'newmec-3'], [({'t3.101.114.309': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.309': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.309': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.309': [0.514, 5.0], 't5.101.114.309': [0.515, 5.0], 't4.101.114.309': [0.42, 10.0]}), 'newmec-1'], [({'t5.103.114.310': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.310': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.310': [0.444, 5.0], 't3.103.114.310': [0.794, 5.0]}), 'newmec-3'], [({'t3.103.114.311': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.311': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.311': [0.509, 5.0], 't1.103.114.311': [0.422, 6.667]}), 'newmec-3'], [({'t1.102.114.312': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.312': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.312': [0.717, 6.667], 't3.102.114.312': [0.741, 5.0]}), 'newmec-2'], [({'t3.101.114.313': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.313': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.313': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.313': [0.517, 5.0], 't1.101.114.313': [0.552, 6.667], 't2.101.114.313': [0.654, 5.0]}), 'newmec-1'], [({'t3.156.114.314': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.314': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.156.114.314': [0.633, 5.0], 't2.156.114.314': [0.786, 5.0]}), 'osboxes-0'], [({'t1.102.114.315': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.315': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.315': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.315': [0.552, 6.667], 't5.102.114.315': [0.716, 5.0], 't2.102.114.315': [0.507, 5.0]}), 'newmec-2'], [({'t3.101.114.316': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.316': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.316': [0.486, 5.0], 't5.101.114.316': [0.669, 5.0]}), 'newmec-1'], [({'t3.103.114.317': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.317': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.317': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.317': [0.634, 5.0], 't4.103.114.317': [0.474, 10.0], 't2.103.114.317': [0.773, 5.0]}), 'newmec-3'], [({'t2.101.114.318': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.318': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.318': [0.419, 5.0], 't5.101.114.318': [0.701, 5.0]}), 'newmec-1'], [({'t3.103.114.319': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.319': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.319': [0.626, 5.0], 't2.103.114.319': [0.737, 5.0]}), 'newmec-3'], [({'t5.103.114.320': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.320': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.320': [0.787, 5.0], 't1.103.114.320': [0.449, 6.667]}), 'newmec-3'], [({'t4.101.114.321': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.321': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.321': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.321': [0.442, 10.0], 't2.101.114.321': [0.556, 5.0], 't3.101.114.321': [0.653, 5.0]}), 'newmec-1'], [({'t5.156.114.322': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.322': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.322': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.322': [0.576, 5.0], 't2.156.114.322': [0.479, 5.0], 't3.156.114.322': [0.411, 5.0]}), 'osboxes-0'], [({'t4.103.114.323': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.323': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.323': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.323': [0.58, 10.0], 't2.103.114.323': [0.611, 5.0], 't3.103.114.323': [0.673, 5.0]}), 'newmec-3'], [({'t5.103.114.324': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.324': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.324': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.324': [0.493, 5.0], 't4.103.114.324': [0.547, 10.0], 't2.103.114.324': [0.635, 5.0]}), 'newmec-3'], [({'t4.103.114.325': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.325': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.325': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.325': [0.615, 10.0], 't1.103.114.325': [0.568, 6.667], 't2.103.114.325': [0.56, 5.0]}), 'newmec-3'], [({'t4.103.114.326': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.326': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.326': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.326': [0.637, 10.0], 't2.103.114.326': [0.457, 5.0], 't1.103.114.326': [0.781, 6.667]}), 'newmec-3'], [({'t1.101.114.327': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.327': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.327': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.327': [0.617, 6.667], 't3.101.114.327': [0.503, 5.0], 't5.101.114.327': [0.496, 5.0]}), 'newmec-1'], [({'t3.156.114.328': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.328': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.328': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.328': [0.632, 5.0], 't4.156.114.328': [0.511, 10.0], 't5.156.114.328': [0.528, 5.0]}), 'osboxes-0'], [({'t2.103.114.329': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.329': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.329': [0.561, 5.0], 't1.103.114.329': [0.573, 6.667]}), 'newmec-3'], [({'t2.103.114.330': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.330': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.330': [0.601, 5.0], 't1.103.114.330': [0.461, 6.667]}), 'newmec-3'], [({'t4.101.114.331': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.331': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.331': [0.663, 10.0], 't3.101.114.331': [0.591, 5.0]}), 'newmec-1'], [({'t5.102.114.332': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.332': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.332': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.332': [0.789, 5.0], 't3.102.114.332': [0.696, 5.0], 't2.102.114.332': [0.488, 5.0]}), 'newmec-2'], [({'t1.101.114.333': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.333': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.333': [0.753, 6.667], 't4.101.114.333': [0.771, 10.0]}), 'newmec-1'], [({'t5.103.114.334': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.334': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.334': [0.717, 5.0], 't2.103.114.334': [0.494, 5.0]}), 'newmec-3'], [({'t4.101.114.335': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.335': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.335': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.335': [0.455, 10.0], 't2.101.114.335': [0.752, 5.0], 't5.101.114.335': [0.566, 5.0]}), 'newmec-1'], [({'t2.101.114.336': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.336': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.336': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.336': [0.684, 5.0], 't5.101.114.336': [0.43, 5.0], 't3.101.114.336': [0.54, 5.0]}), 'newmec-1'], [({'t5.101.114.337': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.337': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.337': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.337': [0.599, 5.0], 't1.101.114.337': [0.713, 6.667], 't3.101.114.337': [0.502, 5.0]}), 'newmec-1'], [({'t3.101.114.338': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.338': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.338': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.338': [0.556, 5.0], 't5.101.114.338': [0.478, 5.0], 't2.101.114.338': [0.639, 5.0]}), 'newmec-1'], [({'t5.156.114.339': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.339': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.339': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.156.114.339': [0.515, 5.0], 't3.156.114.339': [0.769, 5.0], 't1.156.114.339': [0.535, 6.667]}), 'osboxes-0'], [({'t2.101.114.340': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.340': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.340': [0.474, 5.0], 't5.101.114.340': [0.543, 5.0]}), 'newmec-1'], [({'t5.103.114.341': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.341': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.341': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.341': [0.539, 5.0], 't4.103.114.341': [0.761, 10.0], 't1.103.114.341': [0.63, 6.667]}), 'newmec-3'], [({'t3.156.114.342': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.342': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.342': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.342': [0.555, 5.0], 't2.156.114.342': [0.49, 5.0], 't4.156.114.342': [0.424, 10.0]}), 'osboxes-0'], [({'t3.103.114.343': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.343': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.343': [0.651, 5.0], 't4.103.114.343': [0.417, 10.0]}), 'newmec-3'], [({'t4.101.114.344': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.344': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.344': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.344': [0.713, 10.0], 't5.101.114.344': [0.636, 5.0], 't1.101.114.344': [0.672, 6.667]}), 'newmec-1'], [({'t5.103.114.345': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.345': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.345': [0.658, 5.0], 't1.103.114.345': [0.609, 6.667]}), 'newmec-3'], [({'t2.101.114.346': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.346': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.346': [0.548, 5.0], 't4.101.114.346': [0.715, 10.0]}), 'newmec-1'], [({'t4.101.114.347': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.347': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.347': [0.411, 10.0], 't1.101.114.347': [0.622, 6.667]}), 'newmec-1'], [({'t2.101.114.348': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.348': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.348': [0.74, 5.0], 't5.101.114.348': [0.456, 5.0]}), 'newmec-1'], [({'t5.103.114.349': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.349': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.349': [0.572, 5.0], 't2.103.114.349': [0.764, 5.0]}), 'newmec-3'], [({'t5.103.114.350': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.350': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.350': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.350': [0.788, 5.0], 't4.103.114.350': [0.543, 10.0], 't3.103.114.350': [0.643, 5.0]}), 'newmec-3'], [({'t3.101.114.351': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.351': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.351': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.351': [0.499, 5.0], 't2.101.114.351': [0.604, 5.0], 't4.101.114.351': [0.589, 10.0]}), 'newmec-1'], [({'t2.156.114.352': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.352': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.352': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.352': [0.545, 5.0], 't3.156.114.352': [0.402, 5.0], 't5.156.114.352': [0.711, 5.0]}), 'osboxes-0'], [({'t3.103.114.353': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.353': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.353': [0.757, 5.0], 't5.103.114.353': [0.58, 5.0]}), 'newmec-3'], [({'t3.101.114.354': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.354': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.354': [0.455, 5.0], 't2.101.114.354': [0.607, 5.0]}), 'newmec-1'], [({'t3.102.114.355': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.355': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.355': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.355': [0.537, 5.0], 't5.102.114.355': [0.794, 5.0], 't2.102.114.355': [0.459, 5.0]}), 'newmec-2'], [({'t5.101.114.356': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.356': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.356': [0.776, 5.0], 't3.101.114.356': [0.521, 5.0]}), 'newmec-1'], [({'t4.102.114.357': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.357': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.357': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.357': [0.605, 10.0], 't3.102.114.357': [0.701, 5.0], 't2.102.114.357': [0.415, 5.0]}), 'newmec-2'], [({'t4.102.114.358': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.358': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.358': [0.595, 10.0], 't2.102.114.358': [0.59, 5.0]}), 'newmec-2'], [({'t1.103.114.359': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.359': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.359': [0.694, 6.667], 't3.103.114.359': [0.41, 5.0]}), 'newmec-3'], [({'t2.103.114.360': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.360': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.360': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.360': [0.523, 5.0], 't3.103.114.360': [0.54, 5.0], 't5.103.114.360': [0.662, 5.0]}), 'newmec-3'], [({'t3.156.114.361': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.361': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.361': [0.56, 5.0], 't4.156.114.361': [0.43, 10.0]}), 'osboxes-0'], [({'t3.103.114.362': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.362': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.362': [0.489, 5.0], 't5.103.114.362': [0.471, 5.0]}), 'newmec-3'], [({'t2.103.114.363': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.363': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.363': [0.479, 5.0], 't5.103.114.363': [0.539, 5.0]}), 'newmec-3'], [({'t3.101.114.364': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.364': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.364': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.364': [0.69, 5.0], 't4.101.114.364': [0.473, 10.0], 't1.101.114.364': [0.428, 6.667]}), 'newmec-1'], [({'t2.101.114.365': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.365': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.365': [0.758, 5.0], 't4.101.114.365': [0.582, 10.0]}), 'newmec-1'], [({'t3.102.114.366': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.366': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.366': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.366': [0.468, 5.0], 't1.102.114.366': [0.41, 6.667], 't2.102.114.366': [0.54, 5.0]}), 'newmec-2'], [({'t5.102.114.367': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.367': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.367': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.367': [0.619, 5.0], 't1.102.114.367': [0.719, 6.667], 't4.102.114.367': [0.416, 10.0]}), 'newmec-2'], [({'t1.103.114.368': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.368': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.368': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.368': [0.653, 6.667], 't2.103.114.368': [0.789, 5.0], 't4.103.114.368': [0.763, 10.0]}), 'newmec-3'], [({'t5.103.114.369': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.369': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.369': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.369': [0.663, 5.0], 't4.103.114.369': [0.441, 10.0], 't1.103.114.369': [0.693, 6.667]}), 'newmec-3'], [({'t1.101.114.370': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.370': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.370': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.370': [0.559, 6.667], 't3.101.114.370': [0.598, 5.0], 't2.101.114.370': [0.569, 5.0]}), 'newmec-1'], [({'t1.101.114.371': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.371': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.371': [0.544, 6.667], 't4.101.114.371': [0.425, 10.0]}), 'newmec-1'], [({'t2.101.114.372': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.372': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.372': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.372': [0.641, 5.0], 't5.101.114.372': [0.614, 5.0], 't3.101.114.372': [0.612, 5.0]}), 'newmec-1'], [({'t5.103.114.373': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.373': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.373': [0.416, 5.0], 't2.103.114.373': [0.547, 5.0]}), 'newmec-3'], [({'t2.156.114.374': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.374': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.374': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.374': [0.687, 5.0], 't3.156.114.374': [0.794, 5.0], 't5.156.114.374': [0.437, 5.0]}), 'osboxes-0'], [({'t3.103.114.375': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.375': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.375': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.375': [0.62, 5.0], 't4.103.114.375': [0.774, 10.0], 't5.103.114.375': [0.488, 5.0]}), 'newmec-3'], [({'t5.101.114.376': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.376': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.376': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.376': [0.402, 5.0], 't1.101.114.376': [0.752, 6.667], 't2.101.114.376': [0.697, 5.0]}), 'newmec-1'], [({'t5.102.114.377': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.377': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.377': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.377': [0.663, 5.0], 't1.102.114.377': [0.711, 6.667], 't4.102.114.377': [0.523, 10.0]}), 'newmec-2'], [({'t5.103.114.378': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.378': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.378': [0.798, 5.0], 't2.103.114.378': [0.526, 5.0]}), 'newmec-3'], [({'t2.101.114.379': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.379': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.379': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.379': [0.536, 5.0], 't4.101.114.379': [0.45, 10.0], 't3.101.114.379': [0.403, 5.0]}), 'newmec-1'], [({'t1.156.114.380': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.156.114.380': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.380': [0.731, 6.667], 't2.156.114.380': [0.624, 5.0]}), 'osboxes-0'], [({'t5.101.114.381': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.381': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.381': [0.793, 5.0], 't2.101.114.381': [0.542, 5.0]}), 'newmec-1'], [({'t1.103.114.382': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.382': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.382': [0.754, 6.667], 't2.103.114.382': [0.677, 5.0]}), 'newmec-3'], [({'t4.101.114.383': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.383': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.383': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.383': [0.769, 10.0], 't2.101.114.383': [0.44, 5.0], 't5.101.114.383': [0.675, 5.0]}), 'newmec-1'], [({'t4.101.114.384': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.384': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.384': [0.404, 10.0], 't3.101.114.384': [0.722, 5.0]}), 'newmec-1'], [({'t3.103.114.385': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.385': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.385': [0.435, 5.0], 't2.103.114.385': [0.405, 5.0]}), 'newmec-3'], [({'t2.101.114.386': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.386': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.386': [0.433, 5.0], 't4.101.114.386': [0.614, 10.0]}), 'newmec-1'], [({'t3.101.114.387': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.387': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.387': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.387': [0.555, 5.0], 't1.101.114.387': [0.415, 6.667], 't2.101.114.387': [0.516, 5.0]}), 'newmec-1'], [({'t2.103.114.388': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.388': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.388': [0.643, 5.0], 't4.103.114.388': [0.6, 10.0]}), 'newmec-3'], [({'t5.101.114.389': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.389': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.389': [0.732, 5.0], 't3.101.114.389': [0.716, 5.0]}), 'newmec-1'], [({'t1.101.114.390': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.390': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.390': [0.796, 6.667], 't2.101.114.390': [0.718, 5.0]}), 'newmec-1'], [({'t2.103.114.391': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.391': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.391': [0.718, 5.0], 't4.103.114.391': [0.741, 10.0]}), 'newmec-3'], [({'t4.101.114.392': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.392': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.392': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.392': [0.686, 10.0], 't3.101.114.392': [0.582, 5.0], 't5.101.114.392': [0.649, 5.0]}), 'newmec-1'], [({'t4.101.114.393': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.393': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.393': [0.734, 10.0], 't3.101.114.393': [0.417, 5.0]}), 'newmec-1'], [({'t2.103.114.394': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.394': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.394': [0.721, 5.0], 't1.103.114.394': [0.629, 6.667]}), 'newmec-3'], [({'t2.101.114.395': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.395': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.395': [0.441, 5.0], 't1.101.114.395': [0.682, 6.667]}), 'newmec-1'], [({'t1.101.114.396': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.396': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.396': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.396': [0.415, 6.667], 't3.101.114.396': [0.513, 5.0], 't4.101.114.396': [0.468, 10.0]}), 'newmec-1'], [({'t5.103.114.397': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.397': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.397': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.397': [0.494, 5.0], 't4.103.114.397': [0.501, 10.0], 't3.103.114.397': [0.532, 5.0]}), 'newmec-3'], [({'t5.101.114.398': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.398': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.398': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.398': [0.664, 5.0], 't2.101.114.398': [0.742, 5.0], 't1.101.114.398': [0.417, 6.667]}), 'newmec-1'], [({'t1.103.114.399': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.399': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.399': [0.466, 6.667], 't3.103.114.399': [0.643, 5.0]}), 'newmec-3'], [({'t4.103.114.400': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.400': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.400': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.400': [0.598, 10.0], 't1.103.114.400': [0.574, 6.667], 't2.103.114.400': [0.715, 5.0]}), 'newmec-3'], [({'t4.101.114.401': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.401': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.401': [0.72, 10.0], 't1.101.114.401': [0.776, 6.667]}), 'newmec-1'], [({'t5.103.114.402': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.402': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.402': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.402': [0.625, 5.0], 't3.103.114.402': [0.531, 5.0], 't4.103.114.402': [0.578, 10.0]}), 'newmec-3'], [({'t3.101.114.403': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.403': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.403': [0.459, 5.0], 't4.101.114.403': [0.737, 10.0]}), 'newmec-1'], [({'t3.102.114.404': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.404': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.404': [0.795, 5.0], 't4.102.114.404': [0.524, 10.0]}), 'newmec-2'], [({'t2.156.114.405': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.405': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.405': [0.483, 5.0], 't4.156.114.405': [0.523, 10.0]}), 'osboxes-0'], [({'t1.103.114.406': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.406': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.406': [0.492, 6.667], 't2.103.114.406': [0.675, 5.0]}), 'newmec-3'], [({'t1.103.114.407': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.407': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.407': [0.759, 6.667], 't5.103.114.407': [0.528, 5.0]}), 'newmec-3'], [({'t2.156.114.408': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.408': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.408': [0.469, 5.0], 't3.156.114.408': [0.71, 5.0]}), 'osboxes-0'], [({'t3.101.114.409': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.409': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.409': [0.554, 5.0], 't2.101.114.409': [0.754, 5.0]}), 'newmec-1'], [({'t4.101.114.410': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.410': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.410': [0.651, 10.0], 't5.101.114.410': [0.423, 5.0]}), 'newmec-1'], [({'t1.102.114.411': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.411': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.411': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.411': [0.687, 6.667], 't5.102.114.411': [0.796, 5.0], 't2.102.114.411': [0.589, 5.0]}), 'newmec-2'], [({'t1.101.114.412': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.412': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.412': [0.668, 6.667], 't4.101.114.412': [0.62, 10.0]}), 'newmec-1'], [({'t4.101.114.413': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.413': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.413': [0.794, 10.0], 't2.101.114.413': [0.648, 5.0]}), 'newmec-1'], [({'t1.101.114.414': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.414': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.414': [0.65, 6.667], 't2.101.114.414': [0.643, 5.0]}), 'newmec-1'], [({'t5.102.114.415': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.415': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.415': [0.579, 5.0], 't3.102.114.415': [0.68, 5.0]}), 'newmec-2'], [({'t2.101.114.416': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.416': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.416': [0.795, 5.0], 't5.101.114.416': [0.403, 5.0]}), 'newmec-1'], [({'t5.103.114.417': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.417': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.417': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.417': [0.706, 5.0], 't2.103.114.417': [0.776, 5.0], 't1.103.114.417': [0.69, 6.667]}), 'newmec-3'], [({'t4.102.114.418': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.418': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.418': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.418': [0.588, 10.0], 't2.102.114.418': [0.556, 5.0], 't5.102.114.418': [0.744, 5.0]}), 'newmec-2'], [({'t2.103.114.419': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.419': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.419': [0.534, 5.0], 't3.103.114.419': [0.784, 5.0]}), 'newmec-3'], [({'t3.103.114.420': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.420': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.420': [0.749, 5.0], 't5.103.114.420': [0.467, 5.0]}), 'newmec-3'], [({'t4.103.114.421': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.421': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.421': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.421': [0.571, 10.0], 't2.103.114.421': [0.545, 5.0], 't5.103.114.421': [0.517, 5.0]}), 'newmec-3'], [({'t4.101.114.422': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.422': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.422': [0.511, 10.0], 't3.101.114.422': [0.59, 5.0]}), 'newmec-1'], [({'t5.103.114.423': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.423': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.423': [0.495, 5.0], 't2.103.114.423': [0.5, 5.0]}), 'newmec-3'], [({'t4.103.114.424': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.424': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.424': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.424': [0.773, 10.0], 't2.103.114.424': [0.715, 5.0], 't3.103.114.424': [0.757, 5.0]}), 'newmec-3'], [({'t3.102.114.425': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.425': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.425': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.425': [0.606, 5.0], 't2.102.114.425': [0.636, 5.0], 't1.102.114.425': [0.543, 6.667]}), 'newmec-2'], [({'t5.101.114.426': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.426': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.426': [0.503, 5.0], 't4.101.114.426': [0.478, 10.0]}), 'newmec-1'], [({'t5.101.114.427': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.427': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.427': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.427': [0.743, 5.0], 't2.101.114.427': [0.597, 5.0], 't1.101.114.427': [0.66, 6.667]}), 'newmec-1'], [({'t4.156.114.428': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.428': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.428': [0.775, 10.0], 't3.156.114.428': [0.428, 5.0]}), 'osboxes-0'], [({'t2.101.114.429': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.429': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.429': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.429': [0.668, 5.0], 't4.101.114.429': [0.449, 10.0], 't5.101.114.429': [0.789, 5.0]}), 'newmec-1'], [({'t2.101.114.430': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.430': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.430': [0.596, 5.0], 't3.101.114.430': [0.722, 5.0]}), 'newmec-1'], [({'t4.101.114.431': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.431': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.431': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.431': [0.592, 10.0], 't5.101.114.431': [0.795, 5.0], 't1.101.114.431': [0.719, 6.667]}), 'newmec-1'], [({'t2.103.114.432': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.432': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.432': [0.623, 5.0], 't5.103.114.432': [0.594, 5.0]}), 'newmec-3'], [({'t1.103.114.433': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.433': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.433': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.433': [0.697, 6.667], 't2.103.114.433': [0.512, 5.0], 't3.103.114.433': [0.502, 5.0]}), 'newmec-3'], [({'t5.103.114.434': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.434': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.434': [0.506, 5.0], 't2.103.114.434': [0.445, 5.0]}), 'newmec-3'], [({'t5.101.114.435': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.435': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.435': [0.53, 5.0], 't4.101.114.435': [0.475, 10.0]}), 'newmec-1'], [({'t3.103.114.436': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.436': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.436': [0.533, 5.0], 't5.103.114.436': [0.771, 5.0]}), 'newmec-3'], [({'t2.156.114.437': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.437': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.437': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.437': [0.617, 5.0], 't1.156.114.437': [0.455, 6.667], 't3.156.114.437': [0.73, 5.0]}), 'osboxes-0'], [({'t5.156.114.438': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.438': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.438': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.438': [0.692, 5.0], 't4.156.114.438': [0.494, 10.0], 't2.156.114.438': [0.563, 5.0]}), 'osboxes-0'], [({'t2.156.114.439': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.439': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.439': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.439': [0.47, 5.0], 't1.156.114.439': [0.671, 6.667], 't3.156.114.439': [0.663, 5.0]}), 'osboxes-0'], [({'t2.102.114.440': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.440': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.440': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.440': [0.671, 5.0], 't4.102.114.440': [0.76, 10.0], 't5.102.114.440': [0.737, 5.0]}), 'newmec-2'], [({'t4.102.114.441': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.441': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.441': [0.583, 10.0], 't2.102.114.441': [0.565, 5.0]}), 'newmec-2'], [({'t2.102.114.442': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.442': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.442': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.442': [0.435, 5.0], 't1.102.114.442': [0.71, 6.667], 't3.102.114.442': [0.708, 5.0]}), 'newmec-2'], [({'t2.103.114.443': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.443': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.443': [0.509, 5.0], 't4.103.114.443': [0.691, 10.0]}), 'newmec-3'], [({'t3.103.114.444': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.444': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.444': [0.497, 5.0], 't2.103.114.444': [0.782, 5.0]}), 'newmec-3'], [({'t3.101.114.445': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.445': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.445': [0.658, 5.0], 't5.101.114.445': [0.406, 5.0]}), 'newmec-1'], [({'t2.101.114.446': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.446': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.446': [0.581, 5.0], 't4.101.114.446': [0.772, 10.0]}), 'newmec-1'], [({'t1.156.114.447': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.447': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.447': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.447': [0.744, 6.667], 't4.156.114.447': [0.532, 10.0], 't2.156.114.447': [0.413, 5.0]}), 'osboxes-0'], [({'t5.101.114.448': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.448': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.448': [0.48, 5.0], 't3.101.114.448': [0.455, 5.0]}), 'newmec-1'], [({'t1.101.114.449': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.449': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.449': [0.619, 6.667], 't4.101.114.449': [0.656, 10.0]}), 'newmec-1'], [({'t4.101.114.450': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.450': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.450': [0.47, 10.0], 't3.101.114.450': [0.679, 5.0]}), 'newmec-1'], [({'t5.103.114.451': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.451': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.451': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.451': [0.776, 5.0], 't4.103.114.451': [0.43, 10.0], 't1.103.114.451': [0.79, 6.667]}), 'newmec-3'], [({'t5.103.114.452': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.452': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.452': [0.713, 5.0], 't2.103.114.452': [0.572, 5.0]}), 'newmec-3'], [({'t3.103.114.453': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.453': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.453': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.453': [0.499, 5.0], 't1.103.114.453': [0.615, 6.667], 't2.103.114.453': [0.757, 5.0]}), 'newmec-3'], [({'t2.102.114.454': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.454': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.454': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.454': [0.663, 5.0], 't3.102.114.454': [0.506, 5.0], 't1.102.114.454': [0.683, 6.667]}), 'newmec-2'], [({'t4.103.114.455': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.455': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.455': [0.582, 10.0], 't2.103.114.455': [0.577, 5.0]}), 'newmec-3'], [({'t4.103.114.456': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.456': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.456': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.456': [0.625, 10.0], 't2.103.114.456': [0.577, 5.0], 't5.103.114.456': [0.534, 5.0]}), 'newmec-3'], [({'t5.103.114.457': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.457': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.457': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.457': [0.626, 5.0], 't1.103.114.457': [0.7, 6.667], 't4.103.114.457': [0.424, 10.0]}), 'newmec-3'], [({'t5.103.114.458': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.458': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.458': [0.675, 5.0], 't4.103.114.458': [0.406, 10.0]}), 'newmec-3'], [({'t2.156.114.459': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.459': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.459': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.459': [0.424, 5.0], 't3.156.114.459': [0.723, 5.0], 't4.156.114.459': [0.482, 10.0]}), 'osboxes-0'], [({'t2.103.114.460': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.460': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.460': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.460': [0.74, 5.0], 't5.103.114.460': [0.496, 5.0], 't1.103.114.460': [0.763, 6.667]}), 'newmec-3'], [({'t3.156.114.461': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.461': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.461': [0.583, 5.0], 't4.156.114.461': [0.494, 10.0]}), 'osboxes-0'], [({'t5.102.114.462': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.462': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.462': [0.587, 5.0], 't2.102.114.462': [0.623, 5.0]}), 'newmec-2'], [({'t5.103.114.463': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.463': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.463': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.463': [0.556, 5.0], 't1.103.114.463': [0.584, 6.667], 't2.103.114.463': [0.549, 5.0]}), 'newmec-3'], [({'t4.102.114.464': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.464': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.464': [0.783, 10.0], 't3.102.114.464': [0.457, 5.0]}), 'newmec-2'], [({'t3.101.114.465': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.465': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.465': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.465': [0.757, 5.0], 't4.101.114.465': [0.641, 10.0], 't5.101.114.465': [0.558, 5.0]}), 'newmec-1'], [({'t4.156.114.466': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.466': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.466': [0.476, 10.0], 't5.156.114.466': [0.72, 5.0]}), 'osboxes-0'], [({'t4.101.114.467': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.467': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.467': [0.424, 10.0], 't3.101.114.467': [0.521, 5.0]}), 'newmec-1'], [({'t4.101.114.468': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.468': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.468': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.468': [0.783, 10.0], 't2.101.114.468': [0.722, 5.0], 't3.101.114.468': [0.493, 5.0]}), 'newmec-1'], [({'t1.103.114.469': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.469': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.469': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.469': [0.531, 6.667], 't4.103.114.469': [0.694, 10.0], 't5.103.114.469': [0.508, 5.0]}), 'newmec-3'], [({'t4.103.114.470': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.470': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.470': [0.513, 10.0], 't3.103.114.470': [0.681, 5.0]}), 'newmec-3'], [({'t5.103.114.471': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.471': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.471': [0.488, 5.0], 't1.103.114.471': [0.751, 6.667]}), 'newmec-3'], [({'t3.103.114.472': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.472': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.472': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.472': [0.517, 5.0], 't5.103.114.472': [0.545, 5.0], 't1.103.114.472': [0.482, 6.667]}), 'newmec-3'], [({'t5.101.114.473': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.473': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.473': [0.73, 5.0], 't2.101.114.473': [0.589, 5.0]}), 'newmec-1'], [({'t5.103.114.474': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.474': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.474': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.474': [0.74, 5.0], 't3.103.114.474': [0.651, 5.0], 't4.103.114.474': [0.646, 10.0]}), 'newmec-3'], [({'t3.103.114.475': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.475': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.475': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.475': [0.408, 5.0], 't5.103.114.475': [0.503, 5.0], 't2.103.114.475': [0.452, 5.0]}), 'newmec-3'], [({'t3.101.114.476': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.476': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.476': [0.472, 5.0], 't5.101.114.476': [0.517, 5.0]}), 'newmec-1'], [({'t5.103.114.477': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.477': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.477': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.477': [0.702, 5.0], 't4.103.114.477': [0.599, 10.0], 't3.103.114.477': [0.519, 5.0]}), 'newmec-3'], [({'t1.103.114.478': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.478': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.478': [0.62, 6.667], 't2.103.114.478': [0.503, 5.0]}), 'newmec-3'], [({'t1.156.114.479': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.479': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.479': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.156.114.479': [0.786, 6.667], 't3.156.114.479': [0.565, 5.0], 't4.156.114.479': [0.753, 10.0]}), 'osboxes-0'], [({'t5.103.114.480': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.480': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.480': [0.665, 5.0], 't3.103.114.480': [0.429, 5.0]}), 'newmec-3'], [({'t1.102.114.481': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.481': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.481': [0.503, 6.667], 't2.102.114.481': [0.653, 5.0]}), 'newmec-2'], [({'t1.103.114.482': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.482': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.482': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.482': [0.425, 6.667], 't4.103.114.482': [0.586, 10.0], 't2.103.114.482': [0.608, 5.0]}), 'newmec-3'], [({'t1.103.114.483': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.483': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.483': [0.485, 6.667], 't4.103.114.483': [0.604, 10.0]}), 'newmec-3'], [({'t3.101.114.484': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.484': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.484': [0.774, 5.0], 't2.101.114.484': [0.438, 5.0]}), 'newmec-1'], [({'t5.103.114.485': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.485': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.485': [0.427, 5.0], 't2.103.114.485': [0.702, 5.0]}), 'newmec-3'], [({'t2.103.114.486': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.486': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.486': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.486': [0.602, 5.0], 't4.103.114.486': [0.549, 10.0], 't5.103.114.486': [0.677, 5.0]}), 'newmec-3'], [({'t5.101.114.487': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.487': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.487': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.487': [0.684, 5.0], 't2.101.114.487': [0.713, 5.0], 't4.101.114.487': [0.691, 10.0]}), 'newmec-1'], [({'t2.103.114.488': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.488': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.488': [0.434, 5.0], 't1.103.114.488': [0.712, 6.667]}), 'newmec-3'], [({'t1.103.114.489': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.489': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.489': [0.676, 6.667], 't2.103.114.489': [0.697, 5.0]}), 'newmec-3'], [({'t2.156.114.490': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.490': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.490': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.490': [0.585, 5.0], 't4.156.114.490': [0.437, 10.0], 't5.156.114.490': [0.485, 5.0]}), 'osboxes-0'], [({'t5.101.114.491': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.491': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.491': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.491': [0.705, 5.0], 't4.101.114.491': [0.751, 10.0], 't2.101.114.491': [0.512, 5.0]}), 'newmec-1'], [({'t4.103.114.492': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.492': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.492': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.492': [0.509, 10.0], 't5.103.114.492': [0.552, 5.0], 't2.103.114.492': [0.745, 5.0]}), 'newmec-3'], [({'t4.101.114.493': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.493': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.493': [0.607, 10.0], 't1.101.114.493': [0.406, 6.667]}), 'newmec-1'], [({'t2.103.114.494': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.494': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.494': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.494': [0.515, 5.0], 't4.103.114.494': [0.69, 10.0], 't3.103.114.494': [0.552, 5.0]}), 'newmec-3'], [({'t2.103.114.495': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.495': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.495': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.495': [0.783, 5.0], 't3.103.114.495': [0.408, 5.0], 't4.103.114.495': [0.422, 10.0]}), 'newmec-3'], [({'t3.103.114.496': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.496': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.496': [0.469, 5.0], 't4.103.114.496': [0.764, 10.0]}), 'newmec-3'], [({'t4.102.114.497': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.497': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.497': [0.771, 10.0], 't5.102.114.497': [0.411, 5.0]}), 'newmec-2'], [({'t1.101.114.498': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.498': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.498': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.498': [0.504, 6.667], 't5.101.114.498': [0.644, 5.0], 't2.101.114.498': [0.496, 5.0]}), 'newmec-1'], [({'t3.101.114.499': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.499': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.499': [0.671, 5.0], 't2.101.114.499': [0.645, 5.0]}), 'newmec-1'], [({'t3.102.114.500': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.500': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.500': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.500': [0.66, 5.0], 't2.102.114.500': [0.582, 5.0], 't5.102.114.500': [0.549, 5.0]}), 'newmec-2'], [({'t4.102.114.501': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.501': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.501': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.501': [0.52, 10.0], 't5.102.114.501': [0.471, 5.0], 't2.102.114.501': [0.608, 5.0]}), 'newmec-2'], [({'t2.103.114.502': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.502': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.502': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.502': [0.789, 5.0], 't3.103.114.502': [0.678, 5.0], 't4.103.114.502': [0.631, 10.0]}), 'newmec-3'], [({'t5.156.114.503': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.503': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.503': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.156.114.503': [0.537, 5.0], 't4.156.114.503': [0.583, 10.0], 't1.156.114.503': [0.467, 6.667]}), 'osboxes-0'], [({'t2.102.114.504': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.504': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.504': [0.407, 5.0], 't5.102.114.504': [0.692, 5.0]}), 'newmec-2'], [({'t5.101.114.505': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.505': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.505': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.505': [0.436, 5.0], 't2.101.114.505': [0.549, 5.0], 't4.101.114.505': [0.698, 10.0]}), 'newmec-1'], [({'t2.101.114.506': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.506': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.506': [0.424, 5.0], 't5.101.114.506': [0.777, 5.0]}), 'newmec-1'], [({'t4.103.114.507': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.507': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.507': [0.63, 10.0], 't2.103.114.507': [0.758, 5.0]}), 'newmec-3'], [({'t4.101.114.508': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.508': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.508': [0.635, 10.0], 't3.101.114.508': [0.457, 5.0]}), 'newmec-1'], [({'t3.156.114.509': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.509': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.509': [0.602, 5.0], 't5.156.114.509': [0.688, 5.0]}), 'osboxes-0'], [({'t3.101.114.510': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.510': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.510': [0.468, 5.0], 't2.101.114.510': [0.718, 5.0]}), 'newmec-1'], [({'t2.102.114.511': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.511': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.511': [0.493, 5.0], 't1.102.114.511': [0.487, 6.667]}), 'newmec-2'], [({'t4.101.114.512': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.512': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.512': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.512': [0.521, 10.0], 't1.101.114.512': [0.427, 6.667], 't5.101.114.512': [0.598, 5.0]}), 'newmec-1'], [({'t2.103.114.513': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.513': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.513': [0.723, 5.0], 't4.103.114.513': [0.487, 10.0]}), 'newmec-3'], [({'t1.103.114.514': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.514': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.514': [0.448, 6.667], 't4.103.114.514': [0.517, 10.0]}), 'newmec-3'], [({'t4.103.114.515': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.515': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.515': [0.489, 10.0], 't2.103.114.515': [0.492, 5.0]}), 'newmec-3'], [({'t1.156.114.516': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.156.114.516': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.516': [0.718, 6.667], 't2.156.114.516': [0.414, 5.0]}), 'osboxes-0'], [({'t5.103.114.517': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.517': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.517': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.517': [0.568, 5.0], 't2.103.114.517': [0.733, 5.0], 't3.103.114.517': [0.55, 5.0]}), 'newmec-3'], [({'t2.103.114.518': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.518': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.518': [0.665, 5.0], 't1.103.114.518': [0.694, 6.667]}), 'newmec-3'], [({'t2.101.114.519': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.519': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.519': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.519': [0.551, 5.0], 't3.101.114.519': [0.442, 5.0], 't1.101.114.519': [0.417, 6.667]}), 'newmec-1'], [({'t5.101.114.520': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.520': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.520': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.520': [0.726, 5.0], 't1.101.114.520': [0.652, 6.667], 't3.101.114.520': [0.534, 5.0]}), 'newmec-1'], [({'t3.103.114.521': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.521': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.521': [0.656, 5.0], 't2.103.114.521': [0.4, 5.0]}), 'newmec-3'], [({'t3.101.114.522': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.522': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.522': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.522': [0.739, 5.0], 't5.101.114.522': [0.699, 5.0], 't2.101.114.522': [0.416, 5.0]}), 'newmec-1'], [({'t5.102.114.523': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.523': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.523': [0.738, 5.0], 't3.102.114.523': [0.403, 5.0]}), 'newmec-2'], [({'t1.103.114.524': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.524': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.524': [0.776, 6.667], 't5.103.114.524': [0.635, 5.0]}), 'newmec-3'], [({'t3.103.114.525': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.525': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.525': [0.566, 5.0], 't4.103.114.525': [0.409, 10.0]}), 'newmec-3'], [({'t3.103.114.526': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.526': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.526': [0.763, 5.0], 't2.103.114.526': [0.576, 5.0]}), 'newmec-3'], [({'t1.101.114.527': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.527': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.527': [0.546, 6.667], 't5.101.114.527': [0.477, 5.0]}), 'newmec-1'], [({'t4.103.114.528': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.528': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.528': [0.611, 10.0], 't2.103.114.528': [0.599, 5.0]}), 'newmec-3'], [({'t1.101.114.529': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.529': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.529': [0.437, 6.667], 't5.101.114.529': [0.403, 5.0]}), 'newmec-1'], [({'t3.103.114.530': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.530': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.530': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.530': [0.496, 5.0], 't5.103.114.530': [0.676, 5.0], 't4.103.114.530': [0.703, 10.0]}), 'newmec-3'], [({'t2.103.114.531': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.531': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.531': [0.436, 5.0], 't3.103.114.531': [0.511, 5.0]}), 'newmec-3'], [({'t4.156.114.532': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.532': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.532': [0.452, 10.0], 't1.156.114.532': [0.695, 6.667]}), 'osboxes-0'], [({'t2.103.114.533': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.533': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.533': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.533': [0.682, 5.0], 't3.103.114.533': [0.676, 5.0], 't4.103.114.533': [0.472, 10.0]}), 'newmec-3'], [({'t4.103.114.534': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.534': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.534': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.534': [0.411, 10.0], 't2.103.114.534': [0.451, 5.0], 't3.103.114.534': [0.562, 5.0]}), 'newmec-3'], [({'t3.103.114.535': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.535': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.535': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.535': [0.426, 5.0], 't2.103.114.535': [0.675, 5.0], 't4.103.114.535': [0.731, 10.0]}), 'newmec-3'], [({'t3.102.114.536': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.536': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.536': [0.537, 5.0], 't2.102.114.536': [0.715, 5.0]}), 'newmec-2'], [({'t3.101.114.537': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.537': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.537': [0.608, 5.0], 't5.101.114.537': [0.669, 5.0]}), 'newmec-1'], [({'t2.101.114.538': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.538': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.538': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.538': [0.62, 5.0], 't1.101.114.538': [0.645, 6.667], 't5.101.114.538': [0.517, 5.0]}), 'newmec-1'], [({'t4.101.114.539': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.539': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.539': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.539': [0.578, 10.0], 't5.101.114.539': [0.555, 5.0], 't2.101.114.539': [0.59, 5.0]}), 'newmec-1'], [({'t1.101.114.540': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.540': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.540': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.540': [0.568, 6.667], 't3.101.114.540': [0.713, 5.0], 't4.101.114.540': [0.416, 10.0]}), 'newmec-1'], [({'t5.101.114.541': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.541': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.541': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.541': [0.541, 5.0], 't4.101.114.541': [0.765, 10.0], 't3.101.114.541': [0.787, 5.0]}), 'newmec-1'], [({'t2.156.114.542': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.542': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.542': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.542': [0.723, 5.0], 't1.156.114.542': [0.501, 6.667], 't4.156.114.542': [0.774, 10.0]}), 'osboxes-0'], [({'t3.103.114.543': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.543': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.543': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.543': [0.587, 5.0], 't5.103.114.543': [0.765, 5.0], 't4.103.114.543': [0.689, 10.0]}), 'newmec-3'], [({'t4.101.114.544': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.544': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.544': [0.415, 10.0], 't5.101.114.544': [0.646, 5.0]}), 'newmec-1'], [({'t4.102.114.545': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.545': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.545': [0.416, 10.0], 't5.102.114.545': [0.793, 5.0]}), 'newmec-2'], [({'t2.103.114.546': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.546': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.546': [0.752, 5.0], 't4.103.114.546': [0.424, 10.0]}), 'newmec-3'], [({'t5.103.114.547': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.547': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.547': [0.763, 5.0], 't2.103.114.547': [0.723, 5.0]}), 'newmec-3'], [({'t4.102.114.548': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.548': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.548': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.548': [0.711, 10.0], 't3.102.114.548': [0.573, 5.0], 't1.102.114.548': [0.518, 6.667]}), 'newmec-2'], [({'t5.103.114.549': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.549': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.549': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.549': [0.698, 5.0], 't1.103.114.549': [0.505, 6.667], 't2.103.114.549': [0.606, 5.0]}), 'newmec-3'], [({'t3.156.114.550': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.550': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.156.114.550': [0.695, 5.0], 't1.156.114.550': [0.716, 6.667]}), 'osboxes-0'], [({'t1.102.114.551': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.551': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.551': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.551': [0.687, 6.667], 't5.102.114.551': [0.79, 5.0], 't4.102.114.551': [0.682, 10.0]}), 'newmec-2'], [({'t2.101.114.552': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.552': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.552': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.552': [0.406, 5.0], 't5.101.114.552': [0.763, 5.0], 't4.101.114.552': [0.728, 10.0]}), 'newmec-1'], [({'t2.101.114.553': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.553': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.553': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.553': [0.53, 5.0], 't3.101.114.553': [0.751, 5.0], 't1.101.114.553': [0.627, 6.667]}), 'newmec-1'], [({'t3.101.114.554': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.554': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.554': [0.521, 5.0], 't2.101.114.554': [0.603, 5.0]}), 'newmec-1'], [({'t3.156.114.555': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.555': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.555': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.555': [0.486, 5.0], 't2.156.114.555': [0.433, 5.0], 't5.156.114.555': [0.797, 5.0]}), 'osboxes-0'], [({'t1.101.114.556': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.556': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.556': [0.456, 6.667], 't5.101.114.556': [0.506, 5.0]}), 'newmec-1'], [({'t3.102.114.557': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.557': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.557': [0.56, 5.0], 't5.102.114.557': [0.671, 5.0]}), 'newmec-2'], [({'t2.103.114.558': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.558': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.558': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.558': [0.401, 5.0], 't4.103.114.558': [0.448, 10.0], 't3.103.114.558': [0.449, 5.0]}), 'newmec-3'], [({'t5.103.114.559': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.559': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.559': [0.67, 5.0], 't4.103.114.559': [0.558, 10.0]}), 'newmec-3'], [({'t5.103.114.560': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.560': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.560': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.560': [0.782, 5.0], 't4.103.114.560': [0.689, 10.0], 't2.103.114.560': [0.593, 5.0]}), 'newmec-3'], [({'t5.101.114.561': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.561': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.561': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.561': [0.56, 5.0], 't4.101.114.561': [0.41, 10.0], 't2.101.114.561': [0.483, 5.0]}), 'newmec-1'], [({'t2.103.114.562': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.562': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.562': [0.516, 5.0], 't5.103.114.562': [0.417, 5.0]}), 'newmec-3'], [({'t3.103.114.563': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.563': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.563': [0.754, 5.0], 't5.103.114.563': [0.594, 5.0]}), 'newmec-3'], [({'t4.103.114.564': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.564': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.564': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.564': [0.47, 10.0], 't5.103.114.564': [0.768, 5.0], 't2.103.114.564': [0.49, 5.0]}), 'newmec-3'], [({'t5.102.114.565': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.565': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.565': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.565': [0.597, 5.0], 't1.102.114.565': [0.472, 6.667], 't2.102.114.565': [0.413, 5.0]}), 'newmec-2'], [({'t1.101.114.566': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.566': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.566': [0.45, 6.667], 't5.101.114.566': [0.74, 5.0]}), 'newmec-1'], [({'t3.101.114.567': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.567': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.567': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.567': [0.59, 5.0], 't1.101.114.567': [0.559, 6.667], 't5.101.114.567': [0.719, 5.0]}), 'newmec-1'], [({'t2.102.114.568': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.568': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.568': [0.567, 5.0], 't5.102.114.568': [0.788, 5.0]}), 'newmec-2'], [({'t2.103.114.569': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.569': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.569': [0.764, 5.0], 't3.103.114.569': [0.718, 5.0]}), 'newmec-3'], [({'t5.101.114.570': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.570': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.570': [0.544, 5.0], 't4.101.114.570': [0.407, 10.0]}), 'newmec-1'], [({'t2.103.114.571': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.571': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.571': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.571': [0.453, 5.0], 't3.103.114.571': [0.604, 5.0], 't4.103.114.571': [0.64, 10.0]}), 'newmec-3'], [({'t1.101.114.572': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.572': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.572': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.572': [0.669, 6.667], 't3.101.114.572': [0.443, 5.0], 't4.101.114.572': [0.554, 10.0]}), 'newmec-1'], [({'t4.101.114.573': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.573': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.573': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.573': [0.525, 10.0], 't3.101.114.573': [0.462, 5.0], 't2.101.114.573': [0.468, 5.0]}), 'newmec-1'], [({'t3.101.114.574': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.574': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.574': [0.7, 5.0], 't4.101.114.574': [0.793, 10.0]}), 'newmec-1'], [({'t5.101.114.575': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.575': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.575': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.575': [0.672, 5.0], 't2.101.114.575': [0.568, 5.0], 't4.101.114.575': [0.732, 10.0]}), 'newmec-1'], [({'t1.101.114.576': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.576': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.576': [0.445, 6.667], 't4.101.114.576': [0.762, 10.0]}), 'newmec-1'], [({'t5.102.114.577': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.577': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.577': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.577': [0.502, 5.0], 't3.102.114.577': [0.754, 5.0], 't1.102.114.577': [0.599, 6.667]}), 'newmec-2'], [({'t2.102.114.578': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.578': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.578': [0.49, 5.0], 't4.102.114.578': [0.555, 10.0]}), 'newmec-2'], [({'t5.103.114.579': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.579': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.579': [0.528, 5.0], 't4.103.114.579': [0.677, 10.0]}), 'newmec-3'], [({'t5.101.114.580': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.580': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.580': [0.525, 5.0], 't3.101.114.580': [0.587, 5.0]}), 'newmec-1'], [({'t4.101.114.581': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.581': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.581': [0.404, 10.0], 't3.101.114.581': [0.783, 5.0]}), 'newmec-1'], [({'t1.101.114.582': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.582': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.582': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.582': [0.475, 6.667], 't3.101.114.582': [0.441, 5.0], 't4.101.114.582': [0.773, 10.0]}), 'newmec-1'], [({'t5.101.114.583': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.583': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.583': [0.63, 5.0], 't3.101.114.583': [0.701, 5.0]}), 'newmec-1'], [({'t4.156.114.584': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.584': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.584': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.584': [0.424, 10.0], 't2.156.114.584': [0.555, 5.0], 't5.156.114.584': [0.754, 5.0]}), 'osboxes-0'], [({'t5.101.114.585': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.585': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.585': [0.681, 5.0], 't4.101.114.585': [0.679, 10.0]}), 'newmec-1'], [({'t1.103.114.586': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.586': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.586': [0.738, 6.667], 't5.103.114.586': [0.406, 5.0]}), 'newmec-3'], [({'t2.101.114.587': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.587': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.587': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.587': [0.741, 5.0], 't4.101.114.587': [0.722, 10.0], 't3.101.114.587': [0.726, 5.0]}), 'newmec-1'], [({'t4.156.114.588': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.588': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.588': [0.6, 10.0], 't5.156.114.588': [0.444, 5.0]}), 'osboxes-0'], [({'t4.102.114.589': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.589': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.589': [0.733, 10.0], 't5.102.114.589': [0.597, 5.0]}), 'newmec-2'], [({'t4.101.114.590': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.590': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.590': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.590': [0.757, 10.0], 't3.101.114.590': [0.508, 5.0], 't5.101.114.590': [0.47, 5.0]}), 'newmec-1'], [({'t4.101.114.591': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.591': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.591': [0.717, 10.0], 't2.101.114.591': [0.446, 5.0]}), 'newmec-1'], [({'t5.101.114.592': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.592': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.592': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.592': [0.488, 5.0], 't2.101.114.592': [0.461, 5.0], 't3.101.114.592': [0.433, 5.0]}), 'newmec-1'], [({'t1.103.114.593': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.593': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.593': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.593': [0.742, 6.667], 't4.103.114.593': [0.681, 10.0], 't3.103.114.593': [0.499, 5.0]}), 'newmec-3'], [({'t3.101.114.594': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.594': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.594': [0.567, 5.0], 't5.101.114.594': [0.629, 5.0]}), 'newmec-1'], [({'t2.103.114.595': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.595': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.595': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.595': [0.594, 5.0], 't3.103.114.595': [0.748, 5.0], 't5.103.114.595': [0.452, 5.0]}), 'newmec-3'], [({'t2.103.114.596': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.596': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.596': [0.677, 5.0], 't5.103.114.596': [0.498, 5.0]}), 'newmec-3'], [({'t1.156.114.597': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.156.114.597': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.597': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.156.114.597': [0.765, 6.667], 't2.156.114.597': [0.604, 5.0], 't4.156.114.597': [0.618, 10.0]}), 'osboxes-0'], [({'t5.103.114.598': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.598': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.598': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.598': [0.683, 5.0], 't3.103.114.598': [0.74, 5.0], 't4.103.114.598': [0.578, 10.0]}), 'newmec-3'], [({'t1.102.114.599': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.599': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.599': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.599': [0.43, 6.667], 't5.102.114.599': [0.672, 5.0], 't3.102.114.599': [0.71, 5.0]}), 'newmec-2']]
host_names4 = {'192.168.122.102': 'newmec-2', '192.168.122.103': 'newmec-3', '192.168.122.156': 'osboxes-0', '192.168.122.101': 'newmec-1'}
record5 = [[({'t4.101.114.0': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.0': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.0': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.0': [0.784, 10.0], 't3.101.114.0': [0.666, 5.0], 't1.101.114.0': [0.754, 6.667]}), 'newmec-1'], [({'t1.101.114.1': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.1': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.1': [0.794, 6.667], 't5.101.114.1': [0.703, 5.0]}), 'newmec-1'], [({'t2.156.114.2': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.2': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.2': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.2': [0.612, 5.0], 't4.156.114.2': [0.676, 10.0], 't1.156.114.2': [0.773, 6.667]}), 'osboxes-0'], [({'t1.102.114.3': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.3': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.3': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.3': [0.76, 6.667], 't5.102.114.3': [0.593, 5.0], 't4.102.114.3': [0.668, 10.0]}), 'newmec-2'], [({'t2.102.114.4': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.4': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.4': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.4': [0.563, 5.0], 't4.102.114.4': [0.487, 10.0], 't3.102.114.4': [0.616, 5.0]}), 'newmec-2'], [({'t5.104.114.5': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.5': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.5': [0.756, 5.0], 't4.104.114.5': [0.772, 10.0]}), 'newmec-4'], [({'t1.101.114.6': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.6': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.6': [0.593, 6.667], 't2.101.114.6': [0.633, 5.0]}), 'newmec-1'], [({'t2.102.114.7': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.7': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.7': [0.778, 5.0], 't5.102.114.7': [0.5, 5.0]}), 'newmec-2'], [({'t5.103.114.8': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.8': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.8': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.8': [0.699, 5.0], 't3.103.114.8': [0.735, 5.0], 't2.103.114.8': [0.525, 5.0]}), 'newmec-3'], [({'t2.102.114.9': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.9': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.9': [0.606, 5.0], 't4.102.114.9': [0.755, 10.0]}), 'newmec-2'], [({'t1.104.114.10': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.10': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.10': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.10': [0.656, 6.667], 't5.104.114.10': [0.696, 5.0], 't4.104.114.10': [0.654, 10.0]}), 'newmec-4'], [({'t1.156.114.11': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.11': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.11': [0.695, 6.667], 't5.156.114.11': [0.607, 5.0]}), 'osboxes-0'], [({'t4.104.114.12': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.12': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.12': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.12': [0.655, 10.0], 't5.104.114.12': [0.658, 5.0], 't2.104.114.12': [0.693, 5.0]}), 'newmec-4'], [({'t5.156.114.13': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.13': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.13': [0.47, 5.0], 't3.156.114.13': [0.536, 5.0]}), 'osboxes-0'], [({'t3.101.114.14': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.14': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.14': [0.634, 5.0], 't2.101.114.14': [0.6, 5.0]}), 'newmec-1'], [({'t3.101.114.15': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.15': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.15': [0.506, 5.0], 't5.101.114.15': [0.7, 5.0]}), 'newmec-1'], [({'t3.101.114.16': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.16': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.16': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.16': [0.661, 5.0], 't4.101.114.16': [0.714, 10.0], 't2.101.114.16': [0.469, 5.0]}), 'newmec-1'], [({'t3.101.114.17': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.17': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.17': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.17': [0.423, 5.0], 't4.101.114.17': [0.662, 10.0], 't1.101.114.17': [0.464, 6.667]}), 'newmec-1'], [({'t4.102.114.18': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.18': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.18': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.18': [0.459, 10.0], 't5.102.114.18': [0.402, 5.0], 't1.102.114.18': [0.614, 6.667]}), 'newmec-2'], [({'t3.101.114.19': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.19': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.19': [0.603, 5.0], 't4.101.114.19': [0.612, 10.0]}), 'newmec-1'], [({'t5.156.114.20': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.20': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.20': [0.515, 5.0], 't4.156.114.20': [0.684, 10.0]}), 'osboxes-0'], [({'t5.102.114.21': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.21': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.21': [0.526, 5.0], 't4.102.114.21': [0.709, 10.0]}), 'newmec-2'], [({'t3.104.114.22': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.22': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.22': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.22': [0.485, 5.0], 't5.104.114.22': [0.545, 5.0], 't2.104.114.22': [0.519, 5.0]}), 'newmec-4'], [({'t5.104.114.23': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.23': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.23': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.23': [0.791, 5.0], 't2.104.114.23': [0.766, 5.0], 't3.104.114.23': [0.671, 5.0]}), 'newmec-4'], [({'t2.156.114.24': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.24': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.24': [0.514, 5.0], 't4.156.114.24': [0.411, 10.0]}), 'osboxes-0'], [({'t1.103.114.25': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.25': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.25': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.25': [0.545, 6.667], 't3.103.114.25': [0.624, 5.0], 't4.103.114.25': [0.648, 10.0]}), 'newmec-3'], [({'t2.103.114.26': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.26': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.26': [0.667, 5.0], 't5.103.114.26': [0.74, 5.0]}), 'newmec-3'], [({'t3.156.114.27': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.27': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.27': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.27': [0.626, 5.0], 't1.156.114.27': [0.53, 6.667], 't4.156.114.27': [0.67, 10.0]}), 'osboxes-0'], [({'t4.104.114.28': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.28': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.28': [0.781, 10.0], 't2.104.114.28': [0.439, 5.0]}), 'newmec-4'], [({'t5.101.114.29': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.29': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.29': [0.418, 5.0], 't2.101.114.29': [0.738, 5.0]}), 'newmec-1'], [({'t3.104.114.30': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.30': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.30': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.30': [0.558, 5.0], 't5.104.114.30': [0.477, 5.0], 't4.104.114.30': [0.494, 10.0]}), 'newmec-4'], [({'t4.104.114.31': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.31': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.31': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.31': [0.48, 10.0], 't2.104.114.31': [0.748, 5.0], 't1.104.114.31': [0.403, 6.667]}), 'newmec-4'], [({'t3.101.114.32': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.32': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.32': [0.617, 5.0], 't5.101.114.32': [0.419, 5.0]}), 'newmec-1'], [({'t2.101.114.33': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.33': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.33': [0.491, 5.0], 't5.101.114.33': [0.606, 5.0]}), 'newmec-1'], [({'t3.101.114.34': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.34': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.34': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.34': [0.518, 5.0], 't4.101.114.34': [0.595, 10.0], 't2.101.114.34': [0.4, 5.0]}), 'newmec-1'], [({'t2.104.114.35': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.35': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.35': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.35': [0.775, 5.0], 't3.104.114.35': [0.432, 5.0], 't4.104.114.35': [0.665, 10.0]}), 'newmec-4'], [({'t1.104.114.36': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.36': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.36': [0.471, 6.667], 't4.104.114.36': [0.532, 10.0]}), 'newmec-4'], [({'t2.103.114.37': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.37': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.37': [0.64, 5.0], 't5.103.114.37': [0.49, 5.0]}), 'newmec-3'], [({'t5.101.114.38': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.38': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.38': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.38': [0.464, 5.0], 't1.101.114.38': [0.57, 6.667], 't2.101.114.38': [0.764, 5.0]}), 'newmec-1'], [({'t4.102.114.39': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.39': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.39': [0.417, 10.0], 't1.102.114.39': [0.476, 6.667]}), 'newmec-2'], [({'t4.103.114.40': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.40': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.40': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.40': [0.633, 10.0], 't5.103.114.40': [0.515, 5.0], 't3.103.114.40': [0.546, 5.0]}), 'newmec-3'], [({'t1.103.114.41': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.41': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.41': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.41': [0.748, 6.667], 't3.103.114.41': [0.495, 5.0], 't4.103.114.41': [0.77, 10.0]}), 'newmec-3'], [({'t2.103.114.42': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.42': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.42': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.42': [0.427, 5.0], 't1.103.114.42': [0.638, 6.667], 't3.103.114.42': [0.629, 5.0]}), 'newmec-3'], [({'t4.101.114.43': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.43': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.43': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.43': [0.482, 10.0], 't5.101.114.43': [0.602, 5.0], 't2.101.114.43': [0.739, 5.0]}), 'newmec-1'], [({'t5.102.114.44': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.44': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.44': [0.681, 5.0], 't2.102.114.44': [0.665, 5.0]}), 'newmec-2'], [({'t4.101.114.45': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.45': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.45': [0.739, 10.0], 't5.101.114.45': [0.687, 5.0]}), 'newmec-1'], [({'t5.104.114.46': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.46': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.46': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.46': [0.654, 5.0], 't2.104.114.46': [0.69, 5.0], 't1.104.114.46': [0.647, 6.667]}), 'newmec-4'], [({'t4.104.114.47': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.47': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.47': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.47': [0.434, 10.0], 't2.104.114.47': [0.507, 5.0], 't1.104.114.47': [0.431, 6.667]}), 'newmec-4'], [({'t1.101.114.48': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.48': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.48': [0.55, 6.667], 't3.101.114.48': [0.647, 5.0]}), 'newmec-1'], [({'t2.156.114.49': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.49': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.49': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.49': [0.736, 5.0], 't1.156.114.49': [0.622, 6.667], 't3.156.114.49': [0.673, 5.0]}), 'osboxes-0'], [({'t2.104.114.50': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.50': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.50': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.50': [0.639, 5.0], 't5.104.114.50': [0.738, 5.0], 't4.104.114.50': [0.707, 10.0]}), 'newmec-4'], [({'t2.103.114.51': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.51': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.51': [0.673, 5.0], 't3.103.114.51': [0.533, 5.0]}), 'newmec-3'], [({'t2.104.114.52': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.52': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.52': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.52': [0.534, 5.0], 't1.104.114.52': [0.455, 6.667], 't3.104.114.52': [0.607, 5.0]}), 'newmec-4'], [({'t5.101.114.53': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.53': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.53': [0.737, 5.0], 't1.101.114.53': [0.423, 6.667]}), 'newmec-1'], [({'t4.102.114.54': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.54': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.54': [0.618, 10.0], 't5.102.114.54': [0.555, 5.0]}), 'newmec-2'], [({'t2.101.114.55': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.55': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.55': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.55': [0.478, 5.0], 't3.101.114.55': [0.641, 5.0], 't1.101.114.55': [0.482, 6.667]}), 'newmec-1'], [({'t3.102.114.56': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.56': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.56': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.56': [0.531, 5.0], 't5.102.114.56': [0.678, 5.0], 't4.102.114.56': [0.688, 10.0]}), 'newmec-2'], [({'t1.103.114.57': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.57': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.57': [0.45, 6.667], 't5.103.114.57': [0.578, 5.0]}), 'newmec-3'], [({'t3.101.114.58': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.58': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.58': [0.685, 5.0], 't4.101.114.58': [0.434, 10.0]}), 'newmec-1'], [({'t3.103.114.59': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.59': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.59': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.59': [0.759, 5.0], 't5.103.114.59': [0.564, 5.0], 't2.103.114.59': [0.64, 5.0]}), 'newmec-3'], [({'t1.102.114.60': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.60': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.60': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.60': [0.647, 6.667], 't2.102.114.60': [0.612, 5.0], 't4.102.114.60': [0.78, 10.0]}), 'newmec-2'], [({'t5.156.114.61': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.61': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.61': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.61': [0.784, 5.0], 't4.156.114.61': [0.593, 10.0], 't3.156.114.61': [0.416, 5.0]}), 'osboxes-0'], [({'t5.156.114.62': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.62': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.62': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.62': [0.503, 5.0], 't2.156.114.62': [0.666, 5.0], 't4.156.114.62': [0.573, 10.0]}), 'osboxes-0'], [({'t1.101.114.63': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.63': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.63': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.63': [0.727, 6.667], 't3.101.114.63': [0.693, 5.0], 't2.101.114.63': [0.601, 5.0]}), 'newmec-1'], [({'t5.102.114.64': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.64': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.64': [0.532, 5.0], 't3.102.114.64': [0.786, 5.0]}), 'newmec-2'], [({'t4.102.114.65': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.65': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.65': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.65': [0.511, 10.0], 't1.102.114.65': [0.699, 6.667], 't2.102.114.65': [0.483, 5.0]}), 'newmec-2'], [({'t4.102.114.66': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.66': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.66': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.66': [0.618, 10.0], 't2.102.114.66': [0.786, 5.0], 't3.102.114.66': [0.597, 5.0]}), 'newmec-2'], [({'t5.156.114.67': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.67': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.67': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.67': [0.747, 5.0], 't2.156.114.67': [0.417, 5.0], 't3.156.114.67': [0.643, 5.0]}), 'osboxes-0'], [({'t5.156.114.68': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.68': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.68': [0.49, 5.0], 't4.156.114.68': [0.432, 10.0]}), 'osboxes-0'], [({'t3.104.114.69': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.69': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.69': [0.67, 5.0], 't2.104.114.69': [0.444, 5.0]}), 'newmec-4'], [({'t1.104.114.70': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.70': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.70': [0.676, 6.667], 't4.104.114.70': [0.495, 10.0]}), 'newmec-4'], [({'t5.156.114.71': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.71': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.71': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.71': [0.465, 5.0], 't2.156.114.71': [0.759, 5.0], 't4.156.114.71': [0.622, 10.0]}), 'osboxes-0'], [({'t1.104.114.72': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.72': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.72': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.72': [0.692, 6.667], 't2.104.114.72': [0.603, 5.0], 't3.104.114.72': [0.604, 5.0]}), 'newmec-4'], [({'t4.102.114.73': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.73': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.73': [0.779, 10.0], 't2.102.114.73': [0.514, 5.0]}), 'newmec-2'], [({'t5.103.114.74': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.74': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.74': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.74': [0.799, 5.0], 't3.103.114.74': [0.691, 5.0], 't2.103.114.74': [0.667, 5.0]}), 'newmec-3'], [({'t3.102.114.75': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.75': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.75': [0.55, 5.0], 't2.102.114.75': [0.529, 5.0]}), 'newmec-2'], [({'t4.156.114.76': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.76': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.76': [0.75, 10.0], 't5.156.114.76': [0.675, 5.0]}), 'osboxes-0'], [({'t5.104.114.77': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.77': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.77': [0.785, 5.0], 't2.104.114.77': [0.486, 5.0]}), 'newmec-4'], [({'t4.156.114.78': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.78': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.78': [0.554, 10.0], 't5.156.114.78': [0.487, 5.0]}), 'osboxes-0'], [({'t1.104.114.79': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.79': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.79': [0.782, 6.667], 't2.104.114.79': [0.628, 5.0]}), 'newmec-4'], [({'t2.102.114.80': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.80': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.80': [0.495, 5.0], 't3.102.114.80': [0.482, 5.0]}), 'newmec-2'], [({'t3.104.114.81': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.81': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.81': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.81': [0.744, 5.0], 't1.104.114.81': [0.594, 6.667], 't4.104.114.81': [0.648, 10.0]}), 'newmec-4'], [({'t3.102.114.82': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.82': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.82': [0.79, 5.0], 't5.102.114.82': [0.765, 5.0]}), 'newmec-2'], [({'t1.102.114.83': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.83': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.83': [0.401, 6.667], 't5.102.114.83': [0.663, 5.0]}), 'newmec-2'], [({'t5.104.114.84': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.84': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.84': [0.505, 5.0], 't3.104.114.84': [0.788, 5.0]}), 'newmec-4'], [({'t5.156.114.85': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.85': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.85': [0.785, 5.0], 't4.156.114.85': [0.645, 10.0]}), 'osboxes-0'], [({'t2.101.114.86': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.86': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.86': [0.431, 5.0], 't5.101.114.86': [0.471, 5.0]}), 'newmec-1'], [({'t3.156.114.87': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.87': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.156.114.87': [0.727, 5.0], 't1.156.114.87': [0.722, 6.667]}), 'osboxes-0'], [({'t4.103.114.88': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.88': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.88': [0.581, 10.0], 't2.103.114.88': [0.731, 5.0]}), 'newmec-3'], [({'t3.104.114.89': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.89': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.89': [0.505, 5.0], 't4.104.114.89': [0.713, 10.0]}), 'newmec-4'], [({'t1.103.114.90': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.90': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.90': [0.49, 6.667], 't4.103.114.90': [0.463, 10.0]}), 'newmec-3'], [({'t2.102.114.91': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.91': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.91': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.91': [0.511, 5.0], 't4.102.114.91': [0.698, 10.0], 't5.102.114.91': [0.502, 5.0]}), 'newmec-2'], [({'t3.101.114.92': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.92': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.92': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.92': [0.709, 5.0], 't2.101.114.92': [0.547, 5.0], 't5.101.114.92': [0.745, 5.0]}), 'newmec-1'], [({'t5.101.114.93': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.93': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.93': [0.749, 5.0], 't4.101.114.93': [0.446, 10.0]}), 'newmec-1'], [({'t3.156.114.94': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.94': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.94': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.94': [0.528, 5.0], 't2.156.114.94': [0.405, 5.0], 't4.156.114.94': [0.531, 10.0]}), 'osboxes-0'], [({'t4.102.114.95': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.95': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.95': [0.429, 10.0], 't5.102.114.95': [0.622, 5.0]}), 'newmec-2'], [({'t3.103.114.96': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.96': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.96': [0.541, 5.0], 't5.103.114.96': [0.76, 5.0]}), 'newmec-3'], [({'t3.156.114.97': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.97': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.97': [0.529, 5.0], 't5.156.114.97': [0.501, 5.0]}), 'osboxes-0'], [({'t1.104.114.98': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.98': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.98': [0.447, 6.667], 't3.104.114.98': [0.418, 5.0]}), 'newmec-4'], [({'t3.156.114.99': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.99': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.99': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.99': [0.624, 5.0], 't2.156.114.99': [0.507, 5.0], 't5.156.114.99': [0.712, 5.0]}), 'osboxes-0'], [({'t3.156.114.100': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.100': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.100': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.100': [0.551, 5.0], 't5.156.114.100': [0.628, 5.0], 't4.156.114.100': [0.687, 10.0]}), 'osboxes-0'], [({'t2.156.114.101': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.101': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.101': [0.559, 5.0], 't5.156.114.101': [0.749, 5.0]}), 'osboxes-0'], [({'t4.104.114.102': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.102': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.102': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.102': [0.481, 10.0], 't3.104.114.102': [0.787, 5.0], 't5.104.114.102': [0.405, 5.0]}), 'newmec-4'], [({'t2.102.114.103': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.103': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.103': [0.756, 5.0], 't4.102.114.103': [0.746, 10.0]}), 'newmec-2'], [({'t1.103.114.104': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.104': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.104': [0.513, 6.667], 't3.103.114.104': [0.497, 5.0]}), 'newmec-3'], [({'t5.104.114.105': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.105': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.105': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.105': [0.676, 5.0], 't4.104.114.105': [0.44, 10.0], 't3.104.114.105': [0.411, 5.0]}), 'newmec-4'], [({'t5.156.114.106': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.106': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.106': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.106': [0.651, 5.0], 't3.156.114.106': [0.686, 5.0], 't4.156.114.106': [0.564, 10.0]}), 'osboxes-0'], [({'t2.101.114.107': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.107': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.107': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.107': [0.506, 5.0], 't1.101.114.107': [0.731, 6.667], 't3.101.114.107': [0.755, 5.0]}), 'newmec-1'], [({'t3.104.114.108': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.108': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.108': [0.543, 5.0], 't5.104.114.108': [0.491, 5.0]}), 'newmec-4'], [({'t3.104.114.109': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.109': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.109': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.109': [0.56, 5.0], 't5.104.114.109': [0.758, 5.0], 't2.104.114.109': [0.446, 5.0]}), 'newmec-4'], [({'t4.101.114.110': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.110': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.110': [0.478, 10.0], 't3.101.114.110': [0.536, 5.0]}), 'newmec-1'], [({'t2.101.114.111': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.111': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.111': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.111': [0.717, 5.0], 't1.101.114.111': [0.8, 6.667], 't4.101.114.111': [0.681, 10.0]}), 'newmec-1'], [({'t5.104.114.112': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.112': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.112': [0.439, 5.0], 't2.104.114.112': [0.68, 5.0]}), 'newmec-4'], [({'t1.101.114.113': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.113': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.113': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.113': [0.668, 6.667], 't4.101.114.113': [0.507, 10.0], 't5.101.114.113': [0.647, 5.0]}), 'newmec-1'], [({'t2.156.114.114': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.114': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.114': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.114': [0.405, 5.0], 't1.156.114.114': [0.712, 6.667], 't3.156.114.114': [0.538, 5.0]}), 'osboxes-0'], [({'t1.101.114.115': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.115': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.115': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.115': [0.707, 6.667], 't2.101.114.115': [0.516, 5.0], 't3.101.114.115': [0.667, 5.0]}), 'newmec-1'], [({'t2.101.114.116': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.116': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.116': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.116': [0.482, 5.0], 't5.101.114.116': [0.539, 5.0], 't1.101.114.116': [0.703, 6.667]}), 'newmec-1'], [({'t5.102.114.117': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.117': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.117': [0.721, 5.0], 't3.102.114.117': [0.501, 5.0]}), 'newmec-2'], [({'t5.102.114.118': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.118': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.118': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.118': [0.783, 5.0], 't1.102.114.118': [0.716, 6.667], 't4.102.114.118': [0.731, 10.0]}), 'newmec-2'], [({'t3.104.114.119': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.119': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.119': [0.595, 5.0], 't2.104.114.119': [0.783, 5.0]}), 'newmec-4'], [({'t3.104.114.120': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.120': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.120': [0.68, 5.0], 't5.104.114.120': [0.554, 5.0]}), 'newmec-4'], [({'t2.104.114.121': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.121': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.121': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.121': [0.784, 5.0], 't3.104.114.121': [0.596, 5.0], 't5.104.114.121': [0.495, 5.0]}), 'newmec-4'], [({'t5.101.114.122': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.122': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.122': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.122': [0.738, 5.0], 't4.101.114.122': [0.657, 10.0], 't1.101.114.122': [0.444, 6.667]}), 'newmec-1'], [({'t5.156.114.123': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.123': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.123': [0.674, 5.0], 't2.156.114.123': [0.706, 5.0]}), 'osboxes-0'], [({'t4.102.114.124': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.124': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.124': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.124': [0.741, 10.0], 't3.102.114.124': [0.437, 5.0], 't2.102.114.124': [0.717, 5.0]}), 'newmec-2'], [({'t5.101.114.125': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.125': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.125': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.125': [0.671, 5.0], 't1.101.114.125': [0.735, 6.667], 't2.101.114.125': [0.593, 5.0]}), 'newmec-1'], [({'t5.103.114.126': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.126': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.126': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.126': [0.501, 5.0], 't3.103.114.126': [0.458, 5.0], 't2.103.114.126': [0.638, 5.0]}), 'newmec-3'], [({'t4.101.114.127': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.127': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.127': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.127': [0.446, 10.0], 't1.101.114.127': [0.5, 6.667], 't2.101.114.127': [0.688, 5.0]}), 'newmec-1'], [({'t4.101.114.128': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.128': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.128': [0.768, 10.0], 't3.101.114.128': [0.702, 5.0]}), 'newmec-1'], [({'t2.101.114.129': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.129': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.129': [0.651, 5.0], 't4.101.114.129': [0.695, 10.0]}), 'newmec-1'], [({'t3.101.114.130': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.130': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.130': [0.544, 5.0], 't4.101.114.130': [0.617, 10.0]}), 'newmec-1'], [({'t3.102.114.131': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.131': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.131': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.131': [0.657, 5.0], 't2.102.114.131': [0.582, 5.0], 't5.102.114.131': [0.555, 5.0]}), 'newmec-2'], [({'t4.101.114.132': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.132': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.132': [0.412, 10.0], 't3.101.114.132': [0.405, 5.0]}), 'newmec-1'], [({'t4.103.114.133': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.133': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.133': [0.678, 10.0], 't3.103.114.133': [0.61, 5.0]}), 'newmec-3'], [({'t3.104.114.134': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.134': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.134': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.134': [0.623, 5.0], 't5.104.114.134': [0.504, 5.0], 't4.104.114.134': [0.626, 10.0]}), 'newmec-4'], [({'t2.104.114.135': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.135': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.135': [0.615, 5.0], 't5.104.114.135': [0.433, 5.0]}), 'newmec-4'], [({'t3.102.114.136': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.136': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.136': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.136': [0.508, 5.0], 't5.102.114.136': [0.703, 5.0], 't4.102.114.136': [0.547, 10.0]}), 'newmec-2'], [({'t4.102.114.137': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.137': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.137': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.137': [0.554, 10.0], 't3.102.114.137': [0.795, 5.0], 't2.102.114.137': [0.735, 5.0]}), 'newmec-2'], [({'t2.102.114.138': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.138': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.138': [0.661, 5.0], 't4.102.114.138': [0.47, 10.0]}), 'newmec-2'], [({'t2.156.114.139': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.139': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.139': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.139': [0.559, 5.0], 't4.156.114.139': [0.719, 10.0], 't5.156.114.139': [0.784, 5.0]}), 'osboxes-0'], [({'t4.103.114.140': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.140': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.140': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.140': [0.78, 10.0], 't2.103.114.140': [0.438, 5.0], 't3.103.114.140': [0.449, 5.0]}), 'newmec-3'], [({'t5.156.114.141': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.141': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.141': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.141': [0.548, 5.0], 't1.156.114.141': [0.729, 6.667], 't4.156.114.141': [0.598, 10.0]}), 'osboxes-0'], [({'t4.102.114.142': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.142': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.142': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.142': [0.486, 10.0], 't1.102.114.142': [0.61, 6.667], 't2.102.114.142': [0.494, 5.0]}), 'newmec-2'], [({'t5.102.114.143': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.143': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.143': [0.496, 5.0], 't4.102.114.143': [0.519, 10.0]}), 'newmec-2'], [({'t4.103.114.144': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.144': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.144': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.144': [0.541, 10.0], 't2.103.114.144': [0.727, 5.0], 't5.103.114.144': [0.627, 5.0]}), 'newmec-3'], [({'t3.104.114.145': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.145': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.145': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.145': [0.53, 5.0], 't4.104.114.145': [0.69, 10.0], 't2.104.114.145': [0.486, 5.0]}), 'newmec-4'], [({'t5.103.114.146': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.146': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.146': [0.471, 5.0], 't3.103.114.146': [0.718, 5.0]}), 'newmec-3'], [({'t3.102.114.147': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.147': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.147': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.147': [0.628, 5.0], 't2.102.114.147': [0.401, 5.0], 't1.102.114.147': [0.551, 6.667]}), 'newmec-2'], [({'t2.101.114.148': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.148': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.148': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.148': [0.682, 5.0], 't4.101.114.148': [0.799, 10.0], 't1.101.114.148': [0.603, 6.667]}), 'newmec-1'], [({'t2.102.114.149': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.149': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.149': [0.555, 5.0], 't3.102.114.149': [0.468, 5.0]}), 'newmec-2'], [({'t5.102.114.150': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.150': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.150': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.150': [0.605, 5.0], 't4.102.114.150': [0.765, 10.0], 't2.102.114.150': [0.59, 5.0]}), 'newmec-2'], [({'t3.102.114.151': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.151': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.151': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.151': [0.619, 5.0], 't1.102.114.151': [0.555, 6.667], 't4.102.114.151': [0.689, 10.0]}), 'newmec-2'], [({'t1.104.114.152': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.152': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.152': [0.576, 6.667], 't2.104.114.152': [0.502, 5.0]}), 'newmec-4'], [({'t5.103.114.153': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.153': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.153': [0.751, 5.0], 't4.103.114.153': [0.474, 10.0]}), 'newmec-3'], [({'t2.104.114.154': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.154': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.154': [0.626, 5.0], 't3.104.114.154': [0.447, 5.0]}), 'newmec-4'], [({'t1.156.114.155': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.155': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.155': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.155': [0.695, 6.667], 't5.156.114.155': [0.466, 5.0], 't2.156.114.155': [0.588, 5.0]}), 'osboxes-0'], [({'t2.156.114.156': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.156': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.156': [0.437, 5.0], 't4.156.114.156': [0.762, 10.0]}), 'osboxes-0'], [({'t5.101.114.157': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.157': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.157': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.157': [0.67, 5.0], 't2.101.114.157': [0.601, 5.0], 't3.101.114.157': [0.693, 5.0]}), 'newmec-1'], [({'t3.101.114.158': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.158': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.158': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.158': [0.427, 5.0], 't4.101.114.158': [0.65, 10.0], 't1.101.114.158': [0.695, 6.667]}), 'newmec-1'], [({'t1.102.114.159': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.159': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.159': [0.797, 6.667], 't2.102.114.159': [0.774, 5.0]}), 'newmec-2'], [({'t5.103.114.160': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.160': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.160': [0.652, 5.0], 't1.103.114.160': [0.613, 6.667]}), 'newmec-3'], [({'t3.104.114.161': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.161': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.161': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.161': [0.473, 5.0], 't1.104.114.161': [0.768, 6.667], 't2.104.114.161': [0.475, 5.0]}), 'newmec-4'], [({'t4.101.114.162': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.162': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.162': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.162': [0.797, 10.0], 't1.101.114.162': [0.736, 6.667], 't2.101.114.162': [0.409, 5.0]}), 'newmec-1'], [({'t1.104.114.163': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.163': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.163': [0.631, 6.667], 't4.104.114.163': [0.564, 10.0]}), 'newmec-4'], [({'t1.104.114.164': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.164': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.164': [0.551, 6.667], 't2.104.114.164': [0.502, 5.0]}), 'newmec-4'], [({'t2.101.114.165': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.165': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.165': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.165': [0.792, 5.0], 't5.101.114.165': [0.589, 5.0], 't1.101.114.165': [0.509, 6.667]}), 'newmec-1'], [({'t4.156.114.166': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.166': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.166': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.166': [0.42, 10.0], 't5.156.114.166': [0.527, 5.0], 't1.156.114.166': [0.511, 6.667]}), 'osboxes-0'], [({'t2.102.114.167': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.167': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.167': [0.455, 5.0], 't3.102.114.167': [0.473, 5.0]}), 'newmec-2'], [({'t2.104.114.168': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.168': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.168': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.168': [0.474, 5.0], 't1.104.114.168': [0.71, 6.667], 't3.104.114.168': [0.572, 5.0]}), 'newmec-4'], [({'t5.102.114.169': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.169': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.169': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.169': [0.478, 5.0], 't3.102.114.169': [0.531, 5.0], 't4.102.114.169': [0.709, 10.0]}), 'newmec-2'], [({'t5.102.114.170': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.170': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.170': [0.599, 5.0], 't1.102.114.170': [0.75, 6.667]}), 'newmec-2'], [({'t1.102.114.171': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.171': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.171': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.171': [0.448, 6.667], 't3.102.114.171': [0.651, 5.0], 't4.102.114.171': [0.447, 10.0]}), 'newmec-2'], [({'t3.103.114.172': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.172': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.172': [0.425, 5.0], 't4.103.114.172': [0.675, 10.0]}), 'newmec-3'], [({'t4.101.114.173': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.173': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.173': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.173': [0.754, 10.0], 't1.101.114.173': [0.653, 6.667], 't3.101.114.173': [0.416, 5.0]}), 'newmec-1'], [({'t2.102.114.174': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.174': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.174': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.174': [0.75, 5.0], 't4.102.114.174': [0.47, 10.0], 't3.102.114.174': [0.404, 5.0]}), 'newmec-2'], [({'t4.101.114.175': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.175': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.175': [0.556, 10.0], 't2.101.114.175': [0.553, 5.0]}), 'newmec-1'], [({'t4.102.114.176': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.176': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.176': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.176': [0.531, 10.0], 't2.102.114.176': [0.762, 5.0], 't1.102.114.176': [0.768, 6.667]}), 'newmec-2'], [({'t3.156.114.177': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.177': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.177': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.177': [0.561, 5.0], 't5.156.114.177': [0.646, 5.0], 't4.156.114.177': [0.43, 10.0]}), 'osboxes-0'], [({'t4.103.114.178': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.178': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.178': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.178': [0.517, 10.0], 't1.103.114.178': [0.633, 6.667], 't2.103.114.178': [0.523, 5.0]}), 'newmec-3'], [({'t3.104.114.179': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.179': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.179': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.179': [0.691, 5.0], 't2.104.114.179': [0.518, 5.0], 't5.104.114.179': [0.474, 5.0]}), 'newmec-4'], [({'t1.102.114.180': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.180': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.180': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.180': [0.774, 6.667], 't3.102.114.180': [0.755, 5.0], 't5.102.114.180': [0.61, 5.0]}), 'newmec-2'], [({'t4.104.114.181': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.181': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.181': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.181': [0.609, 10.0], 't3.104.114.181': [0.578, 5.0], 't2.104.114.181': [0.602, 5.0]}), 'newmec-4'], [({'t1.103.114.182': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.182': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.182': [0.762, 6.667], 't5.103.114.182': [0.602, 5.0]}), 'newmec-3'], [({'t5.102.114.183': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.183': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.183': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.183': [0.446, 5.0], 't1.102.114.183': [0.576, 6.667], 't3.102.114.183': [0.525, 5.0]}), 'newmec-2'], [({'t5.101.114.184': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.184': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.184': [0.564, 5.0], 't4.101.114.184': [0.514, 10.0]}), 'newmec-1'], [({'t5.102.114.185': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.185': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.185': [0.586, 5.0], 't4.102.114.185': [0.505, 10.0]}), 'newmec-2'], [({'t2.104.114.186': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.186': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.186': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.186': [0.47, 5.0], 't5.104.114.186': [0.767, 5.0], 't4.104.114.186': [0.73, 10.0]}), 'newmec-4'], [({'t2.102.114.187': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.187': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.187': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.187': [0.614, 5.0], 't4.102.114.187': [0.649, 10.0], 't1.102.114.187': [0.533, 6.667]}), 'newmec-2'], [({'t4.156.114.188': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.188': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.188': [0.607, 10.0], 't5.156.114.188': [0.754, 5.0]}), 'osboxes-0'], [({'t4.101.114.189': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.189': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.189': [0.457, 10.0], 't5.101.114.189': [0.511, 5.0]}), 'newmec-1'], [({'t5.156.114.190': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.190': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.190': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.190': [0.695, 5.0], 't3.156.114.190': [0.746, 5.0], 't2.156.114.190': [0.75, 5.0]}), 'osboxes-0'], [({'t2.104.114.191': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.191': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.191': [0.789, 5.0], 't1.104.114.191': [0.692, 6.667]}), 'newmec-4'], [({'t4.102.114.192': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.192': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.192': [0.775, 10.0], 't1.102.114.192': [0.772, 6.667]}), 'newmec-2'], [({'t5.102.114.193': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.193': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.193': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.193': [0.778, 5.0], 't2.102.114.193': [0.628, 5.0], 't4.102.114.193': [0.731, 10.0]}), 'newmec-2'], [({'t2.101.114.194': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.194': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.194': [0.45, 5.0], 't1.101.114.194': [0.709, 6.667]}), 'newmec-1'], [({'t5.102.114.195': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.195': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.195': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.195': [0.742, 5.0], 't2.102.114.195': [0.504, 5.0], 't1.102.114.195': [0.453, 6.667]}), 'newmec-2'], [({'t1.156.114.196': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.156.114.196': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.196': [0.628, 6.667], 't2.156.114.196': [0.466, 5.0]}), 'osboxes-0'], [({'t2.102.114.197': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.197': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.197': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.197': [0.761, 5.0], 't1.102.114.197': [0.598, 6.667], 't4.102.114.197': [0.616, 10.0]}), 'newmec-2'], [({'t5.102.114.198': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.198': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.198': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.198': [0.733, 5.0], 't2.102.114.198': [0.467, 5.0], 't3.102.114.198': [0.651, 5.0]}), 'newmec-2'], [({'t3.101.114.199': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.199': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.199': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.199': [0.468, 5.0], 't1.101.114.199': [0.42, 6.667], 't5.101.114.199': [0.419, 5.0]}), 'newmec-1'], [({'t2.101.114.200': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.200': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.200': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.200': [0.681, 5.0], 't4.101.114.200': [0.717, 10.0], 't1.101.114.200': [0.586, 6.667]}), 'newmec-1'], [({'t5.156.114.201': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.201': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.201': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.201': [0.46, 5.0], 't1.156.114.201': [0.672, 6.667], 't4.156.114.201': [0.407, 10.0]}), 'osboxes-0'], [({'t5.104.114.202': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.202': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.202': [0.567, 5.0], 't2.104.114.202': [0.473, 5.0]}), 'newmec-4'], [({'t2.103.114.203': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.203': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.203': [0.541, 5.0], 't3.103.114.203': [0.703, 5.0]}), 'newmec-3'], [({'t2.156.114.204': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.204': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.204': [0.597, 5.0], 't5.156.114.204': [0.451, 5.0]}), 'osboxes-0'], [({'t1.156.114.205': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.205': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.205': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.156.114.205': [0.477, 6.667], 't5.156.114.205': [0.765, 5.0], 't3.156.114.205': [0.554, 5.0]}), 'osboxes-0'], [({'t5.101.114.206': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.206': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.206': [0.683, 5.0], 't2.101.114.206': [0.762, 5.0]}), 'newmec-1'], [({'t5.101.114.207': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.207': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.207': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.207': [0.542, 5.0], 't2.101.114.207': [0.574, 5.0], 't1.101.114.207': [0.754, 6.667]}), 'newmec-1'], [({'t2.101.114.208': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.208': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.208': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.208': [0.661, 5.0], 't5.101.114.208': [0.585, 5.0], 't1.101.114.208': [0.681, 6.667]}), 'newmec-1'], [({'t2.104.114.209': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.209': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.209': [0.615, 5.0], 't1.104.114.209': [0.664, 6.667]}), 'newmec-4'], [({'t5.102.114.210': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.210': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.210': [0.693, 5.0], 't4.102.114.210': [0.643, 10.0]}), 'newmec-2'], [({'t3.101.114.211': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.211': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.211': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.211': [0.713, 5.0], 't5.101.114.211': [0.513, 5.0], 't4.101.114.211': [0.554, 10.0]}), 'newmec-1'], [({'t4.103.114.212': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.212': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.212': [0.721, 10.0], 't3.103.114.212': [0.631, 5.0]}), 'newmec-3'], [({'t4.104.114.213': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.213': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.213': [0.572, 10.0], 't1.104.114.213': [0.66, 6.667]}), 'newmec-4'], [({'t5.102.114.214': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.214': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.214': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.214': [0.406, 5.0], 't3.102.114.214': [0.771, 5.0], 't1.102.114.214': [0.464, 6.667]}), 'newmec-2'], [({'t2.104.114.215': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.215': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.215': [0.594, 5.0], 't1.104.114.215': [0.636, 6.667]}), 'newmec-4'], [({'t2.103.114.216': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.216': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.216': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.216': [0.743, 5.0], 't5.103.114.216': [0.675, 5.0], 't1.103.114.216': [0.78, 6.667]}), 'newmec-3'], [({'t5.104.114.217': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.217': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.217': [0.421, 5.0], 't4.104.114.217': [0.421, 10.0]}), 'newmec-4'], [({'t5.156.114.218': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.218': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.218': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.218': [0.511, 5.0], 't4.156.114.218': [0.705, 10.0], 't2.156.114.218': [0.436, 5.0]}), 'osboxes-0'], [({'t3.103.114.219': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.219': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.219': [0.435, 5.0], 't1.103.114.219': [0.532, 6.667]}), 'newmec-3'], [({'t1.103.114.220': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.220': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.220': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.220': [0.559, 6.667], 't3.103.114.220': [0.78, 5.0], 't2.103.114.220': [0.744, 5.0]}), 'newmec-3'], [({'t2.102.114.221': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.221': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.221': [0.441, 5.0], 't5.102.114.221': [0.485, 5.0]}), 'newmec-2'], [({'t1.103.114.222': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.222': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.222': [0.787, 6.667], 't3.103.114.222': [0.4, 5.0]}), 'newmec-3'], [({'t1.103.114.223': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.223': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.223': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.223': [0.552, 6.667], 't5.103.114.223': [0.415, 5.0], 't4.103.114.223': [0.643, 10.0]}), 'newmec-3'], [({'t3.156.114.224': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.224': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.224': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.224': [0.686, 5.0], 't2.156.114.224': [0.576, 5.0], 't4.156.114.224': [0.681, 10.0]}), 'osboxes-0'], [({'t3.156.114.225': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.225': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.225': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.156.114.225': [0.706, 5.0], 't4.156.114.225': [0.641, 10.0], 't1.156.114.225': [0.663, 6.667]}), 'osboxes-0'], [({'t2.101.114.226': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.226': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.226': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.226': [0.666, 5.0], 't1.101.114.226': [0.795, 6.667], 't5.101.114.226': [0.45, 5.0]}), 'newmec-1'], [({'t2.102.114.227': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.227': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.227': [0.768, 5.0], 't1.102.114.227': [0.458, 6.667]}), 'newmec-2'], [({'t3.101.114.228': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.228': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.228': [0.676, 5.0], 't5.101.114.228': [0.476, 5.0]}), 'newmec-1'], [({'t1.103.114.229': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.229': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.229': [0.659, 6.667], 't5.103.114.229': [0.792, 5.0]}), 'newmec-3'], [({'t5.104.114.230': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.230': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.230': [0.496, 5.0], 't2.104.114.230': [0.718, 5.0]}), 'newmec-4'], [({'t3.103.114.231': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.231': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.231': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.231': [0.625, 5.0], 't5.103.114.231': [0.755, 5.0], 't4.103.114.231': [0.517, 10.0]}), 'newmec-3'], [({'t2.156.114.232': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.232': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.232': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.232': [0.484, 5.0], 't1.156.114.232': [0.638, 6.667], 't4.156.114.232': [0.747, 10.0]}), 'osboxes-0'], [({'t5.101.114.233': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.233': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.233': [0.626, 5.0], 't4.101.114.233': [0.66, 10.0]}), 'newmec-1'], [({'t5.103.114.234': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.234': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.234': [0.775, 5.0], 't1.103.114.234': [0.488, 6.667]}), 'newmec-3'], [({'t5.101.114.235': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.235': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.235': [0.476, 5.0], 't2.101.114.235': [0.779, 5.0]}), 'newmec-1'], [({'t3.104.114.236': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.236': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.236': [0.552, 5.0], 't4.104.114.236': [0.652, 10.0]}), 'newmec-4'], [({'t2.104.114.237': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.237': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.237': [0.635, 5.0], 't5.104.114.237': [0.731, 5.0]}), 'newmec-4'], [({'t5.156.114.238': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.238': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.238': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.156.114.238': [0.446, 5.0], 't2.156.114.238': [0.421, 5.0], 't1.156.114.238': [0.471, 6.667]}), 'osboxes-0'], [({'t5.101.114.239': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.239': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.239': [0.418, 5.0], 't3.101.114.239': [0.513, 5.0]}), 'newmec-1'], [({'t5.104.114.240': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.240': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.240': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.240': [0.655, 5.0], 't1.104.114.240': [0.583, 6.667], 't2.104.114.240': [0.584, 5.0]}), 'newmec-4'], [({'t3.103.114.241': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.241': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.241': [0.598, 5.0], 't2.103.114.241': [0.456, 5.0]}), 'newmec-3'], [({'t4.101.114.242': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.242': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.242': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.242': [0.621, 10.0], 't5.101.114.242': [0.685, 5.0], 't3.101.114.242': [0.548, 5.0]}), 'newmec-1'], [({'t5.103.114.243': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.243': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.243': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.243': [0.563, 5.0], 't4.103.114.243': [0.746, 10.0], 't3.103.114.243': [0.763, 5.0]}), 'newmec-3'], [({'t4.156.114.244': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.244': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.244': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.244': [0.689, 10.0], 't1.156.114.244': [0.585, 6.667], 't3.156.114.244': [0.554, 5.0]}), 'osboxes-0'], [({'t4.156.114.245': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.245': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.245': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.245': [0.698, 10.0], 't1.156.114.245': [0.515, 6.667], 't3.156.114.245': [0.695, 5.0]}), 'osboxes-0'], [({'t2.102.114.246': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.246': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.246': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.246': [0.711, 5.0], 't1.102.114.246': [0.703, 6.667], 't4.102.114.246': [0.432, 10.0]}), 'newmec-2'], [({'t2.101.114.247': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.247': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.247': [0.766, 5.0], 't5.101.114.247': [0.686, 5.0]}), 'newmec-1'], [({'t4.102.114.248': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.248': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.248': [0.659, 10.0], 't2.102.114.248': [0.506, 5.0]}), 'newmec-2'], [({'t3.102.114.249': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.249': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.249': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.249': [0.575, 5.0], 't2.102.114.249': [0.515, 5.0], 't4.102.114.249': [0.758, 10.0]}), 'newmec-2'], [({'t3.104.114.250': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.250': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.250': [0.664, 5.0], 't2.104.114.250': [0.592, 5.0]}), 'newmec-4'], [({'t2.101.114.251': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.251': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.251': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.251': [0.692, 5.0], 't5.101.114.251': [0.553, 5.0], 't1.101.114.251': [0.75, 6.667]}), 'newmec-1'], [({'t5.102.114.252': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.252': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.252': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.252': [0.447, 5.0], 't3.102.114.252': [0.473, 5.0], 't1.102.114.252': [0.496, 6.667]}), 'newmec-2'], [({'t2.156.114.253': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.253': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.253': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.253': [0.444, 5.0], 't4.156.114.253': [0.488, 10.0], 't5.156.114.253': [0.527, 5.0]}), 'osboxes-0'], [({'t4.104.114.254': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.254': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.254': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.254': [0.411, 10.0], 't5.104.114.254': [0.414, 5.0], 't2.104.114.254': [0.5, 5.0]}), 'newmec-4'], [({'t5.102.114.255': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.255': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.255': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.255': [0.627, 5.0], 't2.102.114.255': [0.516, 5.0], 't3.102.114.255': [0.533, 5.0]}), 'newmec-2'], [({'t4.101.114.256': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.256': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.256': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.256': [0.681, 10.0], 't5.101.114.256': [0.44, 5.0], 't2.101.114.256': [0.642, 5.0]}), 'newmec-1'], [({'t3.102.114.257': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.257': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.257': [0.601, 5.0], 't5.102.114.257': [0.549, 5.0]}), 'newmec-2'], [({'t4.101.114.258': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.258': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.258': [0.468, 10.0], 't5.101.114.258': [0.634, 5.0]}), 'newmec-1'], [({'t3.103.114.259': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.259': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.259': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.259': [0.732, 5.0], 't2.103.114.259': [0.529, 5.0], 't4.103.114.259': [0.761, 10.0]}), 'newmec-3'], [({'t2.103.114.260': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.260': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.260': [0.418, 5.0], 't5.103.114.260': [0.597, 5.0]}), 'newmec-3'], [({'t4.104.114.261': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.261': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.261': [0.789, 10.0], 't3.104.114.261': [0.731, 5.0]}), 'newmec-4'], [({'t2.101.114.262': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.262': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.262': [0.713, 5.0], 't3.101.114.262': [0.599, 5.0]}), 'newmec-1'], [({'t3.104.114.263': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.263': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.263': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.263': [0.518, 5.0], 't5.104.114.263': [0.709, 5.0], 't2.104.114.263': [0.784, 5.0]}), 'newmec-4'], [({'t4.103.114.264': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.264': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.264': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.264': [0.575, 10.0], 't1.103.114.264': [0.706, 6.667], 't3.103.114.264': [0.475, 5.0]}), 'newmec-3'], [({'t3.102.114.265': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.265': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.265': [0.566, 5.0], 't2.102.114.265': [0.446, 5.0]}), 'newmec-2'], [({'t2.102.114.266': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.266': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.266': [0.461, 5.0], 't1.102.114.266': [0.644, 6.667]}), 'newmec-2'], [({'t5.156.114.267': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.267': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.267': [0.491, 5.0], 't4.156.114.267': [0.461, 10.0]}), 'osboxes-0'], [({'t4.156.114.268': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.268': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.268': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.268': [0.511, 10.0], 't2.156.114.268': [0.403, 5.0], 't5.156.114.268': [0.707, 5.0]}), 'osboxes-0'], [({'t5.103.114.269': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.269': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.269': [0.679, 5.0], 't2.103.114.269': [0.554, 5.0]}), 'newmec-3'], [({'t5.101.114.270': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.270': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.270': [0.47, 5.0], 't1.101.114.270': [0.636, 6.667]}), 'newmec-1'], [({'t4.156.114.271': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.271': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.271': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.271': [0.693, 10.0], 't2.156.114.271': [0.557, 5.0], 't5.156.114.271': [0.459, 5.0]}), 'osboxes-0'], [({'t1.102.114.272': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.272': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.272': [0.463, 6.667], 't5.102.114.272': [0.522, 5.0]}), 'newmec-2'], [({'t2.101.114.273': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.273': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.273': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.273': [0.435, 5.0], 't5.101.114.273': [0.518, 5.0], 't1.101.114.273': [0.742, 6.667]}), 'newmec-1'], [({'t1.104.114.274': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.274': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.274': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.274': [0.622, 6.667], 't3.104.114.274': [0.763, 5.0], 't5.104.114.274': [0.622, 5.0]}), 'newmec-4'], [({'t5.103.114.275': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.275': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.275': [0.758, 5.0], 't3.103.114.275': [0.756, 5.0]}), 'newmec-3'], [({'t2.104.114.276': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.276': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.276': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.276': [0.711, 5.0], 't5.104.114.276': [0.492, 5.0], 't4.104.114.276': [0.55, 10.0]}), 'newmec-4'], [({'t2.102.114.277': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.277': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.277': [0.665, 5.0], 't5.102.114.277': [0.561, 5.0]}), 'newmec-2'], [({'t3.101.114.278': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.278': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.278': [0.787, 5.0], 't5.101.114.278': [0.718, 5.0]}), 'newmec-1'], [({'t1.103.114.279': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.279': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.279': [0.46, 6.667], 't4.103.114.279': [0.655, 10.0]}), 'newmec-3'], [({'t5.103.114.280': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.280': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.280': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.280': [0.588, 5.0], 't2.103.114.280': [0.443, 5.0], 't4.103.114.280': [0.58, 10.0]}), 'newmec-3'], [({'t5.104.114.281': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.281': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.281': [0.658, 5.0], 't2.104.114.281': [0.775, 5.0]}), 'newmec-4'], [({'t4.102.114.282': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.282': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.282': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.282': [0.411, 10.0], 't5.102.114.282': [0.76, 5.0], 't1.102.114.282': [0.629, 6.667]}), 'newmec-2'], [({'t1.103.114.283': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.283': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.283': [0.648, 6.667], 't5.103.114.283': [0.407, 5.0]}), 'newmec-3'], [({'t1.102.114.284': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.284': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.284': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.284': [0.661, 6.667], 't2.102.114.284': [0.529, 5.0], 't3.102.114.284': [0.604, 5.0]}), 'newmec-2'], [({'t3.104.114.285': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.285': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.285': [0.668, 5.0], 't2.104.114.285': [0.454, 5.0]}), 'newmec-4'], [({'t1.104.114.286': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.286': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.286': [0.506, 6.667], 't2.104.114.286': [0.582, 5.0]}), 'newmec-4'], [({'t2.104.114.287': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.287': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.287': [0.733, 5.0], 't4.104.114.287': [0.408, 10.0]}), 'newmec-4'], [({'t1.103.114.288': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.288': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.288': [0.688, 6.667], 't5.103.114.288': [0.519, 5.0]}), 'newmec-3'], [({'t1.104.114.289': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.289': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.289': [0.684, 6.667], 't4.104.114.289': [0.403, 10.0]}), 'newmec-4'], [({'t5.102.114.290': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.290': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.290': [0.509, 5.0], 't3.102.114.290': [0.55, 5.0]}), 'newmec-2'], [({'t2.104.114.291': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.291': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.291': [0.435, 5.0], 't4.104.114.291': [0.715, 10.0]}), 'newmec-4'], [({'t3.102.114.292': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.292': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.292': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.292': [0.577, 5.0], 't1.102.114.292': [0.49, 6.667], 't4.102.114.292': [0.474, 10.0]}), 'newmec-2'], [({'t2.104.114.293': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.293': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.293': [0.488, 5.0], 't3.104.114.293': [0.685, 5.0]}), 'newmec-4'], [({'t5.103.114.294': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.294': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.294': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.294': [0.749, 5.0], 't4.103.114.294': [0.424, 10.0], 't3.103.114.294': [0.547, 5.0]}), 'newmec-3'], [({'t5.156.114.295': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.295': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.295': [0.645, 5.0], 't3.156.114.295': [0.551, 5.0]}), 'osboxes-0'], [({'t2.102.114.296': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.296': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.296': [0.642, 5.0], 't3.102.114.296': [0.495, 5.0]}), 'newmec-2'], [({'t5.102.114.297': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.297': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.297': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.297': [0.663, 5.0], 't3.102.114.297': [0.453, 5.0], 't2.102.114.297': [0.685, 5.0]}), 'newmec-2'], [({'t4.102.114.298': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.298': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.298': [0.771, 10.0], 't5.102.114.298': [0.584, 5.0]}), 'newmec-2'], [({'t5.156.114.299': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.299': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.299': [0.779, 5.0], 't4.156.114.299': [0.695, 10.0]}), 'osboxes-0'], [({'t2.156.114.300': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.300': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.300': [0.763, 5.0], 't4.156.114.300': [0.442, 10.0]}), 'osboxes-0'], [({'t2.103.114.301': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.301': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.301': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.301': [0.472, 5.0], 't1.103.114.301': [0.536, 6.667], 't3.103.114.301': [0.604, 5.0]}), 'newmec-3'], [({'t1.156.114.302': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.302': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.302': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.156.114.302': [0.515, 6.667], 't5.156.114.302': [0.687, 5.0], 't4.156.114.302': [0.422, 10.0]}), 'osboxes-0'], [({'t2.101.114.303': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.303': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.303': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.303': [0.666, 5.0], 't5.101.114.303': [0.787, 5.0], 't4.101.114.303': [0.764, 10.0]}), 'newmec-1'], [({'t2.104.114.304': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.304': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.304': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.304': [0.611, 5.0], 't3.104.114.304': [0.473, 5.0], 't5.104.114.304': [0.496, 5.0]}), 'newmec-4'], [({'t3.101.114.305': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.305': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.305': [0.594, 5.0], 't1.101.114.305': [0.665, 6.667]}), 'newmec-1'], [({'t2.104.114.306': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.306': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.306': [0.529, 5.0], 't1.104.114.306': [0.684, 6.667]}), 'newmec-4'], [({'t2.101.114.307': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.307': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.307': [0.497, 5.0], 't5.101.114.307': [0.744, 5.0]}), 'newmec-1'], [({'t1.104.114.308': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.308': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.308': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.308': [0.663, 6.667], 't3.104.114.308': [0.673, 5.0], 't2.104.114.308': [0.442, 5.0]}), 'newmec-4'], [({'t4.104.114.309': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.309': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.309': [0.506, 10.0], 't2.104.114.309': [0.441, 5.0]}), 'newmec-4'], [({'t4.104.114.310': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.310': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.310': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.310': [0.664, 10.0], 't3.104.114.310': [0.451, 5.0], 't2.104.114.310': [0.778, 5.0]}), 'newmec-4'], [({'t3.102.114.311': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.311': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.311': [0.692, 5.0], 't1.102.114.311': [0.47, 6.667]}), 'newmec-2'], [({'t2.103.114.312': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.312': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.312': [0.424, 5.0], 't5.103.114.312': [0.786, 5.0]}), 'newmec-3'], [({'t3.104.114.313': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.313': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.313': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.313': [0.556, 5.0], 't1.104.114.313': [0.648, 6.667], 't5.104.114.313': [0.534, 5.0]}), 'newmec-4'], [({'t3.101.114.314': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.314': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.314': [0.458, 5.0], 't5.101.114.314': [0.718, 5.0]}), 'newmec-1'], [({'t5.102.114.315': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.315': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.315': [0.745, 5.0], 't3.102.114.315': [0.592, 5.0]}), 'newmec-2'], [({'t4.101.114.316': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.316': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.316': [0.761, 10.0], 't1.101.114.316': [0.654, 6.667]}), 'newmec-1'], [({'t5.156.114.317': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.317': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.317': [0.439, 5.0], 't2.156.114.317': [0.627, 5.0]}), 'osboxes-0'], [({'t4.101.114.318': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.318': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.318': [0.422, 10.0], 't3.101.114.318': [0.684, 5.0]}), 'newmec-1'], [({'t5.103.114.319': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.319': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.319': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.319': [0.431, 5.0], 't3.103.114.319': [0.693, 5.0], 't4.103.114.319': [0.725, 10.0]}), 'newmec-3'], [({'t1.101.114.320': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.320': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.320': [0.72, 6.667], 't3.101.114.320': [0.694, 5.0]}), 'newmec-1'], [({'t5.102.114.321': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.321': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.321': [0.742, 5.0], 't4.102.114.321': [0.616, 10.0]}), 'newmec-2'], [({'t3.103.114.322': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.322': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.322': [0.644, 5.0], 't2.103.114.322': [0.756, 5.0]}), 'newmec-3'], [({'t4.156.114.323': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.323': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.323': [0.795, 10.0], 't5.156.114.323': [0.772, 5.0]}), 'osboxes-0'], [({'t3.102.114.324': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.324': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.324': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.324': [0.463, 5.0], 't5.102.114.324': [0.512, 5.0], 't2.102.114.324': [0.722, 5.0]}), 'newmec-2'], [({'t5.104.114.325': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.325': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.325': [0.578, 5.0], 't3.104.114.325': [0.45, 5.0]}), 'newmec-4'], [({'t1.101.114.326': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.326': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.326': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.326': [0.711, 6.667], 't5.101.114.326': [0.674, 5.0], 't3.101.114.326': [0.761, 5.0]}), 'newmec-1'], [({'t3.102.114.327': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.327': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.327': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.327': [0.753, 5.0], 't2.102.114.327': [0.545, 5.0], 't1.102.114.327': [0.469, 6.667]}), 'newmec-2'], [({'t4.103.114.328': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.328': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.328': [0.58, 10.0], 't5.103.114.328': [0.505, 5.0]}), 'newmec-3'], [({'t3.102.114.329': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.329': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.329': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.329': [0.606, 5.0], 't2.102.114.329': [0.798, 5.0], 't4.102.114.329': [0.607, 10.0]}), 'newmec-2'], [({'t2.101.114.330': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.330': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.330': [0.447, 5.0], 't5.101.114.330': [0.597, 5.0]}), 'newmec-1'], [({'t1.102.114.331': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.331': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.331': [0.413, 6.667], 't2.102.114.331': [0.464, 5.0]}), 'newmec-2'], [({'t3.101.114.332': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.332': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.332': [0.445, 5.0], 't2.101.114.332': [0.771, 5.0]}), 'newmec-1'], [({'t4.102.114.333': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.333': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.333': [0.649, 10.0], 't5.102.114.333': [0.598, 5.0]}), 'newmec-2'], [({'t3.104.114.334': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.334': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.334': [0.719, 5.0], 't4.104.114.334': [0.605, 10.0]}), 'newmec-4'], [({'t4.156.114.335': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.335': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.335': [0.445, 10.0], 't2.156.114.335': [0.738, 5.0]}), 'osboxes-0'], [({'t4.103.114.336': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.336': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.336': [0.585, 10.0], 't5.103.114.336': [0.688, 5.0]}), 'newmec-3'], [({'t5.103.114.337': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.337': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.337': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.337': [0.493, 5.0], 't1.103.114.337': [0.687, 6.667], 't2.103.114.337': [0.793, 5.0]}), 'newmec-3'], [({'t3.102.114.338': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.338': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.338': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.338': [0.632, 5.0], 't5.102.114.338': [0.662, 5.0], 't4.102.114.338': [0.569, 10.0]}), 'newmec-2'], [({'t4.104.114.339': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.339': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.339': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.339': [0.653, 10.0], 't2.104.114.339': [0.451, 5.0], 't1.104.114.339': [0.695, 6.667]}), 'newmec-4'], [({'t4.104.114.340': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.340': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.340': [0.408, 10.0], 't2.104.114.340': [0.602, 5.0]}), 'newmec-4'], [({'t3.104.114.341': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.341': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.341': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.341': [0.437, 5.0], 't2.104.114.341': [0.562, 5.0], 't1.104.114.341': [0.695, 6.667]}), 'newmec-4'], [({'t3.104.114.342': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.342': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.342': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.342': [0.567, 5.0], 't4.104.114.342': [0.729, 10.0], 't1.104.114.342': [0.552, 6.667]}), 'newmec-4'], [({'t2.156.114.343': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.343': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.343': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.343': [0.587, 5.0], 't1.156.114.343': [0.701, 6.667], 't5.156.114.343': [0.658, 5.0]}), 'osboxes-0'], [({'t3.102.114.344': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.344': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.344': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.344': [0.573, 5.0], 't5.102.114.344': [0.73, 5.0], 't2.102.114.344': [0.75, 5.0]}), 'newmec-2'], [({'t2.101.114.345': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.345': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.345': [0.608, 5.0], 't3.101.114.345': [0.527, 5.0]}), 'newmec-1'], [({'t4.104.114.346': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.346': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.346': [0.584, 10.0], 't2.104.114.346': [0.78, 5.0]}), 'newmec-4'], [({'t5.104.114.347': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.347': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.347': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.347': [0.596, 5.0], 't1.104.114.347': [0.608, 6.667], 't4.104.114.347': [0.565, 10.0]}), 'newmec-4'], [({'t5.102.114.348': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.348': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.348': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.348': [0.552, 5.0], 't3.102.114.348': [0.756, 5.0], 't4.102.114.348': [0.621, 10.0]}), 'newmec-2'], [({'t2.101.114.349': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.349': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.349': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.349': [0.604, 5.0], 't5.101.114.349': [0.476, 5.0], 't1.101.114.349': [0.689, 6.667]}), 'newmec-1'], [({'t2.103.114.350': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.350': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.350': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.350': [0.558, 5.0], 't5.103.114.350': [0.745, 5.0], 't1.103.114.350': [0.566, 6.667]}), 'newmec-3'], [({'t2.104.114.351': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.351': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.351': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.351': [0.413, 5.0], 't3.104.114.351': [0.645, 5.0], 't1.104.114.351': [0.632, 6.667]}), 'newmec-4'], [({'t3.103.114.352': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.352': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.352': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.352': [0.746, 5.0], 't5.103.114.352': [0.531, 5.0], 't4.103.114.352': [0.424, 10.0]}), 'newmec-3'], [({'t3.104.114.353': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.353': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.353': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.353': [0.481, 5.0], 't1.104.114.353': [0.611, 6.667], 't2.104.114.353': [0.608, 5.0]}), 'newmec-4'], [({'t1.101.114.354': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.354': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.354': [0.515, 6.667], 't2.101.114.354': [0.521, 5.0]}), 'newmec-1'], [({'t3.156.114.355': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.355': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.156.114.355': [0.756, 5.0], 't2.156.114.355': [0.713, 5.0]}), 'osboxes-0'], [({'t1.156.114.356': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.356': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.356': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.356': [0.751, 6.667], 't3.156.114.356': [0.543, 5.0], 't5.156.114.356': [0.457, 5.0]}), 'osboxes-0'], [({'t2.103.114.357': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.357': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.357': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.357': [0.58, 5.0], 't4.103.114.357': [0.425, 10.0], 't1.103.114.357': [0.646, 6.667]}), 'newmec-3'], [({'t5.102.114.358': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.358': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.358': [0.505, 5.0], 't1.102.114.358': [0.71, 6.667]}), 'newmec-2'], [({'t1.104.114.359': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.359': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.359': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.359': [0.438, 6.667], 't5.104.114.359': [0.657, 5.0], 't4.104.114.359': [0.443, 10.0]}), 'newmec-4'], [({'t5.101.114.360': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.360': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.360': [0.493, 5.0], 't3.101.114.360': [0.455, 5.0]}), 'newmec-1'], [({'t1.104.114.361': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.361': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.361': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.361': [0.441, 6.667], 't5.104.114.361': [0.63, 5.0], 't4.104.114.361': [0.477, 10.0]}), 'newmec-4'], [({'t5.101.114.362': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.362': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.362': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.362': [0.695, 5.0], 't4.101.114.362': [0.714, 10.0], 't1.101.114.362': [0.557, 6.667]}), 'newmec-1'], [({'t4.101.114.363': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.363': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.363': [0.713, 10.0], 't5.101.114.363': [0.65, 5.0]}), 'newmec-1'], [({'t2.104.114.364': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.364': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.364': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.364': [0.648, 5.0], 't4.104.114.364': [0.476, 10.0], 't1.104.114.364': [0.517, 6.667]}), 'newmec-4'], [({'t2.101.114.365': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.365': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.365': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.365': [0.568, 5.0], 't3.101.114.365': [0.663, 5.0], 't5.101.114.365': [0.504, 5.0]}), 'newmec-1'], [({'t2.156.114.366': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.366': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.366': [0.689, 5.0], 't5.156.114.366': [0.541, 5.0]}), 'osboxes-0'], [({'t2.104.114.367': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.367': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.367': [0.793, 5.0], 't5.104.114.367': [0.768, 5.0]}), 'newmec-4'], [({'t1.103.114.368': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.368': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.368': [0.421, 6.667], 't5.103.114.368': [0.661, 5.0]}), 'newmec-3'], [({'t3.103.114.369': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.369': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.369': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.369': [0.492, 5.0], 't4.103.114.369': [0.601, 10.0], 't2.103.114.369': [0.498, 5.0]}), 'newmec-3'], [({'t3.104.114.370': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.370': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.370': [0.416, 5.0], 't2.104.114.370': [0.534, 5.0]}), 'newmec-4'], [({'t2.103.114.371': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.371': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.371': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.371': [0.517, 5.0], 't5.103.114.371': [0.483, 5.0], 't3.103.114.371': [0.567, 5.0]}), 'newmec-3'], [({'t2.102.114.372': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.372': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.372': [0.52, 5.0], 't1.102.114.372': [0.571, 6.667]}), 'newmec-2'], [({'t1.101.114.373': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.373': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.373': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.373': [0.636, 6.667], 't4.101.114.373': [0.527, 10.0], 't5.101.114.373': [0.761, 5.0]}), 'newmec-1'], [({'t2.102.114.374': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.374': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.374': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.374': [0.64, 5.0], 't3.102.114.374': [0.623, 5.0], 't5.102.114.374': [0.456, 5.0]}), 'newmec-2'], [({'t3.102.114.375': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.375': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.375': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.375': [0.595, 5.0], 't5.102.114.375': [0.634, 5.0], 't2.102.114.375': [0.68, 5.0]}), 'newmec-2'], [({'t2.101.114.376': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.376': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.376': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.376': [0.616, 5.0], 't5.101.114.376': [0.611, 5.0], 't4.101.114.376': [0.516, 10.0]}), 'newmec-1'], [({'t1.102.114.377': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.377': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.377': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.377': [0.415, 6.667], 't5.102.114.377': [0.441, 5.0], 't4.102.114.377': [0.702, 10.0]}), 'newmec-2'], [({'t2.102.114.378': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.378': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.378': [0.712, 5.0], 't4.102.114.378': [0.738, 10.0]}), 'newmec-2'], [({'t4.102.114.379': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.379': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.379': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.379': [0.742, 10.0], 't5.102.114.379': [0.623, 5.0], 't2.102.114.379': [0.545, 5.0]}), 'newmec-2'], [({'t2.156.114.380': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.380': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.380': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.380': [0.471, 5.0], 't4.156.114.380': [0.667, 10.0], 't1.156.114.380': [0.719, 6.667]}), 'osboxes-0'], [({'t3.101.114.381': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.381': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.381': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.381': [0.604, 5.0], 't5.101.114.381': [0.544, 5.0], 't4.101.114.381': [0.52, 10.0]}), 'newmec-1'], [({'t5.103.114.382': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.382': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.382': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.382': [0.693, 5.0], 't3.103.114.382': [0.625, 5.0], 't4.103.114.382': [0.461, 10.0]}), 'newmec-3'], [({'t4.102.114.383': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.383': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.383': [0.544, 10.0], 't5.102.114.383': [0.722, 5.0]}), 'newmec-2'], [({'t3.104.114.384': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.384': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.384': [0.658, 5.0], 't2.104.114.384': [0.451, 5.0]}), 'newmec-4'], [({'t2.103.114.385': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.385': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.385': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.385': [0.448, 5.0], 't3.103.114.385': [0.743, 5.0], 't5.103.114.385': [0.791, 5.0]}), 'newmec-3'], [({'t4.103.114.386': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.386': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.386': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.386': [0.736, 10.0], 't5.103.114.386': [0.486, 5.0], 't2.103.114.386': [0.543, 5.0]}), 'newmec-3'], [({'t3.156.114.387': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.387': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.387': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.387': [0.635, 5.0], 't4.156.114.387': [0.626, 10.0], 't5.156.114.387': [0.501, 5.0]}), 'osboxes-0'], [({'t5.103.114.388': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.388': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.388': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.388': [0.756, 5.0], 't3.103.114.388': [0.591, 5.0], 't2.103.114.388': [0.765, 5.0]}), 'newmec-3'], [({'t4.102.114.389': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.389': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.389': [0.46, 10.0], 't1.102.114.389': [0.442, 6.667]}), 'newmec-2'], [({'t3.103.114.390': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.390': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.390': [0.524, 5.0], 't1.103.114.390': [0.668, 6.667]}), 'newmec-3'], [({'t4.103.114.391': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.391': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.391': [0.563, 10.0], 't1.103.114.391': [0.743, 6.667]}), 'newmec-3'], [({'t5.104.114.392': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.392': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.392': [0.698, 5.0], 't2.104.114.392': [0.754, 5.0]}), 'newmec-4'], [({'t5.102.114.393': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.393': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.393': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.393': [0.602, 5.0], 't3.102.114.393': [0.513, 5.0], 't4.102.114.393': [0.6, 10.0]}), 'newmec-2'], [({'t5.104.114.394': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.394': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.394': [0.41, 5.0], 't1.104.114.394': [0.754, 6.667]}), 'newmec-4'], [({'t4.101.114.395': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.395': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.395': [0.488, 10.0], 't3.101.114.395': [0.442, 5.0]}), 'newmec-1'], [({'t4.156.114.396': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.396': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.396': [0.42, 10.0], 't2.156.114.396': [0.417, 5.0]}), 'osboxes-0'], [({'t1.102.114.397': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.397': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.397': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.397': [0.538, 6.667], 't4.102.114.397': [0.737, 10.0], 't3.102.114.397': [0.785, 5.0]}), 'newmec-2'], [({'t1.102.114.398': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.398': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.398': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.398': [0.584, 6.667], 't5.102.114.398': [0.509, 5.0], 't2.102.114.398': [0.606, 5.0]}), 'newmec-2'], [({'t3.103.114.399': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.399': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.399': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.399': [0.739, 5.0], 't2.103.114.399': [0.637, 5.0], 't5.103.114.399': [0.513, 5.0]}), 'newmec-3'], [({'t2.101.114.400': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.400': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.400': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.400': [0.478, 5.0], 't4.101.114.400': [0.405, 10.0], 't3.101.114.400': [0.706, 5.0]}), 'newmec-1'], [({'t1.101.114.401': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.401': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.401': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.401': [0.652, 6.667], 't3.101.114.401': [0.423, 5.0], 't5.101.114.401': [0.484, 5.0]}), 'newmec-1'], [({'t2.104.114.402': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.402': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.402': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.402': [0.512, 5.0], 't3.104.114.402': [0.454, 5.0], 't4.104.114.402': [0.485, 10.0]}), 'newmec-4'], [({'t4.102.114.403': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.403': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.403': [0.498, 10.0], 't3.102.114.403': [0.497, 5.0]}), 'newmec-2'], [({'t1.101.114.404': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.404': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.404': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.404': [0.626, 6.667], 't5.101.114.404': [0.537, 5.0], 't3.101.114.404': [0.529, 5.0]}), 'newmec-1'], [({'t3.101.114.405': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.405': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.405': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.405': [0.539, 5.0], 't2.101.114.405': [0.645, 5.0], 't1.101.114.405': [0.437, 6.667]}), 'newmec-1'], [({'t4.101.114.406': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.406': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.406': [0.611, 10.0], 't1.101.114.406': [0.464, 6.667]}), 'newmec-1'], [({'t5.103.114.407': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.407': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.407': [0.705, 5.0], 't3.103.114.407': [0.732, 5.0]}), 'newmec-3'], [({'t4.104.114.408': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.408': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.408': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.408': [0.671, 10.0], 't3.104.114.408': [0.647, 5.0], 't2.104.114.408': [0.417, 5.0]}), 'newmec-4'], [({'t1.101.114.409': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.409': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.409': [0.771, 6.667], 't5.101.114.409': [0.643, 5.0]}), 'newmec-1'], [({'t1.102.114.410': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.410': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.410': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.410': [0.626, 6.667], 't5.102.114.410': [0.424, 5.0], 't3.102.114.410': [0.728, 5.0]}), 'newmec-2'], [({'t1.102.114.411': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.411': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.411': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.411': [0.423, 6.667], 't3.102.114.411': [0.762, 5.0], 't4.102.114.411': [0.718, 10.0]}), 'newmec-2'], [({'t4.101.114.412': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.412': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.412': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.412': [0.4, 10.0], 't1.101.114.412': [0.429, 6.667], 't3.101.114.412': [0.578, 5.0]}), 'newmec-1'], [({'t3.104.114.413': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.413': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.413': [0.725, 5.0], 't1.104.114.413': [0.468, 6.667]}), 'newmec-4'], [({'t4.102.114.414': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.414': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.414': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.414': [0.609, 10.0], 't5.102.114.414': [0.699, 5.0], 't3.102.114.414': [0.761, 5.0]}), 'newmec-2'], [({'t4.103.114.415': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.415': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.415': [0.548, 10.0], 't5.103.114.415': [0.607, 5.0]}), 'newmec-3'], [({'t5.101.114.416': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.416': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.416': [0.442, 5.0], 't2.101.114.416': [0.565, 5.0]}), 'newmec-1'], [({'t3.101.114.417': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.417': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.417': [0.75, 5.0], 't5.101.114.417': [0.512, 5.0]}), 'newmec-1'], [({'t3.103.114.418': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.418': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.418': [0.667, 5.0], 't5.103.114.418': [0.501, 5.0]}), 'newmec-3'], [({'t3.104.114.419': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.419': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.419': [0.527, 5.0], 't4.104.114.419': [0.724, 10.0]}), 'newmec-4'], [({'t2.102.114.420': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.420': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.420': [0.683, 5.0], 't4.102.114.420': [0.667, 10.0]}), 'newmec-2'], [({'t5.101.114.421': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.421': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.421': [0.742, 5.0], 't3.101.114.421': [0.679, 5.0]}), 'newmec-1'], [({'t3.102.114.422': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.422': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.422': [0.44, 5.0], 't1.102.114.422': [0.625, 6.667]}), 'newmec-2'], [({'t3.103.114.423': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.423': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.423': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.423': [0.619, 5.0], 't2.103.114.423': [0.752, 5.0], 't1.103.114.423': [0.634, 6.667]}), 'newmec-3'], [({'t4.102.114.424': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.424': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.424': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.424': [0.616, 10.0], 't2.102.114.424': [0.77, 5.0], 't1.102.114.424': [0.784, 6.667]}), 'newmec-2'], [({'t2.156.114.425': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.425': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.425': [0.565, 5.0], 't5.156.114.425': [0.417, 5.0]}), 'osboxes-0'], [({'t1.102.114.426': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.426': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.426': [0.512, 6.667], 't5.102.114.426': [0.632, 5.0]}), 'newmec-2'], [({'t3.104.114.427': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.427': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.427': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.427': [0.678, 5.0], 't1.104.114.427': [0.535, 6.667], 't4.104.114.427': [0.581, 10.0]}), 'newmec-4'], [({'t4.103.114.428': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.428': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.428': [0.425, 10.0], 't1.103.114.428': [0.417, 6.667]}), 'newmec-3'], [({'t2.102.114.429': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.429': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.429': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.429': [0.501, 5.0], 't3.102.114.429': [0.597, 5.0], 't1.102.114.429': [0.637, 6.667]}), 'newmec-2'], [({'t5.102.114.430': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.430': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.430': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.430': [0.519, 5.0], 't2.102.114.430': [0.571, 5.0], 't1.102.114.430': [0.689, 6.667]}), 'newmec-2'], [({'t4.103.114.431': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.431': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.431': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.431': [0.779, 10.0], 't3.103.114.431': [0.52, 5.0], 't5.103.114.431': [0.41, 5.0]}), 'newmec-3'], [({'t2.104.114.432': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.432': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.432': [0.662, 5.0], 't3.104.114.432': [0.531, 5.0]}), 'newmec-4'], [({'t1.101.114.433': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.433': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.433': [0.447, 6.667], 't2.101.114.433': [0.457, 5.0]}), 'newmec-1'], [({'t1.104.114.434': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.434': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.434': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.434': [0.437, 6.667], 't5.104.114.434': [0.609, 5.0], 't2.104.114.434': [0.626, 5.0]}), 'newmec-4'], [({'t2.101.114.435': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.435': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.435': [0.441, 5.0], 't3.101.114.435': [0.536, 5.0]}), 'newmec-1'], [({'t3.102.114.436': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.436': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.436': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.436': [0.449, 5.0], 't1.102.114.436': [0.481, 6.667], 't4.102.114.436': [0.751, 10.0]}), 'newmec-2'], [({'t1.104.114.437': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.437': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.437': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.437': [0.753, 6.667], 't5.104.114.437': [0.787, 5.0], 't2.104.114.437': [0.58, 5.0]}), 'newmec-4'], [({'t2.102.114.438': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.438': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.438': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.438': [0.47, 5.0], 't4.102.114.438': [0.76, 10.0], 't3.102.114.438': [0.656, 5.0]}), 'newmec-2'], [({'t2.156.114.439': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.439': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.439': [0.762, 5.0], 't5.156.114.439': [0.538, 5.0]}), 'osboxes-0'], [({'t4.104.114.440': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.440': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.440': [0.661, 10.0], 't2.104.114.440': [0.567, 5.0]}), 'newmec-4'], [({'t4.101.114.441': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.441': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.441': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.441': [0.548, 10.0], 't2.101.114.441': [0.701, 5.0], 't5.101.114.441': [0.429, 5.0]}), 'newmec-1'], [({'t4.156.114.442': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.442': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.442': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.442': [0.415, 10.0], 't3.156.114.442': [0.468, 5.0], 't5.156.114.442': [0.731, 5.0]}), 'osboxes-0'], [({'t3.104.114.443': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.443': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.443': [0.455, 5.0], 't5.104.114.443': [0.576, 5.0]}), 'newmec-4'], [({'t1.103.114.444': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.444': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.444': [0.676, 6.667], 't3.103.114.444': [0.426, 5.0]}), 'newmec-3'], [({'t3.101.114.445': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.445': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.445': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.445': [0.408, 5.0], 't2.101.114.445': [0.626, 5.0], 't4.101.114.445': [0.745, 10.0]}), 'newmec-1'], [({'t4.101.114.446': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.446': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.446': [0.535, 10.0], 't5.101.114.446': [0.458, 5.0]}), 'newmec-1'], [({'t1.102.114.447': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.447': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.447': [0.421, 6.667], 't5.102.114.447': [0.517, 5.0]}), 'newmec-2'], [({'t4.104.114.448': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.448': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.448': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.448': [0.76, 10.0], 't3.104.114.448': [0.456, 5.0], 't5.104.114.448': [0.406, 5.0]}), 'newmec-4'], [({'t4.104.114.449': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.449': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.449': [0.711, 10.0], 't3.104.114.449': [0.71, 5.0]}), 'newmec-4'], [({'t4.104.114.450': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.450': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.450': [0.716, 10.0], 't2.104.114.450': [0.784, 5.0]}), 'newmec-4'], [({'t2.103.114.451': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.451': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.451': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.451': [0.643, 5.0], 't5.103.114.451': [0.591, 5.0], 't3.103.114.451': [0.745, 5.0]}), 'newmec-3'], [({'t1.103.114.452': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.452': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.452': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.452': [0.442, 6.667], 't3.103.114.452': [0.774, 5.0], 't5.103.114.452': [0.708, 5.0]}), 'newmec-3'], [({'t1.104.114.453': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.453': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.453': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.453': [0.465, 6.667], 't3.104.114.453': [0.68, 5.0], 't2.104.114.453': [0.799, 5.0]}), 'newmec-4'], [({'t3.156.114.454': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.454': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.454': [0.518, 5.0], 't4.156.114.454': [0.427, 10.0]}), 'osboxes-0'], [({'t5.101.114.455': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.455': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.455': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.455': [0.451, 5.0], 't3.101.114.455': [0.701, 5.0], 't1.101.114.455': [0.69, 6.667]}), 'newmec-1'], [({'t1.103.114.456': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.456': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.456': [0.715, 6.667], 't5.103.114.456': [0.549, 5.0]}), 'newmec-3'], [({'t5.156.114.457': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.457': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.156.114.457': [0.694, 5.0], 't1.156.114.457': [0.465, 6.667]}), 'osboxes-0'], [({'t4.156.114.458': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.458': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.458': [0.55, 10.0], 't3.156.114.458': [0.724, 5.0]}), 'osboxes-0'], [({'t3.103.114.459': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.459': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.459': [0.741, 5.0], 't5.103.114.459': [0.449, 5.0]}), 'newmec-3'], [({'t5.102.114.460': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.460': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.460': [0.434, 5.0], 't4.102.114.460': [0.469, 10.0]}), 'newmec-2'], [({'t1.104.114.461': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.461': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.461': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.461': [0.645, 6.667], 't3.104.114.461': [0.63, 5.0], 't2.104.114.461': [0.766, 5.0]}), 'newmec-4'], [({'t5.102.114.462': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.462': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.462': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.462': [0.565, 5.0], 't4.102.114.462': [0.478, 10.0], 't3.102.114.462': [0.711, 5.0]}), 'newmec-2'], [({'t2.103.114.463': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.463': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.463': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.463': [0.42, 5.0], 't3.103.114.463': [0.619, 5.0], 't5.103.114.463': [0.536, 5.0]}), 'newmec-3'], [({'t5.103.114.464': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.464': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.464': [0.625, 5.0], 't2.103.114.464': [0.663, 5.0]}), 'newmec-3'], [({'t3.104.114.465': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.465': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.465': [0.587, 5.0], 't5.104.114.465': [0.565, 5.0]}), 'newmec-4'], [({'t2.102.114.466': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.466': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.466': [0.451, 5.0], 't1.102.114.466': [0.428, 6.667]}), 'newmec-2'], [({'t4.102.114.467': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.467': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.467': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.467': [0.693, 10.0], 't3.102.114.467': [0.485, 5.0], 't5.102.114.467': [0.678, 5.0]}), 'newmec-2'], [({'t2.104.114.468': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.468': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.468': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.468': [0.462, 5.0], 't5.104.114.468': [0.449, 5.0], 't3.104.114.468': [0.631, 5.0]}), 'newmec-4'], [({'t2.101.114.469': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.469': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.469': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.469': [0.529, 5.0], 't5.101.114.469': [0.778, 5.0], 't3.101.114.469': [0.538, 5.0]}), 'newmec-1'], [({'t2.102.114.470': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.470': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.470': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.470': [0.607, 5.0], 't5.102.114.470': [0.786, 5.0], 't4.102.114.470': [0.557, 10.0]}), 'newmec-2'], [({'t2.156.114.471': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.471': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.471': [0.477, 5.0], 't1.156.114.471': [0.634, 6.667]}), 'osboxes-0'], [({'t3.103.114.472': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.472': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.472': [0.637, 5.0], 't4.103.114.472': [0.778, 10.0]}), 'newmec-3'], [({'t5.156.114.473': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.473': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.473': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.473': [0.5, 5.0], 't4.156.114.473': [0.526, 10.0], 't2.156.114.473': [0.679, 5.0]}), 'osboxes-0'], [({'t3.101.114.474': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.474': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.474': [0.709, 5.0], 't5.101.114.474': [0.518, 5.0]}), 'newmec-1'], [({'t2.101.114.475': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.475': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.475': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.475': [0.433, 5.0], 't5.101.114.475': [0.729, 5.0], 't3.101.114.475': [0.687, 5.0]}), 'newmec-1'], [({'t4.102.114.476': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.476': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.476': [0.43, 10.0], 't2.102.114.476': [0.657, 5.0]}), 'newmec-2'], [({'t2.103.114.477': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.477': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.477': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.477': [0.654, 5.0], 't5.103.114.477': [0.435, 5.0], 't1.103.114.477': [0.484, 6.667]}), 'newmec-3'], [({'t3.103.114.478': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.478': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.478': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.478': [0.502, 5.0], 't4.103.114.478': [0.644, 10.0], 't2.103.114.478': [0.719, 5.0]}), 'newmec-3'], [({'t2.156.114.479': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.479': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.479': [0.694, 5.0], 't4.156.114.479': [0.77, 10.0]}), 'osboxes-0'], [({'t1.103.114.480': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.480': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.480': [0.415, 6.667], 't4.103.114.480': [0.723, 10.0]}), 'newmec-3'], [({'t4.156.114.481': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.481': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.481': [0.504, 10.0], 't2.156.114.481': [0.794, 5.0]}), 'osboxes-0'], [({'t3.101.114.482': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.482': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.482': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.482': [0.574, 5.0], 't2.101.114.482': [0.411, 5.0], 't5.101.114.482': [0.678, 5.0]}), 'newmec-1'], [({'t3.103.114.483': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.483': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.483': [0.7, 5.0], 't1.103.114.483': [0.451, 6.667]}), 'newmec-3'], [({'t4.104.114.484': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.484': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.484': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.484': [0.59, 10.0], 't5.104.114.484': [0.617, 5.0], 't3.104.114.484': [0.704, 5.0]}), 'newmec-4'], [({'t3.103.114.485': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.485': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.485': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.485': [0.655, 5.0], 't1.103.114.485': [0.624, 6.667], 't4.103.114.485': [0.794, 10.0]}), 'newmec-3'], [({'t2.103.114.486': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.486': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.486': [0.697, 5.0], 't4.103.114.486': [0.596, 10.0]}), 'newmec-3'], [({'t4.103.114.487': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.487': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.487': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.487': [0.674, 10.0], 't5.103.114.487': [0.589, 5.0], 't3.103.114.487': [0.525, 5.0]}), 'newmec-3'], [({'t1.104.114.488': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.488': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.488': [0.784, 6.667], 't3.104.114.488': [0.562, 5.0]}), 'newmec-4'], [({'t3.104.114.489': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.489': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.489': [0.711, 5.0], 't2.104.114.489': [0.479, 5.0]}), 'newmec-4'], [({'t2.102.114.490': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.490': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.490': [0.598, 5.0], 't5.102.114.490': [0.595, 5.0]}), 'newmec-2'], [({'t4.104.114.491': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.491': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.491': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.491': [0.416, 10.0], 't1.104.114.491': [0.776, 6.667], 't3.104.114.491': [0.735, 5.0]}), 'newmec-4'], [({'t4.103.114.492': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.492': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.492': [0.756, 10.0], 't5.103.114.492': [0.619, 5.0]}), 'newmec-3'], [({'t5.103.114.493': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.493': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.493': [0.78, 5.0], 't3.103.114.493': [0.527, 5.0]}), 'newmec-3'], [({'t1.101.114.494': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.494': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.494': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.494': [0.661, 6.667], 't2.101.114.494': [0.524, 5.0], 't3.101.114.494': [0.698, 5.0]}), 'newmec-1'], [({'t3.102.114.495': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.495': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.495': [0.604, 5.0], 't2.102.114.495': [0.593, 5.0]}), 'newmec-2'], [({'t5.156.114.496': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.496': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.496': [0.442, 5.0], 't2.156.114.496': [0.664, 5.0]}), 'osboxes-0'], [({'t1.104.114.497': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.497': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.497': [0.419, 6.667], 't2.104.114.497': [0.466, 5.0]}), 'newmec-4'], [({'t1.156.114.498': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.498': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.156.114.498': [0.511, 6.667], 't3.156.114.498': [0.626, 5.0]}), 'osboxes-0'], [({'t4.156.114.499': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.499': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.499': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.499': [0.763, 10.0], 't2.156.114.499': [0.747, 5.0], 't5.156.114.499': [0.666, 5.0]}), 'osboxes-0'], [({'t2.156.114.500': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.500': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.500': [0.615, 5.0], 't4.156.114.500': [0.411, 10.0]}), 'osboxes-0'], [({'t2.101.114.501': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.501': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.501': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.501': [0.594, 5.0], 't3.101.114.501': [0.794, 5.0], 't5.101.114.501': [0.589, 5.0]}), 'newmec-1'], [({'t4.101.114.502': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.502': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.502': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.502': [0.783, 10.0], 't1.101.114.502': [0.768, 6.667], 't2.101.114.502': [0.594, 5.0]}), 'newmec-1'], [({'t2.102.114.503': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.503': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.503': [0.645, 5.0], 't5.102.114.503': [0.415, 5.0]}), 'newmec-2'], [({'t3.156.114.504': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.504': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.156.114.504': [0.709, 5.0], 't2.156.114.504': [0.47, 5.0]}), 'osboxes-0'], [({'t1.101.114.505': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.505': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.505': [0.735, 6.667], 't2.101.114.505': [0.434, 5.0]}), 'newmec-1'], [({'t2.101.114.506': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.506': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.506': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.506': [0.627, 5.0], 't1.101.114.506': [0.428, 6.667], 't5.101.114.506': [0.519, 5.0]}), 'newmec-1'], [({'t1.102.114.507': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.507': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.507': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.507': [0.714, 6.667], 't5.102.114.507': [0.538, 5.0], 't4.102.114.507': [0.634, 10.0]}), 'newmec-2'], [({'t3.102.114.508': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.508': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.508': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.508': [0.559, 5.0], 't5.102.114.508': [0.681, 5.0], 't2.102.114.508': [0.446, 5.0]}), 'newmec-2'], [({'t4.103.114.509': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.509': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.509': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.509': [0.721, 10.0], 't3.103.114.509': [0.784, 5.0], 't5.103.114.509': [0.551, 5.0]}), 'newmec-3'], [({'t5.102.114.510': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.510': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.510': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.510': [0.633, 5.0], 't3.102.114.510': [0.659, 5.0], 't2.102.114.510': [0.42, 5.0]}), 'newmec-2'], [({'t2.104.114.511': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.511': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.511': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.511': [0.72, 5.0], 't4.104.114.511': [0.54, 10.0], 't5.104.114.511': [0.747, 5.0]}), 'newmec-4'], [({'t2.156.114.512': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.512': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.512': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.512': [0.545, 5.0], 't4.156.114.512': [0.762, 10.0], 't1.156.114.512': [0.608, 6.667]}), 'osboxes-0'], [({'t5.104.114.513': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.513': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.513': [0.422, 5.0], 't1.104.114.513': [0.506, 6.667]}), 'newmec-4'], [({'t4.104.114.514': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.514': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.514': [0.747, 10.0], 't3.104.114.514': [0.666, 5.0]}), 'newmec-4'], [({'t2.156.114.515': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.515': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.515': [0.618, 5.0], 't5.156.114.515': [0.728, 5.0]}), 'osboxes-0'], [({'t3.102.114.516': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.516': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.516': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.516': [0.501, 5.0], 't2.102.114.516': [0.613, 5.0], 't4.102.114.516': [0.544, 10.0]}), 'newmec-2'], [({'t4.102.114.517': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.517': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.517': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.517': [0.662, 10.0], 't2.102.114.517': [0.679, 5.0], 't5.102.114.517': [0.668, 5.0]}), 'newmec-2'], [({'t4.103.114.518': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.518': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.518': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.518': [0.748, 10.0], 't5.103.114.518': [0.691, 5.0], 't2.103.114.518': [0.623, 5.0]}), 'newmec-3'], [({'t4.101.114.519': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.519': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.519': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.519': [0.723, 10.0], 't3.101.114.519': [0.611, 5.0], 't2.101.114.519': [0.664, 5.0]}), 'newmec-1'], [({'t5.101.114.520': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.520': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.520': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.520': [0.724, 5.0], 't2.101.114.520': [0.539, 5.0], 't4.101.114.520': [0.457, 10.0]}), 'newmec-1'], [({'t2.101.114.521': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.521': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.521': [0.491, 5.0], 't3.101.114.521': [0.58, 5.0]}), 'newmec-1'], [({'t3.102.114.522': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.522': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.522': [0.782, 5.0], 't5.102.114.522': [0.736, 5.0]}), 'newmec-2'], [({'t2.101.114.523': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.523': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.523': [0.608, 5.0], 't4.101.114.523': [0.748, 10.0]}), 'newmec-1'], [({'t5.102.114.524': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.524': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.524': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.524': [0.677, 5.0], 't1.102.114.524': [0.779, 6.667], 't2.102.114.524': [0.638, 5.0]}), 'newmec-2'], [({'t5.102.114.525': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.525': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.525': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.525': [0.618, 5.0], 't3.102.114.525': [0.449, 5.0], 't2.102.114.525': [0.476, 5.0]}), 'newmec-2'], [({'t1.102.114.526': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.526': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.526': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.526': [0.756, 6.667], 't5.102.114.526': [0.416, 5.0], 't2.102.114.526': [0.649, 5.0]}), 'newmec-2'], [({'t3.101.114.527': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.527': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.527': [0.484, 5.0], 't4.101.114.527': [0.595, 10.0]}), 'newmec-1'], [({'t2.104.114.528': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.528': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.528': [0.754, 5.0], 't1.104.114.528': [0.531, 6.667]}), 'newmec-4'], [({'t2.156.114.529': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.529': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.529': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.529': [0.595, 5.0], 't5.156.114.529': [0.762, 5.0], 't1.156.114.529': [0.738, 6.667]}), 'osboxes-0'], [({'t4.104.114.530': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.530': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.530': [0.606, 10.0], 't2.104.114.530': [0.504, 5.0]}), 'newmec-4'], [({'t1.103.114.531': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.531': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.531': [0.7, 6.667], 't5.103.114.531': [0.738, 5.0]}), 'newmec-3'], [({'t3.156.114.532': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.532': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.532': [0.611, 5.0], 't4.156.114.532': [0.729, 10.0]}), 'osboxes-0'], [({'t4.104.114.533': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.533': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.533': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.533': [0.566, 10.0], 't2.104.114.533': [0.471, 5.0], 't3.104.114.533': [0.644, 5.0]}), 'newmec-4'], [({'t1.102.114.534': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.534': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.534': [0.657, 6.667], 't3.102.114.534': [0.702, 5.0]}), 'newmec-2'], [({'t2.103.114.535': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.535': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.535': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.535': [0.655, 5.0], 't4.103.114.535': [0.787, 10.0], 't5.103.114.535': [0.682, 5.0]}), 'newmec-3'], [({'t5.104.114.536': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.536': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.536': [0.562, 5.0], 't3.104.114.536': [0.727, 5.0]}), 'newmec-4'], [({'t2.101.114.537': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.537': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.537': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.537': [0.615, 5.0], 't5.101.114.537': [0.452, 5.0], 't3.101.114.537': [0.512, 5.0]}), 'newmec-1'], [({'t5.104.114.538': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.538': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.538': [0.642, 5.0], 't3.104.114.538': [0.701, 5.0]}), 'newmec-4'], [({'t1.102.114.539': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.539': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.539': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.539': [0.548, 6.667], 't2.102.114.539': [0.576, 5.0], 't3.102.114.539': [0.748, 5.0]}), 'newmec-2'], [({'t4.104.114.540': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.540': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.540': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.540': [0.775, 10.0], 't5.104.114.540': [0.641, 5.0], 't2.104.114.540': [0.793, 5.0]}), 'newmec-4'], [({'t5.102.114.541': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.541': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.541': [0.694, 5.0], 't2.102.114.541': [0.424, 5.0]}), 'newmec-2'], [({'t1.103.114.542': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.542': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.542': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.542': [0.591, 6.667], 't4.103.114.542': [0.621, 10.0], 't2.103.114.542': [0.748, 5.0]}), 'newmec-3'], [({'t1.103.114.543': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.543': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.543': [0.464, 6.667], 't3.103.114.543': [0.408, 5.0]}), 'newmec-3'], [({'t2.156.114.544': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.544': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.544': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.544': [0.705, 5.0], 't4.156.114.544': [0.476, 10.0], 't5.156.114.544': [0.63, 5.0]}), 'osboxes-0'], [({'t3.104.114.545': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.545': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.545': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.545': [0.53, 5.0], 't1.104.114.545': [0.536, 6.667], 't4.104.114.545': [0.773, 10.0]}), 'newmec-4'], [({'t5.101.114.546': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.546': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.546': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.546': [0.781, 5.0], 't1.101.114.546': [0.799, 6.667], 't4.101.114.546': [0.711, 10.0]}), 'newmec-1'], [({'t5.104.114.547': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.547': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.547': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.547': [0.633, 5.0], 't3.104.114.547': [0.497, 5.0], 't1.104.114.547': [0.758, 6.667]}), 'newmec-4'], [({'t2.102.114.548': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.548': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.548': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.548': [0.576, 5.0], 't1.102.114.548': [0.609, 6.667], 't4.102.114.548': [0.467, 10.0]}), 'newmec-2'], [({'t1.104.114.549': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.549': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.549': [0.654, 6.667], 't2.104.114.549': [0.528, 5.0]}), 'newmec-4'], [({'t5.104.114.550': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.550': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.550': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.550': [0.612, 5.0], 't3.104.114.550': [0.41, 5.0], 't1.104.114.550': [0.412, 6.667]}), 'newmec-4'], [({'t5.103.114.551': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.551': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.551': [0.654, 5.0], 't3.103.114.551': [0.475, 5.0]}), 'newmec-3'], [({'t1.102.114.552': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.552': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.552': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.552': [0.753, 6.667], 't5.102.114.552': [0.621, 5.0], 't3.102.114.552': [0.65, 5.0]}), 'newmec-2'], [({'t4.102.114.553': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.553': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.553': [0.651, 10.0], 't1.102.114.553': [0.712, 6.667]}), 'newmec-2'], [({'t2.104.114.554': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.554': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.554': [0.581, 5.0], 't3.104.114.554': [0.569, 5.0]}), 'newmec-4'], [({'t4.104.114.555': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.555': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.555': [0.714, 10.0], 't3.104.114.555': [0.437, 5.0]}), 'newmec-4'], [({'t4.101.114.556': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.556': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.556': [0.436, 10.0], 't3.101.114.556': [0.751, 5.0]}), 'newmec-1'], [({'t5.101.114.557': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.557': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.557': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.557': [0.475, 5.0], 't1.101.114.557': [0.643, 6.667], 't4.101.114.557': [0.643, 10.0]}), 'newmec-1'], [({'t2.102.114.558': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.558': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.558': [0.452, 5.0], 't5.102.114.558': [0.529, 5.0]}), 'newmec-2'], [({'t4.102.114.559': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.559': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.559': [0.663, 10.0], 't2.102.114.559': [0.66, 5.0]}), 'newmec-2'], [({'t4.156.114.560': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.560': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.560': [0.652, 10.0], 't3.156.114.560': [0.579, 5.0]}), 'osboxes-0'], [({'t3.102.114.561': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.561': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.561': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.561': [0.762, 5.0], 't5.102.114.561': [0.525, 5.0], 't4.102.114.561': [0.6, 10.0]}), 'newmec-2'], [({'t2.104.114.562': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.562': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.562': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.562': [0.54, 5.0], 't3.104.114.562': [0.724, 5.0], 't1.104.114.562': [0.403, 6.667]}), 'newmec-4'], [({'t3.104.114.563': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.563': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.563': [0.64, 5.0], 't2.104.114.563': [0.405, 5.0]}), 'newmec-4'], [({'t3.103.114.564': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.564': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.564': [0.737, 5.0], 't5.103.114.564': [0.752, 5.0]}), 'newmec-3'], [({'t4.104.114.565': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.565': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.565': [0.76, 10.0], 't3.104.114.565': [0.637, 5.0]}), 'newmec-4'], [({'t1.102.114.566': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.566': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.566': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.566': [0.566, 6.667], 't4.102.114.566': [0.516, 10.0], 't3.102.114.566': [0.409, 5.0]}), 'newmec-2'], [({'t2.101.114.567': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.567': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.567': [0.453, 5.0], 't5.101.114.567': [0.409, 5.0]}), 'newmec-1'], [({'t5.103.114.568': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.568': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.568': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.568': [0.683, 5.0], 't3.103.114.568': [0.433, 5.0], 't4.103.114.568': [0.78, 10.0]}), 'newmec-3'], [({'t4.104.114.569': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.569': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.569': [0.792, 10.0], 't2.104.114.569': [0.756, 5.0]}), 'newmec-4'], [({'t2.104.114.570': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.570': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.570': [0.729, 5.0], 't5.104.114.570': [0.757, 5.0]}), 'newmec-4'], [({'t5.104.114.571': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.571': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.571': [0.546, 5.0], 't1.104.114.571': [0.52, 6.667]}), 'newmec-4'], [({'t5.104.114.572': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.572': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.572': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.572': [0.705, 5.0], 't4.104.114.572': [0.472, 10.0], 't2.104.114.572': [0.61, 5.0]}), 'newmec-4'], [({'t1.101.114.573': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.573': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.573': [0.578, 6.667], 't3.101.114.573': [0.478, 5.0]}), 'newmec-1'], [({'t3.101.114.574': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.574': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.574': [0.518, 5.0], 't4.101.114.574': [0.5, 10.0]}), 'newmec-1'], [({'t3.102.114.575': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.575': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.575': [0.613, 5.0], 't2.102.114.575': [0.509, 5.0]}), 'newmec-2'], [({'t3.104.114.576': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.576': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.576': [0.544, 5.0], 't4.104.114.576': [0.631, 10.0]}), 'newmec-4'], [({'t2.104.114.577': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.577': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.577': [0.557, 5.0], 't1.104.114.577': [0.649, 6.667]}), 'newmec-4'], [({'t3.102.114.578': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.578': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.578': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.578': [0.543, 5.0], 't2.102.114.578': [0.615, 5.0], 't5.102.114.578': [0.401, 5.0]}), 'newmec-2'], [({'t3.104.114.579': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.579': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.579': [0.4, 5.0], 't5.104.114.579': [0.637, 5.0]}), 'newmec-4'], [({'t4.103.114.580': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.580': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.580': [0.524, 10.0], 't2.103.114.580': [0.64, 5.0]}), 'newmec-3'], [({'t3.104.114.581': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.581': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.581': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.581': [0.442, 5.0], 't5.104.114.581': [0.737, 5.0], 't4.104.114.581': [0.723, 10.0]}), 'newmec-4'], [({'t3.103.114.582': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.582': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.582': [0.799, 5.0], 't2.103.114.582': [0.599, 5.0]}), 'newmec-3'], [({'t5.103.114.583': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.583': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.583': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.583': [0.761, 5.0], 't2.103.114.583': [0.697, 5.0], 't3.103.114.583': [0.455, 5.0]}), 'newmec-3'], [({'t3.103.114.584': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.584': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.584': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.584': [0.419, 5.0], 't4.103.114.584': [0.764, 10.0], 't5.103.114.584': [0.687, 5.0]}), 'newmec-3'], [({'t4.156.114.585': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.585': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.585': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.585': [0.665, 10.0], 't3.156.114.585': [0.666, 5.0], 't5.156.114.585': [0.798, 5.0]}), 'osboxes-0'], [({'t4.104.114.586': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.586': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.586': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.586': [0.535, 10.0], 't2.104.114.586': [0.506, 5.0], 't3.104.114.586': [0.767, 5.0]}), 'newmec-4'], [({'t3.102.114.587': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.587': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.587': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.587': [0.42, 5.0], 't5.102.114.587': [0.736, 5.0], 't2.102.114.587': [0.728, 5.0]}), 'newmec-2'], [({'t5.102.114.588': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.588': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.588': [0.63, 5.0], 't3.102.114.588': [0.547, 5.0]}), 'newmec-2'], [({'t2.104.114.589': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.589': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.589': [0.684, 5.0], 't5.104.114.589': [0.635, 5.0]}), 'newmec-4'], [({'t2.103.114.590': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.590': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.590': [0.48, 5.0], 't4.103.114.590': [0.613, 10.0]}), 'newmec-3'], [({'t5.104.114.591': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.591': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.591': [0.645, 5.0], 't3.104.114.591': [0.665, 5.0]}), 'newmec-4'], [({'t1.101.114.592': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.592': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.592': [0.514, 6.667], 't3.101.114.592': [0.571, 5.0]}), 'newmec-1'], [({'t1.104.114.593': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.593': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.593': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.593': [0.605, 6.667], 't4.104.114.593': [0.455, 10.0], 't2.104.114.593': [0.754, 5.0]}), 'newmec-4'], [({'t4.102.114.594': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.594': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.594': [0.614, 10.0], 't2.102.114.594': [0.48, 5.0]}), 'newmec-2'], [({'t5.103.114.595': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.595': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.595': [0.611, 5.0], 't4.103.114.595': [0.743, 10.0]}), 'newmec-3'], [({'t3.102.114.596': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.596': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.596': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.596': [0.421, 5.0], 't5.102.114.596': [0.774, 5.0], 't1.102.114.596': [0.718, 6.667]}), 'newmec-2'], [({'t3.101.114.597': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.597': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.597': [0.614, 5.0], 't2.101.114.597': [0.65, 5.0]}), 'newmec-1'], [({'t5.103.114.598': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.598': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.598': [0.733, 5.0], 't4.103.114.598': [0.742, 10.0]}), 'newmec-3'], [({'t3.103.114.599': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.599': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.599': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.599': [0.636, 5.0], 't4.103.114.599': [0.532, 10.0], 't1.103.114.599': [0.513, 6.667]}), 'newmec-3']]
host_names5 = {'192.168.122.156': 'osboxes-0', '192.168.122.104': 'newmec-4', '192.168.122.103': 'newmec-3', '192.168.122.102': 'newmec-2', '192.168.122.101': 'newmec-1'}
record6 = [[({'t2.102.114.0': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.0': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.0': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.0': [0.489, 5.0], 't4.102.114.0': [0.537, 10.0], 't5.102.114.0': [0.567, 5.0]}), 'newmec-2'], [({'t1.102.114.1': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.1': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.1': [0.658, 6.667], 't2.102.114.1': [0.412, 5.0]}), 'newmec-2'], [({'t5.156.114.2': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.2': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.2': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.2': [0.624, 5.0], 't2.156.114.2': [0.408, 5.0], 't3.156.114.2': [0.571, 5.0]}), 'osboxes-0'], [({'t5.101.114.3': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.3': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.3': [0.448, 5.0], 't2.101.114.3': [0.574, 5.0]}), 'newmec-1'], [({'t2.156.114.4': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.4': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.4': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.4': [0.711, 5.0], 't5.156.114.4': [0.723, 5.0], 't4.156.114.4': [0.692, 10.0]}), 'osboxes-0'], [({'t2.102.114.5': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.5': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.5': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.5': [0.771, 5.0], 't3.102.114.5': [0.441, 5.0], 't4.102.114.5': [0.681, 10.0]}), 'newmec-2'], [({'t4.104.114.6': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.6': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.6': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.6': [0.587, 10.0], 't5.104.114.6': [0.48, 5.0], 't3.104.114.6': [0.52, 5.0]}), 'newmec-4'], [({'t3.156.114.7': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.7': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.7': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.7': [0.736, 5.0], 't2.156.114.7': [0.653, 5.0], 't5.156.114.7': [0.635, 5.0]}), 'osboxes-0'], [({'t5.102.114.8': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.8': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.8': [0.481, 5.0], 't2.102.114.8': [0.596, 5.0]}), 'newmec-2'], [({'t3.103.114.9': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.9': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.9': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.9': [0.647, 5.0], 't4.103.114.9': [0.505, 10.0], 't5.103.114.9': [0.457, 5.0]}), 'newmec-3'], [({'t3.104.114.10': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.10': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.10': [0.512, 5.0], 't4.104.114.10': [0.756, 10.0]}), 'newmec-4'], [({'t5.101.114.11': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.11': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.11': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.11': [0.615, 5.0], 't3.101.114.11': [0.672, 5.0], 't2.101.114.11': [0.755, 5.0]}), 'newmec-1'], [({'t2.101.114.12': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.12': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.12': [0.684, 5.0], 't5.101.114.12': [0.5, 5.0]}), 'newmec-1'], [({'t4.101.114.13': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.13': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.13': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.13': [0.461, 10.0], 't3.101.114.13': [0.688, 5.0], 't1.101.114.13': [0.714, 6.667]}), 'newmec-1'], [({'t5.103.114.14': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.14': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.14': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.14': [0.548, 5.0], 't1.103.114.14': [0.602, 6.667], 't2.103.114.14': [0.438, 5.0]}), 'newmec-3'], [({'t2.101.114.15': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.15': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.15': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.15': [0.753, 5.0], 't1.101.114.15': [0.616, 6.667], 't5.101.114.15': [0.757, 5.0]}), 'newmec-1'], [({'t3.101.114.16': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.16': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.16': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.16': [0.404, 5.0], 't5.101.114.16': [0.512, 5.0], 't2.101.114.16': [0.653, 5.0]}), 'newmec-1'], [({'t1.104.114.17': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.17': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.17': [0.582, 6.667], 't5.104.114.17': [0.483, 5.0]}), 'newmec-4'], [({'t5.101.114.18': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.18': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.18': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.18': [0.662, 5.0], 't4.101.114.18': [0.508, 10.0], 't2.101.114.18': [0.683, 5.0]}), 'newmec-1'], [({'t2.102.114.19': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.19': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.19': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.19': [0.616, 5.0], 't1.102.114.19': [0.738, 6.667], 't4.102.114.19': [0.723, 10.0]}), 'newmec-2'], [({'t4.101.114.20': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.20': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.20': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.20': [0.516, 10.0], 't3.101.114.20': [0.417, 5.0], 't5.101.114.20': [0.711, 5.0]}), 'newmec-1'], [({'t3.101.114.21': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.21': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.21': [0.54, 5.0], 't1.101.114.21': [0.556, 6.667]}), 'newmec-1'], [({'t5.105.114.22': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.105.114.22': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.22': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.105.114.22': [0.657, 5.0], 't4.105.114.22': [0.717, 10.0], 't3.105.114.22': [0.72, 5.0]}), 'newmec-5'], [({'t1.102.114.23': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.23': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.23': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.23': [0.623, 6.667], 't4.102.114.23': [0.644, 10.0], 't5.102.114.23': [0.552, 5.0]}), 'newmec-2'], [({'t1.103.114.24': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.24': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.24': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.24': [0.713, 6.667], 't3.103.114.24': [0.687, 5.0], 't5.103.114.24': [0.531, 5.0]}), 'newmec-3'], [({'t3.101.114.25': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.25': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.25': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.25': [0.534, 5.0], 't4.101.114.25': [0.728, 10.0], 't2.101.114.25': [0.769, 5.0]}), 'newmec-1'], [({'t5.104.114.26': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.26': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.26': [0.469, 5.0], 't1.104.114.26': [0.413, 6.667]}), 'newmec-4'], [({'t3.104.114.27': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.27': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.27': [0.747, 5.0], 't5.104.114.27': [0.615, 5.0]}), 'newmec-4'], [({'t3.102.114.28': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.28': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.28': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.28': [0.64, 5.0], 't2.102.114.28': [0.433, 5.0], 't4.102.114.28': [0.726, 10.0]}), 'newmec-2'], [({'t3.101.114.29': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.29': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.29': [0.47, 5.0], 't2.101.114.29': [0.767, 5.0]}), 'newmec-1'], [({'t1.102.114.30': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.30': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.30': [0.556, 6.667], 't2.102.114.30': [0.506, 5.0]}), 'newmec-2'], [({'t5.101.114.31': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.31': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.31': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.31': [0.578, 5.0], 't3.101.114.31': [0.642, 5.0], 't1.101.114.31': [0.643, 6.667]}), 'newmec-1'], [({'t5.102.114.32': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.32': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.32': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.32': [0.762, 5.0], 't4.102.114.32': [0.49, 10.0], 't3.102.114.32': [0.525, 5.0]}), 'newmec-2'], [({'t3.156.114.33': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.33': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.33': [0.628, 5.0], 't4.156.114.33': [0.572, 10.0]}), 'osboxes-0'], [({'t5.101.114.34': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.34': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.34': [0.601, 5.0], 't1.101.114.34': [0.705, 6.667]}), 'newmec-1'], [({'t1.104.114.35': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.35': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.35': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.35': [0.671, 6.667], 't5.104.114.35': [0.412, 5.0], 't4.104.114.35': [0.403, 10.0]}), 'newmec-4'], [({'t2.101.114.36': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.36': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.36': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.36': [0.484, 5.0], 't4.101.114.36': [0.463, 10.0], 't1.101.114.36': [0.444, 6.667]}), 'newmec-1'], [({'t3.103.114.37': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.37': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.37': [0.765, 5.0], 't1.103.114.37': [0.564, 6.667]}), 'newmec-3'], [({'t4.104.114.38': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.38': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.38': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.38': [0.586, 10.0], 't2.104.114.38': [0.562, 5.0], 't1.104.114.38': [0.444, 6.667]}), 'newmec-4'], [({'t5.102.114.39': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.39': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.39': [0.573, 5.0], 't3.102.114.39': [0.621, 5.0]}), 'newmec-2'], [({'t3.104.114.40': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.40': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.40': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.40': [0.692, 5.0], 't1.104.114.40': [0.72, 6.667], 't2.104.114.40': [0.647, 5.0]}), 'newmec-4'], [({'t1.101.114.41': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.41': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.41': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.41': [0.627, 6.667], 't5.101.114.41': [0.424, 5.0], 't3.101.114.41': [0.491, 5.0]}), 'newmec-1'], [({'t4.101.114.42': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.42': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.42': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.42': [0.435, 10.0], 't1.101.114.42': [0.734, 6.667], 't5.101.114.42': [0.502, 5.0]}), 'newmec-1'], [({'t2.102.114.43': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.43': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.43': [0.512, 5.0], 't5.102.114.43': [0.722, 5.0]}), 'newmec-2'], [({'t5.156.114.44': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.44': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.156.114.44': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.44': [0.756, 5.0], 't1.156.114.44': [0.444, 6.667], 't2.156.114.44': [0.727, 5.0]}), 'osboxes-0'], [({'t5.101.114.45': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.45': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.45': [0.419, 5.0], 't1.101.114.45': [0.72, 6.667]}), 'newmec-1'], [({'t1.102.114.46': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.46': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.46': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.46': [0.564, 6.667], 't5.102.114.46': [0.694, 5.0], 't2.102.114.46': [0.572, 5.0]}), 'newmec-2'], [({'t5.105.114.47': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.47': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.105.114.47': [0.626, 5.0], 't2.105.114.47': [0.694, 5.0]}), 'newmec-5'], [({'t3.102.114.48': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.48': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.48': [0.46, 5.0], 't5.102.114.48': [0.551, 5.0]}), 'newmec-2'], [({'t5.102.114.49': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.49': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.49': [0.693, 5.0], 't4.102.114.49': [0.612, 10.0]}), 'newmec-2'], [({'t3.102.114.50': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.50': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.50': [0.702, 5.0], 't2.102.114.50': [0.76, 5.0]}), 'newmec-2'], [({'t5.103.114.51': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.51': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.51': [0.717, 5.0], 't3.103.114.51': [0.41, 5.0]}), 'newmec-3'], [({'t2.102.114.52': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.52': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.52': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.52': [0.425, 5.0], 't3.102.114.52': [0.613, 5.0], 't4.102.114.52': [0.477, 10.0]}), 'newmec-2'], [({'t1.102.114.53': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.53': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.53': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.53': [0.647, 6.667], 't3.102.114.53': [0.693, 5.0], 't4.102.114.53': [0.623, 10.0]}), 'newmec-2'], [({'t2.104.114.54': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.54': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.54': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.54': [0.502, 5.0], 't1.104.114.54': [0.476, 6.667], 't5.104.114.54': [0.406, 5.0]}), 'newmec-4'], [({'t2.102.114.55': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.55': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.55': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.55': [0.452, 5.0], 't3.102.114.55': [0.794, 5.0], 't1.102.114.55': [0.551, 6.667]}), 'newmec-2'], [({'t3.101.114.56': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.56': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.56': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.56': [0.575, 5.0], 't2.101.114.56': [0.555, 5.0], 't4.101.114.56': [0.574, 10.0]}), 'newmec-1'], [({'t5.102.114.57': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.57': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.57': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.57': [0.587, 5.0], 't3.102.114.57': [0.533, 5.0], 't2.102.114.57': [0.502, 5.0]}), 'newmec-2'], [({'t3.102.114.58': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.58': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.58': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.58': [0.594, 5.0], 't1.102.114.58': [0.638, 6.667], 't4.102.114.58': [0.783, 10.0]}), 'newmec-2'], [({'t4.102.114.59': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.59': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.59': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.59': [0.541, 10.0], 't2.102.114.59': [0.773, 5.0], 't3.102.114.59': [0.539, 5.0]}), 'newmec-2'], [({'t4.102.114.60': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.60': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.60': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.60': [0.604, 10.0], 't2.102.114.60': [0.496, 5.0], 't3.102.114.60': [0.635, 5.0]}), 'newmec-2'], [({'t2.102.114.61': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.61': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.61': [0.596, 5.0], 't4.102.114.61': [0.646, 10.0]}), 'newmec-2'], [({'t1.102.114.62': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.62': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.62': [0.465, 6.667], 't4.102.114.62': [0.628, 10.0]}), 'newmec-2'], [({'t1.105.114.63': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.105.114.63': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.105.114.63': [0.426, 6.667], 't5.105.114.63': [0.524, 5.0]}), 'newmec-5'], [({'t5.102.114.64': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.64': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.64': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.64': [0.612, 5.0], 't2.102.114.64': [0.435, 5.0], 't1.102.114.64': [0.577, 6.667]}), 'newmec-2'], [({'t3.101.114.65': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.65': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.65': [0.519, 5.0], 't4.101.114.65': [0.594, 10.0]}), 'newmec-1'], [({'t5.101.114.66': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.66': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.66': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.66': [0.45, 5.0], 't1.101.114.66': [0.447, 6.667], 't4.101.114.66': [0.68, 10.0]}), 'newmec-1'], [({'t3.101.114.67': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.67': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.67': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.67': [0.542, 5.0], 't2.101.114.67': [0.791, 5.0], 't4.101.114.67': [0.634, 10.0]}), 'newmec-1'], [({'t5.102.114.68': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.68': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.68': [0.512, 5.0], 't4.102.114.68': [0.535, 10.0]}), 'newmec-2'], [({'t5.103.114.69': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.69': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.69': [0.481, 5.0], 't4.103.114.69': [0.488, 10.0]}), 'newmec-3'], [({'t2.101.114.70': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.70': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.70': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.70': [0.407, 5.0], 't3.101.114.70': [0.503, 5.0], 't4.101.114.70': [0.783, 10.0]}), 'newmec-1'], [({'t1.102.114.71': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.71': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.71': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.71': [0.579, 6.667], 't2.102.114.71': [0.536, 5.0], 't4.102.114.71': [0.712, 10.0]}), 'newmec-2'], [({'t2.102.114.72': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.72': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.72': [0.435, 5.0], 't5.102.114.72': [0.535, 5.0]}), 'newmec-2'], [({'t5.102.114.73': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.73': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.73': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.73': [0.488, 5.0], 't4.102.114.73': [0.566, 10.0], 't2.102.114.73': [0.653, 5.0]}), 'newmec-2'], [({'t3.101.114.74': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.74': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.74': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.74': [0.68, 5.0], 't4.101.114.74': [0.773, 10.0], 't2.101.114.74': [0.624, 5.0]}), 'newmec-1'], [({'t4.103.114.75': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.75': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.75': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.75': [0.65, 10.0], 't2.103.114.75': [0.471, 5.0], 't1.103.114.75': [0.639, 6.667]}), 'newmec-3'], [({'t3.103.114.76': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.76': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.76': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.76': [0.746, 5.0], 't2.103.114.76': [0.783, 5.0], 't5.103.114.76': [0.535, 5.0]}), 'newmec-3'], [({'t3.102.114.77': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.77': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.77': [0.515, 5.0], 't4.102.114.77': [0.477, 10.0]}), 'newmec-2'], [({'t2.102.114.78': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.78': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.78': [0.718, 5.0], 't4.102.114.78': [0.535, 10.0]}), 'newmec-2'], [({'t2.102.114.79': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.79': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.79': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.79': [0.733, 5.0], 't3.102.114.79': [0.652, 5.0], 't4.102.114.79': [0.505, 10.0]}), 'newmec-2'], [({'t3.102.114.80': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.80': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.80': [0.608, 5.0], 't1.102.114.80': [0.74, 6.667]}), 'newmec-2'], [({'t1.102.114.81': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.81': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.81': [0.768, 6.667], 't4.102.114.81': [0.517, 10.0]}), 'newmec-2'], [({'t2.101.114.82': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.82': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.82': [0.771, 5.0], 't4.101.114.82': [0.773, 10.0]}), 'newmec-1'], [({'t2.104.114.83': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.83': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.83': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.83': [0.562, 5.0], 't5.104.114.83': [0.746, 5.0], 't4.104.114.83': [0.724, 10.0]}), 'newmec-4'], [({'t4.102.114.84': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.84': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.84': [0.411, 10.0], 't2.102.114.84': [0.66, 5.0]}), 'newmec-2'], [({'t3.102.114.85': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.85': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.85': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.85': [0.423, 5.0], 't2.102.114.85': [0.786, 5.0], 't5.102.114.85': [0.726, 5.0]}), 'newmec-2'], [({'t3.101.114.86': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.86': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.86': [0.649, 5.0], 't2.101.114.86': [0.4, 5.0]}), 'newmec-1'], [({'t3.105.114.87': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.87': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.87': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.87': [0.559, 5.0], 't4.105.114.87': [0.739, 10.0], 't2.105.114.87': [0.466, 5.0]}), 'newmec-5'], [({'t1.101.114.88': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.88': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.88': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.88': [0.483, 6.667], 't3.101.114.88': [0.691, 5.0], 't4.101.114.88': [0.608, 10.0]}), 'newmec-1'], [({'t5.102.114.89': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.89': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.89': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.89': [0.76, 5.0], 't3.102.114.89': [0.661, 5.0], 't4.102.114.89': [0.509, 10.0]}), 'newmec-2'], [({'t4.104.114.90': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.90': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.90': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.90': [0.767, 10.0], 't3.104.114.90': [0.733, 5.0], 't5.104.114.90': [0.46, 5.0]}), 'newmec-4'], [({'t4.102.114.91': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.91': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.91': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.91': [0.496, 10.0], 't2.102.114.91': [0.447, 5.0], 't5.102.114.91': [0.759, 5.0]}), 'newmec-2'], [({'t1.101.114.92': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.92': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.92': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.92': [0.581, 6.667], 't5.101.114.92': [0.614, 5.0], 't2.101.114.92': [0.554, 5.0]}), 'newmec-1'], [({'t2.102.114.93': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.93': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.93': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.93': [0.703, 5.0], 't3.102.114.93': [0.645, 5.0], 't1.102.114.93': [0.708, 6.667]}), 'newmec-2'], [({'t2.102.114.94': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.94': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.94': [0.654, 5.0], 't5.102.114.94': [0.749, 5.0]}), 'newmec-2'], [({'t4.102.114.95': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.95': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.95': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.95': [0.423, 10.0], 't2.102.114.95': [0.785, 5.0], 't3.102.114.95': [0.564, 5.0]}), 'newmec-2'], [({'t4.104.114.96': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.96': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.96': [0.491, 10.0], 't5.104.114.96': [0.733, 5.0]}), 'newmec-4'], [({'t1.101.114.97': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.97': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.97': [0.695, 6.667], 't3.101.114.97': [0.435, 5.0]}), 'newmec-1'], [({'t2.104.114.98': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.98': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.98': [0.541, 5.0], 't3.104.114.98': [0.432, 5.0]}), 'newmec-4'], [({'t4.102.114.99': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.99': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.99': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.99': [0.463, 10.0], 't2.102.114.99': [0.755, 5.0], 't5.102.114.99': [0.414, 5.0]}), 'newmec-2'], [({'t1.103.114.100': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.100': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.100': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.100': [0.552, 6.667], 't2.103.114.100': [0.71, 5.0], 't4.103.114.100': [0.577, 10.0]}), 'newmec-3'], [({'t2.102.114.101': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.101': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.101': [0.579, 5.0], 't1.102.114.101': [0.561, 6.667]}), 'newmec-2'], [({'t2.102.114.102': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.102': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.102': [0.451, 5.0], 't4.102.114.102': [0.519, 10.0]}), 'newmec-2'], [({'t5.101.114.103': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.103': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.103': [0.701, 5.0], 't4.101.114.103': [0.494, 10.0]}), 'newmec-1'], [({'t1.102.114.104': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.104': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.104': [0.584, 6.667], 't3.102.114.104': [0.77, 5.0]}), 'newmec-2'], [({'t5.101.114.105': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.105': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.105': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.105': [0.671, 5.0], 't2.101.114.105': [0.423, 5.0], 't3.101.114.105': [0.738, 5.0]}), 'newmec-1'], [({'t2.102.114.106': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.106': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.106': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.106': [0.512, 5.0], 't4.102.114.106': [0.705, 10.0], 't5.102.114.106': [0.642, 5.0]}), 'newmec-2'], [({'t5.102.114.107': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.107': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.107': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.107': [0.692, 5.0], 't4.102.114.107': [0.724, 10.0], 't3.102.114.107': [0.608, 5.0]}), 'newmec-2'], [({'t1.102.114.108': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.108': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.108': [0.411, 6.667], 't5.102.114.108': [0.794, 5.0]}), 'newmec-2'], [({'t3.156.114.109': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.109': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.156.114.109': [0.552, 5.0], 't2.156.114.109': [0.544, 5.0]}), 'osboxes-0'], [({'t1.101.114.110': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.110': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.110': [0.589, 6.667], 't5.101.114.110': [0.583, 5.0]}), 'newmec-1'], [({'t4.103.114.111': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.111': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.111': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.111': [0.638, 10.0], 't1.103.114.111': [0.752, 6.667], 't2.103.114.111': [0.74, 5.0]}), 'newmec-3'], [({'t4.105.114.112': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.112': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.112': [0.542, 10.0], 't5.105.114.112': [0.761, 5.0]}), 'newmec-5'], [({'t4.102.114.113': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.113': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.113': [0.412, 10.0], 't5.102.114.113': [0.669, 5.0]}), 'newmec-2'], [({'t2.102.114.114': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.114': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.114': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.114': [0.798, 5.0], 't4.102.114.114': [0.532, 10.0], 't3.102.114.114': [0.432, 5.0]}), 'newmec-2'], [({'t3.105.114.115': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.115': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.105.114.115': [0.571, 5.0], 't5.105.114.115': [0.441, 5.0]}), 'newmec-5'], [({'t5.101.114.116': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.116': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.116': [0.755, 5.0], 't2.101.114.116': [0.771, 5.0]}), 'newmec-1'], [({'t5.102.114.117': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.117': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.117': [0.601, 5.0], 't2.102.114.117': [0.506, 5.0]}), 'newmec-2'], [({'t2.105.114.118': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.118': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.118': [0.718, 5.0], 't4.105.114.118': [0.5, 10.0]}), 'newmec-5'], [({'t3.105.114.119': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.119': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.119': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.105.114.119': [0.535, 5.0], 't2.105.114.119': [0.633, 5.0], 't4.105.114.119': [0.464, 10.0]}), 'newmec-5'], [({'t1.104.114.120': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.120': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.120': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.120': [0.426, 6.667], 't2.104.114.120': [0.642, 5.0], 't4.104.114.120': [0.786, 10.0]}), 'newmec-4'], [({'t2.105.114.121': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.105.114.121': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.121': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.121': [0.44, 5.0], 't3.105.114.121': [0.634, 5.0], 't4.105.114.121': [0.42, 10.0]}), 'newmec-5'], [({'t1.102.114.122': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.122': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.122': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.122': [0.742, 6.667], 't3.102.114.122': [0.536, 5.0], 't4.102.114.122': [0.764, 10.0]}), 'newmec-2'], [({'t4.101.114.123': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.123': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.123': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.123': [0.601, 10.0], 't3.101.114.123': [0.581, 5.0], 't5.101.114.123': [0.559, 5.0]}), 'newmec-1'], [({'t2.103.114.124': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.124': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.124': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.124': [0.456, 5.0], 't5.103.114.124': [0.793, 5.0], 't4.103.114.124': [0.562, 10.0]}), 'newmec-3'], [({'t4.102.114.125': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.125': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.125': [0.548, 10.0], 't2.102.114.125': [0.765, 5.0]}), 'newmec-2'], [({'t1.101.114.126': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.126': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.126': [0.77, 6.667], 't2.101.114.126': [0.561, 5.0]}), 'newmec-1'], [({'t4.101.114.127': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.127': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.127': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.127': [0.545, 10.0], 't1.101.114.127': [0.617, 6.667], 't2.101.114.127': [0.623, 5.0]}), 'newmec-1'], [({'t4.103.114.128': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.128': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.128': [0.794, 10.0], 't1.103.114.128': [0.576, 6.667]}), 'newmec-3'], [({'t3.156.114.129': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.129': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.129': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.129': [0.424, 5.0], 't1.156.114.129': [0.522, 6.667], 't5.156.114.129': [0.661, 5.0]}), 'osboxes-0'], [({'t4.102.114.130': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.130': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.130': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.130': [0.757, 10.0], 't2.102.114.130': [0.479, 5.0], 't1.102.114.130': [0.601, 6.667]}), 'newmec-2'], [({'t1.102.114.131': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.131': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.131': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.131': [0.499, 6.667], 't5.102.114.131': [0.625, 5.0], 't3.102.114.131': [0.574, 5.0]}), 'newmec-2'], [({'t2.101.114.132': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.132': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.132': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.132': [0.401, 5.0], 't5.101.114.132': [0.475, 5.0], 't3.101.114.132': [0.709, 5.0]}), 'newmec-1'], [({'t2.101.114.133': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.133': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.133': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.133': [0.553, 5.0], 't5.101.114.133': [0.589, 5.0], 't4.101.114.133': [0.458, 10.0]}), 'newmec-1'], [({'t5.102.114.134': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.134': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.134': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.134': [0.452, 5.0], 't4.102.114.134': [0.493, 10.0], 't1.102.114.134': [0.793, 6.667]}), 'newmec-2'], [({'t1.101.114.135': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.135': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.135': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.135': [0.587, 6.667], 't4.101.114.135': [0.407, 10.0], 't3.101.114.135': [0.787, 5.0]}), 'newmec-1'], [({'t4.104.114.136': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.136': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.136': [0.778, 10.0], 't2.104.114.136': [0.622, 5.0]}), 'newmec-4'], [({'t2.102.114.137': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.137': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.137': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.137': [0.412, 5.0], 't4.102.114.137': [0.52, 10.0], 't1.102.114.137': [0.558, 6.667]}), 'newmec-2'], [({'t4.102.114.138': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.138': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.138': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.138': [0.603, 10.0], 't5.102.114.138': [0.682, 5.0], 't3.102.114.138': [0.539, 5.0]}), 'newmec-2'], [({'t4.102.114.139': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.139': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.139': [0.63, 10.0], 't1.102.114.139': [0.637, 6.667]}), 'newmec-2'], [({'t4.104.114.140': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.140': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.140': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.140': [0.565, 10.0], 't2.104.114.140': [0.624, 5.0], 't3.104.114.140': [0.436, 5.0]}), 'newmec-4'], [({'t5.101.114.141': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.141': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.141': [0.642, 5.0], 't2.101.114.141': [0.755, 5.0]}), 'newmec-1'], [({'t1.102.114.142': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.142': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.142': [0.788, 6.667], 't2.102.114.142': [0.753, 5.0]}), 'newmec-2'], [({'t2.101.114.143': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.143': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.143': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.143': [0.41, 5.0], 't4.101.114.143': [0.458, 10.0], 't3.101.114.143': [0.603, 5.0]}), 'newmec-1'], [({'t2.104.114.144': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.144': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.144': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.144': [0.633, 5.0], 't1.104.114.144': [0.603, 6.667], 't3.104.114.144': [0.555, 5.0]}), 'newmec-4'], [({'t3.156.114.145': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.145': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.145': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.145': [0.573, 5.0], 't1.156.114.145': [0.679, 6.667], 't5.156.114.145': [0.619, 5.0]}), 'osboxes-0'], [({'t1.102.114.146': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.146': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.146': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.146': [0.462, 6.667], 't3.102.114.146': [0.749, 5.0], 't2.102.114.146': [0.499, 5.0]}), 'newmec-2'], [({'t5.156.114.147': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.147': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.147': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.147': [0.654, 5.0], 't3.156.114.147': [0.66, 5.0], 't4.156.114.147': [0.507, 10.0]}), 'osboxes-0'], [({'t2.105.114.148': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.148': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.148': [0.587, 5.0], 't1.105.114.148': [0.632, 6.667]}), 'newmec-5'], [({'t2.102.114.149': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.149': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.149': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.149': [0.484, 5.0], 't4.102.114.149': [0.769, 10.0], 't3.102.114.149': [0.424, 5.0]}), 'newmec-2'], [({'t5.101.114.150': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.150': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.150': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.150': [0.546, 5.0], 't2.101.114.150': [0.573, 5.0], 't4.101.114.150': [0.487, 10.0]}), 'newmec-1'], [({'t5.156.114.151': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.151': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.151': [0.736, 5.0], 't3.156.114.151': [0.412, 5.0]}), 'osboxes-0'], [({'t4.102.114.152': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.152': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.152': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.152': [0.794, 10.0], 't1.102.114.152': [0.409, 6.667], 't2.102.114.152': [0.592, 5.0]}), 'newmec-2'], [({'t1.103.114.153': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.153': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.153': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.153': [0.665, 6.667], 't2.103.114.153': [0.694, 5.0], 't3.103.114.153': [0.681, 5.0]}), 'newmec-3'], [({'t3.103.114.154': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.154': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.154': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.154': [0.666, 5.0], 't2.103.114.154': [0.54, 5.0], 't4.103.114.154': [0.656, 10.0]}), 'newmec-3'], [({'t1.104.114.155': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.155': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.155': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.155': [0.627, 6.667], 't2.104.114.155': [0.438, 5.0], 't3.104.114.155': [0.64, 5.0]}), 'newmec-4'], [({'t4.102.114.156': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.156': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.156': [0.746, 10.0], 't2.102.114.156': [0.401, 5.0]}), 'newmec-2'], [({'t4.101.114.157': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.157': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.157': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.157': [0.785, 10.0], 't3.101.114.157': [0.546, 5.0], 't2.101.114.157': [0.677, 5.0]}), 'newmec-1'], [({'t1.101.114.158': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.158': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.158': [0.565, 6.667], 't2.101.114.158': [0.592, 5.0]}), 'newmec-1'], [({'t5.102.114.159': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.159': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.159': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.159': [0.52, 5.0], 't4.102.114.159': [0.759, 10.0], 't3.102.114.159': [0.691, 5.0]}), 'newmec-2'], [({'t5.156.114.160': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.160': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.160': [0.633, 5.0], 't3.156.114.160': [0.491, 5.0]}), 'osboxes-0'], [({'t1.102.114.161': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.161': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.161': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.161': [0.625, 6.667], 't5.102.114.161': [0.655, 5.0], 't2.102.114.161': [0.672, 5.0]}), 'newmec-2'], [({'t5.102.114.162': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.162': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.162': [0.437, 5.0], 't2.102.114.162': [0.511, 5.0]}), 'newmec-2'], [({'t1.105.114.163': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.105.114.163': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.105.114.163': [0.592, 6.667], 't3.105.114.163': [0.454, 5.0]}), 'newmec-5'], [({'t2.101.114.164': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.164': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.164': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.164': [0.648, 5.0], 't1.101.114.164': [0.42, 6.667], 't3.101.114.164': [0.471, 5.0]}), 'newmec-1'], [({'t2.103.114.165': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.165': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.165': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.165': [0.645, 5.0], 't1.103.114.165': [0.742, 6.667], 't4.103.114.165': [0.721, 10.0]}), 'newmec-3'], [({'t4.101.114.166': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.166': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.166': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.166': [0.426, 10.0], 't1.101.114.166': [0.559, 6.667], 't2.101.114.166': [0.741, 5.0]}), 'newmec-1'], [({'t4.156.114.167': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.167': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.167': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.167': [0.446, 10.0], 't3.156.114.167': [0.77, 5.0], 't1.156.114.167': [0.743, 6.667]}), 'osboxes-0'], [({'t2.103.114.168': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.168': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.168': [0.547, 5.0], 't5.103.114.168': [0.596, 5.0]}), 'newmec-3'], [({'t5.104.114.169': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.169': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.169': [0.663, 5.0], 't1.104.114.169': [0.45, 6.667]}), 'newmec-4'], [({'t1.104.114.170': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.170': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.170': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.170': [0.559, 6.667], 't3.104.114.170': [0.445, 5.0], 't2.104.114.170': [0.535, 5.0]}), 'newmec-4'], [({'t4.101.114.171': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.171': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.171': [0.619, 10.0], 't3.101.114.171': [0.578, 5.0]}), 'newmec-1'], [({'t2.101.114.172': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.172': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.172': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.172': [0.753, 5.0], 't5.101.114.172': [0.484, 5.0], 't3.101.114.172': [0.65, 5.0]}), 'newmec-1'], [({'t2.103.114.173': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.173': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.173': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.173': [0.632, 5.0], 't1.103.114.173': [0.541, 6.667], 't4.103.114.173': [0.449, 10.0]}), 'newmec-3'], [({'t2.101.114.174': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.174': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.174': [0.475, 5.0], 't5.101.114.174': [0.408, 5.0]}), 'newmec-1'], [({'t4.105.114.175': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.175': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.175': [0.472, 10.0], 't5.105.114.175': [0.572, 5.0]}), 'newmec-5'], [({'t5.102.114.176': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.176': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.176': [0.595, 5.0], 't4.102.114.176': [0.688, 10.0]}), 'newmec-2'], [({'t2.104.114.177': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.177': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.177': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.177': [0.741, 5.0], 't1.104.114.177': [0.432, 6.667], 't4.104.114.177': [0.675, 10.0]}), 'newmec-4'], [({'t1.101.114.178': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.178': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.178': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.178': [0.415, 6.667], 't3.101.114.178': [0.409, 5.0], 't4.101.114.178': [0.412, 10.0]}), 'newmec-1'], [({'t2.105.114.179': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.179': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.179': [0.414, 5.0], 't1.105.114.179': [0.432, 6.667]}), 'newmec-5'], [({'t2.101.114.180': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.180': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.180': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.180': [0.544, 5.0], 't1.101.114.180': [0.578, 6.667], 't4.101.114.180': [0.579, 10.0]}), 'newmec-1'], [({'t5.101.114.181': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.181': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.181': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.181': [0.647, 5.0], 't2.101.114.181': [0.578, 5.0], 't1.101.114.181': [0.464, 6.667]}), 'newmec-1'], [({'t2.102.114.182': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.182': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.182': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.182': [0.545, 5.0], 't1.102.114.182': [0.61, 6.667], 't3.102.114.182': [0.782, 5.0]}), 'newmec-2'], [({'t4.104.114.183': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.183': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.183': [0.595, 10.0], 't5.104.114.183': [0.426, 5.0]}), 'newmec-4'], [({'t5.102.114.184': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.184': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.184': [0.737, 5.0], 't4.102.114.184': [0.748, 10.0]}), 'newmec-2'], [({'t3.104.114.185': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.185': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.185': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.185': [0.68, 5.0], 't1.104.114.185': [0.448, 6.667], 't2.104.114.185': [0.662, 5.0]}), 'newmec-4'], [({'t5.102.114.186': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.186': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.186': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.186': [0.531, 5.0], 't1.102.114.186': [0.522, 6.667], 't2.102.114.186': [0.568, 5.0]}), 'newmec-2'], [({'t2.102.114.187': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.187': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.187': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.187': [0.768, 5.0], 't5.102.114.187': [0.79, 5.0], 't3.102.114.187': [0.746, 5.0]}), 'newmec-2'], [({'t3.101.114.188': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.188': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.188': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.188': [0.545, 5.0], 't5.101.114.188': [0.659, 5.0], 't4.101.114.188': [0.513, 10.0]}), 'newmec-1'], [({'t1.102.114.189': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.189': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.189': [0.627, 6.667], 't4.102.114.189': [0.497, 10.0]}), 'newmec-2'], [({'t2.104.114.190': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.190': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.190': [0.413, 5.0], 't1.104.114.190': [0.753, 6.667]}), 'newmec-4'], [({'t5.104.114.191': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.191': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.191': [0.536, 5.0], 't1.104.114.191': [0.725, 6.667]}), 'newmec-4'], [({'t5.101.114.192': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.192': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.192': [0.634, 5.0], 't3.101.114.192': [0.699, 5.0]}), 'newmec-1'], [({'t1.103.114.193': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.193': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.193': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.193': [0.466, 6.667], 't5.103.114.193': [0.74, 5.0], 't3.103.114.193': [0.492, 5.0]}), 'newmec-3'], [({'t2.104.114.194': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.194': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.194': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.194': [0.547, 5.0], 't3.104.114.194': [0.556, 5.0], 't4.104.114.194': [0.755, 10.0]}), 'newmec-4'], [({'t2.103.114.195': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.195': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.195': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.195': [0.627, 5.0], 't5.103.114.195': [0.662, 5.0], 't4.103.114.195': [0.45, 10.0]}), 'newmec-3'], [({'t4.103.114.196': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.196': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.196': [0.468, 10.0], 't2.103.114.196': [0.554, 5.0]}), 'newmec-3'], [({'t4.101.114.197': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.197': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.197': [0.753, 10.0], 't2.101.114.197': [0.582, 5.0]}), 'newmec-1'], [({'t3.104.114.198': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.198': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.198': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.198': [0.607, 5.0], 't2.104.114.198': [0.684, 5.0], 't4.104.114.198': [0.408, 10.0]}), 'newmec-4'], [({'t3.102.114.199': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.199': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.199': [0.48, 5.0], 't2.102.114.199': [0.517, 5.0]}), 'newmec-2'], [({'t3.101.114.200': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.200': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.200': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.200': [0.552, 5.0], 't5.101.114.200': [0.511, 5.0], 't2.101.114.200': [0.8, 5.0]}), 'newmec-1'], [({'t4.102.114.201': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.201': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.201': [0.696, 10.0], 't3.102.114.201': [0.704, 5.0]}), 'newmec-2'], [({'t4.104.114.202': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.202': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.202': [0.696, 10.0], 't3.104.114.202': [0.418, 5.0]}), 'newmec-4'], [({'t3.156.114.203': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.203': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.203': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.203': [0.554, 5.0], 't4.156.114.203': [0.518, 10.0], 't5.156.114.203': [0.667, 5.0]}), 'osboxes-0'], [({'t1.101.114.204': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.204': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.204': [0.556, 6.667], 't5.101.114.204': [0.666, 5.0]}), 'newmec-1'], [({'t4.103.114.205': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.205': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.205': [0.476, 10.0], 't2.103.114.205': [0.55, 5.0]}), 'newmec-3'], [({'t4.101.114.206': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.206': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.206': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.206': [0.734, 10.0], 't3.101.114.206': [0.651, 5.0], 't5.101.114.206': [0.49, 5.0]}), 'newmec-1'], [({'t3.102.114.207': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.207': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.207': [0.502, 5.0], 't4.102.114.207': [0.753, 10.0]}), 'newmec-2'], [({'t3.104.114.208': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.208': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.208': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.208': [0.674, 5.0], 't5.104.114.208': [0.658, 5.0], 't1.104.114.208': [0.468, 6.667]}), 'newmec-4'], [({'t2.101.114.209': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.209': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.209': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.209': [0.516, 5.0], 't4.101.114.209': [0.599, 10.0], 't5.101.114.209': [0.679, 5.0]}), 'newmec-1'], [({'t5.102.114.210': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.210': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.210': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.210': [0.589, 5.0], 't2.102.114.210': [0.724, 5.0], 't4.102.114.210': [0.423, 10.0]}), 'newmec-2'], [({'t3.101.114.211': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.211': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.211': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.211': [0.505, 5.0], 't2.101.114.211': [0.677, 5.0], 't4.101.114.211': [0.779, 10.0]}), 'newmec-1'], [({'t2.104.114.212': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.212': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.212': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.212': [0.553, 5.0], 't4.104.114.212': [0.728, 10.0], 't5.104.114.212': [0.49, 5.0]}), 'newmec-4'], [({'t4.102.114.213': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.213': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.213': [0.447, 10.0], 't3.102.114.213': [0.494, 5.0]}), 'newmec-2'], [({'t1.101.114.214': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.214': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.214': [0.485, 6.667], 't4.101.114.214': [0.433, 10.0]}), 'newmec-1'], [({'t5.102.114.215': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.215': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.215': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.215': [0.613, 5.0], 't4.102.114.215': [0.632, 10.0], 't3.102.114.215': [0.761, 5.0]}), 'newmec-2'], [({'t2.104.114.216': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.216': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.216': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.216': [0.681, 5.0], 't4.104.114.216': [0.727, 10.0], 't5.104.114.216': [0.751, 5.0]}), 'newmec-4'], [({'t3.105.114.217': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.217': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.217': [0.63, 5.0], 't2.105.114.217': [0.609, 5.0]}), 'newmec-5'], [({'t4.103.114.218': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.218': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.218': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.218': [0.705, 10.0], 't3.103.114.218': [0.64, 5.0], 't2.103.114.218': [0.75, 5.0]}), 'newmec-3'], [({'t2.102.114.219': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.219': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.219': [0.507, 5.0], 't3.102.114.219': [0.784, 5.0]}), 'newmec-2'], [({'t4.101.114.220': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.220': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.220': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.220': [0.624, 10.0], 't1.101.114.220': [0.401, 6.667], 't5.101.114.220': [0.401, 5.0]}), 'newmec-1'], [({'t4.105.114.221': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.221': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.105.114.221': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.221': [0.474, 10.0], 't3.105.114.221': [0.445, 5.0], 't1.105.114.221': [0.702, 6.667]}), 'newmec-5'], [({'t2.103.114.222': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.222': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.222': [0.437, 5.0], 't5.103.114.222': [0.58, 5.0]}), 'newmec-3'], [({'t5.156.114.223': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.223': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.223': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.223': [0.792, 5.0], 't3.156.114.223': [0.7, 5.0], 't4.156.114.223': [0.687, 10.0]}), 'osboxes-0'], [({'t1.102.114.224': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.224': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.224': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.224': [0.709, 6.667], 't5.102.114.224': [0.613, 5.0], 't4.102.114.224': [0.553, 10.0]}), 'newmec-2'], [({'t5.102.114.225': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.225': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.225': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.225': [0.546, 5.0], 't3.102.114.225': [0.454, 5.0], 't2.102.114.225': [0.796, 5.0]}), 'newmec-2'], [({'t2.104.114.226': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.226': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.226': [0.674, 5.0], 't1.104.114.226': [0.719, 6.667]}), 'newmec-4'], [({'t2.105.114.227': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.227': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.227': [0.491, 5.0], 't1.105.114.227': [0.507, 6.667]}), 'newmec-5'], [({'t5.103.114.228': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.228': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.228': [0.643, 5.0], 't2.103.114.228': [0.628, 5.0]}), 'newmec-3'], [({'t5.102.114.229': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.229': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.229': [0.681, 5.0], 't2.102.114.229': [0.491, 5.0]}), 'newmec-2'], [({'t5.101.114.230': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.230': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.230': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.230': [0.724, 5.0], 't4.101.114.230': [0.777, 10.0], 't1.101.114.230': [0.594, 6.667]}), 'newmec-1'], [({'t1.102.114.231': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.231': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.231': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.231': [0.747, 6.667], 't3.102.114.231': [0.498, 5.0], 't4.102.114.231': [0.742, 10.0]}), 'newmec-2'], [({'t2.105.114.232': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.232': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.232': [0.453, 5.0], 't4.105.114.232': [0.729, 10.0]}), 'newmec-5'], [({'t2.101.114.233': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.233': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.233': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.233': [0.447, 5.0], 't4.101.114.233': [0.712, 10.0], 't5.101.114.233': [0.727, 5.0]}), 'newmec-1'], [({'t2.101.114.234': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.234': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.234': [0.591, 5.0], 't4.101.114.234': [0.428, 10.0]}), 'newmec-1'], [({'t5.102.114.235': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.235': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.235': [0.663, 5.0], 't4.102.114.235': [0.788, 10.0]}), 'newmec-2'], [({'t2.105.114.236': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.236': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.236': [0.74, 5.0], 't4.105.114.236': [0.61, 10.0]}), 'newmec-5'], [({'t2.102.114.237': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.237': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.237': [0.473, 5.0], 't4.102.114.237': [0.771, 10.0]}), 'newmec-2'], [({'t4.102.114.238': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.238': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.238': [0.6, 10.0], 't3.102.114.238': [0.416, 5.0]}), 'newmec-2'], [({'t2.102.114.239': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.239': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.239': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.239': [0.417, 5.0], 't3.102.114.239': [0.533, 5.0], 't4.102.114.239': [0.705, 10.0]}), 'newmec-2'], [({'t3.104.114.240': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.240': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.240': [0.644, 5.0], 't4.104.114.240': [0.795, 10.0]}), 'newmec-4'], [({'t3.102.114.241': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.241': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.241': [0.756, 5.0], 't2.102.114.241': [0.685, 5.0]}), 'newmec-2'], [({'t3.102.114.242': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.242': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.242': [0.463, 5.0], 't2.102.114.242': [0.789, 5.0]}), 'newmec-2'], [({'t2.105.114.243': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.243': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.243': [0.511, 5.0], 't1.105.114.243': [0.468, 6.667]}), 'newmec-5'], [({'t5.102.114.244': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.244': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.244': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.244': [0.404, 5.0], 't4.102.114.244': [0.748, 10.0], 't2.102.114.244': [0.627, 5.0]}), 'newmec-2'], [({'t1.104.114.245': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.245': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.245': [0.49, 6.667], 't2.104.114.245': [0.594, 5.0]}), 'newmec-4'], [({'t4.101.114.246': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.246': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.246': [0.766, 10.0], 't3.101.114.246': [0.409, 5.0]}), 'newmec-1'], [({'t2.101.114.247': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.247': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.247': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.247': [0.532, 5.0], 't4.101.114.247': [0.745, 10.0], 't5.101.114.247': [0.708, 5.0]}), 'newmec-1'], [({'t5.101.114.248': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.248': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.248': [0.659, 5.0], 't3.101.114.248': [0.674, 5.0]}), 'newmec-1'], [({'t2.102.114.249': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.249': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.249': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.249': [0.555, 5.0], 't1.102.114.249': [0.576, 6.667], 't5.102.114.249': [0.608, 5.0]}), 'newmec-2'], [({'t3.104.114.250': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.250': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.250': [0.704, 5.0], 't2.104.114.250': [0.601, 5.0]}), 'newmec-4'], [({'t5.101.114.251': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.251': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.251': [0.465, 5.0], 't3.101.114.251': [0.489, 5.0]}), 'newmec-1'], [({'t5.101.114.252': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.252': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.252': [0.468, 5.0], 't2.101.114.252': [0.567, 5.0]}), 'newmec-1'], [({'t4.103.114.253': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.253': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.253': [0.662, 10.0], 't3.103.114.253': [0.702, 5.0]}), 'newmec-3'], [({'t4.101.114.254': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.254': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.254': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.254': [0.451, 10.0], 't2.101.114.254': [0.647, 5.0], 't1.101.114.254': [0.429, 6.667]}), 'newmec-1'], [({'t4.105.114.255': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.255': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.105.114.255': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.255': [0.795, 10.0], 't3.105.114.255': [0.433, 5.0], 't1.105.114.255': [0.696, 6.667]}), 'newmec-5'], [({'t3.101.114.256': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.256': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.256': [0.675, 5.0], 't4.101.114.256': [0.624, 10.0]}), 'newmec-1'], [({'t4.102.114.257': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.257': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.257': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.257': [0.437, 10.0], 't5.102.114.257': [0.79, 5.0], 't3.102.114.257': [0.467, 5.0]}), 'newmec-2'], [({'t3.102.114.258': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.258': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.258': [0.708, 5.0], 't5.102.114.258': [0.799, 5.0]}), 'newmec-2'], [({'t3.103.114.259': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.259': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.259': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.259': [0.764, 5.0], 't5.103.114.259': [0.668, 5.0], 't4.103.114.259': [0.468, 10.0]}), 'newmec-3'], [({'t5.104.114.260': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.260': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.260': [0.792, 5.0], 't1.104.114.260': [0.498, 6.667]}), 'newmec-4'], [({'t4.102.114.261': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.261': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.261': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.261': [0.493, 10.0], 't2.102.114.261': [0.439, 5.0], 't3.102.114.261': [0.778, 5.0]}), 'newmec-2'], [({'t2.156.114.262': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.262': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.262': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.262': [0.71, 5.0], 't3.156.114.262': [0.779, 5.0], 't5.156.114.262': [0.551, 5.0]}), 'osboxes-0'], [({'t3.102.114.263': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.263': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.263': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.263': [0.412, 5.0], 't1.102.114.263': [0.437, 6.667], 't2.102.114.263': [0.458, 5.0]}), 'newmec-2'], [({'t3.102.114.264': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.264': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.264': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.264': [0.451, 5.0], 't4.102.114.264': [0.475, 10.0], 't2.102.114.264': [0.753, 5.0]}), 'newmec-2'], [({'t2.103.114.265': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.265': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.265': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.265': [0.685, 5.0], 't5.103.114.265': [0.483, 5.0], 't4.103.114.265': [0.613, 10.0]}), 'newmec-3'], [({'t5.103.114.266': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.266': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.266': [0.672, 5.0], 't3.103.114.266': [0.79, 5.0]}), 'newmec-3'], [({'t3.105.114.267': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.267': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.267': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.105.114.267': [0.528, 5.0], 't2.105.114.267': [0.727, 5.0], 't1.105.114.267': [0.722, 6.667]}), 'newmec-5'], [({'t1.104.114.268': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.268': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.268': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.268': [0.719, 6.667], 't5.104.114.268': [0.593, 5.0], 't3.104.114.268': [0.562, 5.0]}), 'newmec-4'], [({'t5.102.114.269': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.269': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.269': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.269': [0.665, 5.0], 't4.102.114.269': [0.438, 10.0], 't3.102.114.269': [0.616, 5.0]}), 'newmec-2'], [({'t2.102.114.270': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.270': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.270': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.270': [0.641, 5.0], 't1.102.114.270': [0.795, 6.667], 't4.102.114.270': [0.592, 10.0]}), 'newmec-2'], [({'t5.101.114.271': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.271': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.271': [0.76, 5.0], 't4.101.114.271': [0.658, 10.0]}), 'newmec-1'], [({'t4.101.114.272': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.272': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.272': [0.478, 10.0], 't3.101.114.272': [0.518, 5.0]}), 'newmec-1'], [({'t5.102.114.273': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.273': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.273': [0.497, 5.0], 't2.102.114.273': [0.736, 5.0]}), 'newmec-2'], [({'t2.104.114.274': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.274': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.274': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.274': [0.494, 5.0], 't1.104.114.274': [0.443, 6.667], 't5.104.114.274': [0.548, 5.0]}), 'newmec-4'], [({'t1.101.114.275': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.275': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.275': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.275': [0.488, 6.667], 't3.101.114.275': [0.515, 5.0], 't5.101.114.275': [0.461, 5.0]}), 'newmec-1'], [({'t2.101.114.276': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.276': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.276': [0.749, 5.0], 't1.101.114.276': [0.546, 6.667]}), 'newmec-1'], [({'t3.101.114.277': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.277': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.277': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.277': [0.671, 5.0], 't4.101.114.277': [0.535, 10.0], 't2.101.114.277': [0.483, 5.0]}), 'newmec-1'], [({'t5.101.114.278': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.278': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.278': [0.752, 5.0], 't3.101.114.278': [0.772, 5.0]}), 'newmec-1'], [({'t4.104.114.279': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.279': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.279': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.279': [0.549, 10.0], 't3.104.114.279': [0.476, 5.0], 't5.104.114.279': [0.661, 5.0]}), 'newmec-4'], [({'t2.105.114.280': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.280': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.105.114.280': [0.58, 5.0], 't5.105.114.280': [0.429, 5.0]}), 'newmec-5'], [({'t2.103.114.281': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.281': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.281': [0.626, 5.0], 't4.103.114.281': [0.693, 10.0]}), 'newmec-3'], [({'t5.104.114.282': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.282': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.282': [0.599, 5.0], 't3.104.114.282': [0.425, 5.0]}), 'newmec-4'], [({'t5.101.114.283': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.283': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.283': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.283': [0.532, 5.0], 't2.101.114.283': [0.528, 5.0], 't3.101.114.283': [0.782, 5.0]}), 'newmec-1'], [({'t2.102.114.284': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.284': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.284': [0.429, 5.0], 't4.102.114.284': [0.4, 10.0]}), 'newmec-2'], [({'t4.102.114.285': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.285': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.285': [0.553, 10.0], 't3.102.114.285': [0.722, 5.0]}), 'newmec-2'], [({'t3.101.114.286': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.286': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.286': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.286': [0.571, 5.0], 't2.101.114.286': [0.75, 5.0], 't4.101.114.286': [0.585, 10.0]}), 'newmec-1'], [({'t2.102.114.287': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.287': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.287': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.287': [0.639, 5.0], 't5.102.114.287': [0.55, 5.0], 't4.102.114.287': [0.492, 10.0]}), 'newmec-2'], [({'t4.101.114.288': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.288': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.288': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.288': [0.692, 10.0], 't1.101.114.288': [0.58, 6.667], 't5.101.114.288': [0.52, 5.0]}), 'newmec-1'], [({'t3.104.114.289': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.289': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.289': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.289': [0.745, 5.0], 't5.104.114.289': [0.442, 5.0], 't2.104.114.289': [0.502, 5.0]}), 'newmec-4'], [({'t4.102.114.290': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.290': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.290': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.290': [0.587, 10.0], 't5.102.114.290': [0.437, 5.0], 't2.102.114.290': [0.608, 5.0]}), 'newmec-2'], [({'t3.103.114.291': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.291': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.291': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.291': [0.623, 5.0], 't4.103.114.291': [0.69, 10.0], 't2.103.114.291': [0.407, 5.0]}), 'newmec-3'], [({'t3.101.114.292': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.292': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.292': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.292': [0.643, 5.0], 't4.101.114.292': [0.603, 10.0], 't1.101.114.292': [0.653, 6.667]}), 'newmec-1'], [({'t5.101.114.293': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.293': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.293': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.293': [0.455, 5.0], 't2.101.114.293': [0.741, 5.0], 't4.101.114.293': [0.628, 10.0]}), 'newmec-1'], [({'t3.101.114.294': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.294': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.294': [0.719, 5.0], 't1.101.114.294': [0.539, 6.667]}), 'newmec-1'], [({'t3.104.114.295': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.295': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.295': [0.629, 5.0], 't5.104.114.295': [0.407, 5.0]}), 'newmec-4'], [({'t1.101.114.296': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.296': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.296': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.296': [0.62, 6.667], 't3.101.114.296': [0.679, 5.0], 't2.101.114.296': [0.653, 5.0]}), 'newmec-1'], [({'t2.103.114.297': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.297': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.297': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.297': [0.59, 5.0], 't5.103.114.297': [0.494, 5.0], 't3.103.114.297': [0.648, 5.0]}), 'newmec-3'], [({'t2.104.114.298': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.298': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.298': [0.462, 5.0], 't5.104.114.298': [0.777, 5.0]}), 'newmec-4'], [({'t5.101.114.299': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.299': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.299': [0.468, 5.0], 't2.101.114.299': [0.529, 5.0]}), 'newmec-1'], [({'t3.102.114.300': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.300': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.300': [0.475, 5.0], 't1.102.114.300': [0.607, 6.667]}), 'newmec-2'], [({'t2.101.114.301': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.301': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.301': [0.646, 5.0], 't5.101.114.301': [0.532, 5.0]}), 'newmec-1'], [({'t5.105.114.302': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.302': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.302': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.105.114.302': [0.738, 5.0], 't2.105.114.302': [0.736, 5.0], 't4.105.114.302': [0.625, 10.0]}), 'newmec-5'], [({'t4.102.114.303': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.303': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.303': [0.544, 10.0], 't1.102.114.303': [0.591, 6.667]}), 'newmec-2'], [({'t2.101.114.304': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.304': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.304': [0.516, 5.0], 't5.101.114.304': [0.731, 5.0]}), 'newmec-1'], [({'t3.104.114.305': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.305': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.305': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.305': [0.45, 5.0], 't4.104.114.305': [0.443, 10.0], 't1.104.114.305': [0.775, 6.667]}), 'newmec-4'], [({'t5.104.114.306': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.306': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.306': [0.522, 5.0], 't4.104.114.306': [0.55, 10.0]}), 'newmec-4'], [({'t4.101.114.307': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.307': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.307': [0.563, 10.0], 't5.101.114.307': [0.587, 5.0]}), 'newmec-1'], [({'t4.105.114.308': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.308': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.308': [0.448, 10.0], 't1.105.114.308': [0.553, 6.667]}), 'newmec-5'], [({'t3.102.114.309': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.309': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.309': [0.579, 5.0], 't4.102.114.309': [0.772, 10.0]}), 'newmec-2'], [({'t5.105.114.310': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.105.114.310': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.105.114.310': [0.645, 5.0], 't3.105.114.310': [0.427, 5.0]}), 'newmec-5'], [({'t4.101.114.311': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.311': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.311': [0.689, 10.0], 't5.101.114.311': [0.569, 5.0]}), 'newmec-1'], [({'t2.102.114.312': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.312': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.312': [0.603, 5.0], 't1.102.114.312': [0.491, 6.667]}), 'newmec-2'], [({'t3.103.114.313': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.313': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.313': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.313': [0.49, 5.0], 't4.103.114.313': [0.461, 10.0], 't5.103.114.313': [0.691, 5.0]}), 'newmec-3'], [({'t1.101.114.314': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.314': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.314': [0.44, 6.667], 't4.101.114.314': [0.615, 10.0]}), 'newmec-1'], [({'t5.104.114.315': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.315': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.315': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.315': [0.546, 5.0], 't2.104.114.315': [0.574, 5.0], 't4.104.114.315': [0.495, 10.0]}), 'newmec-4'], [({'t3.101.114.316': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.316': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.316': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.316': [0.63, 5.0], 't2.101.114.316': [0.581, 5.0], 't4.101.114.316': [0.426, 10.0]}), 'newmec-1'], [({'t5.102.114.317': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.317': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.317': [0.661, 5.0], 't4.102.114.317': [0.584, 10.0]}), 'newmec-2'], [({'t5.105.114.318': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.318': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.105.114.318': [0.566, 5.0], 't1.105.114.318': [0.541, 6.667]}), 'newmec-5'], [({'t3.102.114.319': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.319': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.319': [0.546, 5.0], 't1.102.114.319': [0.635, 6.667]}), 'newmec-2'], [({'t3.105.114.320': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.320': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.320': [0.541, 5.0], 't2.105.114.320': [0.752, 5.0]}), 'newmec-5'], [({'t4.102.114.321': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.321': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.321': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.321': [0.43, 10.0], 't2.102.114.321': [0.739, 5.0], 't5.102.114.321': [0.585, 5.0]}), 'newmec-2'], [({'t3.104.114.322': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.322': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.322': [0.58, 5.0], 't2.104.114.322': [0.453, 5.0]}), 'newmec-4'], [({'t4.102.114.323': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.323': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.323': [0.428, 10.0], 't3.102.114.323': [0.689, 5.0]}), 'newmec-2'], [({'t2.101.114.324': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.324': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.324': [0.527, 5.0], 't5.101.114.324': [0.506, 5.0]}), 'newmec-1'], [({'t3.102.114.325': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.325': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.325': [0.482, 5.0], 't4.102.114.325': [0.57, 10.0]}), 'newmec-2'], [({'t5.102.114.326': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.326': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.326': [0.442, 5.0], 't2.102.114.326': [0.545, 5.0]}), 'newmec-2'], [({'t1.102.114.327': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.327': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.327': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.327': [0.689, 6.667], 't5.102.114.327': [0.476, 5.0], 't4.102.114.327': [0.651, 10.0]}), 'newmec-2'], [({'t4.102.114.328': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.328': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.328': [0.572, 10.0], 't5.102.114.328': [0.666, 5.0]}), 'newmec-2'], [({'t4.105.114.329': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.329': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.105.114.329': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.105.114.329': [0.771, 10.0], 't5.105.114.329': [0.699, 5.0], 't3.105.114.329': [0.476, 5.0]}), 'newmec-5'], [({'t3.105.114.330': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.330': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.105.114.330': [0.464, 5.0], 't4.105.114.330': [0.581, 10.0]}), 'newmec-5'], [({'t3.101.114.331': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.331': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.331': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.331': [0.509, 5.0], 't2.101.114.331': [0.52, 5.0], 't4.101.114.331': [0.74, 10.0]}), 'newmec-1'], [({'t2.101.114.332': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.332': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.332': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.332': [0.452, 5.0], 't5.101.114.332': [0.732, 5.0], 't4.101.114.332': [0.419, 10.0]}), 'newmec-1'], [({'t1.102.114.333': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.333': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.333': [0.763, 6.667], 't5.102.114.333': [0.614, 5.0]}), 'newmec-2'], [({'t3.105.114.334': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.334': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.105.114.334': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.105.114.334': [0.531, 5.0], 't5.105.114.334': [0.43, 5.0], 't4.105.114.334': [0.527, 10.0]}), 'newmec-5'], [({'t5.105.114.335': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.335': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.105.114.335': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.105.114.335': [0.769, 5.0], 't2.105.114.335': [0.609, 5.0], 't3.105.114.335': [0.76, 5.0]}), 'newmec-5'], [({'t2.101.114.336': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.336': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.336': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.336': [0.637, 5.0], 't4.101.114.336': [0.623, 10.0], 't3.101.114.336': [0.554, 5.0]}), 'newmec-1'], [({'t3.102.114.337': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.337': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.337': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.337': [0.436, 5.0], 't2.102.114.337': [0.586, 5.0], 't4.102.114.337': [0.585, 10.0]}), 'newmec-2'], [({'t1.103.114.338': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.338': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.338': [0.41, 6.667], 't4.103.114.338': [0.719, 10.0]}), 'newmec-3'], [({'t2.102.114.339': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.339': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.339': [0.658, 5.0], 't5.102.114.339': [0.635, 5.0]}), 'newmec-2'], [({'t1.104.114.340': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.340': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.340': [0.758, 6.667], 't2.104.114.340': [0.587, 5.0]}), 'newmec-4'], [({'t4.101.114.341': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.341': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.341': [0.645, 10.0], 't2.101.114.341': [0.455, 5.0]}), 'newmec-1'], [({'t2.102.114.342': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.342': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.342': [0.645, 5.0], 't5.102.114.342': [0.637, 5.0]}), 'newmec-2'], [({'t3.102.114.343': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.343': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.343': [0.453, 5.0], 't5.102.114.343': [0.521, 5.0]}), 'newmec-2'], [({'t3.101.114.344': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.344': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.344': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.344': [0.499, 5.0], 't1.101.114.344': [0.454, 6.667], 't5.101.114.344': [0.781, 5.0]}), 'newmec-1'], [({'t4.101.114.345': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.345': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.345': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.345': [0.709, 10.0], 't5.101.114.345': [0.574, 5.0], 't2.101.114.345': [0.592, 5.0]}), 'newmec-1'], [({'t1.105.114.346': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.346': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.346': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.105.114.346': [0.583, 6.667], 't4.105.114.346': [0.408, 10.0], 't5.105.114.346': [0.439, 5.0]}), 'newmec-5'], [({'t4.102.114.347': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.347': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.347': [0.417, 10.0], 't5.102.114.347': [0.533, 5.0]}), 'newmec-2'], [({'t5.104.114.348': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.348': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.348': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.348': [0.734, 5.0], 't1.104.114.348': [0.678, 6.667], 't2.104.114.348': [0.479, 5.0]}), 'newmec-4'], [({'t5.102.114.349': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.349': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.349': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.349': [0.573, 5.0], 't2.102.114.349': [0.598, 5.0], 't3.102.114.349': [0.471, 5.0]}), 'newmec-2'], [({'t5.101.114.350': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.350': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.350': [0.599, 5.0], 't4.101.114.350': [0.547, 10.0]}), 'newmec-1'], [({'t2.102.114.351': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.351': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.351': [0.411, 5.0], 't4.102.114.351': [0.567, 10.0]}), 'newmec-2'], [({'t2.101.114.352': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.352': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.352': [0.723, 5.0], 't3.101.114.352': [0.481, 5.0]}), 'newmec-1'], [({'t5.101.114.353': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.353': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.353': [0.631, 5.0], 't2.101.114.353': [0.421, 5.0]}), 'newmec-1'], [({'t5.102.114.354': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.354': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.354': [0.634, 5.0], 't1.102.114.354': [0.517, 6.667]}), 'newmec-2'], [({'t3.101.114.355': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.355': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.355': [0.54, 5.0], 't1.101.114.355': [0.688, 6.667]}), 'newmec-1'], [({'t1.101.114.356': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.356': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.356': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.356': [0.776, 6.667], 't2.101.114.356': [0.781, 5.0], 't5.101.114.356': [0.464, 5.0]}), 'newmec-1'], [({'t4.104.114.357': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.357': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.357': [0.592, 10.0], 't2.104.114.357': [0.538, 5.0]}), 'newmec-4'], [({'t3.101.114.358': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.358': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.358': [0.458, 5.0], 't1.101.114.358': [0.494, 6.667]}), 'newmec-1'], [({'t3.104.114.359': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.359': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.359': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.359': [0.613, 5.0], 't5.104.114.359': [0.404, 5.0], 't1.104.114.359': [0.519, 6.667]}), 'newmec-4'], [({'t2.101.114.360': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.360': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.360': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.360': [0.689, 5.0], 't5.101.114.360': [0.502, 5.0], 't1.101.114.360': [0.79, 6.667]}), 'newmec-1'], [({'t4.103.114.361': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.361': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.361': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.361': [0.422, 10.0], 't3.103.114.361': [0.658, 5.0], 't5.103.114.361': [0.476, 5.0]}), 'newmec-3'], [({'t5.102.114.362': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.362': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.362': [0.636, 5.0], 't2.102.114.362': [0.697, 5.0]}), 'newmec-2'], [({'t1.102.114.363': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.363': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.363': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.363': [0.414, 6.667], 't2.102.114.363': [0.785, 5.0], 't3.102.114.363': [0.75, 5.0]}), 'newmec-2'], [({'t1.101.114.364': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.364': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.364': [0.58, 6.667], 't3.101.114.364': [0.459, 5.0]}), 'newmec-1'], [({'t4.104.114.365': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.365': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.365': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.365': [0.541, 10.0], 't3.104.114.365': [0.438, 5.0], 't5.104.114.365': [0.761, 5.0]}), 'newmec-4'], [({'t5.102.114.366': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.366': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.366': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.366': [0.583, 5.0], 't1.102.114.366': [0.512, 6.667], 't4.102.114.366': [0.73, 10.0]}), 'newmec-2'], [({'t2.105.114.367': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.367': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.367': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.105.114.367': [0.426, 5.0], 't4.105.114.367': [0.787, 10.0], 't3.105.114.367': [0.74, 5.0]}), 'newmec-5'], [({'t4.102.114.368': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.368': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.368': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.368': [0.734, 10.0], 't3.102.114.368': [0.507, 5.0], 't1.102.114.368': [0.615, 6.667]}), 'newmec-2'], [({'t5.101.114.369': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.369': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.369': [0.524, 5.0], 't3.101.114.369': [0.432, 5.0]}), 'newmec-1'], [({'t5.101.114.370': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.370': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.370': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.370': [0.641, 5.0], 't1.101.114.370': [0.743, 6.667], 't4.101.114.370': [0.515, 10.0]}), 'newmec-1'], [({'t1.101.114.371': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.371': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.371': [0.518, 6.667], 't5.101.114.371': [0.494, 5.0]}), 'newmec-1'], [({'t2.101.114.372': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.372': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.372': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.372': [0.751, 5.0], 't4.101.114.372': [0.603, 10.0], 't5.101.114.372': [0.557, 5.0]}), 'newmec-1'], [({'t2.101.114.373': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.373': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.373': [0.698, 5.0], 't5.101.114.373': [0.787, 5.0]}), 'newmec-1'], [({'t2.102.114.374': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.374': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.374': [0.78, 5.0], 't3.102.114.374': [0.427, 5.0]}), 'newmec-2'], [({'t3.102.114.375': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.375': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.375': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.375': [0.61, 5.0], 't5.102.114.375': [0.707, 5.0], 't1.102.114.375': [0.458, 6.667]}), 'newmec-2'], [({'t4.105.114.376': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.376': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.376': [0.765, 10.0], 't1.105.114.376': [0.482, 6.667]}), 'newmec-5'], [({'t1.102.114.377': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.377': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.377': [0.592, 6.667], 't4.102.114.377': [0.46, 10.0]}), 'newmec-2'], [({'t2.102.114.378': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.378': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.378': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.378': [0.584, 5.0], 't3.102.114.378': [0.516, 5.0], 't5.102.114.378': [0.522, 5.0]}), 'newmec-2'], [({'t5.103.114.379': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.379': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.379': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.379': [0.525, 5.0], 't3.103.114.379': [0.424, 5.0], 't2.103.114.379': [0.424, 5.0]}), 'newmec-3'], [({'t4.101.114.380': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.380': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.380': [0.684, 10.0], 't5.101.114.380': [0.565, 5.0]}), 'newmec-1'], [({'t3.101.114.381': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.381': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.381': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.381': [0.667, 5.0], 't2.101.114.381': [0.717, 5.0], 't5.101.114.381': [0.464, 5.0]}), 'newmec-1'], [({'t2.102.114.382': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.382': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.382': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.382': [0.738, 5.0], 't5.102.114.382': [0.536, 5.0], 't4.102.114.382': [0.43, 10.0]}), 'newmec-2'], [({'t5.102.114.383': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.383': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.383': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.383': [0.781, 5.0], 't2.102.114.383': [0.703, 5.0], 't4.102.114.383': [0.529, 10.0]}), 'newmec-2'], [({'t5.102.114.384': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.384': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.384': [0.66, 5.0], 't4.102.114.384': [0.761, 10.0]}), 'newmec-2'], [({'t4.104.114.385': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.385': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.385': [0.52, 10.0], 't3.104.114.385': [0.755, 5.0]}), 'newmec-4'], [({'t1.104.114.386': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.386': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.386': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.386': [0.626, 6.667], 't2.104.114.386': [0.59, 5.0], 't3.104.114.386': [0.586, 5.0]}), 'newmec-4'], [({'t4.101.114.387': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.387': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.387': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.387': [0.478, 10.0], 't3.101.114.387': [0.579, 5.0], 't1.101.114.387': [0.627, 6.667]}), 'newmec-1'], [({'t3.105.114.388': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.388': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.105.114.388': [0.738, 5.0], 't4.105.114.388': [0.791, 10.0]}), 'newmec-5'], [({'t1.102.114.389': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.389': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.389': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.389': [0.7, 6.667], 't2.102.114.389': [0.713, 5.0], 't4.102.114.389': [0.777, 10.0]}), 'newmec-2'], [({'t5.102.114.390': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.390': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.390': [0.743, 5.0], 't1.102.114.390': [0.587, 6.667]}), 'newmec-2'], [({'t4.105.114.391': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.391': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.391': [0.492, 10.0], 't1.105.114.391': [0.437, 6.667]}), 'newmec-5'], [({'t5.102.114.392': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.392': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.392': [0.48, 5.0], 't1.102.114.392': [0.414, 6.667]}), 'newmec-2'], [({'t2.101.114.393': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.393': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.393': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.393': [0.434, 5.0], 't1.101.114.393': [0.729, 6.667], 't3.101.114.393': [0.538, 5.0]}), 'newmec-1'], [({'t2.103.114.394': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.394': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.394': [0.545, 5.0], 't5.103.114.394': [0.753, 5.0]}), 'newmec-3'], [({'t4.104.114.395': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.395': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.395': [0.615, 10.0], 't2.104.114.395': [0.745, 5.0]}), 'newmec-4'], [({'t4.156.114.396': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.396': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.396': [0.641, 10.0], 't5.156.114.396': [0.478, 5.0]}), 'osboxes-0'], [({'t5.104.114.397': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.397': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.397': [0.635, 5.0], 't1.104.114.397': [0.421, 6.667]}), 'newmec-4'], [({'t5.101.114.398': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.398': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.398': [0.53, 5.0], 't2.101.114.398': [0.427, 5.0]}), 'newmec-1'], [({'t3.105.114.399': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.399': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.399': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.399': [0.536, 5.0], 't4.105.114.399': [0.414, 10.0], 't2.105.114.399': [0.616, 5.0]}), 'newmec-5'], [({'t5.101.114.400': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.400': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.400': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.400': [0.75, 5.0], 't3.101.114.400': [0.683, 5.0], 't4.101.114.400': [0.689, 10.0]}), 'newmec-1'], [({'t2.103.114.401': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.401': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.401': [0.736, 5.0], 't4.103.114.401': [0.504, 10.0]}), 'newmec-3'], [({'t5.102.114.402': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.402': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.402': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.402': [0.706, 5.0], 't1.102.114.402': [0.429, 6.667], 't2.102.114.402': [0.493, 5.0]}), 'newmec-2'], [({'t2.105.114.403': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.403': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.105.114.403': [0.471, 5.0], 't5.105.114.403': [0.498, 5.0]}), 'newmec-5'], [({'t2.104.114.404': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.404': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.404': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.404': [0.675, 5.0], 't1.104.114.404': [0.482, 6.667], 't5.104.114.404': [0.406, 5.0]}), 'newmec-4'], [({'t1.101.114.405': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.405': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.405': [0.572, 6.667], 't5.101.114.405': [0.706, 5.0]}), 'newmec-1'], [({'t5.101.114.406': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.406': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.406': [0.577, 5.0], 't3.101.114.406': [0.431, 5.0]}), 'newmec-1'], [({'t5.101.114.407': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.407': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.407': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.407': [0.733, 5.0], 't1.101.114.407': [0.618, 6.667], 't4.101.114.407': [0.689, 10.0]}), 'newmec-1'], [({'t3.102.114.408': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.408': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.408': [0.67, 5.0], 't1.102.114.408': [0.745, 6.667]}), 'newmec-2'], [({'t4.102.114.409': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.409': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.409': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.409': [0.442, 10.0], 't2.102.114.409': [0.455, 5.0], 't5.102.114.409': [0.401, 5.0]}), 'newmec-2'], [({'t4.101.114.410': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.410': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.410': [0.607, 10.0], 't2.101.114.410': [0.647, 5.0]}), 'newmec-1'], [({'t5.101.114.411': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.411': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.411': [0.578, 5.0], 't4.101.114.411': [0.782, 10.0]}), 'newmec-1'], [({'t3.101.114.412': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.412': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.412': [0.615, 5.0], 't4.101.114.412': [0.788, 10.0]}), 'newmec-1'], [({'t4.102.114.413': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.413': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.413': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.413': [0.459, 10.0], 't1.102.114.413': [0.499, 6.667], 't5.102.114.413': [0.614, 5.0]}), 'newmec-2'], [({'t2.101.114.414': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.414': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.414': [0.406, 5.0], 't5.101.114.414': [0.693, 5.0]}), 'newmec-1'], [({'t1.102.114.415': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.415': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.415': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.415': [0.56, 6.667], 't2.102.114.415': [0.722, 5.0], 't3.102.114.415': [0.606, 5.0]}), 'newmec-2'], [({'t2.102.114.416': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.416': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.416': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.416': [0.565, 5.0], 't3.102.114.416': [0.406, 5.0], 't5.102.114.416': [0.477, 5.0]}), 'newmec-2'], [({'t4.101.114.417': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.417': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.417': [0.605, 10.0], 't3.101.114.417': [0.506, 5.0]}), 'newmec-1'], [({'t2.102.114.418': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.418': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.418': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.418': [0.5, 5.0], 't4.102.114.418': [0.416, 10.0], 't1.102.114.418': [0.766, 6.667]}), 'newmec-2'], [({'t2.104.114.419': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.419': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.419': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.419': [0.498, 5.0], 't3.104.114.419': [0.686, 5.0], 't5.104.114.419': [0.789, 5.0]}), 'newmec-4'], [({'t5.101.114.420': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.420': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.420': [0.531, 5.0], 't4.101.114.420': [0.462, 10.0]}), 'newmec-1'], [({'t2.103.114.421': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.421': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.421': [0.514, 5.0], 't4.103.114.421': [0.774, 10.0]}), 'newmec-3'], [({'t2.101.114.422': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.422': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.422': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.422': [0.71, 5.0], 't3.101.114.422': [0.702, 5.0], 't4.101.114.422': [0.556, 10.0]}), 'newmec-1'], [({'t2.101.114.423': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.423': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.423': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.423': [0.55, 5.0], 't4.101.114.423': [0.448, 10.0], 't5.101.114.423': [0.799, 5.0]}), 'newmec-1'], [({'t4.104.114.424': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.424': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.424': [0.539, 10.0], 't2.104.114.424': [0.443, 5.0]}), 'newmec-4'], [({'t5.101.114.425': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.425': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.425': [0.441, 5.0], 't4.101.114.425': [0.792, 10.0]}), 'newmec-1'], [({'t5.102.114.426': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.426': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.426': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.426': [0.747, 5.0], 't3.102.114.426': [0.524, 5.0], 't1.102.114.426': [0.724, 6.667]}), 'newmec-2'], [({'t3.102.114.427': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.427': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.427': [0.783, 5.0], 't4.102.114.427': [0.409, 10.0]}), 'newmec-2'], [({'t2.101.114.428': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.428': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.428': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.428': [0.454, 5.0], 't5.101.114.428': [0.726, 5.0], 't4.101.114.428': [0.723, 10.0]}), 'newmec-1'], [({'t1.101.114.429': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.429': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.429': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.429': [0.589, 6.667], 't4.101.114.429': [0.558, 10.0], 't2.101.114.429': [0.587, 5.0]}), 'newmec-1'], [({'t2.101.114.430': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.430': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.430': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.430': [0.529, 5.0], 't4.101.114.430': [0.602, 10.0], 't5.101.114.430': [0.415, 5.0]}), 'newmec-1'], [({'t2.105.114.431': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.431': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.105.114.431': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.105.114.431': [0.411, 5.0], 't5.105.114.431': [0.589, 5.0], 't3.105.114.431': [0.717, 5.0]}), 'newmec-5'], [({'t5.104.114.432': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.432': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.432': [0.462, 5.0], 't3.104.114.432': [0.557, 5.0]}), 'newmec-4'], [({'t3.102.114.433': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.433': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.433': [0.584, 5.0], 't5.102.114.433': [0.452, 5.0]}), 'newmec-2'], [({'t1.101.114.434': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.434': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.434': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.434': [0.513, 6.667], 't5.101.114.434': [0.752, 5.0], 't3.101.114.434': [0.473, 5.0]}), 'newmec-1'], [({'t1.104.114.435': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.435': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.435': [0.544, 6.667], 't2.104.114.435': [0.741, 5.0]}), 'newmec-4'], [({'t5.104.114.436': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.436': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.436': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.436': [0.408, 5.0], 't4.104.114.436': [0.622, 10.0], 't1.104.114.436': [0.742, 6.667]}), 'newmec-4'], [({'t4.102.114.437': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.437': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.437': [0.661, 10.0], 't2.102.114.437': [0.787, 5.0]}), 'newmec-2'], [({'t2.104.114.438': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.438': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.438': [0.687, 5.0], 't5.104.114.438': [0.433, 5.0]}), 'newmec-4'], [({'t2.104.114.439': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.439': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.439': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.439': [0.468, 5.0], 't3.104.114.439': [0.784, 5.0], 't1.104.114.439': [0.507, 6.667]}), 'newmec-4'], [({'t2.105.114.440': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.440': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.440': [0.449, 5.0], 't4.105.114.440': [0.422, 10.0]}), 'newmec-5'], [({'t4.102.114.441': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.441': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.441': [0.658, 10.0], 't1.102.114.441': [0.591, 6.667]}), 'newmec-2'], [({'t1.102.114.442': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.442': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.442': [0.506, 6.667], 't3.102.114.442': [0.719, 5.0]}), 'newmec-2'], [({'t3.101.114.443': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.443': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.443': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.443': [0.42, 5.0], 't2.101.114.443': [0.696, 5.0], 't1.101.114.443': [0.405, 6.667]}), 'newmec-1'], [({'t5.102.114.444': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.444': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.444': [0.472, 5.0], 't1.102.114.444': [0.557, 6.667]}), 'newmec-2'], [({'t5.101.114.445': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.445': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.445': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.445': [0.603, 5.0], 't2.101.114.445': [0.567, 5.0], 't1.101.114.445': [0.445, 6.667]}), 'newmec-1'], [({'t5.102.114.446': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.446': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.446': [0.442, 5.0], 't3.102.114.446': [0.505, 5.0]}), 'newmec-2'], [({'t1.101.114.447': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.447': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.447': [0.744, 6.667], 't2.101.114.447': [0.756, 5.0]}), 'newmec-1'], [({'t1.101.114.448': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.448': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.448': [0.507, 6.667], 't4.101.114.448': [0.608, 10.0]}), 'newmec-1'], [({'t4.101.114.449': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.449': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.449': [0.472, 10.0], 't3.101.114.449': [0.72, 5.0]}), 'newmec-1'], [({'t2.102.114.450': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.450': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.450': [0.713, 5.0], 't3.102.114.450': [0.419, 5.0]}), 'newmec-2'], [({'t2.103.114.451': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.451': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.451': [0.62, 5.0], 't4.103.114.451': [0.751, 10.0]}), 'newmec-3'], [({'t5.105.114.452': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.452': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.105.114.452': [0.793, 5.0], 't2.105.114.452': [0.572, 5.0]}), 'newmec-5'], [({'t2.102.114.453': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.453': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.453': [0.543, 5.0], 't3.102.114.453': [0.638, 5.0]}), 'newmec-2'], [({'t4.102.114.454': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.454': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.454': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.454': [0.654, 10.0], 't3.102.114.454': [0.671, 5.0], 't5.102.114.454': [0.721, 5.0]}), 'newmec-2'], [({'t3.102.114.455': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.455': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.455': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.455': [0.776, 5.0], 't2.102.114.455': [0.54, 5.0], 't4.102.114.455': [0.651, 10.0]}), 'newmec-2'], [({'t3.101.114.456': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.456': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.456': [0.579, 5.0], 't2.101.114.456': [0.633, 5.0]}), 'newmec-1'], [({'t2.102.114.457': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.457': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.457': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.457': [0.62, 5.0], 't1.102.114.457': [0.662, 6.667], 't5.102.114.457': [0.619, 5.0]}), 'newmec-2'], [({'t2.103.114.458': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.458': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.458': [0.703, 5.0], 't1.103.114.458': [0.648, 6.667]}), 'newmec-3'], [({'t3.101.114.459': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.459': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.459': [0.693, 5.0], 't4.101.114.459': [0.676, 10.0]}), 'newmec-1'], [({'t4.101.114.460': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.460': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.460': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.460': [0.585, 10.0], 't2.101.114.460': [0.622, 5.0], 't5.101.114.460': [0.694, 5.0]}), 'newmec-1'], [({'t3.103.114.461': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.461': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.461': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.461': [0.489, 5.0], 't2.103.114.461': [0.59, 5.0], 't5.103.114.461': [0.7, 5.0]}), 'newmec-3'], [({'t4.105.114.462': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.462': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.462': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.462': [0.53, 10.0], 't5.105.114.462': [0.704, 5.0], 't1.105.114.462': [0.719, 6.667]}), 'newmec-5'], [({'t2.102.114.463': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.463': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.463': [0.471, 5.0], 't3.102.114.463': [0.745, 5.0]}), 'newmec-2'], [({'t3.105.114.464': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.464': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.105.114.464': [0.72, 5.0], 't4.105.114.464': [0.514, 10.0]}), 'newmec-5'], [({'t2.102.114.465': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.465': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.465': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.465': [0.508, 5.0], 't3.102.114.465': [0.79, 5.0], 't1.102.114.465': [0.532, 6.667]}), 'newmec-2'], [({'t5.101.114.466': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.466': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.466': [0.446, 5.0], 't2.101.114.466': [0.497, 5.0]}), 'newmec-1'], [({'t3.105.114.467': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.467': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.105.114.467': [0.731, 5.0], 't4.105.114.467': [0.496, 10.0]}), 'newmec-5'], [({'t2.101.114.468': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.468': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.468': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.468': [0.493, 5.0], 't3.101.114.468': [0.644, 5.0], 't1.101.114.468': [0.667, 6.667]}), 'newmec-1'], [({'t4.101.114.469': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.469': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.469': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.469': [0.628, 10.0], 't2.101.114.469': [0.477, 5.0], 't5.101.114.469': [0.682, 5.0]}), 'newmec-1'], [({'t4.101.114.470': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.470': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.470': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.470': [0.685, 10.0], 't2.101.114.470': [0.659, 5.0], 't3.101.114.470': [0.775, 5.0]}), 'newmec-1'], [({'t2.102.114.471': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.471': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.471': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.471': [0.742, 5.0], 't4.102.114.471': [0.741, 10.0], 't3.102.114.471': [0.535, 5.0]}), 'newmec-2'], [({'t1.101.114.472': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.472': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.472': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.472': [0.72, 6.667], 't4.101.114.472': [0.648, 10.0], 't5.101.114.472': [0.708, 5.0]}), 'newmec-1'], [({'t4.105.114.473': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.473': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.473': [0.528, 10.0], 't1.105.114.473': [0.556, 6.667]}), 'newmec-5'], [({'t1.101.114.474': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.474': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.474': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.474': [0.618, 6.667], 't5.101.114.474': [0.657, 5.0], 't2.101.114.474': [0.639, 5.0]}), 'newmec-1'], [({'t2.104.114.475': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.475': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.475': [0.791, 5.0], 't3.104.114.475': [0.68, 5.0]}), 'newmec-4'], [({'t3.104.114.476': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.476': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.476': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.476': [0.451, 5.0], 't2.104.114.476': [0.503, 5.0], 't1.104.114.476': [0.714, 6.667]}), 'newmec-4'], [({'t5.102.114.477': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.477': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.477': [0.657, 5.0], 't3.102.114.477': [0.7, 5.0]}), 'newmec-2'], [({'t2.101.114.478': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.478': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.478': [0.692, 5.0], 't1.101.114.478': [0.403, 6.667]}), 'newmec-1'], [({'t1.105.114.479': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.479': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.105.114.479': [0.698, 6.667], 't2.105.114.479': [0.621, 5.0]}), 'newmec-5'], [({'t3.102.114.480': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.480': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.480': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.480': [0.673, 5.0], 't1.102.114.480': [0.702, 6.667], 't4.102.114.480': [0.502, 10.0]}), 'newmec-2'], [({'t5.101.114.481': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.481': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.481': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.481': [0.791, 5.0], 't1.101.114.481': [0.739, 6.667], 't2.101.114.481': [0.402, 5.0]}), 'newmec-1'], [({'t5.103.114.482': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.482': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.482': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.482': [0.604, 5.0], 't1.103.114.482': [0.743, 6.667], 't3.103.114.482': [0.751, 5.0]}), 'newmec-3'], [({'t4.101.114.483': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.483': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.483': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.483': [0.605, 10.0], 't2.101.114.483': [0.74, 5.0], 't5.101.114.483': [0.405, 5.0]}), 'newmec-1'], [({'t4.102.114.484': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.484': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.484': [0.718, 10.0], 't2.102.114.484': [0.464, 5.0]}), 'newmec-2'], [({'t4.101.114.485': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.485': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.485': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.485': [0.522, 10.0], 't3.101.114.485': [0.473, 5.0], 't1.101.114.485': [0.51, 6.667]}), 'newmec-1'], [({'t1.101.114.486': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.486': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.486': [0.503, 6.667], 't3.101.114.486': [0.676, 5.0]}), 'newmec-1'], [({'t5.101.114.487': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.487': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.487': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.487': [0.609, 5.0], 't4.101.114.487': [0.692, 10.0], 't1.101.114.487': [0.505, 6.667]}), 'newmec-1'], [({'t3.105.114.488': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.488': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.488': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.105.114.488': [0.633, 5.0], 't5.105.114.488': [0.514, 5.0], 't1.105.114.488': [0.702, 6.667]}), 'newmec-5'], [({'t4.104.114.489': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.489': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.489': [0.494, 10.0], 't5.104.114.489': [0.526, 5.0]}), 'newmec-4'], [({'t5.105.114.490': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.490': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.105.114.490': [0.485, 5.0], 't1.105.114.490': [0.44, 6.667]}), 'newmec-5'], [({'t2.104.114.491': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.491': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.491': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.491': [0.793, 5.0], 't3.104.114.491': [0.508, 5.0], 't1.104.114.491': [0.7, 6.667]}), 'newmec-4'], [({'t3.102.114.492': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.492': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.492': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.492': [0.797, 5.0], 't4.102.114.492': [0.759, 10.0], 't2.102.114.492': [0.552, 5.0]}), 'newmec-2'], [({'t1.104.114.493': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.493': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.493': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.493': [0.536, 6.667], 't2.104.114.493': [0.597, 5.0], 't4.104.114.493': [0.671, 10.0]}), 'newmec-4'], [({'t5.104.114.494': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.494': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.494': [0.557, 5.0], 't2.104.114.494': [0.565, 5.0]}), 'newmec-4'], [({'t5.102.114.495': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.495': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.495': [0.532, 5.0], 't4.102.114.495': [0.432, 10.0]}), 'newmec-2'], [({'t4.105.114.496': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.496': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.496': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.496': [0.546, 10.0], 't3.105.114.496': [0.669, 5.0], 't5.105.114.496': [0.686, 5.0]}), 'newmec-5'], [({'t2.101.114.497': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.497': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.497': [0.756, 5.0], 't4.101.114.497': [0.432, 10.0]}), 'newmec-1'], [({'t1.105.114.498': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.498': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.105.114.498': [0.559, 6.667], 't2.105.114.498': [0.6, 5.0]}), 'newmec-5'], [({'t5.101.114.499': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.499': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.499': [0.779, 5.0], 't3.101.114.499': [0.638, 5.0]}), 'newmec-1'], [({'t5.102.114.500': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.500': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.500': [0.686, 5.0], 't3.102.114.500': [0.576, 5.0]}), 'newmec-2'], [({'t5.104.114.501': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.501': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.501': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.501': [0.443, 5.0], 't1.104.114.501': [0.686, 6.667], 't4.104.114.501': [0.74, 10.0]}), 'newmec-4'], [({'t2.104.114.502': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.502': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.502': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.502': [0.432, 5.0], 't5.104.114.502': [0.459, 5.0], 't1.104.114.502': [0.543, 6.667]}), 'newmec-4'], [({'t2.104.114.503': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.503': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.503': [0.688, 5.0], 't4.104.114.503': [0.797, 10.0]}), 'newmec-4'], [({'t5.102.114.504': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.504': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.504': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.504': [0.588, 5.0], 't3.102.114.504': [0.426, 5.0], 't4.102.114.504': [0.411, 10.0]}), 'newmec-2'], [({'t2.105.114.505': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.505': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.505': [0.696, 5.0], 't4.105.114.505': [0.637, 10.0]}), 'newmec-5'], [({'t4.103.114.506': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.506': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.506': [0.646, 10.0], 't3.103.114.506': [0.482, 5.0]}), 'newmec-3'], [({'t4.101.114.507': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.507': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.507': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.507': [0.698, 10.0], 't3.101.114.507': [0.75, 5.0], 't1.101.114.507': [0.686, 6.667]}), 'newmec-1'], [({'t2.101.114.508': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.508': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.508': [0.774, 5.0], 't3.101.114.508': [0.599, 5.0]}), 'newmec-1'], [({'t3.101.114.509': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.509': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.509': [0.465, 5.0], 't1.101.114.509': [0.54, 6.667]}), 'newmec-1'], [({'t2.104.114.510': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.510': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.510': [0.493, 5.0], 't4.104.114.510': [0.659, 10.0]}), 'newmec-4'], [({'t5.101.114.511': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.511': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.511': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.511': [0.64, 5.0], 't1.101.114.511': [0.516, 6.667], 't4.101.114.511': [0.672, 10.0]}), 'newmec-1'], [({'t2.105.114.512': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.512': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.512': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.512': [0.4, 5.0], 't1.105.114.512': [0.495, 6.667], 't4.105.114.512': [0.6, 10.0]}), 'newmec-5'], [({'t1.102.114.513': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.513': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.513': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.102.114.513': [0.522, 6.667], 't3.102.114.513': [0.767, 5.0], 't4.102.114.513': [0.418, 10.0]}), 'newmec-2'], [({'t1.103.114.514': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.514': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.514': [0.76, 6.667], 't5.103.114.514': [0.665, 5.0]}), 'newmec-3'], [({'t1.101.114.515': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.515': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.515': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.101.114.515': [0.506, 6.667], 't4.101.114.515': [0.65, 10.0], 't3.101.114.515': [0.648, 5.0]}), 'newmec-1'], [({'t3.102.114.516': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.516': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.516': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.516': [0.772, 5.0], 't5.102.114.516': [0.558, 5.0], 't2.102.114.516': [0.409, 5.0]}), 'newmec-2'], [({'t1.105.114.517': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.517': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.105.114.517': [0.791, 6.667], 't2.105.114.517': [0.428, 5.0]}), 'newmec-5'], [({'t3.102.114.518': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.518': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.518': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.518': [0.543, 5.0], 't4.102.114.518': [0.587, 10.0], 't2.102.114.518': [0.691, 5.0]}), 'newmec-2'], [({'t4.104.114.519': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.519': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.519': [0.722, 10.0], 't5.104.114.519': [0.701, 5.0]}), 'newmec-4'], [({'t3.101.114.520': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.520': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.520': [0.459, 5.0], 't1.101.114.520': [0.522, 6.667]}), 'newmec-1'], [({'t4.102.114.521': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.521': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.521': [0.403, 10.0], 't1.102.114.521': [0.602, 6.667]}), 'newmec-2'], [({'t4.102.114.522': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.522': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.522': [0.558, 10.0], 't1.102.114.522': [0.647, 6.667]}), 'newmec-2'], [({'t3.102.114.523': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.523': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.523': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.523': [0.576, 5.0], 't2.102.114.523': [0.652, 5.0], 't5.102.114.523': [0.674, 5.0]}), 'newmec-2'], [({'t3.101.114.524': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.524': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.524': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.524': [0.624, 5.0], 't4.101.114.524': [0.439, 10.0], 't1.101.114.524': [0.581, 6.667]}), 'newmec-1'], [({'t4.104.114.525': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.525': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.525': [0.702, 10.0], 't2.104.114.525': [0.425, 5.0]}), 'newmec-4'], [({'t2.102.114.526': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.526': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.526': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.526': [0.784, 5.0], 't5.102.114.526': [0.497, 5.0], 't3.102.114.526': [0.705, 5.0]}), 'newmec-2'], [({'t5.102.114.527': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.527': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.527': [0.723, 5.0], 't4.102.114.527': [0.562, 10.0]}), 'newmec-2'], [({'t4.101.114.528': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.528': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.528': [0.471, 10.0], 't1.101.114.528': [0.602, 6.667]}), 'newmec-1'], [({'t5.104.114.529': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.529': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.529': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.529': [0.474, 5.0], 't1.104.114.529': [0.679, 6.667], 't2.104.114.529': [0.739, 5.0]}), 'newmec-4'], [({'t1.105.114.530': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.530': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.530': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.105.114.530': [0.542, 6.667], 't4.105.114.530': [0.772, 10.0], 't2.105.114.530': [0.723, 5.0]}), 'newmec-5'], [({'t5.101.114.531': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.531': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.531': [0.423, 5.0], 't3.101.114.531': [0.469, 5.0]}), 'newmec-1'], [({'t3.103.114.532': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.532': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.532': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.532': [0.651, 5.0], 't4.103.114.532': [0.406, 10.0], 't5.103.114.532': [0.74, 5.0]}), 'newmec-3'], [({'t3.102.114.533': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.533': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.533': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.533': [0.745, 5.0], 't1.102.114.533': [0.643, 6.667], 't2.102.114.533': [0.561, 5.0]}), 'newmec-2'], [({'t5.101.114.534': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.534': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.534': [0.507, 5.0], 't1.101.114.534': [0.747, 6.667]}), 'newmec-1'], [({'t3.105.114.535': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.535': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.535': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.105.114.535': [0.607, 5.0], 't5.105.114.535': [0.712, 5.0], 't1.105.114.535': [0.737, 6.667]}), 'newmec-5'], [({'t2.156.114.536': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.536': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.536': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.536': [0.433, 5.0], 't5.156.114.536': [0.683, 5.0], 't3.156.114.536': [0.569, 5.0]}), 'osboxes-0'], [({'t4.101.114.537': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.537': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.537': [0.58, 10.0], 't2.101.114.537': [0.684, 5.0]}), 'newmec-1'], [({'t5.101.114.538': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.538': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.538': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.538': [0.501, 5.0], 't2.101.114.538': [0.796, 5.0], 't3.101.114.538': [0.695, 5.0]}), 'newmec-1'], [({'t2.103.114.539': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.539': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.539': [0.659, 5.0], 't3.103.114.539': [0.731, 5.0]}), 'newmec-3'], [({'t5.103.114.540': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.540': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.540': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.540': [0.773, 5.0], 't4.103.114.540': [0.445, 10.0], 't1.103.114.540': [0.606, 6.667]}), 'newmec-3'], [({'t4.101.114.541': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.541': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.541': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.541': [0.717, 10.0], 't1.101.114.541': [0.478, 6.667], 't2.101.114.541': [0.703, 5.0]}), 'newmec-1'], [({'t3.102.114.542': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.542': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.542': [0.705, 5.0], 't2.102.114.542': [0.551, 5.0]}), 'newmec-2'], [({'t4.102.114.543': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.543': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.543': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.543': [0.587, 10.0], 't1.102.114.543': [0.727, 6.667], 't3.102.114.543': [0.527, 5.0]}), 'newmec-2'], [({'t2.104.114.544': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.544': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.544': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.544': [0.409, 5.0], 't3.104.114.544': [0.484, 5.0], 't4.104.114.544': [0.456, 10.0]}), 'newmec-4'], [({'t2.101.114.545': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.545': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.545': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.545': [0.465, 5.0], 't4.101.114.545': [0.685, 10.0], 't1.101.114.545': [0.716, 6.667]}), 'newmec-1'], [({'t4.101.114.546': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.546': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.546': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.546': [0.759, 10.0], 't2.101.114.546': [0.412, 5.0], 't1.101.114.546': [0.469, 6.667]}), 'newmec-1'], [({'t5.104.114.547': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.547': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.547': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.547': [0.537, 5.0], 't4.104.114.547': [0.524, 10.0], 't3.104.114.547': [0.599, 5.0]}), 'newmec-4'], [({'t3.102.114.548': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.548': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.548': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.548': [0.67, 5.0], 't4.102.114.548': [0.701, 10.0], 't5.102.114.548': [0.747, 5.0]}), 'newmec-2'], [({'t5.103.114.549': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.549': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.549': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.549': [0.789, 5.0], 't1.103.114.549': [0.649, 6.667], 't4.103.114.549': [0.465, 10.0]}), 'newmec-3'], [({'t4.101.114.550': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.550': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.550': [0.444, 10.0], 't5.101.114.550': [0.439, 5.0]}), 'newmec-1'], [({'t3.104.114.551': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.551': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.551': [0.612, 5.0], 't5.104.114.551': [0.438, 5.0]}), 'newmec-4'], [({'t4.101.114.552': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.552': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.552': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.552': [0.76, 10.0], 't5.101.114.552': [0.432, 5.0], 't1.101.114.552': [0.401, 6.667]}), 'newmec-1'], [({'t2.101.114.553': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.553': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.553': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.553': [0.545, 5.0], 't1.101.114.553': [0.516, 6.667], 't4.101.114.553': [0.631, 10.0]}), 'newmec-1'], [({'t3.102.114.554': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.554': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.554': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.554': [0.528, 5.0], 't4.102.114.554': [0.756, 10.0], 't2.102.114.554': [0.477, 5.0]}), 'newmec-2'], [({'t5.101.114.555': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.555': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.555': [0.614, 5.0], 't4.101.114.555': [0.612, 10.0]}), 'newmec-1'], [({'t5.101.114.556': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.556': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.556': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.556': [0.69, 5.0], 't3.101.114.556': [0.617, 5.0], 't1.101.114.556': [0.547, 6.667]}), 'newmec-1'], [({'t5.103.114.557': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.557': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.557': [0.454, 5.0], 't4.103.114.557': [0.472, 10.0]}), 'newmec-3'], [({'t2.102.114.558': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.558': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.558': [0.563, 5.0], 't3.102.114.558': [0.623, 5.0]}), 'newmec-2'], [({'t3.101.114.559': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.559': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.559': [0.408, 5.0], 't4.101.114.559': [0.506, 10.0]}), 'newmec-1'], [({'t4.101.114.560': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.560': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.560': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.560': [0.664, 10.0], 't5.101.114.560': [0.539, 5.0], 't2.101.114.560': [0.455, 5.0]}), 'newmec-1'], [({'t2.101.114.561': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.561': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.561': [0.626, 5.0], 't1.101.114.561': [0.778, 6.667]}), 'newmec-1'], [({'t4.103.114.562': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.562': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.562': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.562': [0.577, 10.0], 't1.103.114.562': [0.612, 6.667], 't5.103.114.562': [0.419, 5.0]}), 'newmec-3'], [({'t5.103.114.563': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.563': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.563': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.563': [0.439, 5.0], 't4.103.114.563': [0.772, 10.0], 't3.103.114.563': [0.429, 5.0]}), 'newmec-3'], [({'t4.101.114.564': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.564': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.564': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.564': [0.523, 10.0], 't5.101.114.564': [0.57, 5.0], 't1.101.114.564': [0.669, 6.667]}), 'newmec-1'], [({'t2.102.114.565': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.565': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.565': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.565': [0.663, 5.0], 't4.102.114.565': [0.683, 10.0], 't5.102.114.565': [0.635, 5.0]}), 'newmec-2'], [({'t3.102.114.566': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.566': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.566': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.566': [0.641, 5.0], 't4.102.114.566': [0.51, 10.0], 't2.102.114.566': [0.607, 5.0]}), 'newmec-2'], [({'t3.102.114.567': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.567': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.567': [0.555, 5.0], 't2.102.114.567': [0.707, 5.0]}), 'newmec-2'], [({'t1.102.114.568': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.568': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.568': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.568': [0.645, 6.667], 't4.102.114.568': [0.538, 10.0], 't5.102.114.568': [0.407, 5.0]}), 'newmec-2'], [({'t4.156.114.569': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.569': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.569': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.569': [0.579, 10.0], 't2.156.114.569': [0.473, 5.0], 't1.156.114.569': [0.462, 6.667]}), 'osboxes-0'], [({'t2.102.114.570': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.570': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.570': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.570': [0.657, 5.0], 't4.102.114.570': [0.733, 10.0], 't3.102.114.570': [0.529, 5.0]}), 'newmec-2'], [({'t2.102.114.571': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.571': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.571': [0.494, 5.0], 't4.102.114.571': [0.612, 10.0]}), 'newmec-2'], [({'t4.102.114.572': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.572': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.572': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.572': [0.586, 10.0], 't3.102.114.572': [0.749, 5.0], 't2.102.114.572': [0.763, 5.0]}), 'newmec-2'], [({'t5.101.114.573': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.573': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.573': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.573': [0.647, 5.0], 't2.101.114.573': [0.446, 5.0], 't3.101.114.573': [0.79, 5.0]}), 'newmec-1'], [({'t3.101.114.574': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.574': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.574': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.574': [0.716, 5.0], 't5.101.114.574': [0.701, 5.0], 't1.101.114.574': [0.48, 6.667]}), 'newmec-1'], [({'t2.102.114.575': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.575': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.575': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.575': [0.442, 5.0], 't5.102.114.575': [0.515, 5.0], 't1.102.114.575': [0.563, 6.667]}), 'newmec-2'], [({'t3.101.114.576': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.576': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.576': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.576': [0.753, 5.0], 't1.101.114.576': [0.699, 6.667], 't5.101.114.576': [0.765, 5.0]}), 'newmec-1'], [({'t3.101.114.577': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.577': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.577': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.577': [0.667, 5.0], 't4.101.114.577': [0.483, 10.0], 't1.101.114.577': [0.404, 6.667]}), 'newmec-1'], [({'t4.156.114.578': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.578': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.578': [0.721, 10.0], 't2.156.114.578': [0.573, 5.0]}), 'osboxes-0'], [({'t3.102.114.579': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.579': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.579': [0.716, 5.0], 't2.102.114.579': [0.421, 5.0]}), 'newmec-2'], [({'t2.104.114.580': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.580': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.580': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.580': [0.707, 5.0], 't1.104.114.580': [0.596, 6.667], 't4.104.114.580': [0.513, 10.0]}), 'newmec-4'], [({'t4.101.114.581': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.581': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.581': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.581': [0.483, 10.0], 't1.101.114.581': [0.497, 6.667], 't2.101.114.581': [0.434, 5.0]}), 'newmec-1'], [({'t3.102.114.582': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.582': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.582': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.582': [0.799, 5.0], 't4.102.114.582': [0.643, 10.0], 't5.102.114.582': [0.514, 5.0]}), 'newmec-2'], [({'t2.102.114.583': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.583': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.583': [0.638, 5.0], 't3.102.114.583': [0.54, 5.0]}), 'newmec-2'], [({'t1.101.114.584': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.584': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.584': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.584': [0.526, 6.667], 't5.101.114.584': [0.699, 5.0], 't2.101.114.584': [0.63, 5.0]}), 'newmec-1'], [({'t5.103.114.585': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.585': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.585': [0.705, 5.0], 't3.103.114.585': [0.461, 5.0]}), 'newmec-3'], [({'t5.101.114.586': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.586': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.586': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.586': [0.576, 5.0], 't1.101.114.586': [0.444, 6.667], 't2.101.114.586': [0.755, 5.0]}), 'newmec-1'], [({'t4.101.114.587': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.587': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.587': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.587': [0.503, 10.0], 't2.101.114.587': [0.736, 5.0], 't1.101.114.587': [0.423, 6.667]}), 'newmec-1'], [({'t2.104.114.588': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.588': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.588': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.588': [0.738, 5.0], 't4.104.114.588': [0.666, 10.0], 't1.104.114.588': [0.655, 6.667]}), 'newmec-4'], [({'t2.103.114.589': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.589': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.589': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.589': [0.711, 5.0], 't5.103.114.589': [0.657, 5.0], 't3.103.114.589': [0.539, 5.0]}), 'newmec-3'], [({'t3.104.114.590': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.590': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.590': [0.427, 5.0], 't5.104.114.590': [0.462, 5.0]}), 'newmec-4'], [({'t3.101.114.591': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.591': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.591': [0.688, 5.0], 't4.101.114.591': [0.549, 10.0]}), 'newmec-1'], [({'t3.102.114.592': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.592': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.592': [0.571, 5.0], 't4.102.114.592': [0.705, 10.0]}), 'newmec-2'], [({'t5.101.114.593': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.593': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.593': [0.717, 5.0], 't2.101.114.593': [0.436, 5.0]}), 'newmec-1'], [({'t2.102.114.594': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.594': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.594': [0.49, 5.0], 't5.102.114.594': [0.602, 5.0]}), 'newmec-2'], [({'t5.102.114.595': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.595': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.595': [0.546, 5.0], 't1.102.114.595': [0.521, 6.667]}), 'newmec-2'], [({'t1.102.114.596': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.596': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.596': [0.754, 6.667], 't2.102.114.596': [0.535, 5.0]}), 'newmec-2'], [({'t5.102.114.597': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.597': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.597': [0.766, 5.0], 't4.102.114.597': [0.539, 10.0]}), 'newmec-2'], [({'t4.102.114.598': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.598': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.598': [0.434, 10.0], 't5.102.114.598': [0.432, 5.0]}), 'newmec-2'], [({'t3.101.114.599': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.599': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.599': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.599': [0.728, 5.0], 't2.101.114.599': [0.46, 5.0], 't1.101.114.599': [0.406, 6.667]}), 'newmec-1']]
host_names6 = {'192.168.122.156': 'osboxes-0', '192.168.122.102': 'newmec-2', '192.168.122.103': 'newmec-3', '192.168.122.104': 'newmec-4', '192.168.122.105': 'newmec-5', '192.168.122.101': 'newmec-1'}
record7 = [[({'t5.101.114.0': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.0': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.0': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.0': [0.714, 5.0], 't4.101.114.0': [0.592, 10.0], 't2.101.114.0': [0.492, 5.0]}), 'newmec-1'], [({'t4.103.114.1': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.1': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.1': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.1': [0.438, 10.0], 't2.103.114.1': [0.578, 5.0], 't3.103.114.1': [0.56, 5.0]}), 'newmec-3'], [({'t3.105.114.2': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.2': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.2': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.105.114.2': [0.659, 5.0], 't2.105.114.2': [0.583, 5.0], 't5.105.114.2': [0.559, 5.0]}), 'newmec-5'], [({'t3.102.114.3': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.3': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.3': [0.429, 5.0], 't1.102.114.3': [0.734, 6.667]}), 'newmec-2'], [({'t4.103.114.4': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.4': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.4': [0.613, 10.0], 't1.103.114.4': [0.41, 6.667]}), 'newmec-3'], [({'t3.102.114.5': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.5': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.5': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.5': [0.729, 5.0], 't5.102.114.5': [0.653, 5.0], 't2.102.114.5': [0.581, 5.0]}), 'newmec-2'], [({'t2.101.114.6': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.6': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.6': [0.612, 5.0], 't5.101.114.6': [0.436, 5.0]}), 'newmec-1'], [({'t2.102.114.7': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.7': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.7': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.7': [0.624, 5.0], 't3.102.114.7': [0.792, 5.0], 't4.102.114.7': [0.442, 10.0]}), 'newmec-2'], [({'t5.102.114.8': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.8': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.8': [0.705, 5.0], 't4.102.114.8': [0.431, 10.0]}), 'newmec-2'], [({'t5.103.114.9': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.9': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.9': [0.529, 5.0], 't4.103.114.9': [0.596, 10.0]}), 'newmec-3'], [({'t5.103.114.10': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.10': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.10': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.10': [0.742, 5.0], 't2.103.114.10': [0.726, 5.0], 't4.103.114.10': [0.71, 10.0]}), 'newmec-3'], [({'t2.104.114.11': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.11': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.11': [0.683, 5.0], 't4.104.114.11': [0.427, 10.0]}), 'newmec-4'], [({'t2.103.114.12': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.12': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.12': [0.766, 5.0], 't4.103.114.12': [0.668, 10.0]}), 'newmec-3'], [({'t2.106.114.13': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.13': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.106.114.13': [0.788, 5.0], 't1.106.114.13': [0.727, 6.667]}), 'newmec-6'], [({'t5.101.114.14': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.14': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.14': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.14': [0.497, 5.0], 't4.101.114.14': [0.735, 10.0], 't2.101.114.14': [0.63, 5.0]}), 'newmec-1'], [({'t3.102.114.15': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.15': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.15': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.15': [0.595, 5.0], 't5.102.114.15': [0.631, 5.0], 't2.102.114.15': [0.442, 5.0]}), 'newmec-2'], [({'t5.101.114.16': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.16': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.16': [0.673, 5.0], 't1.101.114.16': [0.437, 6.667]}), 'newmec-1'], [({'t2.103.114.17': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.17': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.17': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.17': [0.693, 5.0], 't5.103.114.17': [0.797, 5.0], 't4.103.114.17': [0.574, 10.0]}), 'newmec-3'], [({'t3.104.114.18': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.18': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.18': [0.715, 5.0], 't2.104.114.18': [0.779, 5.0]}), 'newmec-4'], [({'t5.103.114.19': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.19': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.19': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.19': [0.641, 5.0], 't2.103.114.19': [0.76, 5.0], 't4.103.114.19': [0.698, 10.0]}), 'newmec-3'], [({'t2.102.114.20': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.20': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.20': [0.792, 5.0], 't4.102.114.20': [0.693, 10.0]}), 'newmec-2'], [({'t4.103.114.21': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.21': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.21': [0.515, 10.0], 't5.103.114.21': [0.562, 5.0]}), 'newmec-3'], [({'t1.104.114.22': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.22': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.22': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.22': [0.798, 6.667], 't4.104.114.22': [0.626, 10.0], 't2.104.114.22': [0.767, 5.0]}), 'newmec-4'], [({'t2.103.114.23': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.23': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.23': [0.785, 5.0], 't4.103.114.23': [0.419, 10.0]}), 'newmec-3'], [({'t5.106.114.24': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.24': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.106.114.24': [0.722, 5.0], 't2.106.114.24': [0.587, 5.0]}), 'newmec-6'], [({'t2.102.114.25': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.25': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.25': [0.491, 5.0], 't4.102.114.25': [0.423, 10.0]}), 'newmec-2'], [({'t1.106.114.26': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.106.114.26': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.106.114.26': [0.612, 6.667], 't2.106.114.26': [0.571, 5.0]}), 'newmec-6'], [({'t5.105.114.27': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.27': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.27': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.105.114.27': [0.574, 5.0], 't1.105.114.27': [0.634, 6.667], 't4.105.114.27': [0.772, 10.0]}), 'newmec-5'], [({'t2.156.114.28': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.28': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.28': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.28': [0.676, 5.0], 't5.156.114.28': [0.556, 5.0], 't4.156.114.28': [0.413, 10.0]}), 'osboxes-0'], [({'t4.156.114.29': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.29': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.29': [0.53, 10.0], 't5.156.114.29': [0.494, 5.0]}), 'osboxes-0'], [({'t2.103.114.30': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.30': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.30': [0.613, 5.0], 't4.103.114.30': [0.778, 10.0]}), 'newmec-3'], [({'t4.102.114.31': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.31': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.31': [0.539, 10.0], 't3.102.114.31': [0.496, 5.0]}), 'newmec-2'], [({'t5.103.114.32': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.32': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.32': [0.576, 5.0], 't4.103.114.32': [0.472, 10.0]}), 'newmec-3'], [({'t2.102.114.33': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.33': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.33': [0.725, 5.0], 't1.102.114.33': [0.652, 6.667]}), 'newmec-2'], [({'t4.105.114.34': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.34': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.34': [0.5, 10.0], 't2.105.114.34': [0.559, 5.0]}), 'newmec-5'], [({'t5.101.114.35': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.35': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.35': [0.595, 5.0], 't1.101.114.35': [0.796, 6.667]}), 'newmec-1'], [({'t4.104.114.36': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.36': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.36': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.36': [0.484, 10.0], 't5.104.114.36': [0.435, 5.0], 't2.104.114.36': [0.456, 5.0]}), 'newmec-4'], [({'t1.103.114.37': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.37': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.37': [0.609, 6.667], 't3.103.114.37': [0.717, 5.0]}), 'newmec-3'], [({'t3.103.114.38': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.38': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.38': [0.64, 5.0], 't2.103.114.38': [0.725, 5.0]}), 'newmec-3'], [({'t4.103.114.39': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.39': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.39': [0.414, 10.0], 't2.103.114.39': [0.594, 5.0]}), 'newmec-3'], [({'t4.103.114.40': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.40': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.40': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.40': [0.53, 10.0], 't2.103.114.40': [0.517, 5.0], 't3.103.114.40': [0.425, 5.0]}), 'newmec-3'], [({'t5.103.114.41': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.41': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.41': [0.796, 5.0], 't1.103.114.41': [0.491, 6.667]}), 'newmec-3'], [({'t1.106.114.42': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.106.114.42': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.106.114.42': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.106.114.42': [0.649, 6.667], 't3.106.114.42': [0.686, 5.0], 't5.106.114.42': [0.463, 5.0]}), 'newmec-6'], [({'t5.101.114.43': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.43': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.43': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.43': [0.439, 5.0], 't4.101.114.43': [0.628, 10.0], 't2.101.114.43': [0.448, 5.0]}), 'newmec-1'], [({'t4.105.114.44': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.44': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.105.114.44': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.105.114.44': [0.659, 10.0], 't2.105.114.44': [0.604, 5.0], 't3.105.114.44': [0.606, 5.0]}), 'newmec-5'], [({'t2.102.114.45': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.45': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.45': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.45': [0.76, 5.0], 't5.102.114.45': [0.475, 5.0], 't4.102.114.45': [0.506, 10.0]}), 'newmec-2'], [({'t2.106.114.46': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.106.114.46': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.106.114.46': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.106.114.46': [0.603, 5.0], 't5.106.114.46': [0.553, 5.0], 't1.106.114.46': [0.587, 6.667]}), 'newmec-6'], [({'t5.106.114.47': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.47': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.106.114.47': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.106.114.47': [0.521, 5.0], 't2.106.114.47': [0.748, 5.0], 't4.106.114.47': [0.688, 10.0]}), 'newmec-6'], [({'t1.101.114.48': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.101.114.48': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.48': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.48': [0.672, 6.667], 't3.101.114.48': [0.758, 5.0], 't5.101.114.48': [0.599, 5.0]}), 'newmec-1'], [({'t2.156.114.49': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.49': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.49': [0.662, 5.0], 't4.156.114.49': [0.615, 10.0]}), 'osboxes-0'], [({'t2.106.114.50': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.50': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.50': [0.436, 5.0], 't3.106.114.50': [0.466, 5.0]}), 'newmec-6'], [({'t5.102.114.51': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.51': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.51': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.51': [0.643, 5.0], 't2.102.114.51': [0.568, 5.0], 't1.102.114.51': [0.584, 6.667]}), 'newmec-2'], [({'t5.156.114.52': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.52': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.156.114.52': [0.625, 5.0], 't1.156.114.52': [0.412, 6.667]}), 'osboxes-0'], [({'t2.101.114.53': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.53': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.53': [0.435, 5.0], 't1.101.114.53': [0.721, 6.667]}), 'newmec-1'], [({'t5.104.114.54': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.54': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.54': [0.646, 5.0], 't1.104.114.54': [0.687, 6.667]}), 'newmec-4'], [({'t5.106.114.55': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.106.114.55': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.55': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.106.114.55': [0.408, 5.0], 't3.106.114.55': [0.788, 5.0], 't4.106.114.55': [0.518, 10.0]}), 'newmec-6'], [({'t3.104.114.56': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.56': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.56': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.56': [0.525, 5.0], 't5.104.114.56': [0.484, 5.0], 't2.104.114.56': [0.551, 5.0]}), 'newmec-4'], [({'t1.156.114.57': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.156.114.57': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.57': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.156.114.57': [0.432, 6.667], 't2.156.114.57': [0.415, 5.0], 't4.156.114.57': [0.524, 10.0]}), 'osboxes-0'], [({'t2.106.114.58': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.58': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.106.114.58': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.58': [0.724, 5.0], 't1.106.114.58': [0.671, 6.667], 't3.106.114.58': [0.523, 5.0]}), 'newmec-6'], [({'t4.156.114.59': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.59': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.59': [0.443, 10.0], 't2.156.114.59': [0.597, 5.0]}), 'osboxes-0'], [({'t4.105.114.60': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.60': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.105.114.60': [0.47, 10.0], 't3.105.114.60': [0.619, 5.0]}), 'newmec-5'], [({'t4.105.114.61': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.61': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.61': [0.428, 10.0], 't2.105.114.61': [0.422, 5.0]}), 'newmec-5'], [({'t2.104.114.62': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.62': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.62': [0.673, 5.0], 't1.104.114.62': [0.681, 6.667]}), 'newmec-4'], [({'t2.106.114.63': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.106.114.63': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.106.114.63': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.106.114.63': [0.692, 5.0], 't4.106.114.63': [0.508, 10.0], 't5.106.114.63': [0.617, 5.0]}), 'newmec-6'], [({'t5.104.114.64': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.64': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.64': [0.561, 5.0], 't4.104.114.64': [0.468, 10.0]}), 'newmec-4'], [({'t2.104.114.65': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.65': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.65': [0.77, 5.0], 't1.104.114.65': [0.549, 6.667]}), 'newmec-4'], [({'t4.105.114.66': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.66': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.66': [0.709, 10.0], 't5.105.114.66': [0.406, 5.0]}), 'newmec-5'], [({'t5.101.114.67': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.67': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.67': [0.702, 5.0], 't4.101.114.67': [0.47, 10.0]}), 'newmec-1'], [({'t3.106.114.68': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.68': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.68': [0.703, 5.0], 't1.106.114.68': [0.705, 6.667]}), 'newmec-6'], [({'t3.102.114.69': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.69': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.69': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.69': [0.602, 5.0], 't2.102.114.69': [0.513, 5.0], 't5.102.114.69': [0.778, 5.0]}), 'newmec-2'], [({'t4.102.114.70': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.70': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.70': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.70': [0.531, 10.0], 't3.102.114.70': [0.762, 5.0], 't2.102.114.70': [0.499, 5.0]}), 'newmec-2'], [({'t4.105.114.71': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.71': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.71': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.71': [0.572, 10.0], 't1.105.114.71': [0.791, 6.667], 't2.105.114.71': [0.51, 5.0]}), 'newmec-5'], [({'t5.102.114.72': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.72': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.72': [0.588, 5.0], 't3.102.114.72': [0.734, 5.0]}), 'newmec-2'], [({'t3.102.114.73': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.73': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.73': [0.584, 5.0], 't5.102.114.73': [0.569, 5.0]}), 'newmec-2'], [({'t4.103.114.74': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.74': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.74': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.74': [0.459, 10.0], 't2.103.114.74': [0.778, 5.0], 't5.103.114.74': [0.774, 5.0]}), 'newmec-3'], [({'t3.102.114.75': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.75': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.75': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.75': [0.711, 5.0], 't4.102.114.75': [0.553, 10.0], 't2.102.114.75': [0.779, 5.0]}), 'newmec-2'], [({'t4.101.114.76': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.76': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.76': [0.789, 10.0], 't2.101.114.76': [0.559, 5.0]}), 'newmec-1'], [({'t3.156.114.77': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.77': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.77': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.156.114.77': [0.69, 5.0], 't2.156.114.77': [0.535, 5.0], 't1.156.114.77': [0.77, 6.667]}), 'osboxes-0'], [({'t3.106.114.78': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.78': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.106.114.78': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.106.114.78': [0.658, 5.0], 't1.106.114.78': [0.67, 6.667], 't5.106.114.78': [0.576, 5.0]}), 'newmec-6'], [({'t5.103.114.79': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.79': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.79': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.79': [0.483, 5.0], 't4.103.114.79': [0.777, 10.0], 't3.103.114.79': [0.606, 5.0]}), 'newmec-3'], [({'t4.104.114.80': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.80': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.80': [0.479, 10.0], 't3.104.114.80': [0.701, 5.0]}), 'newmec-4'], [({'t4.101.114.81': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.81': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.81': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.81': [0.746, 10.0], 't3.101.114.81': [0.453, 5.0], 't5.101.114.81': [0.543, 5.0]}), 'newmec-1'], [({'t2.105.114.82': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.82': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.82': [0.405, 5.0], 't4.105.114.82': [0.587, 10.0]}), 'newmec-5'], [({'t1.102.114.83': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.83': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.83': [0.714, 6.667], 't2.102.114.83': [0.414, 5.0]}), 'newmec-2'], [({'t5.103.114.84': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.84': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.84': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.84': [0.635, 5.0], 't2.103.114.84': [0.715, 5.0], 't1.103.114.84': [0.784, 6.667]}), 'newmec-3'], [({'t3.103.114.85': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.85': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.85': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.85': [0.645, 5.0], 't1.103.114.85': [0.764, 6.667], 't5.103.114.85': [0.704, 5.0]}), 'newmec-3'], [({'t1.156.114.86': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.86': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.86': [0.538, 6.667], 't5.156.114.86': [0.523, 5.0]}), 'osboxes-0'], [({'t5.102.114.87': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.87': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.87': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.87': [0.614, 5.0], 't2.102.114.87': [0.721, 5.0], 't4.102.114.87': [0.536, 10.0]}), 'newmec-2'], [({'t5.102.114.88': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.88': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.88': [0.572, 5.0], 't4.102.114.88': [0.545, 10.0]}), 'newmec-2'], [({'t2.102.114.89': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.89': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.89': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.89': [0.555, 5.0], 't5.102.114.89': [0.466, 5.0], 't3.102.114.89': [0.711, 5.0]}), 'newmec-2'], [({'t4.101.114.90': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.90': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.90': [0.754, 10.0], 't2.101.114.90': [0.48, 5.0]}), 'newmec-1'], [({'t5.106.114.91': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.106.114.91': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.106.114.91': [0.727, 5.0], 't1.106.114.91': [0.681, 6.667]}), 'newmec-6'], [({'t3.104.114.92': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.92': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.92': [0.612, 5.0], 't2.104.114.92': [0.443, 5.0]}), 'newmec-4'], [({'t4.106.114.93': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.93': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.106.114.93': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.106.114.93': [0.474, 10.0], 't3.106.114.93': [0.625, 5.0], 't5.106.114.93': [0.722, 5.0]}), 'newmec-6'], [({'t1.101.114.94': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.94': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.101.114.94': [0.437, 6.667], 't5.101.114.94': [0.746, 5.0]}), 'newmec-1'], [({'t4.105.114.95': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.95': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.105.114.95': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.95': [0.659, 10.0], 't1.105.114.95': [0.656, 6.667], 't5.105.114.95': [0.734, 5.0]}), 'newmec-5'], [({'t2.106.114.96': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.106.114.96': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.106.114.96': [0.714, 5.0], 't4.106.114.96': [0.575, 10.0]}), 'newmec-6'], [({'t3.102.114.97': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.97': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.97': [0.756, 5.0], 't4.102.114.97': [0.554, 10.0]}), 'newmec-2'], [({'t5.156.114.98': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.98': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.98': [0.603, 5.0], 't2.156.114.98': [0.78, 5.0]}), 'osboxes-0'], [({'t1.103.114.99': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.99': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.99': [0.632, 6.667], 't5.103.114.99': [0.573, 5.0]}), 'newmec-3'], [({'t5.103.114.100': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.100': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.100': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.100': [0.624, 5.0], 't2.103.114.100': [0.713, 5.0], 't3.103.114.100': [0.43, 5.0]}), 'newmec-3'], [({'t2.103.114.101': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.101': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.101': [0.405, 5.0], 't4.103.114.101': [0.718, 10.0]}), 'newmec-3'], [({'t4.101.114.102': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.102': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.102': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.102': [0.727, 10.0], 't3.101.114.102': [0.681, 5.0], 't5.101.114.102': [0.554, 5.0]}), 'newmec-1'], [({'t2.104.114.103': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.103': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.103': [0.651, 5.0], 't5.104.114.103': [0.431, 5.0]}), 'newmec-4'], [({'t4.105.114.104': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.104': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.104': [0.474, 10.0], 't2.105.114.104': [0.505, 5.0]}), 'newmec-5'], [({'t5.103.114.105': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.105': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.105': [0.424, 5.0], 't3.103.114.105': [0.638, 5.0]}), 'newmec-3'], [({'t2.106.114.106': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.106.114.106': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.106.114.106': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.106.114.106': [0.687, 5.0], 't4.106.114.106': [0.659, 10.0], 't5.106.114.106': [0.698, 5.0]}), 'newmec-6'], [({'t4.105.114.107': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.107': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.107': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.107': [0.52, 10.0], 't1.105.114.107': [0.416, 6.667], 't2.105.114.107': [0.531, 5.0]}), 'newmec-5'], [({'t2.102.114.108': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.108': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.108': [0.41, 5.0], 't5.102.114.108': [0.663, 5.0]}), 'newmec-2'], [({'t2.106.114.109': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.109': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.106.114.109': [0.443, 5.0], 't1.106.114.109': [0.662, 6.667]}), 'newmec-6'], [({'t3.156.114.110': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.110': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.110': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.156.114.110': [0.414, 5.0], 't5.156.114.110': [0.607, 5.0], 't2.156.114.110': [0.598, 5.0]}), 'osboxes-0'], [({'t3.156.114.111': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.111': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.111': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.111': [0.417, 5.0], 't1.156.114.111': [0.487, 6.667], 't5.156.114.111': [0.733, 5.0]}), 'osboxes-0'], [({'t5.106.114.112': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.106.114.112': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.106.114.112': [0.405, 5.0], 't4.106.114.112': [0.43, 10.0]}), 'newmec-6'], [({'t4.105.114.113': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.113': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.113': [0.768, 10.0], 't5.105.114.113': [0.637, 5.0]}), 'newmec-5'], [({'t2.101.114.114': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.114': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.114': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.114': [0.527, 5.0], 't3.101.114.114': [0.582, 5.0], 't1.101.114.114': [0.424, 6.667]}), 'newmec-1'], [({'t5.105.114.115': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.105.114.115': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.115': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.105.114.115': [0.486, 5.0], 't4.105.114.115': [0.765, 10.0], 't2.105.114.115': [0.708, 5.0]}), 'newmec-5'], [({'t1.102.114.116': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.116': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.116': [0.559, 6.667], 't2.102.114.116': [0.631, 5.0]}), 'newmec-2'], [({'t3.103.114.117': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.117': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.117': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.117': [0.615, 5.0], 't2.103.114.117': [0.441, 5.0], 't1.103.114.117': [0.57, 6.667]}), 'newmec-3'], [({'t2.105.114.118': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.105.114.118': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.105.114.118': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.118': [0.449, 5.0], 't3.105.114.118': [0.548, 5.0], 't1.105.114.118': [0.603, 6.667]}), 'newmec-5'], [({'t5.103.114.119': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.119': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.119': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.119': [0.633, 5.0], 't3.103.114.119': [0.513, 5.0], 't4.103.114.119': [0.438, 10.0]}), 'newmec-3'], [({'t5.101.114.120': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.120': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.120': [0.595, 5.0], 't3.101.114.120': [0.618, 5.0]}), 'newmec-1'], [({'t5.103.114.121': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.121': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.121': [0.424, 5.0], 't4.103.114.121': [0.738, 10.0]}), 'newmec-3'], [({'t2.106.114.122': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.106.114.122': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.106.114.122': [0.451, 5.0], 't4.106.114.122': [0.787, 10.0]}), 'newmec-6'], [({'t3.103.114.123': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.123': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.123': [0.793, 5.0], 't2.103.114.123': [0.637, 5.0]}), 'newmec-3'], [({'t2.104.114.124': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.124': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.124': [0.422, 5.0], 't4.104.114.124': [0.763, 10.0]}), 'newmec-4'], [({'t2.105.114.125': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.105.114.125': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.105.114.125': [0.608, 5.0], 't3.105.114.125': [0.781, 5.0]}), 'newmec-5'], [({'t2.103.114.126': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.126': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.126': [0.682, 5.0], 't3.103.114.126': [0.654, 5.0]}), 'newmec-3'], [({'t5.103.114.127': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.127': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.127': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.127': [0.563, 5.0], 't2.103.114.127': [0.686, 5.0], 't1.103.114.127': [0.676, 6.667]}), 'newmec-3'], [({'t3.102.114.128': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.128': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.128': [0.412, 5.0], 't4.102.114.128': [0.432, 10.0]}), 'newmec-2'], [({'t4.103.114.129': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.129': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.129': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.129': [0.407, 10.0], 't5.103.114.129': [0.56, 5.0], 't2.103.114.129': [0.506, 5.0]}), 'newmec-3'], [({'t3.104.114.130': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.130': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.130': [0.426, 5.0], 't4.104.114.130': [0.417, 10.0]}), 'newmec-4'], [({'t5.101.114.131': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.131': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.131': [0.68, 5.0], 't2.101.114.131': [0.424, 5.0]}), 'newmec-1'], [({'t2.104.114.132': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.132': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.132': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.132': [0.528, 5.0], 't5.104.114.132': [0.69, 5.0], 't4.104.114.132': [0.416, 10.0]}), 'newmec-4'], [({'t4.106.114.133': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.106.114.133': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.106.114.133': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.106.114.133': [0.448, 10.0], 't1.106.114.133': [0.766, 6.667], 't5.106.114.133': [0.411, 5.0]}), 'newmec-6'], [({'t1.104.114.134': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.134': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.134': [0.735, 6.667], 't2.104.114.134': [0.766, 5.0]}), 'newmec-4'], [({'t4.104.114.135': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.135': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.135': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.135': [0.646, 10.0], 't3.104.114.135': [0.492, 5.0], 't2.104.114.135': [0.59, 5.0]}), 'newmec-4'], [({'t2.105.114.136': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.136': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.136': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.105.114.136': [0.463, 5.0], 't4.105.114.136': [0.4, 10.0], 't5.105.114.136': [0.769, 5.0]}), 'newmec-5'], [({'t4.156.114.137': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.137': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.137': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.137': [0.741, 10.0], 't5.156.114.137': [0.411, 5.0], 't3.156.114.137': [0.685, 5.0]}), 'osboxes-0'], [({'t5.103.114.138': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.138': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.138': [0.49, 5.0], 't1.103.114.138': [0.506, 6.667]}), 'newmec-3'], [({'t5.105.114.139': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.105.114.139': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.105.114.139': [0.486, 5.0], 't4.105.114.139': [0.501, 10.0]}), 'newmec-5'], [({'t4.103.114.140': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.140': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.140': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.140': [0.732, 10.0], 't1.103.114.140': [0.642, 6.667], 't5.103.114.140': [0.581, 5.0]}), 'newmec-3'], [({'t3.104.114.141': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.141': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.141': [0.721, 5.0], 't5.104.114.141': [0.522, 5.0]}), 'newmec-4'], [({'t4.156.114.142': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.142': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.142': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.142': [0.578, 10.0], 't3.156.114.142': [0.515, 5.0], 't1.156.114.142': [0.448, 6.667]}), 'osboxes-0'], [({'t3.106.114.143': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.143': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.106.114.143': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.143': [0.648, 5.0], 't4.106.114.143': [0.689, 10.0], 't1.106.114.143': [0.455, 6.667]}), 'newmec-6'], [({'t5.104.114.144': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.144': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.144': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.144': [0.65, 5.0], 't2.104.114.144': [0.719, 5.0], 't1.104.114.144': [0.535, 6.667]}), 'newmec-4'], [({'t2.105.114.145': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.105.114.145': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.105.114.145': [0.442, 5.0], 't3.105.114.145': [0.795, 5.0]}), 'newmec-5'], [({'t2.105.114.146': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.146': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.146': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.105.114.146': [0.594, 5.0], 't4.105.114.146': [0.77, 10.0], 't3.105.114.146': [0.6, 5.0]}), 'newmec-5'], [({'t3.104.114.147': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.147': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.147': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.104.114.147': [0.788, 5.0], 't1.104.114.147': [0.597, 6.667], 't2.104.114.147': [0.741, 5.0]}), 'newmec-4'], [({'t3.101.114.148': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.148': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.148': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.148': [0.711, 5.0], 't2.101.114.148': [0.587, 5.0], 't5.101.114.148': [0.74, 5.0]}), 'newmec-1'], [({'t5.103.114.149': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.149': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.149': [0.521, 5.0], 't3.103.114.149': [0.724, 5.0]}), 'newmec-3'], [({'t4.103.114.150': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.150': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.150': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.150': [0.699, 10.0], 't3.103.114.150': [0.405, 5.0], 't5.103.114.150': [0.443, 5.0]}), 'newmec-3'], [({'t5.101.114.151': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.151': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.151': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.151': [0.64, 5.0], 't3.101.114.151': [0.796, 5.0], 't1.101.114.151': [0.571, 6.667]}), 'newmec-1'], [({'t5.106.114.152': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.152': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.106.114.152': [0.614, 5.0], 't2.106.114.152': [0.406, 5.0]}), 'newmec-6'], [({'t5.106.114.153': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.106.114.153': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.153': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.106.114.153': [0.427, 5.0], 't4.106.114.153': [0.654, 10.0], 't3.106.114.153': [0.568, 5.0]}), 'newmec-6'], [({'t1.104.114.154': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.154': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.154': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.154': [0.642, 6.667], 't5.104.114.154': [0.711, 5.0], 't4.104.114.154': [0.687, 10.0]}), 'newmec-4'], [({'t5.101.114.155': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.155': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.155': [0.505, 5.0], 't2.101.114.155': [0.461, 5.0]}), 'newmec-1'], [({'t2.103.114.156': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.156': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.156': [0.593, 5.0], 't4.103.114.156': [0.612, 10.0]}), 'newmec-3'], [({'t3.104.114.157': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.157': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.157': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.157': [0.498, 5.0], 't5.104.114.157': [0.421, 5.0], 't4.104.114.157': [0.434, 10.0]}), 'newmec-4'], [({'t3.102.114.158': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.102.114.158': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.158': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.158': [0.553, 5.0], 't5.102.114.158': [0.609, 5.0], 't4.102.114.158': [0.541, 10.0]}), 'newmec-2'], [({'t5.102.114.159': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.159': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.159': [0.414, 5.0], 't1.102.114.159': [0.633, 6.667]}), 'newmec-2'], [({'t2.102.114.160': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.160': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.160': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.160': [0.609, 5.0], 't3.102.114.160': [0.516, 5.0], 't4.102.114.160': [0.645, 10.0]}), 'newmec-2'], [({'t5.104.114.161': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.161': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.161': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.161': [0.782, 5.0], 't1.104.114.161': [0.646, 6.667], 't2.104.114.161': [0.799, 5.0]}), 'newmec-4'], [({'t5.101.114.162': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.162': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.162': [0.554, 5.0], 't1.101.114.162': [0.52, 6.667]}), 'newmec-1'], [({'t4.104.114.163': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.163': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.163': [0.574, 10.0], 't2.104.114.163': [0.606, 5.0]}), 'newmec-4'], [({'t5.101.114.164': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.164': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.101.114.164': [0.578, 5.0], 't2.101.114.164': [0.554, 5.0]}), 'newmec-1'], [({'t3.103.114.165': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.165': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.165': [0.734, 5.0], 't2.103.114.165': [0.57, 5.0]}), 'newmec-3'], [({'t5.101.114.166': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.166': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.166': [0.531, 5.0], 't1.101.114.166': [0.422, 6.667]}), 'newmec-1'], [({'t2.104.114.167': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.167': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.167': [0.692, 5.0], 't1.104.114.167': [0.8, 6.667]}), 'newmec-4'], [({'t2.102.114.168': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.168': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.168': [0.704, 5.0], 't1.102.114.168': [0.577, 6.667]}), 'newmec-2'], [({'t4.156.114.169': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.169': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.169': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.169': [0.557, 10.0], 't5.156.114.169': [0.407, 5.0], 't3.156.114.169': [0.435, 5.0]}), 'osboxes-0'], [({'t3.106.114.170': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.170': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.170': [0.628, 5.0], 't1.106.114.170': [0.589, 6.667]}), 'newmec-6'], [({'t4.103.114.171': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.171': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.171': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.171': [0.609, 10.0], 't2.103.114.171': [0.607, 5.0], 't3.103.114.171': [0.743, 5.0]}), 'newmec-3'], [({'t1.104.114.172': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.172': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.172': [0.786, 6.667], 't5.104.114.172': [0.541, 5.0]}), 'newmec-4'], [({'t5.103.114.173': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.173': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.173': [0.514, 5.0], 't1.103.114.173': [0.401, 6.667]}), 'newmec-3'], [({'t2.104.114.174': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.174': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.174': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.174': [0.643, 5.0], 't4.104.114.174': [0.514, 10.0], 't5.104.114.174': [0.789, 5.0]}), 'newmec-4'], [({'t1.104.114.175': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.175': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.175': [0.423, 6.667], 't3.104.114.175': [0.447, 5.0]}), 'newmec-4'], [({'t1.104.114.176': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.176': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.176': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.176': [0.494, 6.667], 't4.104.114.176': [0.443, 10.0], 't5.104.114.176': [0.798, 5.0]}), 'newmec-4'], [({'t2.105.114.177': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.177': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.105.114.177': [0.763, 5.0], 't5.105.114.177': [0.605, 5.0]}), 'newmec-5'], [({'t3.101.114.178': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.178': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.178': [0.548, 5.0], 't2.101.114.178': [0.522, 5.0]}), 'newmec-1'], [({'t3.101.114.179': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.179': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.179': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.179': [0.708, 5.0], 't1.101.114.179': [0.696, 6.667], 't2.101.114.179': [0.477, 5.0]}), 'newmec-1'], [({'t3.106.114.180': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.180': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.106.114.180': [0.532, 5.0], 't2.106.114.180': [0.776, 5.0]}), 'newmec-6'], [({'t1.102.114.181': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.181': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.181': [0.484, 6.667], 't3.102.114.181': [0.76, 5.0]}), 'newmec-2'], [({'t4.156.114.182': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.182': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.182': [0.633, 10.0], 't3.156.114.182': [0.416, 5.0]}), 'osboxes-0'], [({'t5.103.114.183': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.183': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.183': [0.667, 5.0], 't1.103.114.183': [0.763, 6.667]}), 'newmec-3'], [({'t5.106.114.184': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.106.114.184': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.106.114.184': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.106.114.184': [0.585, 5.0], 't1.106.114.184': [0.781, 6.667], 't2.106.114.184': [0.658, 5.0]}), 'newmec-6'], [({'t1.106.114.185': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.106.114.185': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.106.114.185': [0.702, 6.667], 't2.106.114.185': [0.573, 5.0]}), 'newmec-6'], [({'t3.102.114.186': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.186': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.186': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.186': [0.517, 5.0], 't1.102.114.186': [0.709, 6.667], 't5.102.114.186': [0.435, 5.0]}), 'newmec-2'], [({'t3.156.114.187': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.187': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.187': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.187': [0.736, 5.0], 't2.156.114.187': [0.723, 5.0], 't5.156.114.187': [0.626, 5.0]}), 'osboxes-0'], [({'t3.104.114.188': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.188': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.188': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.188': [0.402, 5.0], 't5.104.114.188': [0.705, 5.0], 't4.104.114.188': [0.654, 10.0]}), 'newmec-4'], [({'t5.102.114.189': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.189': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.189': [0.46, 5.0], 't3.102.114.189': [0.477, 5.0]}), 'newmec-2'], [({'t5.104.114.190': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.190': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.104.114.190': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.190': [0.752, 5.0], 't3.104.114.190': [0.65, 5.0], 't1.104.114.190': [0.425, 6.667]}), 'newmec-4'], [({'t5.104.114.191': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.191': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.191': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.191': [0.789, 5.0], 't2.104.114.191': [0.71, 5.0], 't3.104.114.191': [0.63, 5.0]}), 'newmec-4'], [({'t4.106.114.192': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.192': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.106.114.192': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.106.114.192': [0.688, 10.0], 't3.106.114.192': [0.757, 5.0], 't5.106.114.192': [0.783, 5.0]}), 'newmec-6'], [({'t1.104.114.193': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.193': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.193': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.193': [0.78, 6.667], 't3.104.114.193': [0.732, 5.0], 't4.104.114.193': [0.634, 10.0]}), 'newmec-4'], [({'t4.103.114.194': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.194': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.194': [0.548, 10.0], 't3.103.114.194': [0.422, 5.0]}), 'newmec-3'], [({'t3.106.114.195': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.195': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.106.114.195': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.195': [0.418, 5.0], 't4.106.114.195': [0.449, 10.0], 't1.106.114.195': [0.47, 6.667]}), 'newmec-6'], [({'t3.101.114.196': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.196': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.196': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.196': [0.662, 5.0], 't1.101.114.196': [0.598, 6.667], 't4.101.114.196': [0.73, 10.0]}), 'newmec-1'], [({'t1.105.114.197': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.105.114.197': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.105.114.197': [0.431, 6.667], 't3.105.114.197': [0.712, 5.0]}), 'newmec-5'], [({'t5.102.114.198': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.198': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.198': [0.766, 5.0], 't1.102.114.198': [0.446, 6.667]}), 'newmec-2'], [({'t4.101.114.199': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.199': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.199': [0.417, 10.0], 't1.101.114.199': [0.677, 6.667]}), 'newmec-1'], [({'t3.103.114.200': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.200': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.200': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.200': [0.638, 5.0], 't5.103.114.200': [0.77, 5.0], 't2.103.114.200': [0.788, 5.0]}), 'newmec-3'], [({'t4.103.114.201': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.201': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.201': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.201': [0.681, 10.0], 't5.103.114.201': [0.593, 5.0], 't2.103.114.201': [0.609, 5.0]}), 'newmec-3'], [({'t5.156.114.202': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.202': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.202': [0.581, 5.0], 't3.156.114.202': [0.635, 5.0]}), 'osboxes-0'], [({'t4.103.114.203': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.203': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.203': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.203': [0.509, 10.0], 't3.103.114.203': [0.719, 5.0], 't5.103.114.203': [0.425, 5.0]}), 'newmec-3'], [({'t2.106.114.204': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.204': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.204': [0.559, 5.0], 't3.106.114.204': [0.509, 5.0]}), 'newmec-6'], [({'t2.104.114.205': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.205': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.205': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.205': [0.643, 5.0], 't1.104.114.205': [0.763, 6.667], 't5.104.114.205': [0.645, 5.0]}), 'newmec-4'], [({'t1.104.114.206': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.206': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.206': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.206': [0.775, 6.667], 't4.104.114.206': [0.776, 10.0], 't2.104.114.206': [0.504, 5.0]}), 'newmec-4'], [({'t4.104.114.207': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.207': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.207': [0.642, 10.0], 't5.104.114.207': [0.634, 5.0]}), 'newmec-4'], [({'t3.102.114.208': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.208': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.208': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.208': [0.637, 5.0], 't2.102.114.208': [0.611, 5.0], 't5.102.114.208': [0.518, 5.0]}), 'newmec-2'], [({'t3.105.114.209': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.209': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.105.114.209': [0.779, 5.0], 't5.105.114.209': [0.418, 5.0]}), 'newmec-5'], [({'t2.103.114.210': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.210': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.210': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.210': [0.721, 5.0], 't5.103.114.210': [0.769, 5.0], 't3.103.114.210': [0.416, 5.0]}), 'newmec-3'], [({'t4.103.114.211': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.211': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.211': [0.638, 10.0], 't1.103.114.211': [0.546, 6.667]}), 'newmec-3'], [({'t4.105.114.212': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.212': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.105.114.212': [0.542, 10.0], 't3.105.114.212': [0.712, 5.0]}), 'newmec-5'], [({'t4.102.114.213': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.213': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.213': [0.676, 10.0], 't1.102.114.213': [0.597, 6.667]}), 'newmec-2'], [({'t3.105.114.214': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.214': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.214': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.214': [0.769, 5.0], 't5.105.114.214': [0.669, 5.0], 't2.105.114.214': [0.643, 5.0]}), 'newmec-5'], [({'t1.105.114.215': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.215': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.215': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.105.114.215': [0.772, 6.667], 't4.105.114.215': [0.548, 10.0], 't2.105.114.215': [0.508, 5.0]}), 'newmec-5'], [({'t2.156.114.216': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.216': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.216': [0.537, 5.0], 't3.156.114.216': [0.795, 5.0]}), 'osboxes-0'], [({'t2.102.114.217': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.217': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.217': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.217': [0.438, 5.0], 't3.102.114.217': [0.519, 5.0], 't4.102.114.217': [0.636, 10.0]}), 'newmec-2'], [({'t2.104.114.218': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.218': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.218': [0.755, 5.0], 't1.104.114.218': [0.672, 6.667]}), 'newmec-4'], [({'t5.102.114.219': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.219': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.219': [0.682, 5.0], 't4.102.114.219': [0.598, 10.0]}), 'newmec-2'], [({'t2.105.114.220': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.220': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.220': [0.796, 5.0], 't4.105.114.220': [0.78, 10.0]}), 'newmec-5'], [({'t5.106.114.221': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.106.114.221': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.106.114.221': [0.536, 5.0], 't4.106.114.221': [0.681, 10.0]}), 'newmec-6'], [({'t3.103.114.222': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.222': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.222': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.222': [0.699, 5.0], 't5.103.114.222': [0.502, 5.0], 't4.103.114.222': [0.731, 10.0]}), 'newmec-3'], [({'t4.101.114.223': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.223': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.223': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.223': [0.585, 10.0], 't3.101.114.223': [0.582, 5.0], 't2.101.114.223': [0.572, 5.0]}), 'newmec-1'], [({'t4.103.114.224': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.224': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.224': [0.483, 10.0], 't3.103.114.224': [0.485, 5.0]}), 'newmec-3'], [({'t4.104.114.225': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.225': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.225': [0.78, 10.0], 't3.104.114.225': [0.597, 5.0]}), 'newmec-4'], [({'t4.106.114.226': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.226': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.226': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.106.114.226': [0.486, 10.0], 't2.106.114.226': [0.576, 5.0], 't1.106.114.226': [0.576, 6.667]}), 'newmec-6'], [({'t4.103.114.227': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.227': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.227': [0.721, 10.0], 't3.103.114.227': [0.731, 5.0]}), 'newmec-3'], [({'t1.105.114.228': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.228': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.105.114.228': [0.5, 6.667], 't2.105.114.228': [0.614, 5.0]}), 'newmec-5'], [({'t5.103.114.229': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.229': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.229': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.229': [0.566, 5.0], 't4.103.114.229': [0.767, 10.0], 't1.103.114.229': [0.672, 6.667]}), 'newmec-3'], [({'t2.103.114.230': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.230': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.230': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.230': [0.76, 5.0], 't3.103.114.230': [0.527, 5.0], 't4.103.114.230': [0.794, 10.0]}), 'newmec-3'], [({'t3.106.114.231': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.106.114.231': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.231': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.106.114.231': [0.547, 5.0], 't5.106.114.231': [0.573, 5.0], 't2.106.114.231': [0.546, 5.0]}), 'newmec-6'], [({'t3.103.114.232': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.232': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.232': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.232': [0.536, 5.0], 't2.103.114.232': [0.695, 5.0], 't5.103.114.232': [0.648, 5.0]}), 'newmec-3'], [({'t5.105.114.233': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.105.114.233': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.233': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.105.114.233': [0.431, 5.0], 't4.105.114.233': [0.712, 10.0], 't1.105.114.233': [0.508, 6.667]}), 'newmec-5'], [({'t5.104.114.234': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.234': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.234': [0.585, 5.0], 't4.104.114.234': [0.534, 10.0]}), 'newmec-4'], [({'t4.106.114.235': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.106.114.235': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.235': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.235': [0.702, 10.0], 't5.106.114.235': [0.419, 5.0], 't2.106.114.235': [0.786, 5.0]}), 'newmec-6'], [({'t3.103.114.236': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.236': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.236': [0.667, 5.0], 't5.103.114.236': [0.494, 5.0]}), 'newmec-3'], [({'t4.106.114.237': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.237': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.106.114.237': [0.78, 10.0], 't3.106.114.237': [0.745, 5.0]}), 'newmec-6'], [({'t3.103.114.238': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.238': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.238': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.238': [0.479, 5.0], 't5.103.114.238': [0.486, 5.0], 't4.103.114.238': [0.516, 10.0]}), 'newmec-3'], [({'t2.103.114.239': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.239': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.239': [0.485, 5.0], 't1.103.114.239': [0.553, 6.667]}), 'newmec-3'], [({'t3.103.114.240': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.240': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.240': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.240': [0.786, 5.0], 't2.103.114.240': [0.587, 5.0], 't5.103.114.240': [0.452, 5.0]}), 'newmec-3'], [({'t3.102.114.241': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.241': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.241': [0.65, 5.0], 't2.102.114.241': [0.46, 5.0]}), 'newmec-2'], [({'t2.101.114.242': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.242': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.242': [0.676, 5.0], 't1.101.114.242': [0.424, 6.667]}), 'newmec-1'], [({'t1.103.114.243': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.243': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.243': [0.466, 6.667], 't5.103.114.243': [0.428, 5.0]}), 'newmec-3'], [({'t2.102.114.244': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.244': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.244': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.244': [0.754, 5.0], 't4.102.114.244': [0.629, 10.0], 't1.102.114.244': [0.421, 6.667]}), 'newmec-2'], [({'t5.103.114.245': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.245': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.245': [0.607, 5.0], 't3.103.114.245': [0.524, 5.0]}), 'newmec-3'], [({'t2.156.114.246': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.246': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.246': [0.537, 5.0], 't4.156.114.246': [0.415, 10.0]}), 'osboxes-0'], [({'t4.106.114.247': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.247': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.247': [0.626, 10.0], 't2.106.114.247': [0.617, 5.0]}), 'newmec-6'], [({'t1.104.114.248': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.248': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.248': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.248': [0.477, 6.667], 't2.104.114.248': [0.42, 5.0], 't3.104.114.248': [0.496, 5.0]}), 'newmec-4'], [({'t4.103.114.249': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.249': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.249': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.249': [0.765, 10.0], 't1.103.114.249': [0.72, 6.667], 't2.103.114.249': [0.436, 5.0]}), 'newmec-3'], [({'t5.101.114.250': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.250': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.250': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.250': [0.789, 5.0], 't3.101.114.250': [0.418, 5.0], 't4.101.114.250': [0.697, 10.0]}), 'newmec-1'], [({'t2.104.114.251': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.251': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.251': [0.424, 5.0], 't3.104.114.251': [0.669, 5.0]}), 'newmec-4'], [({'t3.106.114.252': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.252': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.252': [0.464, 5.0], 't1.106.114.252': [0.733, 6.667]}), 'newmec-6'], [({'t5.102.114.253': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.253': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.253': [0.623, 5.0], 't4.102.114.253': [0.779, 10.0]}), 'newmec-2'], [({'t1.104.114.254': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.104.114.254': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.104.114.254': [0.739, 6.667], 't4.104.114.254': [0.761, 10.0]}), 'newmec-4'], [({'t5.106.114.255': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.255': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.255': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.106.114.255': [0.444, 5.0], 't2.106.114.255': [0.663, 5.0], 't1.106.114.255': [0.512, 6.667]}), 'newmec-6'], [({'t2.104.114.256': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.256': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.256': [0.716, 5.0], 't1.104.114.256': [0.755, 6.667]}), 'newmec-4'], [({'t5.103.114.257': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.257': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.257': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.257': [0.407, 5.0], 't2.103.114.257': [0.494, 5.0], 't4.103.114.257': [0.755, 10.0]}), 'newmec-3'], [({'t1.102.114.258': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.102.114.258': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.258': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.102.114.258': [0.422, 6.667], 't4.102.114.258': [0.788, 10.0], 't5.102.114.258': [0.714, 5.0]}), 'newmec-2'], [({'t1.156.114.259': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.259': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.259': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.259': [0.406, 6.667], 't4.156.114.259': [0.577, 10.0], 't5.156.114.259': [0.645, 5.0]}), 'osboxes-0'], [({'t3.103.114.260': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.260': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.260': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.260': [0.798, 5.0], 't1.103.114.260': [0.66, 6.667], 't5.103.114.260': [0.644, 5.0]}), 'newmec-3'], [({'t4.106.114.261': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.261': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.261': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.106.114.261': [0.571, 10.0], 't3.106.114.261': [0.498, 5.0], 't1.106.114.261': [0.734, 6.667]}), 'newmec-6'], [({'t4.104.114.262': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.262': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.262': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.262': [0.64, 10.0], 't5.104.114.262': [0.402, 5.0], 't1.104.114.262': [0.781, 6.667]}), 'newmec-4'], [({'t3.103.114.263': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.263': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.263': [0.792, 5.0], 't4.103.114.263': [0.703, 10.0]}), 'newmec-3'], [({'t3.103.114.264': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.264': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.264': [0.442, 5.0], 't2.103.114.264': [0.748, 5.0]}), 'newmec-3'], [({'t3.101.114.265': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.265': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.265': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.265': [0.566, 5.0], 't5.101.114.265': [0.573, 5.0], 't1.101.114.265': [0.699, 6.667]}), 'newmec-1'], [({'t1.156.114.266': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.266': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.266': [0.724, 6.667], 't5.156.114.266': [0.533, 5.0]}), 'osboxes-0'], [({'t1.105.114.267': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.105.114.267': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.267': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.105.114.267': [0.55, 6.667], 't3.105.114.267': [0.753, 5.0], 't4.105.114.267': [0.426, 10.0]}), 'newmec-5'], [({'t3.104.114.268': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.268': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.268': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.268': [0.676, 5.0], 't4.104.114.268': [0.635, 10.0], 't5.104.114.268': [0.67, 5.0]}), 'newmec-4'], [({'t4.104.114.269': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.269': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.269': [0.715, 10.0], 't3.104.114.269': [0.564, 5.0]}), 'newmec-4'], [({'t5.102.114.270': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.270': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.270': [0.701, 5.0], 't4.102.114.270': [0.752, 10.0]}), 'newmec-2'], [({'t2.102.114.271': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.271': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.271': [0.719, 5.0], 't4.102.114.271': [0.595, 10.0]}), 'newmec-2'], [({'t2.156.114.272': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.272': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.272': [0.613, 5.0], 't5.156.114.272': [0.641, 5.0]}), 'osboxes-0'], [({'t4.103.114.273': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.273': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.273': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.273': [0.602, 10.0], 't1.103.114.273': [0.791, 6.667], 't2.103.114.273': [0.425, 5.0]}), 'newmec-3'], [({'t5.103.114.274': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.274': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.274': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.274': [0.579, 5.0], 't3.103.114.274': [0.646, 5.0], 't4.103.114.274': [0.733, 10.0]}), 'newmec-3'], [({'t1.104.114.275': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.275': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.275': [0.585, 6.667], 't5.104.114.275': [0.58, 5.0]}), 'newmec-4'], [({'t5.102.114.276': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.276': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.276': [0.547, 5.0], 't4.102.114.276': [0.412, 10.0]}), 'newmec-2'], [({'t5.106.114.277': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.106.114.277': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.277': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.106.114.277': [0.401, 5.0], 't3.106.114.277': [0.63, 5.0], 't1.106.114.277': [0.778, 6.667]}), 'newmec-6'], [({'t5.105.114.278': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.278': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.105.114.278': [0.708, 5.0], 't2.105.114.278': [0.684, 5.0]}), 'newmec-5'], [({'t1.102.114.279': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.279': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.279': [0.428, 6.667], 't3.102.114.279': [0.566, 5.0]}), 'newmec-2'], [({'t5.103.114.280': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.280': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.280': [0.643, 5.0], 't1.103.114.280': [0.672, 6.667]}), 'newmec-3'], [({'t3.103.114.281': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.281': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.281': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.281': [0.502, 5.0], 't2.103.114.281': [0.666, 5.0], 't5.103.114.281': [0.653, 5.0]}), 'newmec-3'], [({'t1.104.114.282': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.282': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.104.114.282': [0.556, 6.667], 't2.104.114.282': [0.567, 5.0]}), 'newmec-4'], [({'t4.105.114.283': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.283': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.105.114.283': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.283': [0.587, 10.0], 't1.105.114.283': [0.452, 6.667], 't5.105.114.283': [0.465, 5.0]}), 'newmec-5'], [({'t2.101.114.284': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.284': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.101.114.284': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.284': [0.638, 5.0], 't1.101.114.284': [0.769, 6.667], 't5.101.114.284': [0.59, 5.0]}), 'newmec-1'], [({'t2.105.114.285': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.285': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.285': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.285': [0.777, 5.0], 't5.105.114.285': [0.634, 5.0], 't1.105.114.285': [0.759, 6.667]}), 'newmec-5'], [({'t4.103.114.286': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.286': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.286': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.286': [0.526, 10.0], 't5.103.114.286': [0.663, 5.0], 't3.103.114.286': [0.618, 5.0]}), 'newmec-3'], [({'t1.104.114.287': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.287': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.287': [0.602, 6.667], 't5.104.114.287': [0.405, 5.0]}), 'newmec-4'], [({'t2.102.114.288': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.288': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.288': [0.636, 5.0], 't4.102.114.288': [0.47, 10.0]}), 'newmec-2'], [({'t5.106.114.289': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.106.114.289': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.106.114.289': [0.408, 5.0], 't1.106.114.289': [0.747, 6.667]}), 'newmec-6'], [({'t4.156.114.290': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.290': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.290': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.290': [0.769, 10.0], 't5.156.114.290': [0.763, 5.0], 't1.156.114.290': [0.649, 6.667]}), 'osboxes-0'], [({'t2.104.114.291': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.291': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.291': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.291': [0.497, 5.0], 't4.104.114.291': [0.693, 10.0], 't5.104.114.291': [0.533, 5.0]}), 'newmec-4'], [({'t2.104.114.292': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.292': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.292': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.292': [0.526, 5.0], 't4.104.114.292': [0.683, 10.0], 't3.104.114.292': [0.469, 5.0]}), 'newmec-4'], [({'t2.102.114.293': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.293': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.293': [0.449, 5.0], 't3.102.114.293': [0.65, 5.0]}), 'newmec-2'], [({'t5.101.114.294': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.294': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.294': [0.777, 5.0], 't4.101.114.294': [0.63, 10.0]}), 'newmec-1'], [({'t1.103.114.295': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.295': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.295': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.103.114.295': [0.522, 6.667], 't2.103.114.295': [0.653, 5.0], 't3.103.114.295': [0.698, 5.0]}), 'newmec-3'], [({'t4.103.114.296': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.296': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.296': [0.595, 10.0], 't3.103.114.296': [0.518, 5.0]}), 'newmec-3'], [({'t5.103.114.297': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.297': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.297': [0.672, 5.0], 't2.103.114.297': [0.642, 5.0]}), 'newmec-3'], [({'t5.104.114.298': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.298': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.298': [0.699, 5.0], 't4.104.114.298': [0.434, 10.0]}), 'newmec-4'], [({'t4.104.114.299': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.299': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.299': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.299': [0.455, 10.0], 't1.104.114.299': [0.484, 6.667], 't3.104.114.299': [0.731, 5.0]}), 'newmec-4'], [({'t4.103.114.300': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.300': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.300': [0.438, 10.0], 't3.103.114.300': [0.643, 5.0]}), 'newmec-3'], [({'t1.156.114.301': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.156.114.301': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.301': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.156.114.301': [0.714, 6.667], 't3.156.114.301': [0.607, 5.0], 't4.156.114.301': [0.734, 10.0]}), 'osboxes-0'], [({'t4.104.114.302': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.302': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.302': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.302': [0.613, 10.0], 't5.104.114.302': [0.79, 5.0], 't2.104.114.302': [0.705, 5.0]}), 'newmec-4'], [({'t3.105.114.303': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.105.114.303': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.105.114.303': [0.714, 5.0], 't1.105.114.303': [0.677, 6.667]}), 'newmec-5'], [({'t3.102.114.304': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.304': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.102.114.304': [0.65, 5.0], 't2.102.114.304': [0.727, 5.0]}), 'newmec-2'], [({'t4.103.114.305': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.305': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.305': [0.425, 10.0], 't1.103.114.305': [0.546, 6.667]}), 'newmec-3'], [({'t2.105.114.306': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.306': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.306': [0.656, 5.0], 't4.105.114.306': [0.45, 10.0]}), 'newmec-5'], [({'t2.104.114.307': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.307': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.307': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.307': [0.434, 5.0], 't5.104.114.307': [0.765, 5.0], 't4.104.114.307': [0.708, 10.0]}), 'newmec-4'], [({'t5.103.114.308': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.308': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.308': [0.722, 5.0], 't3.103.114.308': [0.418, 5.0]}), 'newmec-3'], [({'t4.104.114.309': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.309': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.309': [0.55, 10.0], 't1.104.114.309': [0.501, 6.667]}), 'newmec-4'], [({'t3.156.114.310': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.156.114.310': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.310': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.156.114.310': [0.668, 5.0], 't4.156.114.310': [0.602, 10.0], 't1.156.114.310': [0.737, 6.667]}), 'osboxes-0'], [({'t5.102.114.311': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.311': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.311': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.311': [0.773, 5.0], 't2.102.114.311': [0.639, 5.0], 't3.102.114.311': [0.558, 5.0]}), 'newmec-2'], [({'t3.101.114.312': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.312': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.312': [0.441, 5.0], 't2.101.114.312': [0.476, 5.0]}), 'newmec-1'], [({'t4.103.114.313': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.313': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.313': [0.716, 10.0], 't2.103.114.313': [0.425, 5.0]}), 'newmec-3'], [({'t4.106.114.314': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.106.114.314': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.314': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.314': [0.685, 10.0], 't5.106.114.314': [0.573, 5.0], 't2.106.114.314': [0.527, 5.0]}), 'newmec-6'], [({'t2.104.114.315': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.315': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.315': [0.567, 5.0], 't5.104.114.315': [0.751, 5.0]}), 'newmec-4'], [({'t2.103.114.316': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.316': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.316': [0.768, 5.0], 't1.103.114.316': [0.491, 6.667]}), 'newmec-3'], [({'t4.104.114.317': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.317': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.104.114.317': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.317': [0.513, 10.0], 't1.104.114.317': [0.56, 6.667], 't3.104.114.317': [0.467, 5.0]}), 'newmec-4'], [({'t5.101.114.318': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.318': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.101.114.318': [0.485, 5.0], 't4.101.114.318': [0.63, 10.0]}), 'newmec-1'], [({'t1.101.114.319': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.101.114.319': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.101.114.319': [0.566, 6.667], 't2.101.114.319': [0.54, 5.0]}), 'newmec-1'], [({'t5.104.114.320': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.320': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.320': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.320': [0.426, 5.0], 't4.104.114.320': [0.449, 10.0], 't3.104.114.320': [0.513, 5.0]}), 'newmec-4'], [({'t5.104.114.321': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.321': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.321': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.321': [0.557, 5.0], 't2.104.114.321': [0.527, 5.0], 't4.104.114.321': [0.493, 10.0]}), 'newmec-4'], [({'t2.102.114.322': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.322': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.322': [0.655, 5.0], 't5.102.114.322': [0.439, 5.0]}), 'newmec-2'], [({'t5.103.114.323': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.323': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.323': [0.739, 5.0], 't1.103.114.323': [0.746, 6.667]}), 'newmec-3'], [({'t4.156.114.324': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.324': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.324': [0.72, 10.0], 't3.156.114.324': [0.616, 5.0]}), 'osboxes-0'], [({'t5.104.114.325': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.325': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.325': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.325': [0.583, 5.0], 't2.104.114.325': [0.682, 5.0], 't1.104.114.325': [0.78, 6.667]}), 'newmec-4'], [({'t3.101.114.326': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.326': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.326': [0.752, 5.0], 't2.101.114.326': [0.636, 5.0]}), 'newmec-1'], [({'t4.101.114.327': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.327': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.101.114.327': [0.632, 10.0], 't5.101.114.327': [0.401, 5.0]}), 'newmec-1'], [({'t2.104.114.328': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.328': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.328': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.328': [0.715, 5.0], 't5.104.114.328': [0.784, 5.0], 't4.104.114.328': [0.441, 10.0]}), 'newmec-4'], [({'t4.156.114.329': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.329': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.329': [0.556, 10.0], 't2.156.114.329': [0.467, 5.0]}), 'osboxes-0'], [({'t1.156.114.330': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.330': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.330': [0.517, 6.667], 't5.156.114.330': [0.53, 5.0]}), 'osboxes-0'], [({'t4.104.114.331': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.331': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.331': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.331': [0.52, 10.0], 't5.104.114.331': [0.63, 5.0], 't3.104.114.331': [0.727, 5.0]}), 'newmec-4'], [({'t5.102.114.332': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.332': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.332': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.332': [0.436, 5.0], 't2.102.114.332': [0.452, 5.0], 't3.102.114.332': [0.42, 5.0]}), 'newmec-2'], [({'t1.105.114.333': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.105.114.333': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.105.114.333': [0.476, 6.667], 't3.105.114.333': [0.69, 5.0]}), 'newmec-5'], [({'t4.104.114.334': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.334': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.334': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.334': [0.604, 10.0], 't2.104.114.334': [0.594, 5.0], 't1.104.114.334': [0.751, 6.667]}), 'newmec-4'], [({'t4.103.114.335': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.335': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.335': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.335': [0.701, 10.0], 't3.103.114.335': [0.48, 5.0], 't1.103.114.335': [0.431, 6.667]}), 'newmec-3'], [({'t1.156.114.336': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.336': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.336': [0.495, 6.667], 't5.156.114.336': [0.521, 5.0]}), 'osboxes-0'], [({'t5.105.114.337': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.105.114.337': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.105.114.337': [0.611, 5.0], 't4.105.114.337': [0.604, 10.0]}), 'newmec-5'], [({'t4.102.114.338': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.102.114.338': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.102.114.338': [0.704, 10.0], 't1.102.114.338': [0.726, 6.667]}), 'newmec-2'], [({'t1.105.114.339': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.339': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.105.114.339': [0.582, 6.667], 't4.105.114.339': [0.426, 10.0]}), 'newmec-5'], [({'t2.103.114.340': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.340': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.340': [0.74, 5.0], 't1.103.114.340': [0.537, 6.667]}), 'newmec-3'], [({'t4.102.114.341': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.102.114.341': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.102.114.341': [0.429, 10.0], 't3.102.114.341': [0.782, 5.0]}), 'newmec-2'], [({'t2.106.114.342': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.106.114.342': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.106.114.342': [0.486, 5.0], 't4.106.114.342': [0.75, 10.0]}), 'newmec-6'], [({'t5.105.114.343': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.105.114.343': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.343': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.105.114.343': [0.584, 5.0], 't3.105.114.343': [0.792, 5.0], 't4.105.114.343': [0.631, 10.0]}), 'newmec-5'], [({'t5.103.114.344': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.344': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.344': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.344': [0.781, 5.0], 't4.103.114.344': [0.497, 10.0], 't2.103.114.344': [0.654, 5.0]}), 'newmec-3'], [({'t4.101.114.345': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.345': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.101.114.345': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.345': [0.679, 10.0], 't2.101.114.345': [0.613, 5.0], 't3.101.114.345': [0.507, 5.0]}), 'newmec-1'], [({'t5.102.114.346': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.346': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.346': [0.413, 5.0], 't3.102.114.346': [0.405, 5.0]}), 'newmec-2'], [({'t3.101.114.347': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.347': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.347': [0.491, 5.0], 't2.101.114.347': [0.526, 5.0]}), 'newmec-1'], [({'t3.106.114.348': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.348': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.106.114.348': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.106.114.348': [0.783, 5.0], 't2.106.114.348': [0.644, 5.0], 't5.106.114.348': [0.652, 5.0]}), 'newmec-6'], [({'t2.102.114.349': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.349': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.349': [0.471, 5.0], 't4.102.114.349': [0.624, 10.0]}), 'newmec-2'], [({'t4.103.114.350': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.350': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.350': [0.432, 10.0], 't1.103.114.350': [0.533, 6.667]}), 'newmec-3'], [({'t5.105.114.351': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.351': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.351': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.105.114.351': [0.65, 5.0], 't1.105.114.351': [0.445, 6.667], 't4.105.114.351': [0.573, 10.0]}), 'newmec-5'], [({'t4.103.114.352': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.352': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.352': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.352': [0.437, 10.0], 't2.103.114.352': [0.558, 5.0], 't3.103.114.352': [0.652, 5.0]}), 'newmec-3'], [({'t2.103.114.353': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.353': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.353': [0.755, 5.0], 't3.103.114.353': [0.644, 5.0]}), 'newmec-3'], [({'t3.105.114.354': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.354': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.354': [0.486, 5.0], 't2.105.114.354': [0.424, 5.0]}), 'newmec-5'], [({'t3.106.114.355': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.106.114.355': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.106.114.355': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.106.114.355': [0.63, 5.0], 't5.106.114.355': [0.685, 5.0], 't4.106.114.355': [0.511, 10.0]}), 'newmec-6'], [({'t5.102.114.356': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.356': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.356': [0.512, 5.0], 't4.102.114.356': [0.589, 10.0]}), 'newmec-2'], [({'t3.106.114.357': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.357': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.106.114.357': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.106.114.357': [0.416, 5.0], 't1.106.114.357': [0.531, 6.667], 't5.106.114.357': [0.544, 5.0]}), 'newmec-6'], [({'t3.106.114.358': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.358': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.106.114.358': [0.658, 5.0], 't2.106.114.358': [0.506, 5.0]}), 'newmec-6'], [({'t2.101.114.359': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.359': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.359': [0.629, 5.0], 't1.101.114.359': [0.782, 6.667]}), 'newmec-1'], [({'t1.103.114.360': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.360': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.360': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.360': [0.759, 6.667], 't5.103.114.360': [0.589, 5.0], 't4.103.114.360': [0.624, 10.0]}), 'newmec-3'], [({'t5.156.114.361': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.361': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.361': [0.761, 5.0], 't3.156.114.361': [0.789, 5.0]}), 'osboxes-0'], [({'t1.105.114.362': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.362': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.105.114.362': [0.604, 6.667], 't4.105.114.362': [0.659, 10.0]}), 'newmec-5'], [({'t5.104.114.363': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.363': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.363': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.363': [0.535, 5.0], 't4.104.114.363': [0.489, 10.0], 't1.104.114.363': [0.716, 6.667]}), 'newmec-4'], [({'t4.156.114.364': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.364': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.364': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.364': [0.744, 10.0], 't5.156.114.364': [0.506, 5.0], 't3.156.114.364': [0.454, 5.0]}), 'osboxes-0'], [({'t4.104.114.365': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.365': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.365': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.365': [0.676, 10.0], 't2.104.114.365': [0.474, 5.0], 't1.104.114.365': [0.705, 6.667]}), 'newmec-4'], [({'t2.106.114.366': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.366': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.366': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.106.114.366': [0.692, 5.0], 't3.106.114.366': [0.541, 5.0], 't4.106.114.366': [0.403, 10.0]}), 'newmec-6'], [({'t4.102.114.367': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.367': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.367': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.102.114.367': [0.572, 10.0], 't2.102.114.367': [0.483, 5.0], 't5.102.114.367': [0.555, 5.0]}), 'newmec-2'], [({'t2.106.114.368': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.368': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.368': [0.539, 5.0], 't3.106.114.368': [0.529, 5.0]}), 'newmec-6'], [({'t5.106.114.369': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.369': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.106.114.369': [0.47, 5.0], 't2.106.114.369': [0.756, 5.0]}), 'newmec-6'], [({'t3.105.114.370': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.370': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.370': [0.568, 5.0], 't2.105.114.370': [0.643, 5.0]}), 'newmec-5'], [({'t2.101.114.371': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.371': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.371': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.101.114.371': [0.515, 5.0], 't4.101.114.371': [0.639, 10.0], 't1.101.114.371': [0.4, 6.667]}), 'newmec-1'], [({'t5.103.114.372': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.372': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.372': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.372': [0.445, 5.0], 't4.103.114.372': [0.584, 10.0], 't1.103.114.372': [0.697, 6.667]}), 'newmec-3'], [({'t5.102.114.373': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.373': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.373': [0.575, 5.0], 't2.102.114.373': [0.576, 5.0]}), 'newmec-2'], [({'t1.104.114.374': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.374': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.374': [0.41, 6.667], 't5.104.114.374': [0.789, 5.0]}), 'newmec-4'], [({'t5.102.114.375': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.375': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.375': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.375': [0.454, 5.0], 't2.102.114.375': [0.473, 5.0], 't4.102.114.375': [0.636, 10.0]}), 'newmec-2'], [({'t4.156.114.376': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.376': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.376': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.156.114.376': [0.766, 10.0], 't3.156.114.376': [0.418, 5.0], 't5.156.114.376': [0.787, 5.0]}), 'osboxes-0'], [({'t5.105.114.377': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.377': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.105.114.377': [0.743, 5.0], 't1.105.114.377': [0.601, 6.667]}), 'newmec-5'], [({'t4.156.114.378': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.378': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.378': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.378': [0.571, 10.0], 't3.156.114.378': [0.763, 5.0], 't2.156.114.378': [0.524, 5.0]}), 'osboxes-0'], [({'t5.105.114.379': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.379': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.379': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.105.114.379': [0.768, 5.0], 't1.105.114.379': [0.572, 6.667], 't2.105.114.379': [0.622, 5.0]}), 'newmec-5'], [({'t3.106.114.380': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.380': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.380': [0.696, 5.0], 't1.106.114.380': [0.751, 6.667]}), 'newmec-6'], [({'t1.101.114.381': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.101.114.381': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.101.114.381': [0.476, 6.667], 't4.101.114.381': [0.581, 10.0]}), 'newmec-1'], [({'t2.104.114.382': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.382': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.382': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.382': [0.763, 5.0], 't5.104.114.382': [0.609, 5.0], 't3.104.114.382': [0.596, 5.0]}), 'newmec-4'], [({'t4.156.114.383': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.156.114.383': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.156.114.383': [0.438, 10.0], 't1.156.114.383': [0.659, 6.667]}), 'osboxes-0'], [({'t2.103.114.384': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.384': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.384': [0.717, 5.0], 't1.103.114.384': [0.559, 6.667]}), 'newmec-3'], [({'t2.106.114.385': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.385': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.385': [0.699, 5.0], 't3.106.114.385': [0.669, 5.0]}), 'newmec-6'], [({'t3.156.114.386': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.156.114.386': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.156.114.386': [0.492, 5.0], 't5.156.114.386': [0.751, 5.0]}), 'osboxes-0'], [({'t5.105.114.387': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.387': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.105.114.387': [0.408, 5.0], 't1.105.114.387': [0.741, 6.667]}), 'newmec-5'], [({'t2.103.114.388': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.388': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.388': [0.601, 5.0], 't1.103.114.388': [0.402, 6.667]}), 'newmec-3'], [({'t3.103.114.389': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.389': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.389': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.389': [0.413, 5.0], 't2.103.114.389': [0.475, 5.0], 't1.103.114.389': [0.414, 6.667]}), 'newmec-3'], [({'t2.105.114.390': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.390': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.390': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.105.114.390': [0.64, 5.0], 't4.105.114.390': [0.534, 10.0], 't5.105.114.390': [0.484, 5.0]}), 'newmec-5'], [({'t4.106.114.391': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.391': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.106.114.391': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.106.114.391': [0.677, 10.0], 't2.106.114.391': [0.685, 5.0], 't5.106.114.391': [0.503, 5.0]}), 'newmec-6'], [({'t3.104.114.392': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.392': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.392': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.104.114.392': [0.557, 5.0], 't4.104.114.392': [0.508, 10.0], 't1.104.114.392': [0.476, 6.667]}), 'newmec-4'], [({'t4.102.114.393': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.393': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.102.114.393': [0.684, 10.0], 't2.102.114.393': [0.454, 5.0]}), 'newmec-2'], [({'t4.105.114.394': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.394': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.394': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.394': [0.739, 10.0], 't5.105.114.394': [0.507, 5.0], 't1.105.114.394': [0.565, 6.667]}), 'newmec-5'], [({'t5.156.114.395': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.395': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.395': [0.471, 5.0], 't4.156.114.395': [0.565, 10.0]}), 'osboxes-0'], [({'t2.156.114.396': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.396': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.396': [0.736, 5.0], 't5.156.114.396': [0.712, 5.0]}), 'osboxes-0'], [({'t4.103.114.397': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.397': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.397': [0.495, 10.0], 't2.103.114.397': [0.553, 5.0]}), 'newmec-3'], [({'t5.104.114.398': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.398': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.104.114.398': [0.578, 5.0], 't4.104.114.398': [0.654, 10.0]}), 'newmec-4'], [({'t5.106.114.399': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.106.114.399': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.106.114.399': [0.75, 5.0], 't3.106.114.399': [0.519, 5.0]}), 'newmec-6'], [({'t2.105.114.400': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.105.114.400': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.105.114.400': [0.541, 5.0], 't3.105.114.400': [0.424, 5.0]}), 'newmec-5'], [({'t4.105.114.401': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.401': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.401': [0.595, 10.0], 't2.105.114.401': [0.734, 5.0]}), 'newmec-5'], [({'t2.102.114.402': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.402': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.402': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.402': [0.659, 5.0], 't4.102.114.402': [0.795, 10.0], 't5.102.114.402': [0.65, 5.0]}), 'newmec-2'], [({'t5.156.114.403': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.403': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.403': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.156.114.403': [0.454, 5.0], 't2.156.114.403': [0.783, 5.0], 't4.156.114.403': [0.64, 10.0]}), 'osboxes-0'], [({'t2.102.114.404': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.404': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.102.114.404': [0.65, 5.0], 't4.102.114.404': [0.663, 10.0]}), 'newmec-2'], [({'t1.104.114.405': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.405': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.405': [0.711, 6.667], 't5.104.114.405': [0.537, 5.0]}), 'newmec-4'], [({'t4.103.114.406': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.406': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.406': [0.506, 10.0], 't5.103.114.406': [0.433, 5.0]}), 'newmec-3'], [({'t3.101.114.407': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.101.114.407': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.101.114.407': [0.558, 5.0], 't5.101.114.407': [0.546, 5.0]}), 'newmec-1'], [({'t1.104.114.408': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.408': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.408': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.408': [0.678, 6.667], 't2.104.114.408': [0.414, 5.0], 't5.104.114.408': [0.645, 5.0]}), 'newmec-4'], [({'t4.106.114.409': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.409': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.409': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.106.114.409': [0.778, 10.0], 't2.106.114.409': [0.681, 5.0], 't1.106.114.409': [0.666, 6.667]}), 'newmec-6'], [({'t3.105.114.410': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.105.114.410': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.105.114.410': [0.582, 5.0], 't1.105.114.410': [0.674, 6.667]}), 'newmec-5'], [({'t5.104.114.411': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.104.114.411': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.411': [0.678, 5.0], 't1.104.114.411': [0.551, 6.667]}), 'newmec-4'], [({'t3.106.114.412': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.412': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.106.114.412': [0.451, 5.0], 't2.106.114.412': [0.779, 5.0]}), 'newmec-6'], [({'t4.106.114.413': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.413': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.413': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.413': [0.676, 10.0], 't3.106.114.413': [0.417, 5.0], 't2.106.114.413': [0.708, 5.0]}), 'newmec-6'], [({'t5.103.114.414': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.414': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.414': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.414': [0.789, 5.0], 't2.103.114.414': [0.512, 5.0], 't4.103.114.414': [0.783, 10.0]}), 'newmec-3'], [({'t4.103.114.415': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.415': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.415': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.415': [0.744, 10.0], 't3.103.114.415': [0.741, 5.0], 't2.103.114.415': [0.765, 5.0]}), 'newmec-3'], [({'t2.106.114.416': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.416': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.416': [0.527, 5.0], 't3.106.114.416': [0.628, 5.0]}), 'newmec-6'], [({'t2.105.114.417': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.417': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.417': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.105.114.417': [0.475, 5.0], 't4.105.114.417': [0.758, 10.0], 't3.105.114.417': [0.55, 5.0]}), 'newmec-5'], [({'t3.105.114.418': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.105.114.418': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.105.114.418': [0.495, 5.0], 't5.105.114.418': [0.614, 5.0]}), 'newmec-5'], [({'t3.102.114.419': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.419': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.102.114.419': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.102.114.419': [0.604, 5.0], 't2.102.114.419': [0.567, 5.0], 't5.102.114.419': [0.612, 5.0]}), 'newmec-2'], [({'t4.106.114.420': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.420': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.106.114.420': [0.625, 10.0], 't3.106.114.420': [0.468, 5.0]}), 'newmec-6'], [({'t1.156.114.421': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.421': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.421': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.156.114.421': [0.607, 6.667], 't4.156.114.421': [0.501, 10.0], 't3.156.114.421': [0.467, 5.0]}), 'osboxes-0'], [({'t5.156.114.422': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.422': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.156.114.422': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.156.114.422': [0.437, 5.0], 't4.156.114.422': [0.493, 10.0], 't2.156.114.422': [0.789, 5.0]}), 'osboxes-0'], [({'t3.101.114.423': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.423': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.423': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.423': [0.455, 5.0], 't4.101.114.423': [0.508, 10.0], 't1.101.114.423': [0.644, 6.667]}), 'newmec-1'], [({'t3.104.114.424': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.424': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.424': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.424': [0.659, 5.0], 't5.104.114.424': [0.755, 5.0], 't4.104.114.424': [0.686, 10.0]}), 'newmec-4'], [({'t3.105.114.425': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.105.114.425': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.105.114.425': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.105.114.425': [0.54, 5.0], 't1.105.114.425': [0.621, 6.667], 't5.105.114.425': [0.591, 5.0]}), 'newmec-5'], [({'t5.103.114.426': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.426': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.426': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.426': [0.531, 5.0], 't2.103.114.426': [0.54, 5.0], 't1.103.114.426': [0.711, 6.667]}), 'newmec-3'], [({'t3.106.114.427': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.106.114.427': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.106.114.427': [0.746, 5.0], 't5.106.114.427': [0.422, 5.0]}), 'newmec-6'], [({'t1.105.114.428': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.428': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.105.114.428': [0.762, 6.667], 't2.105.114.428': [0.487, 5.0]}), 'newmec-5'], [({'t5.156.114.429': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.429': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.429': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.429': [0.697, 5.0], 't4.156.114.429': [0.558, 10.0], 't3.156.114.429': [0.57, 5.0]}), 'osboxes-0'], [({'t3.104.114.430': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.104.114.430': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.430': [0.528, 5.0], 't5.104.114.430': [0.591, 5.0]}), 'newmec-4'], [({'t4.103.114.431': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.431': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.431': [0.444, 10.0], 't1.103.114.431': [0.614, 6.667]}), 'newmec-3'], [({'t5.105.114.432': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.432': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.432': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.105.114.432': [0.571, 5.0], 't2.105.114.432': [0.741, 5.0], 't1.105.114.432': [0.775, 6.667]}), 'newmec-5'], [({'t3.103.114.433': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.433': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.433': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.433': [0.609, 5.0], 't1.103.114.433': [0.621, 6.667], 't2.103.114.433': [0.568, 5.0]}), 'newmec-3'], [({'t2.104.114.434': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.434': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.434': [0.421, 5.0], 't3.104.114.434': [0.637, 5.0]}), 'newmec-4'], [({'t4.105.114.435': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.435': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.105.114.435': [0.617, 10.0], 't3.105.114.435': [0.78, 5.0]}), 'newmec-5'], [({'t1.103.114.436': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.436': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.436': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.103.114.436': [0.569, 6.667], 't2.103.114.436': [0.726, 5.0], 't5.103.114.436': [0.436, 5.0]}), 'newmec-3'], [({'t3.103.114.437': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.437': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.437': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.437': [0.538, 5.0], 't1.103.114.437': [0.628, 6.667], 't2.103.114.437': [0.442, 5.0]}), 'newmec-3'], [({'t2.104.114.438': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.438': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.438': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.104.114.438': [0.505, 5.0], 't5.104.114.438': [0.508, 5.0], 't4.104.114.438': [0.461, 10.0]}), 'newmec-4'], [({'t2.103.114.439': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.439': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.439': [0.796, 5.0], 't4.103.114.439': [0.43, 10.0]}), 'newmec-3'], [({'t4.105.114.440': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.440': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.440': [0.729, 10.0], 't5.105.114.440': [0.751, 5.0]}), 'newmec-5'], [({'t1.103.114.441': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.441': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.441': [0.727, 6.667], 't4.103.114.441': [0.707, 10.0]}), 'newmec-3'], [({'t3.103.114.442': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.442': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.442': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.442': [0.495, 5.0], 't1.103.114.442': [0.636, 6.667], 't2.103.114.442': [0.439, 5.0]}), 'newmec-3'], [({'t5.103.114.443': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.443': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.443': [0.578, 5.0], 't4.103.114.443': [0.523, 10.0]}), 'newmec-3'], [({'t3.106.114.444': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.444': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.106.114.444': [0.551, 5.0], 't4.106.114.444': [0.65, 10.0]}), 'newmec-6'], [({'t5.102.114.445': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.445': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.445': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.445': [0.67, 5.0], 't3.102.114.445': [0.713, 5.0], 't2.102.114.445': [0.449, 5.0]}), 'newmec-2'], [({'t4.103.114.446': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.446': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.446': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.446': [0.775, 10.0], 't5.103.114.446': [0.775, 5.0], 't2.103.114.446': [0.523, 5.0]}), 'newmec-3'], [({'t5.103.114.447': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.447': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.447': [0.441, 5.0], 't4.103.114.447': [0.775, 10.0]}), 'newmec-3'], [({'t2.156.114.448': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.448': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.448': [0.642, 5.0], 't5.156.114.448': [0.517, 5.0]}), 'osboxes-0'], [({'t5.101.114.449': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.101.114.449': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.101.114.449': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.101.114.449': [0.564, 5.0], 't2.101.114.449': [0.681, 5.0], 't1.101.114.449': [0.599, 6.667]}), 'newmec-1'], [({'t2.103.114.450': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.450': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.450': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.450': [0.482, 5.0], 't3.103.114.450': [0.764, 5.0], 't1.103.114.450': [0.679, 6.667]}), 'newmec-3'], [({'t3.102.114.451': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.102.114.451': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.102.114.451': [0.446, 5.0], 't1.102.114.451': [0.658, 6.667]}), 'newmec-2'], [({'t2.102.114.452': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.452': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.452': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.452': [0.627, 5.0], 't1.102.114.452': [0.664, 6.667], 't5.102.114.452': [0.639, 5.0]}), 'newmec-2'], [({'t2.105.114.453': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.105.114.453': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.453': [0.612, 5.0], 't4.105.114.453': [0.681, 10.0]}), 'newmec-5'], [({'t5.102.114.454': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.454': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.454': [0.471, 5.0], 't4.102.114.454': [0.599, 10.0]}), 'newmec-2'], [({'t4.101.114.455': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.455': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.101.114.455': [0.558, 10.0], 't3.101.114.455': [0.652, 5.0]}), 'newmec-1'], [({'t4.106.114.456': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.456': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.456': [0.487, 10.0], 't2.106.114.456': [0.412, 5.0]}), 'newmec-6'], [({'t4.103.114.457': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.457': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.457': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.457': [0.78, 10.0], 't5.103.114.457': [0.658, 5.0], 't2.103.114.457': [0.661, 5.0]}), 'newmec-3'], [({'t4.105.114.458': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.105.114.458': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.105.114.458': [0.523, 10.0], 't3.105.114.458': [0.633, 5.0]}), 'newmec-5'], [({'t3.101.114.459': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.459': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.101.114.459': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.101.114.459': [0.409, 5.0], 't4.101.114.459': [0.639, 10.0], 't1.101.114.459': [0.64, 6.667]}), 'newmec-1'], [({'t4.105.114.460': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.460': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.460': [0.422, 10.0], 't2.105.114.460': [0.7, 5.0]}), 'newmec-5'], [({'t5.101.114.461': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.101.114.461': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.461': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.101.114.461': [0.64, 5.0], 't4.101.114.461': [0.71, 10.0], 't3.101.114.461': [0.692, 5.0]}), 'newmec-1'], [({'t5.106.114.462': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.106.114.462': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.462': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.106.114.462': [0.496, 5.0], 't4.106.114.462': [0.53, 10.0], 't3.106.114.462': [0.722, 5.0]}), 'newmec-6'], [({'t4.156.114.463': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.463': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.463': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.156.114.463': [0.736, 10.0], 't5.156.114.463': [0.401, 5.0], 't2.156.114.463': [0.42, 5.0]}), 'osboxes-0'], [({'t5.105.114.464': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.105.114.464': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.105.114.464': [0.463, 5.0], 't4.105.114.464': [0.682, 10.0]}), 'newmec-5'], [({'t2.104.114.465': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.465': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.465': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.465': [0.528, 5.0], 't4.104.114.465': [0.541, 10.0], 't5.104.114.465': [0.504, 5.0]}), 'newmec-4'], [({'t2.156.114.466': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.466': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.156.114.466': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.466': [0.453, 5.0], 't5.156.114.466': [0.454, 5.0], 't3.156.114.466': [0.439, 5.0]}), 'osboxes-0'], [({'t2.103.114.467': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.467': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.467': [0.705, 5.0], 't3.103.114.467': [0.772, 5.0]}), 'newmec-3'], [({'t4.106.114.468': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.468': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.468': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.468': [0.578, 10.0], 't3.106.114.468': [0.424, 5.0], 't2.106.114.468': [0.681, 5.0]}), 'newmec-6'], [({'t2.101.114.469': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.469': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.101.114.469': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.101.114.469': [0.585, 5.0], 't5.101.114.469': [0.653, 5.0], 't3.101.114.469': [0.721, 5.0]}), 'newmec-1'], [({'t2.103.114.470': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.470': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.470': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.470': [0.462, 5.0], 't4.103.114.470': [0.66, 10.0], 't5.103.114.470': [0.658, 5.0]}), 'newmec-3'], [({'t4.106.114.471': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.471': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.106.114.471': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.106.114.471': [0.715, 10.0], 't2.106.114.471': [0.548, 5.0], 't5.106.114.471': [0.665, 5.0]}), 'newmec-6'], [({'t1.103.114.472': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.472': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.472': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.103.114.472': [0.689, 6.667], 't4.103.114.472': [0.599, 10.0], 't2.103.114.472': [0.616, 5.0]}), 'newmec-3'], [({'t3.104.114.473': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.473': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.473': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.473': [0.712, 5.0], 't2.104.114.473': [0.523, 5.0], 't4.104.114.473': [0.728, 10.0]}), 'newmec-4'], [({'t4.104.114.474': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.474': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.104.114.474': [0.713, 10.0], 't5.104.114.474': [0.637, 5.0]}), 'newmec-4'], [({'t2.102.114.475': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.102.114.475': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.102.114.475': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.475': [0.623, 5.0], 't4.102.114.475': [0.643, 10.0], 't5.102.114.475': [0.604, 5.0]}), 'newmec-2'], [({'t3.103.114.476': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.476': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.476': [0.48, 5.0], 't1.103.114.476': [0.731, 6.667]}), 'newmec-3'], [({'t4.103.114.477': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.477': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.477': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.477': [0.715, 10.0], 't1.103.114.477': [0.504, 6.667], 't2.103.114.477': [0.533, 5.0]}), 'newmec-3'], [({'t4.104.114.478': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.104.114.478': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.104.114.478': [0.788, 10.0], 't3.104.114.478': [0.424, 5.0]}), 'newmec-4'], [({'t2.101.114.479': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.479': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.479': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.479': [0.691, 5.0], 't4.101.114.479': [0.789, 10.0], 't5.101.114.479': [0.767, 5.0]}), 'newmec-1'], [({'t1.102.114.480': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.102.114.480': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.480': [0.74, 6.667], 't3.102.114.480': [0.634, 5.0]}), 'newmec-2'], [({'t5.106.114.481': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.106.114.481': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.106.114.481': [0.479, 5.0], 't3.106.114.481': [0.561, 5.0]}), 'newmec-6'], [({'t5.103.114.482': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.482': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.482': [0.634, 5.0], 't4.103.114.482': [0.572, 10.0]}), 'newmec-3'], [({'t1.156.114.483': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.156.114.483': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.483': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.156.114.483': [0.514, 6.667], 't2.156.114.483': [0.752, 5.0], 't3.156.114.483': [0.583, 5.0]}), 'osboxes-0'], [({'t2.103.114.484': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.484': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.484': [0.697, 5.0], 't4.103.114.484': [0.607, 10.0]}), 'newmec-3'], [({'t2.103.114.485': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.485': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.485': [0.485, 5.0], 't1.103.114.485': [0.751, 6.667]}), 'newmec-3'], [({'t3.106.114.486': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.486': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.486': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.106.114.486': [0.47, 5.0], 't4.106.114.486': [0.654, 10.0], 't2.106.114.486': [0.418, 5.0]}), 'newmec-6'], [({'t2.105.114.487': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.487': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.105.114.487': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.105.114.487': [0.623, 5.0], 't1.105.114.487': [0.46, 6.667], 't4.105.114.487': [0.678, 10.0]}), 'newmec-5'], [({'t2.103.114.488': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.488': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.488': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.488': [0.67, 5.0], 't5.103.114.488': [0.454, 5.0], 't4.103.114.488': [0.623, 10.0]}), 'newmec-3'], [({'t2.156.114.489': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.489': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.489': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.489': [0.468, 5.0], 't4.156.114.489': [0.623, 10.0], 't5.156.114.489': [0.484, 5.0]}), 'osboxes-0'], [({'t3.103.114.490': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.490': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.490': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.490': [0.606, 5.0], 't5.103.114.490': [0.418, 5.0], 't4.103.114.490': [0.642, 10.0]}), 'newmec-3'], [({'t5.102.114.491': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.102.114.491': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.102.114.491': [0.513, 5.0], 't1.102.114.491': [0.657, 6.667]}), 'newmec-2'], [({'t2.104.114.492': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.492': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.492': [0.691, 5.0], 't5.104.114.492': [0.405, 5.0]}), 'newmec-4'], [({'t2.104.114.493': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.493': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.104.114.493': [0.563, 5.0], 't3.104.114.493': [0.562, 5.0]}), 'newmec-4'], [({'t4.106.114.494': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.494': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.494': [0.711, 10.0], 't2.106.114.494': [0.581, 5.0]}), 'newmec-6'], [({'t2.103.114.495': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.495': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.103.114.495': [0.708, 5.0], 't5.103.114.495': [0.7, 5.0]}), 'newmec-3'], [({'t4.101.114.496': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.496': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.496': [0.75, 10.0], 't2.101.114.496': [0.701, 5.0]}), 'newmec-1'], [({'t3.105.114.497': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.497': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.497': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.105.114.497': [0.609, 5.0], 't2.105.114.497': [0.493, 5.0], 't5.105.114.497': [0.451, 5.0]}), 'newmec-5'], [({'t4.103.114.498': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.498': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.498': [0.782, 10.0], 't3.103.114.498': [0.762, 5.0]}), 'newmec-3'], [({'t3.105.114.499': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.499': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.105.114.499': [0.65, 5.0], 't4.105.114.499': [0.705, 10.0]}), 'newmec-5'], [({'t3.103.114.500': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.500': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.103.114.500': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.103.114.500': [0.599, 5.0], 't1.103.114.500': [0.727, 6.667], 't5.103.114.500': [0.579, 5.0]}), 'newmec-3'], [({'t5.103.114.501': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.501': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.103.114.501': [0.607, 5.0], 't1.103.114.501': [0.758, 6.667]}), 'newmec-3'], [({'t3.105.114.502': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.105.114.502': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.502': [0.68, 5.0], 't2.105.114.502': [0.789, 5.0]}), 'newmec-5'], [({'t3.103.114.503': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.503': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.103.114.503': [0.548, 5.0], 't1.103.114.503': [0.665, 6.667]}), 'newmec-3'], [({'t4.103.114.504': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.504': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.103.114.504': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.504': [0.611, 10.0], 't3.103.114.504': [0.721, 5.0], 't2.103.114.504': [0.794, 5.0]}), 'newmec-3'], [({'t1.156.114.505': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.505': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.156.114.505': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.156.114.505': [0.673, 6.667], 't4.156.114.505': [0.559, 10.0], 't5.156.114.505': [0.732, 5.0]}), 'osboxes-0'], [({'t1.105.114.506': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.105.114.506': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.105.114.506': [0.716, 6.667], 't5.105.114.506': [0.69, 5.0]}), 'newmec-5'], [({'t2.101.114.507': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.507': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.507': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.507': [0.674, 5.0], 't4.101.114.507': [0.73, 10.0], 't5.101.114.507': [0.521, 5.0]}), 'newmec-1'], [({'t1.102.114.508': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.102.114.508': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.508': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.102.114.508': [0.768, 6.667], 't2.102.114.508': [0.424, 5.0], 't3.102.114.508': [0.609, 5.0]}), 'newmec-2'], [({'t4.105.114.509': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.509': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.509': [0.491, 10.0], 't2.105.114.509': [0.56, 5.0]}), 'newmec-5'], [({'t2.102.114.510': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.510': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.102.114.510': [0.489, 5.0], 't3.102.114.510': [0.691, 5.0]}), 'newmec-2'], [({'t2.106.114.511': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.106.114.511': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.106.114.511': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.106.114.511': [0.544, 5.0], 't5.106.114.511': [0.715, 5.0], 't4.106.114.511': [0.635, 10.0]}), 'newmec-6'], [({'t4.105.114.512': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.512': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.512': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.512': [0.622, 10.0], 't2.105.114.512': [0.615, 5.0], 't1.105.114.512': [0.443, 6.667]}), 'newmec-5'], [({'t5.102.114.513': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.513': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.513': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.513': [0.495, 5.0], 't3.102.114.513': [0.765, 5.0], 't2.102.114.513': [0.478, 5.0]}), 'newmec-2'], [({'t4.105.114.514': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.514': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.514': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.514': [0.642, 10.0], 't2.105.114.514': [0.705, 5.0], 't1.105.114.514': [0.464, 6.667]}), 'newmec-5'], [({'t1.156.114.515': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.515': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.515': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.515': [0.578, 6.667], 't5.156.114.515': [0.647, 5.0], 't2.156.114.515': [0.652, 5.0]}), 'osboxes-0'], [({'t1.104.114.516': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.104.114.516': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.516': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t1.104.114.516': [0.653, 6.667], 't2.104.114.516': [0.553, 5.0], 't5.104.114.516': [0.746, 5.0]}), 'newmec-4'], [({'t5.103.114.517': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.103.114.517': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.103.114.517': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.517': [0.472, 5.0], 't1.103.114.517': [0.72, 6.667], 't3.103.114.517': [0.559, 5.0]}), 'newmec-3'], [({'t4.106.114.518': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.518': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.518': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.106.114.518': [0.6, 10.0], 't2.106.114.518': [0.786, 5.0], 't1.106.114.518': [0.781, 6.667]}), 'newmec-6'], [({'t2.103.114.519': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.519': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.103.114.519': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.103.114.519': [0.798, 5.0], 't4.103.114.519': [0.659, 10.0], 't1.103.114.519': [0.676, 6.667]}), 'newmec-3'], [({'t4.103.114.520': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.520': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.103.114.520': [0.585, 10.0], 't5.103.114.520': [0.574, 5.0]}), 'newmec-3'], [({'t3.103.114.521': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.521': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.103.114.521': [0.685, 5.0], 't4.103.114.521': [0.679, 10.0]}), 'newmec-3'], [({'t4.104.114.522': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.522': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.522': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.522': [0.542, 10.0], 't5.104.114.522': [0.422, 5.0], 't2.104.114.522': [0.406, 5.0]}), 'newmec-4'], [({'t3.106.114.523': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.106.114.523': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.523': [0.405, 5.0], 't1.106.114.523': [0.461, 6.667]}), 'newmec-6'], [({'t5.102.114.524': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.524': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.524': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.102.114.524': [0.714, 5.0], 't3.102.114.524': [0.465, 5.0], 't4.102.114.524': [0.441, 10.0]}), 'newmec-2'], [({'t3.105.114.525': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.105.114.525': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.525': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.525': [0.6, 5.0], 't4.105.114.525': [0.738, 10.0], 't2.105.114.525': [0.547, 5.0]}), 'newmec-5'], [({'t3.106.114.526': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.526': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.106.114.526': [0.712, 5.0], 't2.106.114.526': [0.426, 5.0]}), 'newmec-6'], [({'t4.103.114.527': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.527': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.527': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.527': [0.464, 10.0], 't2.103.114.527': [0.701, 5.0], 't3.103.114.527': [0.693, 5.0]}), 'newmec-3'], [({'t4.101.114.528': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.101.114.528': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.101.114.528': [0.569, 10.0], 't2.101.114.528': [0.565, 5.0]}), 'newmec-1'], [({'t3.101.114.529': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.529': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.529': [0.758, 5.0], 't4.101.114.529': [0.464, 10.0]}), 'newmec-1'], [({'t4.103.114.530': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.103.114.530': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.530': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.530': [0.719, 10.0], 't5.103.114.530': [0.751, 5.0], 't3.103.114.530': [0.506, 5.0]}), 'newmec-3'], [({'t4.105.114.531': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.531': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.531': [0.726, 10.0], 't2.105.114.531': [0.598, 5.0]}), 'newmec-5'], [({'t2.103.114.532': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.532': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.103.114.532': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.532': [0.752, 5.0], 't3.103.114.532': [0.435, 5.0], 't4.103.114.532': [0.438, 10.0]}), 'newmec-3'], [({'t3.101.114.533': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.101.114.533': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.101.114.533': [0.604, 5.0], 't4.101.114.533': [0.617, 10.0]}), 'newmec-1'], [({'t3.104.114.534': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.534': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.534': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t3.104.114.534': [0.743, 5.0], 't4.104.114.534': [0.685, 10.0], 't5.104.114.534': [0.481, 5.0]}), 'newmec-4'], [({'t4.101.114.535': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.101.114.535': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.101.114.535': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.535': [0.502, 10.0], 't3.101.114.535': [0.766, 5.0], 't1.101.114.535': [0.724, 6.667]}), 'newmec-1'], [({'t1.103.114.536': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.536': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.536': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.536': [0.438, 6.667], 't2.103.114.536': [0.653, 5.0], 't4.103.114.536': [0.704, 10.0]}), 'newmec-3'], [({'t2.101.114.537': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.101.114.537': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.101.114.537': [0.746, 5.0], 't5.101.114.537': [0.636, 5.0]}), 'newmec-1'], [({'t5.156.114.538': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.156.114.538': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.538': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.156.114.538': [0.416, 5.0], 't4.156.114.538': [0.712, 10.0], 't3.156.114.538': [0.475, 5.0]}), 'osboxes-0'], [({'t5.104.114.539': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.539': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.539': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t5.104.114.539': [0.476, 5.0], 't4.104.114.539': [0.781, 10.0], 't1.104.114.539': [0.605, 6.667]}), 'newmec-4'], [({'t3.105.114.540': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.105.114.540': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.105.114.540': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.105.114.540': [0.736, 5.0], 't1.105.114.540': [0.741, 6.667], 't2.105.114.540': [0.776, 5.0]}), 'newmec-5'], [({'t5.103.114.541': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.541': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.541': [0.429, 5.0], 't4.103.114.541': [0.585, 10.0]}), 'newmec-3'], [({'t4.106.114.542': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.106.114.542': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.106.114.542': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.106.114.542': [0.701, 10.0], 't3.106.114.542': [0.553, 5.0], 't2.106.114.542': [0.473, 5.0]}), 'newmec-6'], [({'t3.156.114.543': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.156.114.543': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.156.114.543': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.156.114.543': [0.748, 5.0], 't1.156.114.543': [0.559, 6.667], 't4.156.114.543': [0.531, 10.0]}), 'osboxes-0'], [({'t5.103.114.544': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.544': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t5.103.114.544': [0.64, 5.0], 't4.103.114.544': [0.601, 10.0]}), 'newmec-3'], [({'t4.103.114.545': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.545': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.103.114.545': [0.712, 10.0], 't2.103.114.545': [0.523, 5.0]}), 'newmec-3'], [({'t2.106.114.546': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.106.114.546': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.106.114.546': [0.423, 5.0], 't4.106.114.546': [0.418, 10.0]}), 'newmec-6'], [({'t2.102.114.547': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.547': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.102.114.547': [0.676, 5.0], 't1.102.114.547': [0.731, 6.667]}), 'newmec-2'], [({'t2.156.114.548': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.156.114.548': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.548': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.156.114.548': [0.62, 5.0], 't1.156.114.548': [0.484, 6.667], 't5.156.114.548': [0.696, 5.0]}), 'osboxes-0'], [({'t2.106.114.549': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.549': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.106.114.549': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.549': [0.736, 5.0], 't1.106.114.549': [0.648, 6.667], 't3.106.114.549': [0.628, 5.0]}), 'newmec-6'], [({'t2.102.114.550': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.102.114.550': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.550': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.102.114.550': [0.605, 5.0], 't1.102.114.550': [0.53, 6.667], 't5.102.114.550': [0.506, 5.0]}), 'newmec-2'], [({'t2.105.114.551': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.105.114.551': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.105.114.551': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.551': [0.726, 5.0], 't5.105.114.551': [0.663, 5.0], 't1.105.114.551': [0.734, 6.667]}), 'newmec-5'], [({'t5.102.114.552': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.102.114.552': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.102.114.552': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.552': [0.427, 5.0], 't4.102.114.552': [0.644, 10.0], 't2.102.114.552': [0.597, 5.0]}), 'newmec-2'], [({'t1.156.114.553': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.156.114.553': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.156.114.553': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.156.114.553': [0.564, 6.667], 't5.156.114.553': [0.643, 5.0], 't2.156.114.553': [0.435, 5.0]}), 'osboxes-0'], [({'t2.156.114.554': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.156.114.554': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.156.114.554': [0.7, 5.0], 't3.156.114.554': [0.498, 5.0]}), 'osboxes-0'], [({'t4.103.114.555': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.103.114.555': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.103.114.555': [0.416, 10.0], 't3.103.114.555': [0.433, 5.0]}), 'newmec-3'], [({'t2.104.114.556': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.104.114.556': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.556': [0.58, 5.0], 't5.104.114.556': [0.5, 5.0]}), 'newmec-4'], [({'t2.105.114.557': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.557': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.105.114.557': [0.605, 5.0], 't1.105.114.557': [0.458, 6.667]}), 'newmec-5'], [({'t1.104.114.558': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.104.114.558': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.104.114.558': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t1.104.114.558': [0.768, 6.667], 't5.104.114.558': [0.57, 5.0], 't3.104.114.558': [0.69, 5.0]}), 'newmec-4'], [({'t3.106.114.559': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.559': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.106.114.559': [0.565, 5.0], 't4.106.114.559': [0.446, 10.0]}), 'newmec-6'], [({'t4.104.114.560': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.104.114.560': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.104.114.560': [0.52, 10.0], 't1.104.114.560': [0.566, 6.667]}), 'newmec-4'], [({'t5.103.114.561': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.561': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.103.114.561': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.103.114.561': [0.78, 5.0], 't2.103.114.561': [0.634, 5.0], 't3.103.114.561': [0.523, 5.0]}), 'newmec-3'], [({'t4.105.114.562': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.105.114.562': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.105.114.562': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.105.114.562': [0.427, 10.0], 't2.105.114.562': [0.433, 5.0], 't1.105.114.562': [0.534, 6.667]}), 'newmec-5'], [({'t4.156.114.563': {'wcet': 1, 'period': 10, 'deadline': 9}, 't3.156.114.563': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.156.114.563': [0.739, 10.0], 't3.156.114.563': [0.44, 5.0]}), 'osboxes-0'], [({'t2.156.114.564': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.156.114.564': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.156.114.564': [0.632, 5.0], 't4.156.114.564': [0.551, 10.0]}), 'osboxes-0'], [({'t3.104.114.565': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.104.114.565': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.565': [0.764, 5.0], 't4.104.114.565': [0.652, 10.0]}), 'newmec-4'], [({'t4.103.114.566': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.566': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.103.114.566': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.103.114.566': [0.711, 10.0], 't2.103.114.566': [0.415, 5.0], 't1.103.114.566': [0.7, 6.667]}), 'newmec-3'], [({'t2.101.114.567': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.101.114.567': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.101.114.567': [0.488, 5.0], 't4.101.114.567': [0.533, 10.0]}), 'newmec-1'], [({'t3.103.114.568': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.103.114.568': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.103.114.568': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.568': [0.482, 5.0], 't5.103.114.568': [0.427, 5.0], 't2.103.114.568': [0.519, 5.0]}), 'newmec-3'], [({'t3.104.114.569': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.104.114.569': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.569': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.104.114.569': [0.588, 5.0], 't2.104.114.569': [0.44, 5.0], 't4.104.114.569': [0.56, 10.0]}), 'newmec-4'], [({'t4.106.114.570': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.106.114.570': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.106.114.570': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.106.114.570': [0.643, 10.0], 't2.106.114.570': [0.695, 5.0], 't1.106.114.570': [0.76, 6.667]}), 'newmec-6'], [({'t3.101.114.571': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.101.114.571': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.101.114.571': [0.548, 5.0], 't2.101.114.571': [0.77, 5.0]}), 'newmec-1'], [({'t4.105.114.572': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.105.114.572': {'wcet': 3, 'period': 20, 'deadline': 15}, 't3.105.114.572': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t4.105.114.572': [0.678, 10.0], 't1.105.114.572': [0.641, 6.667], 't3.105.114.572': [0.453, 5.0]}), 'newmec-5'], [({'t2.106.114.573': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.106.114.573': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.106.114.573': [0.644, 5.0], 't5.106.114.573': [0.628, 5.0]}), 'newmec-6'], [({'t4.105.114.574': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.574': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t4.105.114.574': [0.438, 10.0], 't5.105.114.574': [0.554, 5.0]}), 'newmec-5'], [({'t2.106.114.575': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.575': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.575': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.106.114.575': [0.778, 5.0], 't3.106.114.575': [0.744, 5.0], 't4.106.114.575': [0.51, 10.0]}), 'newmec-6'], [({'t2.156.114.576': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.156.114.576': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.156.114.576': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.156.114.576': [0.669, 5.0], 't5.156.114.576': [0.442, 5.0], 't1.156.114.576': [0.55, 6.667]}), 'osboxes-0'], [({'t5.104.114.577': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.104.114.577': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.104.114.577': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.104.114.577': [0.793, 5.0], 't2.104.114.577': [0.428, 5.0], 't3.104.114.577': [0.712, 5.0]}), 'newmec-4'], [({'t2.103.114.578': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.578': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.578': [0.475, 5.0], 't4.103.114.578': [0.485, 10.0]}), 'newmec-3'], [({'t5.102.114.579': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.102.114.579': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.102.114.579': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.102.114.579': [0.488, 5.0], 't3.102.114.579': [0.628, 5.0], 't2.102.114.579': [0.751, 5.0]}), 'newmec-2'], [({'t5.103.114.580': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.103.114.580': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.103.114.580': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.103.114.580': [0.745, 5.0], 't4.103.114.580': [0.554, 10.0], 't2.103.114.580': [0.638, 5.0]}), 'newmec-3'], [({'t3.156.114.581': {'wcet': 2, 'period': 10, 'deadline': 8}, 't2.156.114.581': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.156.114.581': [0.573, 5.0], 't2.156.114.581': [0.783, 5.0]}), 'osboxes-0'], [({'t5.105.114.582': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.105.114.582': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.105.114.582': [0.491, 5.0], 't3.105.114.582': [0.777, 5.0]}), 'newmec-5'], [({'t5.104.114.583': {'wcet': 3, 'period': 15, 'deadline': 12}, 't4.104.114.583': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.583': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t5.104.114.583': [0.712, 5.0], 't4.104.114.583': [0.664, 10.0], 't2.104.114.583': [0.47, 5.0]}), 'newmec-4'], [({'t2.104.114.584': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.104.114.584': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.104.114.584': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t2.104.114.584': [0.754, 5.0], 't4.104.114.584': [0.414, 10.0], 't5.104.114.584': [0.442, 5.0]}), 'newmec-4'], [({'t3.106.114.585': {'wcet': 2, 'period': 10, 'deadline': 8}, 't5.106.114.585': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.106.114.585': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.106.114.585': [0.708, 5.0], 't5.106.114.585': [0.671, 5.0], 't2.106.114.585': [0.476, 5.0]}), 'newmec-6'], [({'t5.102.114.586': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.586': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.102.114.586': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t5.102.114.586': [0.768, 5.0], 't2.102.114.586': [0.582, 5.0], 't3.102.114.586': [0.496, 5.0]}), 'newmec-2'], [({'t2.103.114.587': {'wcet': 1, 'period': 5, 'deadline': 4}, 't4.103.114.587': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t2.103.114.587': [0.476, 5.0], 't4.103.114.587': [0.534, 10.0]}), 'newmec-3'], [({'t4.101.114.588': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.101.114.588': {'wcet': 3, 'period': 15, 'deadline': 12}, 't1.101.114.588': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t4.101.114.588': [0.575, 10.0], 't5.101.114.588': [0.687, 5.0], 't1.101.114.588': [0.437, 6.667]}), 'newmec-1'], [({'t2.106.114.589': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.106.114.589': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.589': [0.795, 5.0], 't3.106.114.589': [0.552, 5.0]}), 'newmec-6'], [({'t3.102.114.590': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.102.114.590': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t3.102.114.590': [0.466, 5.0], 't4.102.114.590': [0.794, 10.0]}), 'newmec-2'], [({'t4.105.114.591': {'wcet': 1, 'period': 10, 'deadline': 9}, 't5.105.114.591': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.105.114.591': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.105.114.591': [0.624, 10.0], 't5.105.114.591': [0.729, 5.0], 't2.105.114.591': [0.628, 5.0]}), 'newmec-5'], [({'t4.104.114.592': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.104.114.592': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.104.114.592': [0.78, 10.0], 't2.104.114.592': [0.778, 5.0]}), 'newmec-4'], [({'t2.106.114.593': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.106.114.593': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.106.114.593': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.106.114.593': [0.602, 5.0], 't5.106.114.593': [0.548, 5.0], 't3.106.114.593': [0.499, 5.0]}), 'newmec-6'], [({'t1.102.114.594': {'wcet': 3, 'period': 20, 'deadline': 15}, 't5.102.114.594': {'wcet': 3, 'period': 15, 'deadline': 12}, 't2.102.114.594': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t1.102.114.594': [0.617, 6.667], 't5.102.114.594': [0.742, 5.0], 't2.102.114.594': [0.717, 5.0]}), 'newmec-2'], [({'t2.104.114.595': {'wcet': 1, 'period': 5, 'deadline': 4}, 't1.104.114.595': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t2.104.114.595': [0.422, 5.0], 't1.104.114.595': [0.645, 6.667]}), 'newmec-4'], [({'t1.103.114.596': {'wcet': 3, 'period': 20, 'deadline': 15}, 't4.103.114.596': {'wcet': 1, 'period': 10, 'deadline': 9}}, {'t1.103.114.596': [0.577, 6.667], 't4.103.114.596': [0.401, 10.0]}), 'newmec-3'], [({'t2.103.114.597': {'wcet': 1, 'period': 5, 'deadline': 4}, 't5.103.114.597': {'wcet': 3, 'period': 15, 'deadline': 12}, 't3.103.114.597': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.103.114.597': [0.798, 5.0], 't5.103.114.597': [0.497, 5.0], 't3.103.114.597': [0.553, 5.0]}), 'newmec-3'], [({'t3.103.114.598': {'wcet': 2, 'period': 10, 'deadline': 8}, 't1.103.114.598': {'wcet': 3, 'period': 20, 'deadline': 15}, 't2.103.114.598': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t3.103.114.598': [0.496, 5.0], 't1.103.114.598': [0.483, 6.667], 't2.103.114.598': [0.766, 5.0]}), 'newmec-3'], [({'t3.106.114.599': {'wcet': 2, 'period': 10, 'deadline': 8}, 't4.106.114.599': {'wcet': 1, 'period': 10, 'deadline': 9}, 't1.106.114.599': {'wcet': 3, 'period': 20, 'deadline': 15}}, {'t3.106.114.599': [0.571, 5.0], 't4.106.114.599': [0.647, 10.0], 't1.106.114.599': [0.467, 6.667]}), 'newmec-6']]
host_names7 = {'192.168.122.102': 'newmec-2', '192.168.122.103': 'newmec-3', '192.168.122.104': 'newmec-4', '192.168.122.105': 'newmec-5', '192.168.122.106': 'newmec-6', '192.168.122.156': 'osboxes-0', '192.168.122.101': 'newmec-1'}
| 46,211.769231
| 151,521
| 0.529141
| 112,674
| 600,753
| 2.821228
| 0.007091
| 0.023839
| 0.091044
| 0.051152
| 0.934434
| 0.800509
| 0.780608
| 0.648851
| 0.617716
| 0.146273
| 0
| 0.340547
| 0.103726
| 600,753
| 12
| 151,522
| 50,062.75
| 0.249824
| 0
| 0
| 0
| 0
| 0
| 0.487757
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
589f2d1ac103ca0edcd9b3485c3af2bf5405d031
| 24,189
|
py
|
Python
|
test/functional/feature_serialization.py
|
34ro/tapyrus-core
|
52175cd1994fde3cec1bc506ebacd3fd99523103
|
[
"MIT"
] | null | null | null |
test/functional/feature_serialization.py
|
34ro/tapyrus-core
|
52175cd1994fde3cec1bc506ebacd3fd99523103
|
[
"MIT"
] | null | null | null |
test/functional/feature_serialization.py
|
34ro/tapyrus-core
|
52175cd1994fde3cec1bc506ebacd3fd99523103
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
# Copyright (c) 2014-2018 The Bitcoin Core developers
# Copyright (c) 2019 Chaintope Inc.
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test serialization of blocks and transactions and signature malleability
Create the same transaction with DER and non-DER signature - check that the txid(hashMalFix) matches
Transaction types included:
P2PKH
P2SH(p2sh and redeem)
P2WPKH
P2WSH
p2sh_p2wpkh
p2sh_p2wsh
This test does the following for every type of transaction:
1) Create a transaction
get its hash and hashMalFix
change the signature like Test BIP66 (DER SIG).
Then check the hash and hashMalFix
=> make sure hash is different but hashMalFix and witness hash remain the same.
2) Check the transaction serialization with different combinations of options with_witness, with_scriptsig:
+------------------------------+
| with_witness| with_scriptsig |
+==============================+
| True, None| True, None |
| False | True, None |
| True, None| False |
| False | False |
+------------------------------+
3) Create a block with the non-DER signature transaction created in step 1
Check the block serialization with with_witness
Make sure the block is valid and added to the blockchain
"""
from codecs import encode
from io import BytesIO
import struct
from test_framework.blocktools import create_coinbase, create_block, create_transaction, create_tx_with_script, create_witness_tx, add_witness_commitment
from test_framework.messages import msg_block, hash256, CTransaction, ToHex, FromHex, CTxIn, CTxOut, COutPoint
from test_framework.mininode import P2PDataStore, mininode_lock
from test_framework.script import CScript, hash160, OP_1, OP_DROP, OP_HASH160, OP_EQUAL, OP_TRUE, SignatureHash, SIGHASH_ALL
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import assert_raises_rpc_error, assert_equal, bytes_to_hex_str, hex_str_to_bytes, wait_until
from test_framework.key import CECKey
CHAIN_HEIGHT = 111
REJECT_INVALID = 16
def unDERify(tx):
"""
Make the signature in vin 0 of a tx non-DER-compliant,
by adding padding after the S-value.
"""
scriptSig = CScript(tx.vin[0].scriptSig)
newscript = []
for i in scriptSig:
if (len(newscript) == 0):
try:
newscript.append(i[0:-1] + b'\0' + i[-1:])
except TypeError:
newscript.append(struct.pack("<i", i) + b'\0')
else:
newscript.append(i)
tx.vin[0].scriptSig = CScript(newscript)
def getInput(txid):
utxo = {}
utxo["vout"] = 0
utxo["txid"] = txid
return utxo
def assert_not_equal(thing1, thing2):
if thing1 == thing2:
raise AssertionError("%s == %s" % (str(thing1), str(thing2)))
class SerializationTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1
self.extra_args = [['-whitelist=127.0.0.1', '-acceptnonstdtxn=0']]
self.setup_clean_chain = True
self.pubkey = ""
def run_test(self):
self.nodes[0].add_p2p_connection(P2PDataStore())
self.nodeaddress = self.nodes[0].getnewaddress()
self.pubkey = self.nodes[0].getaddressinfo(self.nodeaddress)["pubkey"]
self.log.info("Mining %d blocks", CHAIN_HEIGHT)
self.coinbase_txids = [self.nodes[0].getblock(b)['tx'][0] for b in self.nodes[0].generate(CHAIN_HEIGHT, self.signblockprivkeys) ]
## P2PKH transaction
########################
self.log.info("Test using a P2PKH transaction")
spendtx = create_transaction(self.nodes[0], self.coinbase_txids[0], self.nodeaddress, amount=10)
spendtx.rehash()
copy_spendTx = CTransaction(spendtx)
#cache hashes
hash = spendtx.hash
hashMalFix = spendtx.hashMalFix
#malleate
unDERify(spendtx)
spendtx.rehash()
# verify that hashMalFix remains the same even when signature is malleated and hash changes
assert_not_equal(hash, spendtx.hash)
assert_equal(hashMalFix, spendtx.hashMalFix)
# verify that hash is spendtx.serialize()
hash = encode(hash256(spendtx.serialize())[::-1], 'hex_codec').decode('ascii')
assert_equal(hash, spendtx.hash)
# verify that hashMalFix is spendtx.serialize(with_scriptsig=False)
hashMalFix = encode(hash256(spendtx.serialize(with_scriptsig=False))[::-1], 'hex_codec').decode('ascii')
assert_equal(hashMalFix, spendtx.hashMalFix)
assert_not_equal(hash, hashMalFix)
#as this transaction does not have witness data the following is true
assert_equal(spendtx.serialize(), spendtx.serialize(with_witness=True, with_scriptsig=True))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=True))
assert_not_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=False))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=True), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=False), spendtx.serialize_without_witness(with_scriptsig=False))
#Create block with only non-DER signature P2PKH transaction
tip = self.nodes[0].getbestblockhash()
block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 1), block_time)
block.vtx.append(spendtx)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
# serialize with and without witness block remains the same
assert_equal(block.serialize(with_witness=True), block.serialize())
assert_equal(block.serialize(with_witness=True), block.serialize(with_witness=False))
assert_equal(block.serialize(with_witness=True), block.serialize(with_witness=False, with_scriptsig=True))
self.log.info("Reject block with non-DER signature")
self.nodes[0].p2p.send_and_ping(msg_block(block))
assert_equal(self.nodes[0].getbestblockhash(), tip)
wait_until(lambda: "reject" in self.nodes[0].p2p.last_message.keys(), lock=mininode_lock)
with mininode_lock:
assert_equal(self.nodes[0].p2p.last_message["reject"].code, REJECT_INVALID)
assert_equal(self.nodes[0].p2p.last_message["reject"].data, block.sha256)
assert_equal(self.nodes[0].p2p.last_message["reject"].reason, b'block-validation-failed')
self.log.info("Accept block with DER signature")
#recreate block with DER sig transaction
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 1), block_time)
block.vtx.append(copy_spendTx)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
self.nodes[0].p2p.send_and_ping(msg_block(block))
assert_equal(self.nodes[0].getbestblockhash(), block.hash)
## P2SH transaction
########################
self.log.info("Test using P2SH transaction ")
REDEEM_SCRIPT_1 = CScript([OP_1, OP_DROP])
P2SH_1 = CScript([OP_HASH160, hash160(REDEEM_SCRIPT_1), OP_EQUAL])
tx = CTransaction()
tx.vin.append(CTxIn(COutPoint(int(self.coinbase_txids[1], 16), 0), b"", 0xffffffff))
tx.vout.append(CTxOut(10, P2SH_1))
tx.rehash()
spendtx_raw = self.nodes[0].signrawtransactionwithwallet(ToHex(tx), [], "ALL", self.options.scheme)["hex"]
spendtx = FromHex(spendtx, spendtx_raw)
spendtx.rehash()
copy_spendTx = CTransaction(spendtx)
#cache hashes
hash = spendtx.hash
hashMalFix = spendtx.hashMalFix
#malleate
spendtxcopy = spendtx
unDERify(spendtxcopy)
spendtxcopy.rehash()
# verify that hashMalFix remains the same even when signature is malleated and hash changes
assert_not_equal(hash, spendtxcopy.hash)
assert_equal(hashMalFix, spendtxcopy.hashMalFix)
# verify that hash is spendtx.serialize()
hash = encode(hash256(spendtx.serialize(with_witness=False))[::-1], 'hex_codec').decode('ascii')
assert_equal(hash, spendtx.hash)
# verify that hashMalFix is spendtx.serialize(with_scriptsig=False)
hashMalFix = encode(hash256(spendtx.serialize(with_witness=False, with_scriptsig=False))[::-1], 'hex_codec').decode('ascii')
assert_equal(hashMalFix, spendtx.hashMalFix)
assert_not_equal(hash, hashMalFix)
#as this transaction does not have witness data the following is true
assert_equal(spendtx.serialize(), spendtx.serialize(with_witness=True, with_scriptsig=True))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True, with_scriptsig=True))
assert_not_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=False))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=True), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=False), spendtx.serialize_without_witness(with_scriptsig=False))
#Create block with only non-DER signature P2SH transaction
tip = self.nodes[0].getbestblockhash()
block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 2), block_time)
block.vtx.append(spendtx)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
# serialize with and without witness block remains the same
assert_equal(block.serialize(with_witness=True), block.serialize())
assert_equal(block.serialize(with_witness=True), block.serialize(with_witness=False))
assert_equal(block.serialize(with_witness=True), block.serialize(with_witness=True, with_scriptsig=True))
self.log.info("Reject block with non-DER signature")
self.nodes[0].p2p.send_and_ping(msg_block(block))
assert_equal(self.nodes[0].getbestblockhash(), tip)
wait_until(lambda: "reject" in self.nodes[0].p2p.last_message.keys(), lock=mininode_lock)
with mininode_lock:
assert_equal(self.nodes[0].p2p.last_message["reject"].code, REJECT_INVALID)
assert_equal(self.nodes[0].p2p.last_message["reject"].data, block.sha256)
assert_equal(self.nodes[0].p2p.last_message["reject"].reason, b'block-validation-failed')
self.log.info("Accept block with DER signature")
#recreate block with DER sig transaction
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 2), block_time)
block.vtx.append(copy_spendTx)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
self.nodes[0].p2p.send_and_ping(msg_block(block))
assert_equal(self.nodes[0].getbestblockhash(), block.hash)
## redeem previous P2SH
#########################
self.log.info("Test using P2SH redeem transaction ")
tx = CTransaction()
tx.vout.append(CTxOut(1, CScript([OP_TRUE])))
tx.vin.append(CTxIn(COutPoint(block.vtx[1].malfixsha256, 0), b''))
(sighash, err) = SignatureHash(REDEEM_SCRIPT_1, tx, 1, SIGHASH_ALL)
signKey = CECKey()
signKey.set_secretbytes(b"horsebattery")
sig = signKey.sign(sighash) + bytes(bytearray([SIGHASH_ALL]))
scriptSig = CScript([sig, REDEEM_SCRIPT_1])
tx.vin[0].scriptSig = scriptSig
tx.rehash()
spendtx_raw = self.nodes[0].signrawtransactionwithwallet(ToHex(tx), [], "ALL", self.options.scheme)["hex"]
spendtx = FromHex(spendtx, spendtx_raw)
spendtx.rehash()
#cache hashes
hash = spendtx.hash
hashMalFix = spendtx.hashMalFix
#malleate
spendtxcopy = spendtx
unDERify(spendtxcopy)
spendtxcopy.rehash()
# verify that hashMalFix remains the same even when signature is malleated and hash changes
assert_not_equal(hash, spendtxcopy.hash)
assert_equal(hashMalFix, spendtxcopy.hashMalFix)
# verify that hash is spendtx.serialize()
hash = encode(hash256(spendtx.serialize(with_witness=False))[::-1], 'hex_codec').decode('ascii')
assert_equal(hash, spendtx.hash)
# verify that hashMalFix is spendtx.serialize(with_scriptsig=False)
hashMalFix = encode(hash256(spendtx.serialize(with_witness=False, with_scriptsig=False))[::-1], 'hex_codec').decode('ascii')
assert_equal(hashMalFix, spendtx.hashMalFix)
assert_not_equal(hash, hashMalFix)
#as this transaction does not have witness data the following is true
assert_equal(spendtx.serialize(), spendtx.serialize(with_witness=True, with_scriptsig=True))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=True))
assert_not_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=False))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=True), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=False), spendtx.serialize_without_witness(with_scriptsig=False))
#Create block with only non-DER signature P2SH redeem transaction
tip = self.nodes[0].getbestblockhash()
block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 3), block_time)
block.vtx.append(spendtx)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
# serialize with and without witness block remains the same
assert_equal(block.serialize(with_witness=True), block.serialize())
assert_equal(block.serialize(with_witness=True), block.serialize(with_witness=False))
assert_equal(block.serialize(with_witness=True), block.serialize(with_witness=True, with_scriptsig=True))
self.log.info("Accept block with P2SH redeem transaction")
self.nodes[0].p2p.send_and_ping(msg_block(block))
assert_equal(self.nodes[0].getbestblockhash(), block.hash)
## p2sh_p2wpkh transaction
##############################
self.log.info("Test using p2sh_p2wpkh transaction ")
spendtxStr = create_witness_tx(self.nodes[0], True, getInput(self.coinbase_txids[4]), self.pubkey, amount=1.0)
#get CTRansaction object from above hex
spendtx = CTransaction()
spendtx.deserialize(BytesIO(hex_str_to_bytes(spendtxStr)))
spendtx.rehash()
#cache hashes
spendtx.rehash()
hash = spendtx.hash
hashMalFix = spendtx.hashMalFix
withash = spendtx.calc_sha256(True)
# malleate
unDERify(spendtx)
spendtx.rehash()
withash2 = spendtx.calc_sha256(True)
# verify that hashMalFix remains the same even when signature is malleated and hash changes
assert_equal(withash, withash2)
assert_equal(hash, spendtx.hash)
assert_equal(hashMalFix, spendtx.hashMalFix)
# verify that hash is spendtx.serialize()
hash = encode(hash256(spendtx.serialize())[::-1], 'hex_codec').decode('ascii')
assert_equal(hash, spendtx.hash)
# verify that hashMalFix is spendtx.serialize(with_scriptsig=False)
hashMalFix = encode(hash256(spendtx.serialize(with_scriptsig=False))[::-1], 'hex_codec').decode('ascii')
assert_equal(hashMalFix, spendtx.hashMalFix)
assert_not_equal(hash, hashMalFix)
#as this transaction does not have witness data the following is true
assert_equal(spendtx.serialize(), spendtx.serialize(with_witness=True, with_scriptsig=True))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=True))
assert_not_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=False))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=True), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=False), spendtx.serialize_without_witness(with_scriptsig=False))
#Create block with only non-DER signature p2sh_p2wpkh transaction
spendtxStr = self.nodes[0].signrawtransactionwithwallet(spendtxStr, [], "ALL", self.options.scheme)
assert("errors" not in spendtxStr or len(["errors"]) == 0)
spendtxStr = spendtxStr["hex"]
spendtx = CTransaction()
spendtx.deserialize(BytesIO(hex_str_to_bytes(spendtxStr)))
spendtx.rehash()
tip = self.nodes[0].getbestblockhash()
block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 4), block_time)
block.vtx.append(spendtx)
add_witness_commitment(block)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
# serialize with and without witness
assert_equal(block.serialize(with_witness=False), block.serialize())
assert_not_equal(block.serialize(with_witness=True), block.serialize(with_witness=False))
assert_not_equal(block.serialize(with_witness=True), block.serialize(with_witness=False, with_scriptsig=True))
self.log.info("Reject block with p2sh_p2wpkh transaction and witness commitment")
assert_raises_rpc_error(-22, "Block does not start with a coinbase", self.nodes[0].submitblock, bytes_to_hex_str(block.serialize(with_witness=True)))
assert_equal(self.nodes[0].getbestblockhash(), tip)
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 4), block_time)
block.vtx.append(spendtx)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
self.log.info("Accept block with p2sh_p2wpkh transaction")
self.nodes[0].submitblock(bytes_to_hex_str(block.serialize(with_witness=True)))
assert_equal(self.nodes[0].getbestblockhash(), block.hash)
## p2sh_p2wsh transaction
##############################
self.log.info("Test using p2sh_p2wsh transaction")
spendtxStr = create_witness_tx(self.nodes[0], True, getInput(self.coinbase_txids[5]), self.pubkey, amount=1.0)
#get CTRansaction object from above hex
spendtx = CTransaction()
spendtx.deserialize(BytesIO(hex_str_to_bytes(spendtxStr)))
spendtx.rehash()
#cache hashes
spendtx.rehash()
hash = spendtx.hash
hashMalFix = spendtx.hashMalFix
withash = spendtx.calc_sha256(True)
# malleate
unDERify(spendtx)
spendtx.rehash()
withash2 = spendtx.calc_sha256(True)
# verify that hashMalFix remains the same even when signature is malleated and hash changes
assert_equal(withash, withash2)
assert_equal(hash, spendtx.hash)
assert_equal(hashMalFix, spendtx.hashMalFix)
# verify that hash is spendtx.serialize()
hash = encode(hash256(spendtx.serialize())[::-1], 'hex_codec').decode('ascii')
assert_equal(hash, spendtx.hash)
# verify that hashMalFix is spendtx.serialize(with_scriptsig=False)
hashMalFix = encode(hash256(spendtx.serialize(with_scriptsig=False))[::-1], 'hex_codec').decode('ascii')
assert_equal(hashMalFix, spendtx.hashMalFix)
assert_not_equal(hash, hashMalFix)
#as this transaction does not have witness data the following is true
assert_equal(spendtx.serialize(), spendtx.serialize(with_witness=True, with_scriptsig=True))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=True))
assert_not_equal(spendtx.serialize(with_witness=False), spendtx.serialize(with_witness=True,with_scriptsig=False))
assert_equal(spendtx.serialize(with_witness=False), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=True), spendtx.serialize_without_witness(with_scriptsig=True))
assert_equal(spendtx.serialize_with_witness(with_scriptsig=False), spendtx.serialize_without_witness(with_scriptsig=False))
#Create block with only non-DER signature p2sh_p2wsh transaction
spendtxStr = self.nodes[0].signrawtransactionwithwallet(spendtxStr, [], "ALL", self.options.scheme)
assert("errors" not in spendtxStr or len(["errors"]) == 0)
spendtxStr = spendtxStr["hex"]
spendtx = CTransaction()
spendtx.deserialize(BytesIO(hex_str_to_bytes(spendtxStr)))
spendtx.rehash()
tip = self.nodes[0].getbestblockhash()
block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 5), block_time)
block.vtx.append(spendtx)
add_witness_commitment(block)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
# serialize with and without witness
assert_equal(block.serialize(with_witness=False), block.serialize())
assert_not_equal(block.serialize(with_witness=True), block.serialize(with_witness=False))
assert_not_equal(block.serialize(with_witness=True), block.serialize(with_witness=False, with_scriptsig=True))
self.log.info("Reject block with p2sh_p2wsh transaction and witness commitment")
assert_raises_rpc_error(-22, "Block does not start with a coinbase", self.nodes[0].submitblock, bytes_to_hex_str(block.serialize(with_witness=True)))
assert_equal(self.nodes[0].getbestblockhash(), tip)
block = create_block(int(tip, 16), create_coinbase(CHAIN_HEIGHT + 5), block_time)
block.vtx.append(spendtx)
block.hashMerkleRoot = block.calc_merkle_root()
block.hashImMerkleRoot = block.calc_immutable_merkle_root()
block.rehash()
block.solve(self.signblockprivkeys)
self.log.info("Accept block with p2sh_p2wsh transaction")
self.nodes[0].submitblock(bytes_to_hex_str(block.serialize(with_witness=True)))
assert_equal(self.nodes[0].getbestblockhash(), block.hash)
if __name__ == '__main__':
SerializationTest().main()
| 49.567623
| 157
| 0.698789
| 2,923
| 24,189
| 5.594595
| 0.098187
| 0.068367
| 0.08928
| 0.072647
| 0.816303
| 0.806519
| 0.803155
| 0.795573
| 0.795573
| 0.795328
| 0
| 0.015353
| 0.189508
| 24,189
| 487
| 158
| 49.669405
| 0.818771
| 0.154864
| 0
| 0.76129
| 0
| 0
| 0.051916
| 0.002274
| 0
| 0
| 0.000494
| 0
| 0.303226
| 1
| 0.016129
| false
| 0
| 0.032258
| 0
| 0.054839
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
545eb0126407ab7b1a9d80485ba7638bcd89e2db
| 33
|
py
|
Python
|
init/controllers/js.py
|
davidhampgonsalves/mix-tree
|
f9907d30ed13340ffb31239176b4de0bbba86f6a
|
[
"MIT"
] | null | null | null |
init/controllers/js.py
|
davidhampgonsalves/mix-tree
|
f9907d30ed13340ffb31239176b4de0bbba86f6a
|
[
"MIT"
] | null | null | null |
init/controllers/js.py
|
davidhampgonsalves/mix-tree
|
f9907d30ed13340ffb31239176b4de0bbba86f6a
|
[
"MIT"
] | null | null | null |
def mixtree():
return dict()
| 11
| 17
| 0.606061
| 4
| 33
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.242424
| 33
| 2
| 18
| 16.5
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| true
| 0
| 0
| 0.5
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
5485b9e50f1bd3fbe27cb42bcd830fd7b4ac1c58
| 1,755
|
py
|
Python
|
PhysicsTools/HepMCCandAlgos/python/flavorHistoryProducer_cfi.py
|
ckamtsikis/cmssw
|
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
|
[
"Apache-2.0"
] | 852
|
2015-01-11T21:03:51.000Z
|
2022-03-25T21:14:00.000Z
|
PhysicsTools/HepMCCandAlgos/python/flavorHistoryProducer_cfi.py
|
ckamtsikis/cmssw
|
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
|
[
"Apache-2.0"
] | 30,371
|
2015-01-02T00:14:40.000Z
|
2022-03-31T23:26:05.000Z
|
PhysicsTools/HepMCCandAlgos/python/flavorHistoryProducer_cfi.py
|
ckamtsikis/cmssw
|
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
|
[
"Apache-2.0"
] | 3,240
|
2015-01-02T05:53:18.000Z
|
2022-03-31T17:24:21.000Z
|
import FWCore.ParameterSet.Config as cms
cFlavorHistoryProducer = cms.EDProducer("FlavorHistoryProducer",
src = cms.InputTag("genParticles"),
matchedSrc = cms.InputTag("ak5GenJets"),
matchDR = cms.double(0.5),
pdgIdToSelect = cms.int32(4),
ptMinParticle = cms.double(0.0),
ptMinShower = cms.double(0.0),
etaMaxParticle = cms.double(100.0),
etaMaxShower = cms.double(100.0),
flavorHistoryName = cms.string("cPartonFlavorHistory"),
verbose = cms.untracked.bool(False)
)
bFlavorHistoryProducer = cms.EDProducer("FlavorHistoryProducer",
src = cms.InputTag("genParticles"),
matchedSrc = cms.InputTag("ak5GenJets"),
matchDR = cms.double(0.5),
pdgIdToSelect = cms.int32(5),
ptMinParticle = cms.double(0.0),
ptMinShower = cms.double(0.0),
etaMaxParticle = cms.double(100.0),
etaMaxShower = cms.double(100.0),
flavorHistoryName = cms.string("bPartonFlavorHistory"),
verbose = cms.untracked.bool(False)
)
| 62.678571
| 94
| 0.390313
| 106
| 1,755
| 6.462264
| 0.330189
| 0.131387
| 0.087591
| 0.064234
| 0.823358
| 0.741606
| 0.741606
| 0.741606
| 0.741606
| 0.741606
| 0
| 0.043742
| 0.531054
| 1,755
| 27
| 95
| 65
| 0.788578
| 0
| 0
| 0.64
| 0
| 0
| 0.071795
| 0.023932
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.04
| 0
| 0.04
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
548d0a09d6fd0a3bd5bda6d87a7f88b422ac7183
| 103
|
py
|
Python
|
phos/__init__.py
|
Web-Power/phos
|
b04556d6829cc09f7e5d3e76f4c77db0792346b8
|
[
"MIT"
] | 1
|
2020-01-21T12:50:01.000Z
|
2020-01-21T12:50:01.000Z
|
phos/__init__.py
|
Web-Power/phos
|
b04556d6829cc09f7e5d3e76f4c77db0792346b8
|
[
"MIT"
] | null | null | null |
phos/__init__.py
|
Web-Power/phos
|
b04556d6829cc09f7e5d3e76f4c77db0792346b8
|
[
"MIT"
] | 1
|
2022-01-26T07:09:18.000Z
|
2022-01-26T07:09:18.000Z
|
from .cursor import Phos, Connection, NoResultSetError, FetchWithoutExecuteError, UnknownPlotTypeError
| 51.5
| 102
| 0.873786
| 8
| 103
| 11.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.07767
| 103
| 1
| 103
| 103
| 0.947368
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
54ba101f33da2c443d995ea1d31a0258b98eb5f2
| 167
|
py
|
Python
|
lib/candy_editor/AssetEditor/CommonAsset/__init__.py
|
lihaochen910/Candy
|
d12cb964768459c22f30c22531d3e1734901e814
|
[
"MIT"
] | 1
|
2021-11-06T14:38:37.000Z
|
2021-11-06T14:38:37.000Z
|
lib/candy_editor/AssetEditor/CommonAsset/__init__.py
|
lihaochen910/Candy
|
d12cb964768459c22f30c22531d3e1734901e814
|
[
"MIT"
] | 5
|
2021-11-06T04:23:06.000Z
|
2022-03-12T01:03:25.000Z
|
lib/candy_editor/AssetEditor/CommonAsset/__init__.py
|
lihaochen910/Candy
|
d12cb964768459c22f30c22531d3e1734901e814
|
[
"MIT"
] | 1
|
2021-11-07T05:19:51.000Z
|
2021-11-07T05:19:51.000Z
|
import candy_editor.AssetEditor.CommonAsset.FolderCreator
import candy_editor.AssetEditor.CommonAsset.ImageAsset
import candy_editor.AssetEditor.CommonAsset.TextAsset
| 41.75
| 57
| 0.91018
| 18
| 167
| 8.277778
| 0.444444
| 0.221477
| 0.342282
| 0.563758
| 0.785235
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035928
| 167
| 3
| 58
| 55.666667
| 0.925466
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
b72cb080e3a2055114dbcc3cc09faea3bbf3caaa
| 4,742
|
py
|
Python
|
backend/edegal/migrations/0023_auto_20200212_1426.py
|
japsu/edegal2
|
a3a327b19cc3d06a680f8f1175225bad8be7c5f1
|
[
"MIT"
] | 1
|
2021-11-22T19:28:35.000Z
|
2021-11-22T19:28:35.000Z
|
backend/edegal/migrations/0023_auto_20200212_1426.py
|
japsu/edegal2
|
a3a327b19cc3d06a680f8f1175225bad8be7c5f1
|
[
"MIT"
] | 26
|
2017-05-30T09:55:28.000Z
|
2020-12-16T12:08:52.000Z
|
backend/edegal/migrations/0023_auto_20200212_1426.py
|
japsu/edegal2
|
a3a327b19cc3d06a680f8f1175225bad8be7c5f1
|
[
"MIT"
] | 3
|
2015-11-20T13:45:47.000Z
|
2017-05-30T09:44:55.000Z
|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.26 on 2020-02-12 12:26
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('edegal', '0022_photographer_body'),
]
operations = [
migrations.AddField(
model_name='picture',
name='taken_at',
field=models.DateTimeField(blank=True, help_text='EXIF original date time of the original media', null=True),
),
migrations.AlterField(
model_name='album',
name='path',
field=models.CharField(help_text='Will be automatically determined from parent and slug.', max_length=1023, unique=True, validators=[django.core.validators.RegexValidator(code='invalid_path', message='The path may only contain lower case letters (a–z), numbers (0–9), dashes (-) and forward slashes (/). The path must start with a slash (/).', regex='^/[a-z0-9-/]+$')], verbose_name='Path'),
),
migrations.AlterField(
model_name='album',
name='slug',
field=models.CharField(blank=True, help_text='The slug will be included as part of the URL. The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-). If you leave the slug blank, it will be generated from the title. If you change the slug after publishing, remember to create any redirects you may need.', max_length=255, validators=[django.core.validators.RegexValidator(code='invalid_slug', message='The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-).', regex='^[a-z0-9-]+$')], verbose_name='Slug'),
),
migrations.AlterField(
model_name='photographer',
name='slug',
field=models.CharField(blank=True, help_text='The slug will be included as part of the URL. The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-). If you leave the slug blank, it will be generated from the title. If you change the slug after publishing, remember to create any redirects you may need.', max_length=255, validators=[django.core.validators.RegexValidator(code='invalid_slug', message='The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-).', regex='^[a-z0-9-]+$')], verbose_name='Slug'),
),
migrations.AlterField(
model_name='picture',
name='path',
field=models.CharField(help_text='Will be automatically determined from parent and slug.', max_length=1023, unique=True, validators=[django.core.validators.RegexValidator(code='invalid_path', message='The path may only contain lower case letters (a–z), numbers (0–9), dashes (-) and forward slashes (/). The path must start with a slash (/).', regex='^/[a-z0-9-/]+$')], verbose_name='Path'),
),
migrations.AlterField(
model_name='picture',
name='slug',
field=models.CharField(blank=True, help_text='The slug will be included as part of the URL. The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-). If you leave the slug blank, it will be generated from the title. If you change the slug after publishing, remember to create any redirects you may need.', max_length=255, validators=[django.core.validators.RegexValidator(code='invalid_slug', message='The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-).', regex='^[a-z0-9-]+$')], verbose_name='Slug'),
),
migrations.AlterField(
model_name='series',
name='path',
field=models.CharField(help_text='Will be automatically determined from parent and slug.', max_length=1023, unique=True, validators=[django.core.validators.RegexValidator(code='invalid_path', message='The path may only contain lower case letters (a–z), numbers (0–9), dashes (-) and forward slashes (/). The path must start with a slash (/).', regex='^/[a-z0-9-/]+$')], verbose_name='Path'),
),
migrations.AlterField(
model_name='series',
name='slug',
field=models.CharField(blank=True, help_text='The slug will be included as part of the URL. The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-). If you leave the slug blank, it will be generated from the title. If you change the slug after publishing, remember to create any redirects you may need.', max_length=255, validators=[django.core.validators.RegexValidator(code='invalid_slug', message='The slug may only contain lower case letters (a–z), numbers (0–9) and dashes (-).', regex='^[a-z0-9-]+$')], verbose_name='Slug'),
),
]
| 83.192982
| 567
| 0.673555
| 686
| 4,742
| 4.622449
| 0.163265
| 0.04415
| 0.048565
| 0.06591
| 0.88584
| 0.88584
| 0.865342
| 0.865342
| 0.865342
| 0.865342
| 0
| 0.02146
| 0.194222
| 4,742
| 56
| 568
| 84.678571
| 0.802669
| 0.014551
| 0
| 0.734694
| 1
| 0.22449
| 0.513062
| 0.004711
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.061224
| 0
| 0.122449
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
3f7f9d3a04a1196581fe57319f3fa344c0f89218
| 78
|
py
|
Python
|
org/apache/helix/examples/package-info.py
|
davzhang/helix-python-binding
|
11a9ecf730bce07720e0b0bcf7f0ec1cd2b25878
|
[
"Apache-2.0"
] | 3
|
2015-04-08T22:51:04.000Z
|
2015-05-03T06:42:35.000Z
|
org/apache/helix/examples/package-info.py
|
zzhang5/helix-python-binding
|
11a9ecf730bce07720e0b0bcf7f0ec1cd2b25878
|
[
"Apache-2.0"
] | null | null | null |
org/apache/helix/examples/package-info.py
|
zzhang5/helix-python-binding
|
11a9ecf730bce07720e0b0bcf7f0ec1cd2b25878
|
[
"Apache-2.0"
] | 1
|
2020-03-31T21:43:01.000Z
|
2020-03-31T21:43:01.000Z
|
# package org.apache.helix.examples
#from org.apache.helix.examples import *
| 19.5
| 40
| 0.782051
| 11
| 78
| 5.545455
| 0.636364
| 0.295082
| 0.459016
| 0.721311
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102564
| 78
| 3
| 41
| 26
| 0.871429
| 0.923077
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
3fd34c86c741b63d2296a9cfaf51ea3c5158f146
| 113
|
py
|
Python
|
openacademy/model/__init__.py
|
JesusZapata/openacademy
|
7c1a1a2bf0fa7aadfaf6c7784bb66ec2b829e427
|
[
"Apache-2.0"
] | null | null | null |
openacademy/model/__init__.py
|
JesusZapata/openacademy
|
7c1a1a2bf0fa7aadfaf6c7784bb66ec2b829e427
|
[
"Apache-2.0"
] | null | null | null |
openacademy/model/__init__.py
|
JesusZapata/openacademy
|
7c1a1a2bf0fa7aadfaf6c7784bb66ec2b829e427
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
from . import openacademy_course
from . import openacademy_session
from . import partner
| 22.6
| 33
| 0.743363
| 14
| 113
| 5.857143
| 0.642857
| 0.365854
| 0.512195
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010417
| 0.150442
| 113
| 4
| 34
| 28.25
| 0.84375
| 0.185841
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
3fd5b590e05092a64c34d44e2192269ef1ba455b
| 116,530
|
py
|
Python
|
tests/e2e/advanced/receiver_sensitivity/test_vlan_mode_5g.py
|
DYeag/wlan-testing
|
81e879d04ea3c6a55d14a330d461d8914507e3b2
|
[
"BSD-3-Clause"
] | 7
|
2020-08-19T16:45:46.000Z
|
2022-02-10T09:55:22.000Z
|
tests/e2e/advanced/receiver_sensitivity/test_vlan_mode_5g.py
|
DYeag/wlan-testing
|
81e879d04ea3c6a55d14a330d461d8914507e3b2
|
[
"BSD-3-Clause"
] | 47
|
2020-12-20T16:06:03.000Z
|
2022-03-23T03:01:22.000Z
|
tests/e2e/advanced/receiver_sensitivity/test_vlan_mode_5g.py
|
DYeag/wlan-testing
|
81e879d04ea3c6a55d14a330d461d8914507e3b2
|
[
"BSD-3-Clause"
] | 9
|
2021-02-04T22:32:06.000Z
|
2021-12-14T17:45:51.000Z
|
"""
Performance Test: Receiver Sensitivity Test: vlan mode
pytest -m "rx_sensitivity_test and vlan"
"""
import os
import pytest
import allure
pytestmark = [pytest.mark.rx_sensitivity_test, pytest.mark.vlan,
pytest.mark.usefixtures("setup_test_run")]
setup_params_general = {
"mode": "VLAN",
"ssid_modes": {
"wpa2_personal": [
{"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["is2dot4GHz"], "security_key": "something"},
{"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["is5GHzU", "is5GHz", "is5GHzL"],
"security_key": "something"}]},
"rf": {
"is5GHz": {"channelBandwidth": "is20MHz"},
"is5GHzL": {"channelBandwidth": "is20MHz"},
"is5GHzU": {"channelBandwidth": "is20MHz"}},
"radius": False,
"attenuator": {
"attenuator": "1.1.3059",
"attenuator2": "1.1.3034"}
}
@allure.feature("VLAN MODE CLIENT CONNECTIVITY")
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_general],
indirect=True,
scope="class"
)
@pytest.mark.usefixtures("setup_profiles")
class TestRxSensitivityVLAN5G(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2446", name="WIFI-2446")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs0
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs0_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 0 CCK, OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2],
["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS0_NSS0",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2447", name="WIFI-2447")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs1
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs1_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 1 CCK, OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS1_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2448", name="WIFI-2448")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs2
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs2_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 2 CCK, OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS2_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2449", name="WIFI-2449")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs3
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs3_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 3 CCK, OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS3_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2450", name="WIFI-2450")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs4
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs4_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 4 OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS4_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2451", name="WIFI-2451")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs5
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs5_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 5 OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS5_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2452", name="WIFI-2452")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs6
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs6_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 6 OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS6_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2453", name="WIFI-2453")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs7
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs7_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 7 OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS7_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2454", name="WIFI-2454")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs8
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs8_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 8 VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS8_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2455", name="WIFI-2455")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs9
@pytest.mark.nss1
def test_client_wpa2_personal_vlan_mcs9_nss1_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 9 VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS9_NSS1",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
# Test case for mcs0-9,Nss 2, bw 20MHz
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2458", name="WIFI-2458")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs0
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs0_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 0 CCK, OFDM, HT, VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS0_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2459", name="WIFI-2459")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs1
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs1_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 1 CCK, OFDM, HT, VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS1_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2460", name="WIFI-2460")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs2
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs2_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 2 CCK, OFDM, HT, VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS2_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2461", name="WIFI-2461")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs3
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs3_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 3 CCK, OFDM, HT, VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS3_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2462", name="WIFI-2462")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs4
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs4_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 4 OFDM, HT, VHT'],
['spatial_streams: 1'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS4_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2463", name="WIFI-2463")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs5
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs5_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 5 OFDM, HT, VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS5_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2464", name="WIFI-2464")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs6
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs6_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 6 CCK, OFDM, HT, VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS6_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2465", name="WIFI-2465")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs7
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs7_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 7 OFDM, HT, VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS7_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2466", name="WIFI-2466")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs8
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs8_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 8 VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS8_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2467", name="WIFI-2467")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs9
@pytest.mark.nss2
def test_client_wpa2_personal_vlan_mcs9_nss2_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 9 VHT'],
['spatial_streams: 2'], ['bandw_options: 20'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS9_NSS2",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
# Test case for mcs0-9,Nss 3, bw 20MHz
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2470", name="WIFI-2470")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs0
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs0_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 0 CCK, OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS0_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2471", name="WIFI-2471")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs1
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs1_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 1 CCK, OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS1_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2472", name="WIFI-2472")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs2
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs2_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 2 CCK, OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS2_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2473", name="WIFI-2473")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs3
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs3_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 3 CCK, OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS3_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2474", name="WIFI-2474")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs4
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs4_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 4 OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS4_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2475", name="WIFI-2475")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs5
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs5_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 5 OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS5_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2476", name="WIFI-2476")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs6
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs6_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 6 OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS6_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2477", name="WIFI-2477")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs7
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs7_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 7 OFDM, HT, VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS7_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2478", name="WIFI-2478")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs8
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs8_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 8 VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS8_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2479", name="WIFI-2479")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs9
@pytest.mark.nss3
def test_client_wpa2_personal_vlan_mcs9_nss3_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 9 VHT'],
['spatial_streams: 3'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS9_NSS3",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
# Test case for mcs0-9,Nss 4, bw 20MHz
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2482", name="WIFI-2482")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs0
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs0_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 0 CCK, OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS0_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2483", name="WIFI-2483")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs1
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs1_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 1 CCK, OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS1_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2484", name="WIFI-2484")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs2
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs2_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 2 CCK, OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS2_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2485", name="WIFI-2485")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs3
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs3_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 3 CCK, OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS3_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2486", name="WIFI-2486")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs4
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs4_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 4 OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS4_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2487", name="WIFI-2487")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs5
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs5_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 5 OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS5_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2488", name="WIFI-2488")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs6
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs6_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 6 OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS6_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2489", name="WIFI-2489")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs7
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs7_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 7 OFDM, HT, VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS7_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2490", name="WIFI-2490")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs8
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs8_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 8 VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS8_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2491", name="WIFI-2491")
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@pytest.mark.mcs9
@pytest.mark.nss4
def test_client_wpa2_personal_vlan_mcs9_nss4_5g(self, get_vif_state,
lf_test, station_names_fiveg, create_lanforge_chamberview_dut,
get_configuration):
"""Receiver Sensitivity vlan Mode
pytest -m "rx_sensitivity_test and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1]
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
security = "wpa2"
attenuator = setup_params_general["attenuator"]["attenuator"]
attenuator2 = setup_params_general["attenuator"]["attenuator2"]
mode = "VLAN"
band = "fiveg"
vlan = 1
dut_name = create_lanforge_chamberview_dut
raw_lines = [['txo_preamble: VHT'],
['txo_mcs: 9 VHT'],
['spatial_streams: 4'], ['bandw_options: 80'], ['txo_sgi: ON'],
['txo_retries: No Retry'], ['attenuator: %s' % attenuator], ['attenuator2: %s' % attenuator2], ["show_3s: 1"], ['txo_txpower: 17'],
["show_ll_graphs: 1"], ["show_log: 1"]]
if ssid_name not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
station = lf_test.Client_Connect(ssid=ssid_name, security=security,
passkey=security_key, mode=mode, band=band,
station_name=station_names_fiveg, vlan_id=vlan)
if station:
dp_obj = lf_test.rx_sensitivity(station_name=station_names_fiveg, mode=mode,
instance_name="TIP_PERF_RX_SEN_WPA2_VLAN_5G_MCS9_NSS4",
vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines)
report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
entries = os.listdir("../reports/" + report_name + '/')
pdf = False
for i in entries:
if ".pdf" in i:
pdf = i
if pdf:
allure.attach.file(source="../reports/" + report_name + "/" + pdf,
name=get_configuration["access_point"][0]["model"] + "_dataplane")
print("Test Completed... Cleaning up Stations")
lf_test.Client_disconnect(station_name=station_names_fiveg)
assert station
else:
assert False
| 53.924109
| 152
| 0.564353
| 12,861
| 116,530
| 4.810046
| 0.017028
| 0.025864
| 0.043969
| 0.044615
| 0.978888
| 0.978888
| 0.978888
| 0.976302
| 0.976302
| 0.953315
| 0
| 0.021828
| 0.320638
| 116,530
| 2,160
| 153
| 53.949074
| 0.759594
| 0.036102
| 0
| 0.919937
| 0
| 0
| 0.208045
| 0.013656
| 0
| 0
| 0
| 0
| 0.041863
| 1
| 0.020931
| false
| 0.020931
| 0.00157
| 0
| 0.023025
| 0.020931
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
3fd94dbe76547ec463d88549e1bd5c57d95f2d79
| 479
|
py
|
Python
|
python/fedml/core/distributed/topology/base_topology_manager.py
|
ray-ruisun/FedML
|
24ff30d636bb70f64e94e9ca205375033597d3dd
|
[
"Apache-2.0"
] | null | null | null |
python/fedml/core/distributed/topology/base_topology_manager.py
|
ray-ruisun/FedML
|
24ff30d636bb70f64e94e9ca205375033597d3dd
|
[
"Apache-2.0"
] | null | null | null |
python/fedml/core/distributed/topology/base_topology_manager.py
|
ray-ruisun/FedML
|
24ff30d636bb70f64e94e9ca205375033597d3dd
|
[
"Apache-2.0"
] | null | null | null |
import abc
class BaseTopologyManager(abc.ABC):
@abc.abstractmethod
def generate_topology(self):
pass
@abc.abstractmethod
def get_in_neighbor_idx_list(self, node_index):
pass
@abc.abstractmethod
def get_out_neighbor_idx_list(self, node_index):
pass
@abc.abstractmethod
def get_in_neighbor_weights(self, node_index):
pass
@abc.abstractmethod
def get_out_neighbor_weights(self, node_index):
pass
| 19.958333
| 52
| 0.693111
| 59
| 479
| 5.305085
| 0.322034
| 0.271566
| 0.319489
| 0.306709
| 0.747604
| 0.747604
| 0.648562
| 0.523962
| 0.523962
| 0.523962
| 0
| 0
| 0.237996
| 479
| 23
| 53
| 20.826087
| 0.857534
| 0
| 0
| 0.588235
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.294118
| false
| 0.294118
| 0.058824
| 0
| 0.411765
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
b75a3dd6d473766650138932bb170d8ab104de19
| 27,757
|
py
|
Python
|
app/tests/testDatabaseSmartSearch.py
|
Psychoanalytic-Electronic-Publishing/openpubarchive
|
afd2a281ebacf8404791c11a21c06a0ae135f2a7
|
[
"Apache-2.0"
] | 1
|
2019-04-01T14:45:33.000Z
|
2019-04-01T14:45:33.000Z
|
app/tests/testDatabaseSmartSearch.py
|
Psychoanalytic-Electronic-Publishing/openpubarchive
|
afd2a281ebacf8404791c11a21c06a0ae135f2a7
|
[
"Apache-2.0"
] | 46
|
2019-05-14T14:16:15.000Z
|
2020-08-06T03:45:12.000Z
|
app/tests/testDatabaseSmartSearch.py
|
nrshapiro/openpubarchive
|
f6d3b7da6cd23e51b32e16e17ccb55b8511d32a6
|
[
"Apache-2.0"
] | 1
|
2020-08-26T15:25:28.000Z
|
2020-08-26T15:25:28.000Z
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#2020.0610 # Upgraded tests to v2; set up tests against AOP which seems to be discontinued and thus constant
import unittest
import requests
from unitTestConfig import base_plus_endpoint_encoded, headers, get_headers_not_logged_in
# Get session, but not logged in.
headers = get_headers_not_logged_in()
class TestDatabaseSmartSearch(unittest.TestCase):
def test_0_smartsearch_endpoint(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/SmartSearch/?smarttext=aop.033.0079a&abstract=True')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (f'Smarttext: {response_info["description"]}')
#response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 1)
def test_0_name_year_smartsearch_endpoint(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/SmartSearch/?smarttext=Tuckett 1982&sort=rank&limit=15&offset=0')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True) # rank is accepted, same as score
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
assert(response_info["fullCount"] == 1)
#print (response_set)
for n in response_set:
print (n["documentRef"])
# Confirm that the request-response cycle completed successfully.
def test_0_DOI_smartsearch_endpoint(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/SmartSearch/?smarttext=10.3280/PU2019-004002')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (response_info)
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
def test_1_smartsearch_regular(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=OPUS&smarttext=physics%20science%20observations&abstract=True')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (f'Smarttext: {response_info["description"]}')
#response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 1)
def test__2a_smartsearch_locator1(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=aop.033.0079a&abstract=True')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (f'Smarttext: {response_info["description"]}')
#response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 1) # should be . I confirmed all three papers above in test_search_long_para...not sure why this fails.
def test_2b_smartsearch_locator2(self):
# Partial locator, gets all articles in this volume.
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=art_id:AOP.033.*&abstract=True')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (f'Smarttext: {response_info["description"]}')
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 19)
#print (response_set)
def test_003_smartsearch_name_year(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett 1982&sort=rank&limit=15&offset=0')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True) # rank is accepted, same as score
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
assert(response_info["fullCount"] == 1)
#print (response_set)
for n in response_set:
print (n["documentRef"])
# Confirm that the request-response cycle completed successfully.
def test_3b_smartsearch_two_names_and_year(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett and Fonagy (2012)')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True) # rank is accepted, same as score
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (response_info)
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
assert(response_info["fullCount"] == 1)
#print (response_set)
for n in response_set:
print (n["documentRef"])
# Confirm that the request-response cycle completed successfully.
def test_4_search_schemafield(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=art_type:REV&sourcecode=AOP')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (f'Smarttext: {response_info["description"]}')
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 3)
print (response_set[0])
def test_5_search_author_and_journalcode(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Levin&sourcecode=AOP')
response = requests.get(full_URL, headers=headers)
r = response.json()
assert(response.ok == True)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 12)
#print (response_set[0])
def test_6_search_author_and_journalcode_and_text(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Blum&sourcecode=AOP&fulltext1=transference')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (response_info)
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 2)
#print (response_set[0])
def test_10_DOI(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=10.3280/PU2019-004002')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
print (response_info)
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_10_locator(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=aop.033.0079a')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (response_info["count"])
assert(response_info["count"] == 1)
# print (response_set[0])
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=IJP.100.0411A')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_10_year_and_page(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=2014 153')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 7) # verified 7 matches 2020-07-26
# print (response_set[0])
def test_10_vol_and_page(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=100:272')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
# print (response_set[0])
def test_10_schema_fields(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=AOP&smarttext=art_type:ART OR COM')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
assert(response_info["fullCount"] >= 627)
# print (response_set[0])
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=AJP&smarttext=art_type:PRO')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
assert(response_info["fullCount"] >= 37)
print (response_set[0])
def test_11A_single_name(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett, D.')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
assert(response_info["fullCount"] >= 59)
print (response_set[0])
def test_11B_multiple_name(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Goldberg, E.L., Myers, W.A., Zeifman, I.')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
print (response_set[0])
def test_11B2_anded_names(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Rapaport, D. and Gill, M. M.')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
print (response_set[0])
def test_12a_names_and_dates(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett and Fonagy (2012)')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_12b_names_and_dates(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett and Fonagy 2012')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_12c_names_and_dates(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Eugene L. Goldberg, Wayne A. Myers and Israel Zeifman (1974)')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_12d_names_and_dates(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett, D., Auchincloss, E.L. and Fonagy, P. (2012)')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_12e_names_and_dates(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett and Fonagy 2012')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_12f_names_and_dates(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Rapaport, D. and Gill, M. M. (1959)')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
#print (response_set[0])
def test_12g_names_and_dates(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Tuckett, D. and Fonagy, P. 2012')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
print (response_set[0])
def test_12b_phrase_search(self):
"""
This is a search for a phrase
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext="Manualized Psychodynamic Psychotherapies"')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] >= 3)
print (response_set[0])
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Manualized Psychodynamic Psychotherapies')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] >= 3)
print (response_set[0])
def test_12c_word_search(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Psychoanalysis Treatment of headaches.')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
assert(response_info["count"] >= 1)
print (response_set[0])
def test_13_references_a(self):
"""
Full references
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Goldberg, E.L. Myers, W.A. Zeifman, I. (1974). Some Observations on Three Interracial Analyses. Int. J. Psycho-Anal., 55:495-500.')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
print (response_set[0])
def test_13_references_b(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Rapaport, D. and Gill, M. M. ( 1959). The Points of View and Assumptions of Metapsychology. Int. J. Psycho-Anal. 40:153-162')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["count"])
assert(response_info["count"] == 1)
print (response_set[0])
def test_13a_dts_example_searches(self):
"""
Words anded
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Evenly Suspended Attention')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
assert(response_info["fullCount"] >= 695 and response_info["fullCount"] <= 810)
def test_13b_dts_example_searches(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=transference interpretation')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
assert(response_info["fullCount"] >= 6900 and response_info["fullCount"] <= 9000)
def test_13c_dts_example_searches(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Eitingon model')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
count1 = response_info["fullCount"]
assert count1 >= 133 and count1 <= 190, f"Count: {count1}"
def test_13d_dts_example_searches(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=unconscious phantasy')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
count1 = response_info["fullCount"]
assert count1 >= 2780, f"Count: {count1}"
def test_14_example_smart_search_classes(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext="Eitingon Model"')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
count1 = response_info["fullCount"]
assert count1 >= 95 and count1 <= 130, f"Count: {count1}"
def test_14b_example_smart_search_classes(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Eitingon AND Model')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
count1 = response_info["fullCount"]
assert (count1 >= 440 and count1 <= 525), f"Count: {count1}"
def test_14c_example_smart_search_classes(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Eitingon OR Model') # either author
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
count1 = response_info["fullCount"]
assert (count1 >= 50 and count1 <= 100), f"Count: {count1}"
def test_14d_example_smart_search_classes(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Eitingon AND NOT Model')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
count1 = response_info["fullCount"]
assert (count1 >= 46 and count1 <= 56), f"Count: {count1}"
def test_14e_example_smart_search_classes(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext="Eitingon Model"~4')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
count1 = response_info["fullCount"]
assert (count1 >= 114 and count1 <= 150), f"Count: {count1}"
def test_14f_example_smart_search_with_colons(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext="Eitingon: Model"~4')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
count1 = response_info["fullCount"]
assert (count1 >= 114 and count1 <= 150), f"Count: {count1}"
def test_14g_example_smart_search_with_colons(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext="Treating the Untreatable: Healing in the Realms of Madness"')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
count1 = response_info["fullCount"]
assert (count1 >= 1), f"Count: {count1}"
def test_15a_bracket_test(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=year:[1970 TO 1990]')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
count1 = response_info["fullCount"]
assert (count1 >= 100), f"Count: {count1}"
def test_15b_bracket_test(self):
"""
"""
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?smarttext=Caruso [2003]')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
print (f'Smarttext: {response_info["description"]}')
print (response_info["fullCount"])
count1 = response_info["fullCount"]
assert (count1 >= 1), f"Count: {count1}"
if __name__ == '__main__':
unittest.main()
| 46.107973
| 209
| 0.645639
| 3,121
| 27,757
| 5.524191
| 0.095162
| 0.122499
| 0.043617
| 0.062699
| 0.905748
| 0.899832
| 0.892408
| 0.883881
| 0.883881
| 0.880053
| 0
| 0.021853
| 0.216918
| 27,757
| 601
| 210
| 46.184692
| 0.771347
| 0.049573
| 0
| 0.770355
| 0
| 0.018789
| 0.290979
| 0.13353
| 0
| 0
| 0
| 0
| 0.192067
| 1
| 0.08977
| false
| 0
| 0.006263
| 0
| 0.098121
| 0.200418
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b77954433bde03581003cc0d71c055c92683eae6
| 208
|
py
|
Python
|
Client/message/__init__.py
|
Ricky-Hao/IMPK-Client
|
791150a43fff157aa439716d63d6c4fece912b85
|
[
"MIT"
] | null | null | null |
Client/message/__init__.py
|
Ricky-Hao/IMPK-Client
|
791150a43fff157aa439716d63d6c4fece912b85
|
[
"MIT"
] | null | null | null |
Client/message/__init__.py
|
Ricky-Hao/IMPK-Client
|
791150a43fff157aa439716d63d6c4fece912b85
|
[
"MIT"
] | null | null | null |
from Client.message.auth import *
from Client.message.base import *
from Client.message.cert import *
from Client.message.chat import *
from Client.message.friend import *
from Client.message.server import *
| 29.714286
| 35
| 0.798077
| 30
| 208
| 5.533333
| 0.333333
| 0.361446
| 0.614458
| 0.692771
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.115385
| 208
| 6
| 36
| 34.666667
| 0.902174
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
b7ce6601eacbbca72e61c6f38e3db3a34449a390
| 30,301
|
py
|
Python
|
cnf_xplor/api/migrations/0001_initial.py
|
BFSSI-Bioinformatics-Lab/nutrition_database
|
ef63be35ceb4d37f3fa94bd6e4e8c8f3c84f8b7b
|
[
"MIT"
] | null | null | null |
cnf_xplor/api/migrations/0001_initial.py
|
BFSSI-Bioinformatics-Lab/nutrition_database
|
ef63be35ceb4d37f3fa94bd6e4e8c8f3c84f8b7b
|
[
"MIT"
] | 46
|
2020-02-17T18:50:49.000Z
|
2020-06-03T17:20:56.000Z
|
cnf_xplor/api/migrations/0001_initial.py
|
BFSSI-Bioinformatics-Lab/nutrition_database
|
ef63be35ceb4d37f3fa94bd6e4e8c8f3c84f8b7b
|
[
"MIT"
] | null | null | null |
# Generated by Django 2.2.5 on 2020-03-16 17:00
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import simple_history.models
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Food',
fields=[
('FOOD_C', models.AutoField(primary_key=True, serialize=False)),
('ENG_NAME', models.CharField(blank=True, max_length=500, null=True)),
('FR_NAME', models.CharField(blank=True, max_length=500, null=True)),
('FOOD_DESC', models.CharField(blank=True, max_length=500, null=True)),
('FOOD_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('NUT_CAN_C', models.IntegerField(blank=True, null=True)),
('CNF_FLAG', models.BooleanField(blank=True, null=True)),
('COUNTRY_C', models.IntegerField(blank=True, null=True)),
('COMMENT_T', models.CharField(blank=True, max_length=500, null=True)),
('FN_COMMENT_F', models.CharField(blank=True, max_length=500, null=True)),
('FOOD_REFERENCE', models.CharField(blank=True, max_length=500, null=True)),
('SCIENTIFIC_NAME', models.CharField(blank=True, max_length=500, null=True)),
('PUBLICATION_FLAG', models.BooleanField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=10, null=True)),
('ITEM_C', models.IntegerField(blank=True, null=True)),
('SEQUENCE_C', models.IntegerField(blank=True, null=True)),
('LEGACY_GROUP_C', models.IntegerField(blank=True, null=True)),
('COMMON_NM_E', models.CharField(blank=True, max_length=500, null=True)),
('COMMON_NM_F', models.CharField(blank=True, max_length=500, null=True)),
('FN_DB_SOURCE_C', models.IntegerField(blank=True, null=True)),
('FN_RECIPE_FLG', models.BooleanField(blank=True, null=True)),
('FN_SYSTEM_VIEW_C', models.IntegerField(blank=True, null=True)),
('FN_FAT_CHANGE', models.IntegerField(blank=True, null=True)),
('FN_MOISTURE_CHANGE', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_CREATE_C', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_EDIT_C', models.IntegerField(blank=True, null=True)),
('FN_TEMPLATE_C', models.IntegerField(blank=True, null=True)),
('FN_TEMP', models.IntegerField(blank=True, null=True)),
('FN_ARCHIVED', models.IntegerField(blank=True, null=True)),
('FN_LEGACY_C', models.CharField(blank=True, max_length=15, null=True)),
('US_RECIPE_C', models.IntegerField(blank=True, null=True)),
('USDA_MODIFIED', models.BooleanField(blank=True, null=True)),
('USDA_TEMP', models.CharField(blank=True, max_length=35, null=True)),
('CANADA_FOOD_SUBGROUP_ID', models.IntegerField(blank=True, null=True)),
('CFGHE_FLAG', models.IntegerField(blank=True, null=True)),
('ORIG_CANADA_FOOD_SUBGROUP_ID', models.IntegerField(blank=True, null=True)),
('FOOD_OWNER', models.IntegerField(blank=True, null=True)),
('SHARED_FOOD', models.BooleanField(blank=True, null=True)),
('CANDI_REC_NUM', models.IntegerField(blank=True, null=True)),
('INHERITANCE_FLAG', models.IntegerField(blank=True, null=True)),
('FOOD_CODE', models.IntegerField(blank=True, null=True)),
('DATE_ENTRY', models.DateTimeField(blank=True, null=True)),
('DATE_CHANGE', models.DateTimeField(blank=True, null=True)),
('DATE_END', models.DateTimeField(blank=True, null=True)),
],
),
migrations.CreateModel(
name='FoodGroup',
fields=[
('GROUP_C', models.AutoField(primary_key=True, serialize=False)),
('GROUP_DESC', models.CharField(blank=True, max_length=500, null=True)),
('GROUP_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('GROUP_CODE', models.IntegerField(blank=True, null=True)),
('FG_GROUP_ABBRV', models.CharField(blank=True, max_length=10, null=True)),
('GROUP_COMPOSITE_FLG', models.BooleanField(blank=True, null=True)),
('GROUP_RECIPE_FLG', models.BooleanField(blank=True, null=True)),
('FG_DB_SOURCE_C', models.BooleanField(blank=True, null=True)),
('FG_BBCA_INDEX', models.IntegerField(blank=True, null=True)),
('GROUP_OWNER', models.IntegerField(blank=True, null=True)),
('SHARED_GROUP', models.IntegerField(blank=True, null=True)),
],
),
migrations.CreateModel(
name='FoodSource',
fields=[
('SOURCE_C', models.AutoField(primary_key=True, serialize=False)),
('SOURCE_DESC', models.CharField(blank=True, max_length=500, null=True)),
('SOURCE_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('NRD_REF', models.IntegerField(blank=True, null=True)),
('SHARED_SOURCE', models.BooleanField(blank=True, null=True)),
('SOURCE_OWNER', models.IntegerField(blank=True, null=True)),
('SOURCE_CNF_OWNER', models.IntegerField(blank=True, null=True)),
],
),
migrations.CreateModel(
name='MeasureType',
fields=[
('M_TYPE_ID', models.AutoField(primary_key=True, serialize=False)),
('M_TYPE_DESC', models.CharField(blank=True, max_length=500, null=True)),
('M_TYPE_ABBRV', models.CharField(blank=True, max_length=500, null=True)),
('M_TYPE_USER_SELECTABLE', models.BooleanField(blank=True, null=True)),
('M_TYPE_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
],
),
migrations.CreateModel(
name='Nutrient',
fields=[
('NUTR_C', models.AutoField(primary_key=True, serialize=False)),
('NUTR_SYMBOL', models.CharField(blank=True, max_length=500, null=True)),
('NUTR_NAME', models.CharField(blank=True, max_length=500, null=True)),
('NUTR_NAME_F', models.CharField(blank=True, max_length=500, null=True)),
('UNIT', models.CharField(blank=True, max_length=100, null=True)),
('SEQUENCE_C', models.IntegerField(blank=True, null=True)),
('NUTR_CODE', models.IntegerField(blank=True, null=True)),
('NUTR_WEB', models.BooleanField(blank=True, null=True)),
('NUTR_ACTIVE_FLAG', models.BooleanField(blank=True, null=True)),
('NUTR_DECIMAL_PLACE', models.IntegerField(blank=True, null=True)),
('NUTR_WEB_ORDER', models.IntegerField(blank=True, null=True)),
('NUTRIENT_GROUP_ID', models.IntegerField(blank=True, null=True)),
('TAGNAME', models.CharField(blank=True, max_length=100, null=True)),
('NUTR_WEB_NAME_E', models.CharField(blank=True, max_length=100, null=True)),
('NUTR_WEB_NAME_F', models.CharField(blank=True, max_length=100, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=100, null=True)),
],
),
migrations.CreateModel(
name='NutrientReference',
fields=[
('REF_C', models.AutoField(primary_key=True, serialize=False)),
('REF_DESC', models.CharField(blank=True, max_length=500, null=True)),
('REF_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
],
),
migrations.CreateModel(
name='NutrientSource',
fields=[
('NUTR_SOURCE_C', models.AutoField(primary_key=True, serialize=False)),
('SOURCE_DESC', models.CharField(blank=True, max_length=500, null=True)),
('SOURCE_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('NRD_REF', models.IntegerField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=500, null=True)),
],
),
migrations.CreateModel(
name='NutrientOfFood',
fields=[
('NUTR_AMOUNT_C', models.AutoField(primary_key=True, serialize=False)),
('NUTR_VALUE', models.FloatField(blank=True, null=True)),
('STD_ERROR', models.FloatField(blank=True, null=True)),
('NUM_OBSER', models.IntegerField(blank=True, null=True)),
('METHOD_C', models.IntegerField(blank=True, null=True)),
('COMMENT_T', models.CharField(blank=True, max_length=500, null=True)),
('FLAG_TRACE', models.BooleanField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=500, null=True)),
('USDA_SOURCE', models.IntegerField(blank=True, null=True)),
('USDA_DERIV', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_CREATE_C', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_EDIT_C', models.IntegerField(blank=True, null=True)),
('DATE_ENTRY', models.DateTimeField(blank=True, null=True)),
('DATE_CHANGE', models.DateTimeField(blank=True, null=True)),
('DATE_END', models.DateTimeField(blank=True, null=True)),
('PENTAHO_CREATE_DATE', models.DateTimeField(blank=True, null=True)),
('FOOD', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.Food')),
('NUTR', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.Nutrient')),
('REF', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.NutrientReference')),
('SOURCE', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.NutrientSource')),
],
),
migrations.CreateModel(
name='Measure',
fields=[
('MEASURE_ID', models.AutoField(primary_key=True, serialize=False)),
('MEASURE_DESC', models.CharField(blank=True, max_length=500, null=True)),
('MEASURE_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('MEASURE_ABBRV', models.CharField(blank=True, max_length=500, null=True)),
('MEASURE_ABBRV_F', models.CharField(blank=True, max_length=500, null=True)),
('MEASURE_OWNER', models.IntegerField(blank=True, null=True)),
('SHARED_MEASURE', models.BooleanField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=500, null=True)),
('M_TYPE', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.MeasureType')),
],
),
migrations.CreateModel(
name='HistoricalNutrientOfFood',
fields=[
('NUTR_AMOUNT_C', models.IntegerField(blank=True, db_index=True)),
('NUTR_VALUE', models.FloatField(blank=True, null=True)),
('STD_ERROR', models.FloatField(blank=True, null=True)),
('NUM_OBSER', models.IntegerField(blank=True, null=True)),
('METHOD_C', models.IntegerField(blank=True, null=True)),
('COMMENT_T', models.CharField(blank=True, max_length=500, null=True)),
('FLAG_TRACE', models.BooleanField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=500, null=True)),
('USDA_SOURCE', models.IntegerField(blank=True, null=True)),
('USDA_DERIV', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_CREATE_C', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_EDIT_C', models.IntegerField(blank=True, null=True)),
('DATE_ENTRY', models.DateTimeField(blank=True, null=True)),
('DATE_CHANGE', models.DateTimeField(blank=True, null=True)),
('DATE_END', models.DateTimeField(blank=True, null=True)),
('PENTAHO_CREATE_DATE', models.DateTimeField(blank=True, null=True)),
('history_id', models.AutoField(primary_key=True, serialize=False)),
('history_date', models.DateTimeField()),
('history_change_reason', models.CharField(max_length=100, null=True)),
('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
('FOOD', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.Food')),
('NUTR', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.Nutrient')),
('REF', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.NutrientReference')),
('SOURCE', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.NutrientSource')),
('history_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'historical nutrient of food',
'ordering': ('-history_date', '-history_id'),
'get_latest_by': 'history_date',
},
bases=(simple_history.models.HistoricalChanges, models.Model),
),
migrations.CreateModel(
name='HistoricalNutrient',
fields=[
('NUTR_C', models.IntegerField(blank=True, db_index=True)),
('NUTR_SYMBOL', models.CharField(blank=True, max_length=500, null=True)),
('NUTR_NAME', models.CharField(blank=True, max_length=500, null=True)),
('NUTR_NAME_F', models.CharField(blank=True, max_length=500, null=True)),
('UNIT', models.CharField(blank=True, max_length=100, null=True)),
('SEQUENCE_C', models.IntegerField(blank=True, null=True)),
('NUTR_CODE', models.IntegerField(blank=True, null=True)),
('NUTR_WEB', models.BooleanField(blank=True, null=True)),
('NUTR_ACTIVE_FLAG', models.BooleanField(blank=True, null=True)),
('NUTR_DECIMAL_PLACE', models.IntegerField(blank=True, null=True)),
('NUTR_WEB_ORDER', models.IntegerField(blank=True, null=True)),
('NUTRIENT_GROUP_ID', models.IntegerField(blank=True, null=True)),
('TAGNAME', models.CharField(blank=True, max_length=100, null=True)),
('NUTR_WEB_NAME_E', models.CharField(blank=True, max_length=100, null=True)),
('NUTR_WEB_NAME_F', models.CharField(blank=True, max_length=100, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=100, null=True)),
('history_id', models.AutoField(primary_key=True, serialize=False)),
('history_date', models.DateTimeField()),
('history_change_reason', models.CharField(max_length=100, null=True)),
('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
('history_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'historical nutrient',
'ordering': ('-history_date', '-history_id'),
'get_latest_by': 'history_date',
},
bases=(simple_history.models.HistoricalChanges, models.Model),
),
migrations.CreateModel(
name='HistoricalFoodSource',
fields=[
('SOURCE_C', models.IntegerField(blank=True, db_index=True)),
('SOURCE_DESC', models.CharField(blank=True, max_length=500, null=True)),
('SOURCE_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('NRD_REF', models.IntegerField(blank=True, null=True)),
('SHARED_SOURCE', models.BooleanField(blank=True, null=True)),
('SOURCE_OWNER', models.IntegerField(blank=True, null=True)),
('SOURCE_CNF_OWNER', models.IntegerField(blank=True, null=True)),
('history_id', models.AutoField(primary_key=True, serialize=False)),
('history_date', models.DateTimeField()),
('history_change_reason', models.CharField(max_length=100, null=True)),
('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
('history_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'historical food source',
'ordering': ('-history_date', '-history_id'),
'get_latest_by': 'history_date',
},
bases=(simple_history.models.HistoricalChanges, models.Model),
),
migrations.CreateModel(
name='HistoricalFoodGroup',
fields=[
('GROUP_C', models.IntegerField(blank=True, db_index=True)),
('GROUP_DESC', models.CharField(blank=True, max_length=500, null=True)),
('GROUP_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('GROUP_CODE', models.IntegerField(blank=True, null=True)),
('FG_GROUP_ABBRV', models.CharField(blank=True, max_length=10, null=True)),
('GROUP_COMPOSITE_FLG', models.BooleanField(blank=True, null=True)),
('GROUP_RECIPE_FLG', models.BooleanField(blank=True, null=True)),
('FG_DB_SOURCE_C', models.BooleanField(blank=True, null=True)),
('FG_BBCA_INDEX', models.IntegerField(blank=True, null=True)),
('GROUP_OWNER', models.IntegerField(blank=True, null=True)),
('SHARED_GROUP', models.IntegerField(blank=True, null=True)),
('history_id', models.AutoField(primary_key=True, serialize=False)),
('history_date', models.DateTimeField()),
('history_change_reason', models.CharField(max_length=100, null=True)),
('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
('history_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'historical food group',
'ordering': ('-history_date', '-history_id'),
'get_latest_by': 'history_date',
},
bases=(simple_history.models.HistoricalChanges, models.Model),
),
migrations.CreateModel(
name='HistoricalFood',
fields=[
('FOOD_C', models.IntegerField(blank=True, db_index=True)),
('ENG_NAME', models.CharField(blank=True, max_length=500, null=True)),
('FR_NAME', models.CharField(blank=True, max_length=500, null=True)),
('FOOD_DESC', models.CharField(blank=True, max_length=500, null=True)),
('FOOD_DESC_F', models.CharField(blank=True, max_length=500, null=True)),
('NUT_CAN_C', models.IntegerField(blank=True, null=True)),
('CNF_FLAG', models.BooleanField(blank=True, null=True)),
('COUNTRY_C', models.IntegerField(blank=True, null=True)),
('COMMENT_T', models.CharField(blank=True, max_length=500, null=True)),
('FN_COMMENT_F', models.CharField(blank=True, max_length=500, null=True)),
('FOOD_REFERENCE', models.CharField(blank=True, max_length=500, null=True)),
('SCIENTIFIC_NAME', models.CharField(blank=True, max_length=500, null=True)),
('PUBLICATION_FLAG', models.BooleanField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=10, null=True)),
('ITEM_C', models.IntegerField(blank=True, null=True)),
('SEQUENCE_C', models.IntegerField(blank=True, null=True)),
('LEGACY_GROUP_C', models.IntegerField(blank=True, null=True)),
('COMMON_NM_E', models.CharField(blank=True, max_length=500, null=True)),
('COMMON_NM_F', models.CharField(blank=True, max_length=500, null=True)),
('FN_DB_SOURCE_C', models.IntegerField(blank=True, null=True)),
('FN_RECIPE_FLG', models.BooleanField(blank=True, null=True)),
('FN_SYSTEM_VIEW_C', models.IntegerField(blank=True, null=True)),
('FN_FAT_CHANGE', models.IntegerField(blank=True, null=True)),
('FN_MOISTURE_CHANGE', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_CREATE_C', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_EDIT_C', models.IntegerField(blank=True, null=True)),
('FN_TEMPLATE_C', models.IntegerField(blank=True, null=True)),
('FN_TEMP', models.IntegerField(blank=True, null=True)),
('FN_ARCHIVED', models.IntegerField(blank=True, null=True)),
('FN_LEGACY_C', models.CharField(blank=True, max_length=15, null=True)),
('US_RECIPE_C', models.IntegerField(blank=True, null=True)),
('USDA_MODIFIED', models.BooleanField(blank=True, null=True)),
('USDA_TEMP', models.CharField(blank=True, max_length=35, null=True)),
('CANADA_FOOD_SUBGROUP_ID', models.IntegerField(blank=True, null=True)),
('CFGHE_FLAG', models.IntegerField(blank=True, null=True)),
('ORIG_CANADA_FOOD_SUBGROUP_ID', models.IntegerField(blank=True, null=True)),
('FOOD_OWNER', models.IntegerField(blank=True, null=True)),
('SHARED_FOOD', models.BooleanField(blank=True, null=True)),
('CANDI_REC_NUM', models.IntegerField(blank=True, null=True)),
('INHERITANCE_FLAG', models.IntegerField(blank=True, null=True)),
('FOOD_CODE', models.IntegerField(blank=True, null=True)),
('DATE_ENTRY', models.DateTimeField(blank=True, null=True)),
('DATE_CHANGE', models.DateTimeField(blank=True, null=True)),
('DATE_END', models.DateTimeField(blank=True, null=True)),
('history_id', models.AutoField(primary_key=True, serialize=False)),
('history_date', models.DateTimeField()),
('history_change_reason', models.CharField(max_length=100, null=True)),
('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
('GROUP', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.FoodGroup')),
('SOURCE', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.FoodSource')),
('history_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'historical food',
'ordering': ('-history_date', '-history_id'),
'get_latest_by': 'history_date',
},
bases=(simple_history.models.HistoricalChanges, models.Model),
),
migrations.CreateModel(
name='HistoricalConversionFactor',
fields=[
('CF_FACTOR_C', models.IntegerField(blank=True, db_index=True)),
('CONV_FACTOR', models.FloatField(blank=True, null=True)),
('COMMENT_T', models.CharField(blank=True, max_length=500, null=True)),
('CF_COMMENT_F', models.CharField(blank=True, max_length=500, null=True)),
('FLAG_CFG', models.BooleanField(blank=True, null=True)),
('NO_SERVING', models.IntegerField(blank=True, null=True)),
('VALID_NULL_CF', models.IntegerField(blank=True, null=True)),
('CF_REF_ID', models.IntegerField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=25, null=True)),
('SEQ_WEB', models.IntegerField(blank=True, null=True)),
('FLAG_REFERENCE_AMOUNT', models.BooleanField(blank=True, null=True)),
('SHOW_SERVING_SIZE', models.BooleanField(blank=True, null=True)),
('CF_OWNER', models.IntegerField(blank=True, null=True)),
('SHARED_CF', models.BooleanField(blank=True, null=True)),
('FLAG_REPORT', models.BooleanField(blank=True, null=True)),
('FN_SYS_USER_CREATE_C', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_EDIT_C', models.IntegerField(blank=True, null=True)),
('PUBLICATION_FLAG', models.BooleanField(blank=True, null=True)),
('DATE_ENTRY', models.DateTimeField(blank=True, null=True)),
('DATE_END', models.DateTimeField(blank=True, null=True)),
('history_id', models.AutoField(primary_key=True, serialize=False)),
('history_date', models.DateTimeField()),
('history_change_reason', models.CharField(max_length=100, null=True)),
('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
('FOOD_C', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.Food')),
('MEASURE_ID', models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='api.Measure')),
('history_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'historical conversion factor',
'ordering': ('-history_date', '-history_id'),
'get_latest_by': 'history_date',
},
bases=(simple_history.models.HistoricalChanges, models.Model),
),
migrations.AddField(
model_name='food',
name='GROUP',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='api.FoodGroup'),
),
migrations.AddField(
model_name='food',
name='SOURCE',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='api.FoodSource'),
),
migrations.CreateModel(
name='ConversionFactor',
fields=[
('CF_FACTOR_C', models.AutoField(primary_key=True, serialize=False)),
('CONV_FACTOR', models.FloatField(blank=True, null=True)),
('COMMENT_T', models.CharField(blank=True, max_length=500, null=True)),
('CF_COMMENT_F', models.CharField(blank=True, max_length=500, null=True)),
('FLAG_CFG', models.BooleanField(blank=True, null=True)),
('NO_SERVING', models.IntegerField(blank=True, null=True)),
('VALID_NULL_CF', models.IntegerField(blank=True, null=True)),
('CF_REF_ID', models.IntegerField(blank=True, null=True)),
('PUBLICATION_CODE', models.CharField(blank=True, max_length=25, null=True)),
('SEQ_WEB', models.IntegerField(blank=True, null=True)),
('FLAG_REFERENCE_AMOUNT', models.BooleanField(blank=True, null=True)),
('SHOW_SERVING_SIZE', models.BooleanField(blank=True, null=True)),
('CF_OWNER', models.IntegerField(blank=True, null=True)),
('SHARED_CF', models.BooleanField(blank=True, null=True)),
('FLAG_REPORT', models.BooleanField(blank=True, null=True)),
('FN_SYS_USER_CREATE_C', models.IntegerField(blank=True, null=True)),
('FN_SYS_USER_EDIT_C', models.IntegerField(blank=True, null=True)),
('PUBLICATION_FLAG', models.BooleanField(blank=True, null=True)),
('DATE_ENTRY', models.DateTimeField(blank=True, null=True)),
('DATE_END', models.DateTimeField(blank=True, null=True)),
('FOOD_C', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.Food')),
('MEASURE_ID', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.Measure')),
],
),
]
| 69.022779
| 181
| 0.602488
| 3,321
| 30,301
| 5.298404
| 0.058115
| 0.119118
| 0.121903
| 0.159411
| 0.949534
| 0.944703
| 0.938566
| 0.93669
| 0.906115
| 0.892817
| 0
| 0.011102
| 0.244975
| 30,301
| 438
| 182
| 69.180365
| 0.758021
| 0.001485
| 0
| 0.800464
| 1
| 0
| 0.154459
| 0.012693
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.009281
| 0
| 0.018561
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
b7de54192934ebae43f6d17b82c6d708f49ef3d9
| 35,403
|
py
|
Python
|
sdk/python/pulumi_aws/cur/report_definition.py
|
alexbowers/pulumi-aws
|
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
|
[
"ECL-2.0",
"Apache-2.0"
] | 260
|
2018-06-18T14:57:00.000Z
|
2022-03-29T11:41:03.000Z
|
sdk/python/pulumi_aws/cur/report_definition.py
|
alexbowers/pulumi-aws
|
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
|
[
"ECL-2.0",
"Apache-2.0"
] | 1,154
|
2018-06-19T20:38:20.000Z
|
2022-03-31T19:48:16.000Z
|
sdk/python/pulumi_aws/cur/report_definition.py
|
alexbowers/pulumi-aws
|
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
|
[
"ECL-2.0",
"Apache-2.0"
] | 115
|
2018-06-28T03:20:27.000Z
|
2022-03-29T11:41:06.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['ReportDefinitionArgs', 'ReportDefinition']
@pulumi.input_type
class ReportDefinitionArgs:
def __init__(__self__, *,
additional_schema_elements: pulumi.Input[Sequence[pulumi.Input[str]]],
compression: pulumi.Input[str],
format: pulumi.Input[str],
report_name: pulumi.Input[str],
s3_bucket: pulumi.Input[str],
s3_region: pulumi.Input[str],
time_unit: pulumi.Input[str],
additional_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
refresh_closed_reports: Optional[pulumi.Input[bool]] = None,
report_versioning: Optional[pulumi.Input[str]] = None,
s3_prefix: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a ReportDefinition resource.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_schema_elements: A list of schema elements. Valid values are: `RESOURCES`.
:param pulumi.Input[str] compression: Compression format for report. Valid values are: `GZIP`, `ZIP`, `Parquet`. If `Parquet` is used, then format must also be `Parquet`.
:param pulumi.Input[str] format: Format for report. Valid values are: `textORcsv`, `Parquet`. If `Parquet` is used, then Compression must also be `Parquet`.
:param pulumi.Input[str] report_name: Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
:param pulumi.Input[str] s3_bucket: Name of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] s3_region: Region of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] time_unit: The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_artifacts: A list of additional artifacts. Valid values are: `REDSHIFT`, `QUICKSIGHT`, `ATHENA`. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must be `OVERWRITE_REPORT`.
:param pulumi.Input[bool] refresh_closed_reports: Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
:param pulumi.Input[str] report_versioning: Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: `CREATE_NEW_REPORT` and `OVERWRITE_REPORT`.
:param pulumi.Input[str] s3_prefix: Report path prefix. Limited to 256 characters.
"""
pulumi.set(__self__, "additional_schema_elements", additional_schema_elements)
pulumi.set(__self__, "compression", compression)
pulumi.set(__self__, "format", format)
pulumi.set(__self__, "report_name", report_name)
pulumi.set(__self__, "s3_bucket", s3_bucket)
pulumi.set(__self__, "s3_region", s3_region)
pulumi.set(__self__, "time_unit", time_unit)
if additional_artifacts is not None:
pulumi.set(__self__, "additional_artifacts", additional_artifacts)
if refresh_closed_reports is not None:
pulumi.set(__self__, "refresh_closed_reports", refresh_closed_reports)
if report_versioning is not None:
pulumi.set(__self__, "report_versioning", report_versioning)
if s3_prefix is not None:
pulumi.set(__self__, "s3_prefix", s3_prefix)
@property
@pulumi.getter(name="additionalSchemaElements")
def additional_schema_elements(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
"""
A list of schema elements. Valid values are: `RESOURCES`.
"""
return pulumi.get(self, "additional_schema_elements")
@additional_schema_elements.setter
def additional_schema_elements(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
pulumi.set(self, "additional_schema_elements", value)
@property
@pulumi.getter
def compression(self) -> pulumi.Input[str]:
"""
Compression format for report. Valid values are: `GZIP`, `ZIP`, `Parquet`. If `Parquet` is used, then format must also be `Parquet`.
"""
return pulumi.get(self, "compression")
@compression.setter
def compression(self, value: pulumi.Input[str]):
pulumi.set(self, "compression", value)
@property
@pulumi.getter
def format(self) -> pulumi.Input[str]:
"""
Format for report. Valid values are: `textORcsv`, `Parquet`. If `Parquet` is used, then Compression must also be `Parquet`.
"""
return pulumi.get(self, "format")
@format.setter
def format(self, value: pulumi.Input[str]):
pulumi.set(self, "format", value)
@property
@pulumi.getter(name="reportName")
def report_name(self) -> pulumi.Input[str]:
"""
Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
"""
return pulumi.get(self, "report_name")
@report_name.setter
def report_name(self, value: pulumi.Input[str]):
pulumi.set(self, "report_name", value)
@property
@pulumi.getter(name="s3Bucket")
def s3_bucket(self) -> pulumi.Input[str]:
"""
Name of the existing S3 bucket to hold generated reports.
"""
return pulumi.get(self, "s3_bucket")
@s3_bucket.setter
def s3_bucket(self, value: pulumi.Input[str]):
pulumi.set(self, "s3_bucket", value)
@property
@pulumi.getter(name="s3Region")
def s3_region(self) -> pulumi.Input[str]:
"""
Region of the existing S3 bucket to hold generated reports.
"""
return pulumi.get(self, "s3_region")
@s3_region.setter
def s3_region(self, value: pulumi.Input[str]):
pulumi.set(self, "s3_region", value)
@property
@pulumi.getter(name="timeUnit")
def time_unit(self) -> pulumi.Input[str]:
"""
The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
"""
return pulumi.get(self, "time_unit")
@time_unit.setter
def time_unit(self, value: pulumi.Input[str]):
pulumi.set(self, "time_unit", value)
@property
@pulumi.getter(name="additionalArtifacts")
def additional_artifacts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of additional artifacts. Valid values are: `REDSHIFT`, `QUICKSIGHT`, `ATHENA`. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must be `OVERWRITE_REPORT`.
"""
return pulumi.get(self, "additional_artifacts")
@additional_artifacts.setter
def additional_artifacts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "additional_artifacts", value)
@property
@pulumi.getter(name="refreshClosedReports")
def refresh_closed_reports(self) -> Optional[pulumi.Input[bool]]:
"""
Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
"""
return pulumi.get(self, "refresh_closed_reports")
@refresh_closed_reports.setter
def refresh_closed_reports(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "refresh_closed_reports", value)
@property
@pulumi.getter(name="reportVersioning")
def report_versioning(self) -> Optional[pulumi.Input[str]]:
"""
Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: `CREATE_NEW_REPORT` and `OVERWRITE_REPORT`.
"""
return pulumi.get(self, "report_versioning")
@report_versioning.setter
def report_versioning(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "report_versioning", value)
@property
@pulumi.getter(name="s3Prefix")
def s3_prefix(self) -> Optional[pulumi.Input[str]]:
"""
Report path prefix. Limited to 256 characters.
"""
return pulumi.get(self, "s3_prefix")
@s3_prefix.setter
def s3_prefix(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "s3_prefix", value)
@pulumi.input_type
class _ReportDefinitionState:
def __init__(__self__, *,
additional_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
additional_schema_elements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
arn: Optional[pulumi.Input[str]] = None,
compression: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None,
refresh_closed_reports: Optional[pulumi.Input[bool]] = None,
report_name: Optional[pulumi.Input[str]] = None,
report_versioning: Optional[pulumi.Input[str]] = None,
s3_bucket: Optional[pulumi.Input[str]] = None,
s3_prefix: Optional[pulumi.Input[str]] = None,
s3_region: Optional[pulumi.Input[str]] = None,
time_unit: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering ReportDefinition resources.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_artifacts: A list of additional artifacts. Valid values are: `REDSHIFT`, `QUICKSIGHT`, `ATHENA`. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must be `OVERWRITE_REPORT`.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_schema_elements: A list of schema elements. Valid values are: `RESOURCES`.
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) specifying the cur report.
:param pulumi.Input[str] compression: Compression format for report. Valid values are: `GZIP`, `ZIP`, `Parquet`. If `Parquet` is used, then format must also be `Parquet`.
:param pulumi.Input[str] format: Format for report. Valid values are: `textORcsv`, `Parquet`. If `Parquet` is used, then Compression must also be `Parquet`.
:param pulumi.Input[bool] refresh_closed_reports: Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
:param pulumi.Input[str] report_name: Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
:param pulumi.Input[str] report_versioning: Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: `CREATE_NEW_REPORT` and `OVERWRITE_REPORT`.
:param pulumi.Input[str] s3_bucket: Name of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] s3_prefix: Report path prefix. Limited to 256 characters.
:param pulumi.Input[str] s3_region: Region of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] time_unit: The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
"""
if additional_artifacts is not None:
pulumi.set(__self__, "additional_artifacts", additional_artifacts)
if additional_schema_elements is not None:
pulumi.set(__self__, "additional_schema_elements", additional_schema_elements)
if arn is not None:
pulumi.set(__self__, "arn", arn)
if compression is not None:
pulumi.set(__self__, "compression", compression)
if format is not None:
pulumi.set(__self__, "format", format)
if refresh_closed_reports is not None:
pulumi.set(__self__, "refresh_closed_reports", refresh_closed_reports)
if report_name is not None:
pulumi.set(__self__, "report_name", report_name)
if report_versioning is not None:
pulumi.set(__self__, "report_versioning", report_versioning)
if s3_bucket is not None:
pulumi.set(__self__, "s3_bucket", s3_bucket)
if s3_prefix is not None:
pulumi.set(__self__, "s3_prefix", s3_prefix)
if s3_region is not None:
pulumi.set(__self__, "s3_region", s3_region)
if time_unit is not None:
pulumi.set(__self__, "time_unit", time_unit)
@property
@pulumi.getter(name="additionalArtifacts")
def additional_artifacts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of additional artifacts. Valid values are: `REDSHIFT`, `QUICKSIGHT`, `ATHENA`. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must be `OVERWRITE_REPORT`.
"""
return pulumi.get(self, "additional_artifacts")
@additional_artifacts.setter
def additional_artifacts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "additional_artifacts", value)
@property
@pulumi.getter(name="additionalSchemaElements")
def additional_schema_elements(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of schema elements. Valid values are: `RESOURCES`.
"""
return pulumi.get(self, "additional_schema_elements")
@additional_schema_elements.setter
def additional_schema_elements(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "additional_schema_elements", value)
@property
@pulumi.getter
def arn(self) -> Optional[pulumi.Input[str]]:
"""
The Amazon Resource Name (ARN) specifying the cur report.
"""
return pulumi.get(self, "arn")
@arn.setter
def arn(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "arn", value)
@property
@pulumi.getter
def compression(self) -> Optional[pulumi.Input[str]]:
"""
Compression format for report. Valid values are: `GZIP`, `ZIP`, `Parquet`. If `Parquet` is used, then format must also be `Parquet`.
"""
return pulumi.get(self, "compression")
@compression.setter
def compression(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "compression", value)
@property
@pulumi.getter
def format(self) -> Optional[pulumi.Input[str]]:
"""
Format for report. Valid values are: `textORcsv`, `Parquet`. If `Parquet` is used, then Compression must also be `Parquet`.
"""
return pulumi.get(self, "format")
@format.setter
def format(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "format", value)
@property
@pulumi.getter(name="refreshClosedReports")
def refresh_closed_reports(self) -> Optional[pulumi.Input[bool]]:
"""
Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
"""
return pulumi.get(self, "refresh_closed_reports")
@refresh_closed_reports.setter
def refresh_closed_reports(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "refresh_closed_reports", value)
@property
@pulumi.getter(name="reportName")
def report_name(self) -> Optional[pulumi.Input[str]]:
"""
Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
"""
return pulumi.get(self, "report_name")
@report_name.setter
def report_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "report_name", value)
@property
@pulumi.getter(name="reportVersioning")
def report_versioning(self) -> Optional[pulumi.Input[str]]:
"""
Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: `CREATE_NEW_REPORT` and `OVERWRITE_REPORT`.
"""
return pulumi.get(self, "report_versioning")
@report_versioning.setter
def report_versioning(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "report_versioning", value)
@property
@pulumi.getter(name="s3Bucket")
def s3_bucket(self) -> Optional[pulumi.Input[str]]:
"""
Name of the existing S3 bucket to hold generated reports.
"""
return pulumi.get(self, "s3_bucket")
@s3_bucket.setter
def s3_bucket(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "s3_bucket", value)
@property
@pulumi.getter(name="s3Prefix")
def s3_prefix(self) -> Optional[pulumi.Input[str]]:
"""
Report path prefix. Limited to 256 characters.
"""
return pulumi.get(self, "s3_prefix")
@s3_prefix.setter
def s3_prefix(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "s3_prefix", value)
@property
@pulumi.getter(name="s3Region")
def s3_region(self) -> Optional[pulumi.Input[str]]:
"""
Region of the existing S3 bucket to hold generated reports.
"""
return pulumi.get(self, "s3_region")
@s3_region.setter
def s3_region(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "s3_region", value)
@property
@pulumi.getter(name="timeUnit")
def time_unit(self) -> Optional[pulumi.Input[str]]:
"""
The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
"""
return pulumi.get(self, "time_unit")
@time_unit.setter
def time_unit(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "time_unit", value)
class ReportDefinition(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
additional_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
additional_schema_elements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
compression: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None,
refresh_closed_reports: Optional[pulumi.Input[bool]] = None,
report_name: Optional[pulumi.Input[str]] = None,
report_versioning: Optional[pulumi.Input[str]] = None,
s3_bucket: Optional[pulumi.Input[str]] = None,
s3_prefix: Optional[pulumi.Input[str]] = None,
s3_region: Optional[pulumi.Input[str]] = None,
time_unit: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
Manages Cost and Usage Report Definitions.
> *NOTE:* The AWS Cost and Usage Report service is only available in `us-east-1` currently.
> *NOTE:* If AWS Organizations is enabled, only the master account can use this resource.
## Example Usage
```python
import pulumi
import pulumi_aws as aws
example_cur_report_definition = aws.cur.ReportDefinition("exampleCurReportDefinition",
additional_artifacts=[
"REDSHIFT",
"QUICKSIGHT",
],
additional_schema_elements=["RESOURCES"],
compression="GZIP",
format="textORcsv",
report_name="example-cur-report-definition",
s3_bucket="example-bucket-name",
s3_region="us-east-1",
time_unit="HOURLY")
```
## Import
Report Definitions can be imported using the `report_name`, e.g.
```sh
$ pulumi import aws:cur/reportDefinition:ReportDefinition example_cur_report_definition example-cur-report-definition
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_artifacts: A list of additional artifacts. Valid values are: `REDSHIFT`, `QUICKSIGHT`, `ATHENA`. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must be `OVERWRITE_REPORT`.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_schema_elements: A list of schema elements. Valid values are: `RESOURCES`.
:param pulumi.Input[str] compression: Compression format for report. Valid values are: `GZIP`, `ZIP`, `Parquet`. If `Parquet` is used, then format must also be `Parquet`.
:param pulumi.Input[str] format: Format for report. Valid values are: `textORcsv`, `Parquet`. If `Parquet` is used, then Compression must also be `Parquet`.
:param pulumi.Input[bool] refresh_closed_reports: Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
:param pulumi.Input[str] report_name: Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
:param pulumi.Input[str] report_versioning: Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: `CREATE_NEW_REPORT` and `OVERWRITE_REPORT`.
:param pulumi.Input[str] s3_bucket: Name of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] s3_prefix: Report path prefix. Limited to 256 characters.
:param pulumi.Input[str] s3_region: Region of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] time_unit: The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: ReportDefinitionArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Manages Cost and Usage Report Definitions.
> *NOTE:* The AWS Cost and Usage Report service is only available in `us-east-1` currently.
> *NOTE:* If AWS Organizations is enabled, only the master account can use this resource.
## Example Usage
```python
import pulumi
import pulumi_aws as aws
example_cur_report_definition = aws.cur.ReportDefinition("exampleCurReportDefinition",
additional_artifacts=[
"REDSHIFT",
"QUICKSIGHT",
],
additional_schema_elements=["RESOURCES"],
compression="GZIP",
format="textORcsv",
report_name="example-cur-report-definition",
s3_bucket="example-bucket-name",
s3_region="us-east-1",
time_unit="HOURLY")
```
## Import
Report Definitions can be imported using the `report_name`, e.g.
```sh
$ pulumi import aws:cur/reportDefinition:ReportDefinition example_cur_report_definition example-cur-report-definition
```
:param str resource_name: The name of the resource.
:param ReportDefinitionArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(ReportDefinitionArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
additional_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
additional_schema_elements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
compression: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None,
refresh_closed_reports: Optional[pulumi.Input[bool]] = None,
report_name: Optional[pulumi.Input[str]] = None,
report_versioning: Optional[pulumi.Input[str]] = None,
s3_bucket: Optional[pulumi.Input[str]] = None,
s3_prefix: Optional[pulumi.Input[str]] = None,
s3_region: Optional[pulumi.Input[str]] = None,
time_unit: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = ReportDefinitionArgs.__new__(ReportDefinitionArgs)
__props__.__dict__["additional_artifacts"] = additional_artifacts
if additional_schema_elements is None and not opts.urn:
raise TypeError("Missing required property 'additional_schema_elements'")
__props__.__dict__["additional_schema_elements"] = additional_schema_elements
if compression is None and not opts.urn:
raise TypeError("Missing required property 'compression'")
__props__.__dict__["compression"] = compression
if format is None and not opts.urn:
raise TypeError("Missing required property 'format'")
__props__.__dict__["format"] = format
__props__.__dict__["refresh_closed_reports"] = refresh_closed_reports
if report_name is None and not opts.urn:
raise TypeError("Missing required property 'report_name'")
__props__.__dict__["report_name"] = report_name
__props__.__dict__["report_versioning"] = report_versioning
if s3_bucket is None and not opts.urn:
raise TypeError("Missing required property 's3_bucket'")
__props__.__dict__["s3_bucket"] = s3_bucket
__props__.__dict__["s3_prefix"] = s3_prefix
if s3_region is None and not opts.urn:
raise TypeError("Missing required property 's3_region'")
__props__.__dict__["s3_region"] = s3_region
if time_unit is None and not opts.urn:
raise TypeError("Missing required property 'time_unit'")
__props__.__dict__["time_unit"] = time_unit
__props__.__dict__["arn"] = None
super(ReportDefinition, __self__).__init__(
'aws:cur/reportDefinition:ReportDefinition',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
additional_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
additional_schema_elements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
arn: Optional[pulumi.Input[str]] = None,
compression: Optional[pulumi.Input[str]] = None,
format: Optional[pulumi.Input[str]] = None,
refresh_closed_reports: Optional[pulumi.Input[bool]] = None,
report_name: Optional[pulumi.Input[str]] = None,
report_versioning: Optional[pulumi.Input[str]] = None,
s3_bucket: Optional[pulumi.Input[str]] = None,
s3_prefix: Optional[pulumi.Input[str]] = None,
s3_region: Optional[pulumi.Input[str]] = None,
time_unit: Optional[pulumi.Input[str]] = None) -> 'ReportDefinition':
"""
Get an existing ReportDefinition resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_artifacts: A list of additional artifacts. Valid values are: `REDSHIFT`, `QUICKSIGHT`, `ATHENA`. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must be `OVERWRITE_REPORT`.
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_schema_elements: A list of schema elements. Valid values are: `RESOURCES`.
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) specifying the cur report.
:param pulumi.Input[str] compression: Compression format for report. Valid values are: `GZIP`, `ZIP`, `Parquet`. If `Parquet` is used, then format must also be `Parquet`.
:param pulumi.Input[str] format: Format for report. Valid values are: `textORcsv`, `Parquet`. If `Parquet` is used, then Compression must also be `Parquet`.
:param pulumi.Input[bool] refresh_closed_reports: Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
:param pulumi.Input[str] report_name: Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
:param pulumi.Input[str] report_versioning: Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: `CREATE_NEW_REPORT` and `OVERWRITE_REPORT`.
:param pulumi.Input[str] s3_bucket: Name of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] s3_prefix: Report path prefix. Limited to 256 characters.
:param pulumi.Input[str] s3_region: Region of the existing S3 bucket to hold generated reports.
:param pulumi.Input[str] time_unit: The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _ReportDefinitionState.__new__(_ReportDefinitionState)
__props__.__dict__["additional_artifacts"] = additional_artifacts
__props__.__dict__["additional_schema_elements"] = additional_schema_elements
__props__.__dict__["arn"] = arn
__props__.__dict__["compression"] = compression
__props__.__dict__["format"] = format
__props__.__dict__["refresh_closed_reports"] = refresh_closed_reports
__props__.__dict__["report_name"] = report_name
__props__.__dict__["report_versioning"] = report_versioning
__props__.__dict__["s3_bucket"] = s3_bucket
__props__.__dict__["s3_prefix"] = s3_prefix
__props__.__dict__["s3_region"] = s3_region
__props__.__dict__["time_unit"] = time_unit
return ReportDefinition(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="additionalArtifacts")
def additional_artifacts(self) -> pulumi.Output[Optional[Sequence[str]]]:
"""
A list of additional artifacts. Valid values are: `REDSHIFT`, `QUICKSIGHT`, `ATHENA`. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must be `OVERWRITE_REPORT`.
"""
return pulumi.get(self, "additional_artifacts")
@property
@pulumi.getter(name="additionalSchemaElements")
def additional_schema_elements(self) -> pulumi.Output[Sequence[str]]:
"""
A list of schema elements. Valid values are: `RESOURCES`.
"""
return pulumi.get(self, "additional_schema_elements")
@property
@pulumi.getter
def arn(self) -> pulumi.Output[str]:
"""
The Amazon Resource Name (ARN) specifying the cur report.
"""
return pulumi.get(self, "arn")
@property
@pulumi.getter
def compression(self) -> pulumi.Output[str]:
"""
Compression format for report. Valid values are: `GZIP`, `ZIP`, `Parquet`. If `Parquet` is used, then format must also be `Parquet`.
"""
return pulumi.get(self, "compression")
@property
@pulumi.getter
def format(self) -> pulumi.Output[str]:
"""
Format for report. Valid values are: `textORcsv`, `Parquet`. If `Parquet` is used, then Compression must also be `Parquet`.
"""
return pulumi.get(self, "format")
@property
@pulumi.getter(name="refreshClosedReports")
def refresh_closed_reports(self) -> pulumi.Output[Optional[bool]]:
"""
Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
"""
return pulumi.get(self, "refresh_closed_reports")
@property
@pulumi.getter(name="reportName")
def report_name(self) -> pulumi.Output[str]:
"""
Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
"""
return pulumi.get(self, "report_name")
@property
@pulumi.getter(name="reportVersioning")
def report_versioning(self) -> pulumi.Output[Optional[str]]:
"""
Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: `CREATE_NEW_REPORT` and `OVERWRITE_REPORT`.
"""
return pulumi.get(self, "report_versioning")
@property
@pulumi.getter(name="s3Bucket")
def s3_bucket(self) -> pulumi.Output[str]:
"""
Name of the existing S3 bucket to hold generated reports.
"""
return pulumi.get(self, "s3_bucket")
@property
@pulumi.getter(name="s3Prefix")
def s3_prefix(self) -> pulumi.Output[Optional[str]]:
"""
Report path prefix. Limited to 256 characters.
"""
return pulumi.get(self, "s3_prefix")
@property
@pulumi.getter(name="s3Region")
def s3_region(self) -> pulumi.Output[str]:
"""
Region of the existing S3 bucket to hold generated reports.
"""
return pulumi.get(self, "s3_region")
@property
@pulumi.getter(name="timeUnit")
def time_unit(self) -> pulumi.Output[str]:
"""
The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
"""
return pulumi.get(self, "time_unit")
| 49.376569
| 301
| 0.664831
| 4,232
| 35,403
| 5.361295
| 0.055766
| 0.086782
| 0.085151
| 0.056239
| 0.913703
| 0.891181
| 0.877518
| 0.856538
| 0.845123
| 0.820574
| 0
| 0.006225
| 0.233144
| 35,403
| 716
| 302
| 49.445531
| 0.829496
| 0.380787
| 0
| 0.705
| 1
| 0
| 0.11148
| 0.028403
| 0
| 0
| 0
| 0
| 0
| 1
| 0.1625
| false
| 0.0025
| 0.0125
| 0
| 0.2725
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
4d06528da5987b081ac334786e1e3c4606f6e369
| 7,235
|
py
|
Python
|
loldib/getratings/models/NA/na_missfortune/na_missfortune_mid.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
loldib/getratings/models/NA/na_missfortune/na_missfortune_mid.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
loldib/getratings/models/NA/na_missfortune/na_missfortune_mid.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
from getratings.models.ratings import Ratings
class NA_MissFortune_Mid_Aatrox(Ratings):
pass
class NA_MissFortune_Mid_Ahri(Ratings):
pass
class NA_MissFortune_Mid_Akali(Ratings):
pass
class NA_MissFortune_Mid_Alistar(Ratings):
pass
class NA_MissFortune_Mid_Amumu(Ratings):
pass
class NA_MissFortune_Mid_Anivia(Ratings):
pass
class NA_MissFortune_Mid_Annie(Ratings):
pass
class NA_MissFortune_Mid_Ashe(Ratings):
pass
class NA_MissFortune_Mid_AurelionSol(Ratings):
pass
class NA_MissFortune_Mid_Azir(Ratings):
pass
class NA_MissFortune_Mid_Bard(Ratings):
pass
class NA_MissFortune_Mid_Blitzcrank(Ratings):
pass
class NA_MissFortune_Mid_Brand(Ratings):
pass
class NA_MissFortune_Mid_Braum(Ratings):
pass
class NA_MissFortune_Mid_Caitlyn(Ratings):
pass
class NA_MissFortune_Mid_Camille(Ratings):
pass
class NA_MissFortune_Mid_Cassiopeia(Ratings):
pass
class NA_MissFortune_Mid_Chogath(Ratings):
pass
class NA_MissFortune_Mid_Corki(Ratings):
pass
class NA_MissFortune_Mid_Darius(Ratings):
pass
class NA_MissFortune_Mid_Diana(Ratings):
pass
class NA_MissFortune_Mid_Draven(Ratings):
pass
class NA_MissFortune_Mid_DrMundo(Ratings):
pass
class NA_MissFortune_Mid_Ekko(Ratings):
pass
class NA_MissFortune_Mid_Elise(Ratings):
pass
class NA_MissFortune_Mid_Evelynn(Ratings):
pass
class NA_MissFortune_Mid_Ezreal(Ratings):
pass
class NA_MissFortune_Mid_Fiddlesticks(Ratings):
pass
class NA_MissFortune_Mid_Fiora(Ratings):
pass
class NA_MissFortune_Mid_Fizz(Ratings):
pass
class NA_MissFortune_Mid_Galio(Ratings):
pass
class NA_MissFortune_Mid_Gangplank(Ratings):
pass
class NA_MissFortune_Mid_Garen(Ratings):
pass
class NA_MissFortune_Mid_Gnar(Ratings):
pass
class NA_MissFortune_Mid_Gragas(Ratings):
pass
class NA_MissFortune_Mid_Graves(Ratings):
pass
class NA_MissFortune_Mid_Hecarim(Ratings):
pass
class NA_MissFortune_Mid_Heimerdinger(Ratings):
pass
class NA_MissFortune_Mid_Illaoi(Ratings):
pass
class NA_MissFortune_Mid_Irelia(Ratings):
pass
class NA_MissFortune_Mid_Ivern(Ratings):
pass
class NA_MissFortune_Mid_Janna(Ratings):
pass
class NA_MissFortune_Mid_JarvanIV(Ratings):
pass
class NA_MissFortune_Mid_Jax(Ratings):
pass
class NA_MissFortune_Mid_Jayce(Ratings):
pass
class NA_MissFortune_Mid_Jhin(Ratings):
pass
class NA_MissFortune_Mid_Jinx(Ratings):
pass
class NA_MissFortune_Mid_Kalista(Ratings):
pass
class NA_MissFortune_Mid_Karma(Ratings):
pass
class NA_MissFortune_Mid_Karthus(Ratings):
pass
class NA_MissFortune_Mid_Kassadin(Ratings):
pass
class NA_MissFortune_Mid_Katarina(Ratings):
pass
class NA_MissFortune_Mid_Kayle(Ratings):
pass
class NA_MissFortune_Mid_Kayn(Ratings):
pass
class NA_MissFortune_Mid_Kennen(Ratings):
pass
class NA_MissFortune_Mid_Khazix(Ratings):
pass
class NA_MissFortune_Mid_Kindred(Ratings):
pass
class NA_MissFortune_Mid_Kled(Ratings):
pass
class NA_MissFortune_Mid_KogMaw(Ratings):
pass
class NA_MissFortune_Mid_Leblanc(Ratings):
pass
class NA_MissFortune_Mid_LeeSin(Ratings):
pass
class NA_MissFortune_Mid_Leona(Ratings):
pass
class NA_MissFortune_Mid_Lissandra(Ratings):
pass
class NA_MissFortune_Mid_Lucian(Ratings):
pass
class NA_MissFortune_Mid_Lulu(Ratings):
pass
class NA_MissFortune_Mid_Lux(Ratings):
pass
class NA_MissFortune_Mid_Malphite(Ratings):
pass
class NA_MissFortune_Mid_Malzahar(Ratings):
pass
class NA_MissFortune_Mid_Maokai(Ratings):
pass
class NA_MissFortune_Mid_MasterYi(Ratings):
pass
class NA_MissFortune_Mid_MissFortune(Ratings):
pass
class NA_MissFortune_Mid_MonkeyKing(Ratings):
pass
class NA_MissFortune_Mid_Mordekaiser(Ratings):
pass
class NA_MissFortune_Mid_Morgana(Ratings):
pass
class NA_MissFortune_Mid_Nami(Ratings):
pass
class NA_MissFortune_Mid_Nasus(Ratings):
pass
class NA_MissFortune_Mid_Nautilus(Ratings):
pass
class NA_MissFortune_Mid_Nidalee(Ratings):
pass
class NA_MissFortune_Mid_Nocturne(Ratings):
pass
class NA_MissFortune_Mid_Nunu(Ratings):
pass
class NA_MissFortune_Mid_Olaf(Ratings):
pass
class NA_MissFortune_Mid_Orianna(Ratings):
pass
class NA_MissFortune_Mid_Ornn(Ratings):
pass
class NA_MissFortune_Mid_Pantheon(Ratings):
pass
class NA_MissFortune_Mid_Poppy(Ratings):
pass
class NA_MissFortune_Mid_Quinn(Ratings):
pass
class NA_MissFortune_Mid_Rakan(Ratings):
pass
class NA_MissFortune_Mid_Rammus(Ratings):
pass
class NA_MissFortune_Mid_RekSai(Ratings):
pass
class NA_MissFortune_Mid_Renekton(Ratings):
pass
class NA_MissFortune_Mid_Rengar(Ratings):
pass
class NA_MissFortune_Mid_Riven(Ratings):
pass
class NA_MissFortune_Mid_Rumble(Ratings):
pass
class NA_MissFortune_Mid_Ryze(Ratings):
pass
class NA_MissFortune_Mid_Sejuani(Ratings):
pass
class NA_MissFortune_Mid_Shaco(Ratings):
pass
class NA_MissFortune_Mid_Shen(Ratings):
pass
class NA_MissFortune_Mid_Shyvana(Ratings):
pass
class NA_MissFortune_Mid_Singed(Ratings):
pass
class NA_MissFortune_Mid_Sion(Ratings):
pass
class NA_MissFortune_Mid_Sivir(Ratings):
pass
class NA_MissFortune_Mid_Skarner(Ratings):
pass
class NA_MissFortune_Mid_Sona(Ratings):
pass
class NA_MissFortune_Mid_Soraka(Ratings):
pass
class NA_MissFortune_Mid_Swain(Ratings):
pass
class NA_MissFortune_Mid_Syndra(Ratings):
pass
class NA_MissFortune_Mid_TahmKench(Ratings):
pass
class NA_MissFortune_Mid_Taliyah(Ratings):
pass
class NA_MissFortune_Mid_Talon(Ratings):
pass
class NA_MissFortune_Mid_Taric(Ratings):
pass
class NA_MissFortune_Mid_Teemo(Ratings):
pass
class NA_MissFortune_Mid_Thresh(Ratings):
pass
class NA_MissFortune_Mid_Tristana(Ratings):
pass
class NA_MissFortune_Mid_Trundle(Ratings):
pass
class NA_MissFortune_Mid_Tryndamere(Ratings):
pass
class NA_MissFortune_Mid_TwistedFate(Ratings):
pass
class NA_MissFortune_Mid_Twitch(Ratings):
pass
class NA_MissFortune_Mid_Udyr(Ratings):
pass
class NA_MissFortune_Mid_Urgot(Ratings):
pass
class NA_MissFortune_Mid_Varus(Ratings):
pass
class NA_MissFortune_Mid_Vayne(Ratings):
pass
class NA_MissFortune_Mid_Veigar(Ratings):
pass
class NA_MissFortune_Mid_Velkoz(Ratings):
pass
class NA_MissFortune_Mid_Vi(Ratings):
pass
class NA_MissFortune_Mid_Viktor(Ratings):
pass
class NA_MissFortune_Mid_Vladimir(Ratings):
pass
class NA_MissFortune_Mid_Volibear(Ratings):
pass
class NA_MissFortune_Mid_Warwick(Ratings):
pass
class NA_MissFortune_Mid_Xayah(Ratings):
pass
class NA_MissFortune_Mid_Xerath(Ratings):
pass
class NA_MissFortune_Mid_XinZhao(Ratings):
pass
class NA_MissFortune_Mid_Yasuo(Ratings):
pass
class NA_MissFortune_Mid_Yorick(Ratings):
pass
class NA_MissFortune_Mid_Zac(Ratings):
pass
class NA_MissFortune_Mid_Zed(Ratings):
pass
class NA_MissFortune_Mid_Ziggs(Ratings):
pass
class NA_MissFortune_Mid_Zilean(Ratings):
pass
class NA_MissFortune_Mid_Zyra(Ratings):
pass
| 17.35012
| 48
| 0.788943
| 972
| 7,235
| 5.446502
| 0.151235
| 0.182471
| 0.46921
| 0.547412
| 0.828107
| 0.828107
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153559
| 7,235
| 416
| 49
| 17.391827
| 0.864468
| 0
| 0
| 0.498195
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.498195
| 0.00361
| 0
| 0.501805
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 0
|
0
| 7
|
4d0e0b54160efa97d3733e73be3993a35a2c93a0
| 73,182
|
py
|
Python
|
octopus_deploy_swagger_client/octopus_deploy_client/workers_api.py
|
cvent/octopus-deploy-api-client
|
0e03e842e1beb29b132776aee077df570b88366a
|
[
"Apache-2.0"
] | null | null | null |
octopus_deploy_swagger_client/octopus_deploy_client/workers_api.py
|
cvent/octopus-deploy-api-client
|
0e03e842e1beb29b132776aee077df570b88366a
|
[
"Apache-2.0"
] | null | null | null |
octopus_deploy_swagger_client/octopus_deploy_client/workers_api.py
|
cvent/octopus-deploy-api-client
|
0e03e842e1beb29b132776aee077df570b88366a
|
[
"Apache-2.0"
] | null | null | null |
# coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from octopus_deploy_swagger_client.api_client import ApiClient
class WorkersApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_response_descriptor_machines_workers_worker_worker_resource(self, **kwargs): # noqa: E501
"""Create a WorkerResource # noqa: E501
Creates a new worker. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_response_descriptor_machines_workers_worker_worker_resource(async_req=True)
>>> result = thread.get()
:param async_req bool
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_response_descriptor_machines_workers_worker_worker_resource_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.create_response_descriptor_machines_workers_worker_worker_resource_with_http_info(**kwargs) # noqa: E501
return data
def create_response_descriptor_machines_workers_worker_worker_resource_with_http_info(self, **kwargs): # noqa: E501
"""Create a WorkerResource # noqa: E501
Creates a new worker. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_response_descriptor_machines_workers_worker_worker_resource_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['worker_resource'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_response_descriptor_machines_workers_worker_worker_resource" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'worker_resource' in params:
body_params = params['worker_resource']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='WorkerResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_response_descriptor_machines_workers_worker_worker_resource_spaces(self, base_space_id, **kwargs): # noqa: E501
"""Create a WorkerResource # noqa: E501
Creates a new worker. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_response_descriptor_machines_workers_worker_worker_resource_spaces(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
else:
(data) = self.create_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
return data
def create_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(self, base_space_id, **kwargs): # noqa: E501
"""Create a WorkerResource # noqa: E501
Creates a new worker. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id', 'worker_resource'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_response_descriptor_machines_workers_worker_worker_resource_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `create_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'worker_resource' in params:
body_params = params['worker_resource']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='WorkerResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder # noqa: E501
Interrogate a machine for communication details so that it may be added to the installation. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: MachineResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder # noqa: E501
Interrogate a machine for communication details so that it may be added to the installation. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: MachineResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers/discover', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='MachineResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces(self, base_space_id, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces # noqa: E501
Interrogate a machine for communication details so that it may be added to the installation. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:return: MachineResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces_with_http_info(self, base_space_id, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces # noqa: E501
Interrogate a machine for communication details so that it may be added to the installation. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces_with_http_info(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:return: MachineResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `custom_action_response_descriptor_octopus_server_web_api_actions_discover_worker_responder_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers/discover', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='MachineResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder(self, id, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder # noqa: E501
Get the status of the network connection between the Octopus server and a worker. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the resource (required)
:return: MachineConnectionStatus
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_with_http_info(id, **kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_with_http_info(id, **kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_with_http_info(self, id, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder # noqa: E501
Get the status of the network connection between the Octopus server and a worker. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_with_http_info(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the resource (required)
:return: MachineConnectionStatus
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder`") # noqa: E501
collection_formats = {}
path_params = {}
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers/{id}/connection', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='MachineConnectionStatus', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces(self, base_space_id, id, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces # noqa: E501
Get the status of the network connection between the Octopus server and a worker. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the resource (required)
:return: MachineConnectionStatus
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces_with_http_info(self, base_space_id, id, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces # noqa: E501
Get the status of the network connection between the Octopus server and a worker. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces_with_http_info(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the resource (required)
:return: MachineConnectionStatus
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id', 'id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces`") # noqa: E501
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `custom_action_response_descriptor_octopus_server_web_api_actions_worker_connection_status_responder_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers/{id}/connection', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='MachineConnectionStatus', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder(self, **kwargs): # noqa: E501
"""custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder # noqa: E501
Lists all of the registered worker machines in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder # noqa: E501
Lists all of the registered worker machines in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces(self, base_space_id, **kwargs): # noqa: E501
"""custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces # noqa: E501
Lists all of the registered worker machines in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
else:
(data) = self.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
return data
def custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces_with_http_info(self, base_space_id, **kwargs): # noqa: E501
"""custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces # noqa: E501
Lists all of the registered worker machines in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces_with_http_info(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `custom_query_response_descriptor_octopus_server_web_api_actions_list_worker_responder_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_on_background_response_descriptor_machines_workers_worker_worker_resource(self, id, **kwargs): # noqa: E501
"""Delete a WorkerResource by ID # noqa: E501
Deletes an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_on_background_response_descriptor_machines_workers_worker_worker_resource(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the WorkerResource to delete (required)
:return: TaskResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_on_background_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, **kwargs) # noqa: E501
else:
(data) = self.delete_on_background_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, **kwargs) # noqa: E501
return data
def delete_on_background_response_descriptor_machines_workers_worker_worker_resource_with_http_info(self, id, **kwargs): # noqa: E501
"""Delete a WorkerResource by ID # noqa: E501
Deletes an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_on_background_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the WorkerResource to delete (required)
:return: TaskResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_on_background_response_descriptor_machines_workers_worker_worker_resource" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `delete_on_background_response_descriptor_machines_workers_worker_worker_resource`") # noqa: E501
collection_formats = {}
path_params = {}
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers/{id}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='TaskResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces(self, base_space_id, id, **kwargs): # noqa: E501
"""Delete a WorkerResource by ID # noqa: E501
Deletes an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the WorkerResource to delete (required)
:return: TaskResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
else:
(data) = self.delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
return data
def delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(self, base_space_id, id, **kwargs): # noqa: E501
"""Delete a WorkerResource by ID # noqa: E501
Deletes an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the WorkerResource to delete (required)
:return: TaskResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id', 'id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `delete_on_background_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers/{id}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='TaskResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_all_response_descriptor_machines_workers_worker_worker_resource(self, **kwargs): # noqa: E501
"""Get a list of WorkerResources # noqa: E501
Lists all of the workers in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_all_response_descriptor_machines_workers_worker_worker_resource(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[WorkerResource]
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_all_response_descriptor_machines_workers_worker_worker_resource_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.list_all_response_descriptor_machines_workers_worker_worker_resource_with_http_info(**kwargs) # noqa: E501
return data
def list_all_response_descriptor_machines_workers_worker_worker_resource_with_http_info(self, **kwargs): # noqa: E501
"""Get a list of WorkerResources # noqa: E501
Lists all of the workers in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_all_response_descriptor_machines_workers_worker_worker_resource_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[WorkerResource]
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_all_response_descriptor_machines_workers_worker_worker_resource" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers/all', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[WorkerResource]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_all_response_descriptor_machines_workers_worker_worker_resource_spaces(self, base_space_id, **kwargs): # noqa: E501
"""Get a list of WorkerResources # noqa: E501
Lists all of the workers in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_all_response_descriptor_machines_workers_worker_worker_resource_spaces(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:return: list[WorkerResource]
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_all_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
else:
(data) = self.list_all_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, **kwargs) # noqa: E501
return data
def list_all_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(self, base_space_id, **kwargs): # noqa: E501
"""Get a list of WorkerResources # noqa: E501
Lists all of the workers in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_all_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:return: list[WorkerResource]
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_all_response_descriptor_machines_workers_worker_worker_resource_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `list_all_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers/all', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[WorkerResource]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def load_response_descriptor_machines_workers_worker_worker_resource(self, id, **kwargs): # noqa: E501
"""Get a WorkerResource by ID # noqa: E501
Gets a single worker machine by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.load_response_descriptor_machines_workers_worker_worker_resource(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the WorkerResource to load (required)
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.load_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, **kwargs) # noqa: E501
else:
(data) = self.load_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, **kwargs) # noqa: E501
return data
def load_response_descriptor_machines_workers_worker_worker_resource_with_http_info(self, id, **kwargs): # noqa: E501
"""Get a WorkerResource by ID # noqa: E501
Gets a single worker machine by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.load_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the WorkerResource to load (required)
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method load_response_descriptor_machines_workers_worker_worker_resource" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `load_response_descriptor_machines_workers_worker_worker_resource`") # noqa: E501
collection_formats = {}
path_params = {}
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers/{id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='WorkerResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def load_response_descriptor_machines_workers_worker_worker_resource_spaces(self, base_space_id, id, **kwargs): # noqa: E501
"""Get a WorkerResource by ID # noqa: E501
Gets a single worker machine by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.load_response_descriptor_machines_workers_worker_worker_resource_spaces(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the WorkerResource to load (required)
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.load_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
else:
(data) = self.load_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
return data
def load_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(self, base_space_id, id, **kwargs): # noqa: E501
"""Get a WorkerResource by ID # noqa: E501
Gets a single worker machine by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.load_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the WorkerResource to load (required)
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id', 'id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method load_response_descriptor_machines_workers_worker_worker_resource_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `load_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `load_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers/{id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='WorkerResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def modify_response_descriptor_machines_workers_worker_worker_resource(self, id, **kwargs): # noqa: E501
"""Modify a WorkerResource by ID # noqa: E501
Modifies an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.modify_response_descriptor_machines_workers_worker_worker_resource(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the WorkerResource to modify (required)
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.modify_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, **kwargs) # noqa: E501
else:
(data) = self.modify_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, **kwargs) # noqa: E501
return data
def modify_response_descriptor_machines_workers_worker_worker_resource_with_http_info(self, id, **kwargs): # noqa: E501
"""Modify a WorkerResource by ID # noqa: E501
Modifies an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.modify_response_descriptor_machines_workers_worker_worker_resource_with_http_info(id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str id: ID of the WorkerResource to modify (required)
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['id', 'worker_resource'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method modify_response_descriptor_machines_workers_worker_worker_resource" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `modify_response_descriptor_machines_workers_worker_worker_resource`") # noqa: E501
collection_formats = {}
path_params = {}
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'worker_resource' in params:
body_params = params['worker_resource']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/workers/{id}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='WorkerResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def modify_response_descriptor_machines_workers_worker_worker_resource_spaces(self, base_space_id, id, **kwargs): # noqa: E501
"""Modify a WorkerResource by ID # noqa: E501
Modifies an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.modify_response_descriptor_machines_workers_worker_worker_resource_spaces(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the WorkerResource to modify (required)
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.modify_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
else:
(data) = self.modify_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, **kwargs) # noqa: E501
return data
def modify_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(self, base_space_id, id, **kwargs): # noqa: E501
"""Modify a WorkerResource by ID # noqa: E501
Modifies an existing worker machine. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.modify_response_descriptor_machines_workers_worker_worker_resource_spaces_with_http_info(base_space_id, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str base_space_id: ID of the space (required)
:param str id: ID of the WorkerResource to modify (required)
:param WorkerResource worker_resource: The WorkerResource resource to create
:return: WorkerResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['base_space_id', 'id', 'worker_resource'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method modify_response_descriptor_machines_workers_worker_worker_resource_spaces" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'base_space_id' is set
if ('base_space_id' not in params or
params['base_space_id'] is None):
raise ValueError("Missing the required parameter `base_space_id` when calling `modify_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `modify_response_descriptor_machines_workers_worker_worker_resource_spaces`") # noqa: E501
collection_formats = {}
path_params = {}
if 'base_space_id' in params:
path_params['baseSpaceId'] = params['base_space_id'] # noqa: E501
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'worker_resource' in params:
body_params = params['worker_resource']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/{baseSpaceId}/workers/{id}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='WorkerResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 46.583068
| 255
| 0.663947
| 8,640
| 73,182
| 5.276273
| 0.025347
| 0.039485
| 0.028956
| 0.058635
| 0.988747
| 0.988747
| 0.988747
| 0.986246
| 0.986246
| 0.985917
| 0
| 0.013283
| 0.260324
| 73,182
| 1,570
| 256
| 46.612739
| 0.828878
| 0.347217
| 0
| 0.833922
| 1
| 0
| 0.215282
| 0.091058
| 0
| 0
| 0
| 0
| 0
| 1
| 0.038869
| false
| 0
| 0.004711
| 0
| 0.101296
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
4d2dc7f4ca0c850878a415e888fbd0b7b5178792
| 1,014
|
py
|
Python
|
oo/direcao.py
|
MarcoManhaes/pythonbirds
|
1445edebce476daffd0872f9943c6e3b9cc03979
|
[
"MIT"
] | null | null | null |
oo/direcao.py
|
MarcoManhaes/pythonbirds
|
1445edebce476daffd0872f9943c6e3b9cc03979
|
[
"MIT"
] | null | null | null |
oo/direcao.py
|
MarcoManhaes/pythonbirds
|
1445edebce476daffd0872f9943c6e3b9cc03979
|
[
"MIT"
] | null | null | null |
class Direcao:
def __init__(self):
self.posicoes = ("Norte", "Leste", "Sul", "Oeste")
self.direcao_atual = 0
def girar_a_direita(self):
self.direcao_atual += 1
self.direcao_atual = min(3, self.direcao_atual)
#if self.direcao_atual > 3:
#self.direcao_atual = 0
def girar_a_esquerda(self):
self.direcao_atual -= 1
self.direcao_atual = max(-3, self.direcao_atual)
##if self.direcao_atual < -3:
##self.direcao_atual = 0
if __name__ == '__main__':
d = Direcao()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
| 21.125
| 58
| 0.628205
| 140
| 1,014
| 4.178571
| 0.178571
| 0.410256
| 0.300855
| 0.276923
| 0.842735
| 0.842735
| 0.842735
| 0.782906
| 0.65641
| 0.65641
| 0
| 0.011858
| 0.251479
| 1,014
| 47
| 59
| 21.574468
| 0.758893
| 0.095661
| 0
| 0.586207
| 0
| 0
| 0.02854
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.103448
| false
| 0
| 0
| 0
| 0.137931
| 0.310345
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
4da3c15db386db8c02f4eac5f10f81d9c546d80f
| 17,839
|
py
|
Python
|
tests/migrations/test_update_filtered_positives.py
|
sanger/crawler
|
d309a8454af1bbe6cd48a40b2aa3bdf7be675d3b
|
[
"MIT"
] | 3
|
2021-03-11T08:53:24.000Z
|
2022-02-07T14:04:23.000Z
|
tests/migrations/test_update_filtered_positives.py
|
sanger/crawler
|
d309a8454af1bbe6cd48a40b2aa3bdf7be675d3b
|
[
"MIT"
] | 464
|
2020-04-17T15:30:13.000Z
|
2022-03-31T06:19:58.000Z
|
tests/migrations/test_update_filtered_positives.py
|
sanger/crawler
|
d309a8454af1bbe6cd48a40b2aa3bdf7be675d3b
|
[
"MIT"
] | 3
|
2020-05-19T12:04:34.000Z
|
2021-03-02T11:25:44.000Z
|
from datetime import datetime
from unittest.mock import MagicMock, PropertyMock, patch
import pytest
from crawler.helpers.general_helpers import get_config
from migrations import update_filtered_positives
# ----- test fixture helpers -----
@pytest.fixture
def mock_helper_imports():
with patch("migrations.update_filtered_positives.pending_plate_barcodes_from_dart") as mock_get_plate_barcodes:
with patch(
"migrations.update_filtered_positives.positive_result_samples_from_mongo"
) as mock_get_positive_samples:
yield mock_get_plate_barcodes, mock_get_positive_samples
@pytest.fixture
def mock_filter_out_cherrypicked_samples():
with patch("migrations.update_filtered_positives.filter_out_cherrypicked_samples") as mock_remove_cp:
yield mock_remove_cp
@pytest.fixture
def mock_update_positives():
with patch("migrations.update_filtered_positives.update_filtered_positive_fields") as mock_udpate:
yield mock_udpate
@pytest.fixture
def mock_helper_database_updates():
with patch("migrations.update_filtered_positives.update_mongo_filtered_positive_fields") as mock_update_mongo:
with patch("migrations.update_filtered_positives.update_mlwh_filtered_positive_fields") as mock_update_mlwh:
with patch("migrations.update_filtered_positives.update_dart_fields") as mock_update_dart:
yield mock_update_mongo, mock_update_mlwh, mock_update_dart
# ----- test migration -----
def test_update_filtered_positives_catches_error_fetching_pending_plate_barcodes(
mock_helper_imports, mock_helper_database_updates
):
mock_get_plate_barcodes, _ = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock fetching pending plate barcodes to throw
mock_get_plate_barcodes.side_effect = ValueError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_aborts_with_no_pending_plate_barcodes(
mock_helper_imports, mock_helper_database_updates
):
mock_get_plate_barcodes, _ = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock to return no pending plate barcodes
mock_get_plate_barcodes.return_value = []
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_catches_error_pending_positive_samples(
mock_helper_imports, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock a pending plate, but getting associated positive samples to throw
mock_get_plate_barcodes.return_value = ["ABC123"]
mock_get_positive_samples.side_effect = NotImplementedError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_aborts_with_no_positive_samples_fetched_from_mongo(
mock_helper_imports, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock a pending plate, but no associated positive samples
mock_get_plate_barcodes.return_value = ["barcode with no matching sample"]
mock_get_positive_samples.return_value = []
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_omitting_dart_catches_error_pending_positive_samples(
mock_helper_imports, mock_helper_database_updates
):
_, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock getting positive samples to throw
mock_get_positive_samples.side_effect = NotImplementedError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration", True)
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_omitting_dart_aborts_with_no_positive_samples_fetched_from_mongo(
mock_helper_imports, mock_helper_database_updates
):
_, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock no positive samples
mock_get_positive_samples.return_value = []
# call the migration
update_filtered_positives.run("crawler.config.integration", True)
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_catches_error_removing_cherrypicked_samples(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock removing cherrypicked samples to throw
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.side_effect = NotImplementedError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_aborts_with_no_non_cherrypicked_samples(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock removing cherrypicked samples to throw
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = []
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_catches_error_determining_filtered_positive_results(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock determining the filtered positive fields to throw
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = [{"plate_barcode": "123"}]
mock_update_positives.side_effect = NotImplementedError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure that no databases are updated
mock_update_mongo.assert_not_called()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_catches_error_updating_samples_in_mongo(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock updating the samples in mongo to throw
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = [{"plate_barcode": "123"}]
mock_update_mongo.side_effect = NotImplementedError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure expected database calls
mock_update_mongo.assert_called_once()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_aborts_failing_updating_samples_in_mongo(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock updating the samples in mongo to fail
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = [{"plate_barcode": "123"}]
mock_update_mongo.return_value = False
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure expected database calls
mock_update_mongo.assert_called_once()
mock_update_mlwh.assert_not_called()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_catched_error_updating_samples_in_mlwh(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock updating the samples in mlwh to throw
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = [{"plate_barcode": "123"}]
mock_update_mongo.return_value = True
mock_update_mlwh.side_effect = NotImplementedError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure expected database calls
mock_update_mongo.assert_called_once()
mock_update_mlwh.assert_called_once()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_aborts_failing_updating_samples_in_mlwh(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock updating the samples in mlwh to fail
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = [{"plate_barcode": "123"}]
mock_update_mongo.return_value = True
mock_update_mlwh.return_value = False
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure expected database calls
mock_update_mongo.assert_called_once()
mock_update_mlwh.assert_called_once()
mock_update_dart.assert_not_called()
def test_update_filtered_positives_catches_error_updating_samples_in_dart(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock updating the samples in dart to throw
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = [{"plate_barcode": "123"}]
mock_update_mongo.return_value = True
mock_update_mlwh.return_value = True
mock_update_dart.side_effect = NotImplementedError("Boom!")
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure expected database calls
mock_update_mongo.assert_called_once()
mock_update_mlwh.assert_called_once()
mock_update_dart.assert_called_once()
def test_update_filtered_positives_catches_aborts_failing_updating_samples_in_dart(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock updating the samples in dart to fail
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
mock_filter_out_cherrypicked_samples.return_value = [{"plate_barcode": "123"}]
mock_update_mongo.return_value = True
mock_update_mlwh.return_value = True
mock_update_dart.return_value = False
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure expected database calls
mock_update_mongo.assert_called_once()
mock_update_mlwh.assert_called_once()
mock_update_dart.assert_called_once()
def test_update_filtered_positives_outputs_success(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
mock_get_plate_barcodes, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock a successful update
mock_get_plate_barcodes.return_value = ["123", "456"]
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
non_cp_samples = [{"plate_barcode": "123"}]
mock_filter_out_cherrypicked_samples.return_value = non_cp_samples
mock_update_mongo.return_value = True
mock_update_mlwh.return_value = True
mock_update_dart.return_value = True
version = "v2.3"
mock_pos_id = MagicMock()
type(mock_pos_id).version = PropertyMock(return_value=version)
with patch("migrations.update_filtered_positives.current_filtered_positive_identifier", return_value=mock_pos_id):
with patch("migrations.update_filtered_positives.datetime") as mock_datetime:
timestamp = datetime.utcnow()
mock_datetime.utcnow.return_value = timestamp
# call the migration
update_filtered_positives.run("crawler.config.integration")
# ensure expected database calls
config, _ = get_config("crawler.config.integration")
mock_update_mongo.assert_called_once()
mock_update_mongo.assert_called_with(config, non_cp_samples, version, timestamp)
mock_update_mlwh.assert_called_once()
mock_update_mlwh.assert_called_with(config, non_cp_samples)
mock_update_dart.assert_called_once()
mock_update_dart.assert_called_with(config, non_cp_samples)
def test_update_filtered_positives_omitting_dart_outputs_success(
mock_helper_imports, mock_filter_out_cherrypicked_samples, mock_update_positives, mock_helper_database_updates
):
_, mock_get_positive_samples = mock_helper_imports
mock_update_mongo, mock_update_mlwh, mock_update_dart = mock_helper_database_updates
# mock a successful update
mock_get_positive_samples.return_value = [{"plate_barcode": "123"}, {"plate_barcode": "456"}]
non_cp_samples = [{"plate_barcode": "123"}]
mock_filter_out_cherrypicked_samples.return_value = non_cp_samples
mock_update_mongo.return_value = True
mock_update_mlwh.return_value = True
mock_update_dart.return_value = True
version = "v2.3"
mock_pos_id = MagicMock()
type(mock_pos_id).version = PropertyMock(return_value=version)
with patch("migrations.update_filtered_positives.current_filtered_positive_identifier", return_value=mock_pos_id):
with patch("migrations.update_filtered_positives.datetime") as mock_datetime:
timestamp = datetime.utcnow()
mock_datetime.utcnow.return_value = timestamp
# call the migration
update_filtered_positives.run("crawler.config.integration", True)
# ensure expected database calls
config, _ = get_config("crawler.config.integration")
mock_update_mongo.assert_called_once()
mock_update_mongo.assert_called_with(config, non_cp_samples, version, timestamp)
mock_update_mlwh.assert_called_once()
mock_update_mlwh.assert_called_with(config, non_cp_samples)
mock_update_dart.assert_not_called()
| 42.985542
| 118
| 0.794775
| 2,321
| 17,839
| 5.575614
| 0.047393
| 0.109729
| 0.081756
| 0.067615
| 0.93934
| 0.927981
| 0.903408
| 0.88038
| 0.874353
| 0.867553
| 0
| 0.010386
| 0.136387
| 17,839
| 414
| 119
| 43.089372
| 0.829612
| 0.094568
| 0
| 0.796935
| 0
| 0
| 0.114859
| 0.07504
| 0
| 0
| 0
| 0
| 0.214559
| 1
| 0.08046
| false
| 0
| 0.153257
| 0
| 0.233716
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
4dcddede114f8690e05a2c0f82f6bbbf7f84a9c9
| 102
|
py
|
Python
|
flownmt/modules/priors/__init__.py
|
DeNeutoy/flowseq
|
8cb4ae00c26fbeb3e1459e3b3b90e7e9a84c3d2b
|
[
"Apache-2.0"
] | 256
|
2019-08-14T23:26:23.000Z
|
2022-03-03T16:52:14.000Z
|
flownmt/modules/priors/__init__.py
|
DeNeutoy/flowseq
|
8cb4ae00c26fbeb3e1459e3b3b90e7e9a84c3d2b
|
[
"Apache-2.0"
] | 8
|
2019-10-18T02:54:10.000Z
|
2021-10-01T21:30:23.000Z
|
flownmt/modules/priors/__init__.py
|
DeNeutoy/flowseq
|
8cb4ae00c26fbeb3e1459e3b3b90e7e9a84c3d2b
|
[
"Apache-2.0"
] | 32
|
2019-09-06T10:02:45.000Z
|
2021-12-23T06:44:37.000Z
|
from flownmt.modules.priors.prior import Prior
from flownmt.modules.priors.length_predictors import *
| 34
| 54
| 0.852941
| 14
| 102
| 6.142857
| 0.571429
| 0.255814
| 0.418605
| 0.55814
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078431
| 102
| 2
| 55
| 51
| 0.914894
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
127aea83d067efbb0a94c7dfc9d8134be27130dd
| 75
|
py
|
Python
|
src/fastpli/objects/__init__.py
|
jifengting1/fastpliFork
|
1ef7e2d268e03e21ded9390fc005b9fff2e0a3c1
|
[
"MIT"
] | null | null | null |
src/fastpli/objects/__init__.py
|
jifengting1/fastpliFork
|
1ef7e2d268e03e21ded9390fc005b9fff2e0a3c1
|
[
"MIT"
] | null | null | null |
src/fastpli/objects/__init__.py
|
jifengting1/fastpliFork
|
1ef7e2d268e03e21ded9390fc005b9fff2e0a3c1
|
[
"MIT"
] | null | null | null |
from . import fiber
from . import fiber_bundle
from . import fiber_bundles
| 18.75
| 27
| 0.8
| 11
| 75
| 5.272727
| 0.454545
| 0.517241
| 0.775862
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16
| 75
| 3
| 28
| 25
| 0.920635
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
129e4f244381882481811280a2aab99bed3ded63
| 6,433
|
py
|
Python
|
experiments/karla/diplomski-rad/blade/pb/consensus-inference/consensus-qeueue.py
|
lvrcek/consensus-net
|
560957f315751822e1ddf8c097eb7b712ceadff3
|
[
"MIT"
] | null | null | null |
experiments/karla/diplomski-rad/blade/pb/consensus-inference/consensus-qeueue.py
|
lvrcek/consensus-net
|
560957f315751822e1ddf8c097eb7b712ceadff3
|
[
"MIT"
] | null | null | null |
experiments/karla/diplomski-rad/blade/pb/consensus-inference/consensus-qeueue.py
|
lvrcek/consensus-net
|
560957f315751822e1ddf8c097eb7b712ceadff3
|
[
"MIT"
] | 1
|
2018-12-23T13:50:29.000Z
|
2018-12-23T13:50:29.000Z
|
import numpy as np
import sys
module_path = '/home/diplomski-rad/consensus-net/'
if module_path not in sys.path:
print('Adding src module.')
sys.path.append(module_path)
import src
module_path = '/home/diplomski-rad/consensus-net/src/python/inference/'
if module_path not in sys.path:
print('Adding inference module.')
sys.path.append(module_path)
import inference
module_path = '/home/diplomski-rad/consensus-net/src/python/dataset/'
if module_path not in sys.path:
print('Adding dataset module.')
sys.path.append(module_path)
import pileups
# model 11
model_path = '/home/diplomski-rad/blade/pb/datasets/n20-racon-hax/model-11.h5'
reads_paths = [
'/home/data/pacific_biosciences/bacteria/escherichia/coli/NCTC86.fastq',
'/home/data/pacific_biosciences/bacteria/morganella/morgani/NCTC235.fastq',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/NCTC92.fastq',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/NCTC129.fastq',
'/home/data/pacific_biosciences/bacteria/klebsiela/pneumoniae/NCTC204.fastq'
]
assembly_paths = [
'/home/diplomski-rad/blade/pb/escherichia-coli-NCTC86/iter2.fasta',
'/home/diplomski-rad/blade/pb/morganela-morgani-NCTC235/iter2.fasta',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC92/iter2.fasta',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC129/iter2.fasta',
'/home/diplomski-rad/blade/pb/klebsiela-pneumoniae-NCTC204-BROKEN/iter2.fasta'
]
reference_paths = [
'/home/data/pacific_biosciences/bacteria/escherichia/coli/escherichia_coli_reference.fasta',
'/home/data/pacific_biosciences/bacteria/morganella/morgani/morganella_morganii_reference.fasta',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/salmonella_enterica_reference.fasta',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/salmonella_enterica_reference.fasta',
'/home/data/pacific_biosciences/bacteria/klebsiela/pneumoniae/klebsiella_pneumoniae_reference.fasta'
]
sam_file_paths = [
'/home/diplomski-rad/blade/pb/escherichia-coli-NCTC86/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/morganela-morgani-NCTC235/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC92/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC129/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/klebsiela-pneumoniae-NCTC204-BROKEN/reads-to-asm.sam'
]
neighbourhood_size = 20
output_dirs = [
'./e-coli-NCTC86-all-contigs-n20-model-11-racon-hax-new',
'./m-morgani-NCTC235-all-contigs-n20-model-11-racon-hax-new',
'./s-enterica-NCTC92-all-contigs-n20-model-11-racon-hax-new',
'./s-enterica-NCTC129-all-contigs-n20-model-11-racon-hax-new',
'./k-pneumoniae-NCTC204-all-contigs-n20-model-11-racon-hax-new'
]
tools_dir = '/home/diplomski-rad/'
racon_hax_output_dir = './racon-hax-tmp'
num_threads = 12
for reads_path, assembly_path, reference_path, sam_file_path, output_dir in \
zip(reads_paths, assembly_paths, reference_paths, sam_file_paths, output_dirs):
pileup_generator = pileups.RaconMSAGenerator(
reads_path,
sam_file_path,
assembly_path,
mode='inference',
tools_dir=tools_dir,
racon_hax_output_dir=racon_hax_output_dir,
num_threads=num_threads
)
inference.make_consensus(
model_path,
reference_path,
pileup_generator,
neighbourhood_size,
output_dir,
tools_dir)
model_path = '/home/diplomski-rad/blade/pb/datasets/n20-racon-hax/model-7.h5'
reads_paths = [
'/home/data/pacific_biosciences/bacteria/escherichia/coli/NCTC86.fastq',
'/home/data/pacific_biosciences/bacteria/morganella/morgani/NCTC235.fastq',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/NCTC92.fastq',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/NCTC129.fastq',
'/home/data/pacific_biosciences/bacteria/klebsiela/pneumoniae/NCTC204.fastq'
]
assembly_paths = [
'/home/diplomski-rad/blade/pb/escherichia-coli-NCTC86/iter2.fasta',
'/home/diplomski-rad/blade/pb/morganela-morgani-NCTC235/iter2.fasta',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC92/iter2.fasta',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC129/iter2.fasta',
'/home/diplomski-rad/blade/pb/klebsiela-pneumoniae-NCTC204-BROKEN/iter2.fasta'
]
reference_paths = [
'/home/data/pacific_biosciences/bacteria/escherichia/coli/escherichia_coli_reference.fasta',
'/home/data/pacific_biosciences/bacteria/morganella/morgani/morganella_morganii_reference.fasta',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/salmonella_enterica_reference.fasta',
'/home/data/pacific_biosciences/bacteria/salmonella/enterica/salmonella_enterica_reference.fasta',
'/home/data/pacific_biosciences/bacteria/klebsiela/pneumoniae/klebsiella_pneumoniae_reference.fasta'
]
sam_file_paths = [
'/home/diplomski-rad/blade/pb/escherichia-coli-NCTC86/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/morganela-morgani-NCTC235/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC92/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/salmonella-enterica-NCTC129/reads-to-asm.sam',
'/home/diplomski-rad/blade/pb/klebsiela-pneumoniae-NCTC204-BROKEN/reads-to-asm.sam'
]
neighbourhood_size = 20
output_dirs = [
'./e-coli-NCTC86-all-contigs-n20-model-7-racon-hax-new',
'./m-morgani-NCTC235-all-contigs-n20-model-7-racon-hax-new',
'./s-enterica-NCTC92-all-contigs-n20-model-7-racon-hax-new',
'./s-enterica-NCTC129-all-contigs-n20-model-7-racon-hax-new',
'./k-pneumoniae-NCTC204-all-contigs-n20-model-7-racon-hax-new'
]
tools_dir = '/home/diplomski-rad/'
racon_hax_output_dir = './racon-hax-tmp'
num_threads = 12
for reads_path, assembly_path, reference_path, sam_file_path, output_dir in \
zip(reads_paths, assembly_paths, reference_paths, sam_file_paths, output_dirs):
pileup_generator = pileups.RaconMSAGenerator(
reads_path,
sam_file_path,
assembly_path,
mode='inference',
tools_dir=tools_dir,
racon_hax_output_dir=racon_hax_output_dir,
num_threads=num_threads
)
inference.make_consensus(
model_path,
reference_path,
pileup_generator,
neighbourhood_size,
output_dir,
tools_dir)
| 42.886667
| 104
| 0.74864
| 847
| 6,433
| 5.517119
| 0.106257
| 0.075112
| 0.092446
| 0.098866
| 0.981168
| 0.981168
| 0.981168
| 0.950567
| 0.948641
| 0.906056
| 0
| 0.02952
| 0.115343
| 6,433
| 150
| 105
| 42.886667
| 0.791601
| 0.001244
| 0
| 0.736842
| 0
| 0.180451
| 0.633562
| 0.6099
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.037594
| 0
| 0.037594
| 0.022556
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
12b7d560714609a51ebd6508620c44761c12ae57
| 58,874
|
py
|
Python
|
tests/readers/opendss/Transformers/test_transformer_kv.py
|
daniel-thom/ditto
|
9ba2d4cfa5e96eeda811f419c18c70b8a548747e
|
[
"BSD-3-Clause"
] | 44
|
2018-04-02T16:48:53.000Z
|
2022-02-24T03:49:06.000Z
|
tests/readers/opendss/Transformers/test_transformer_kv.py
|
dpinney/ditto
|
41dbba80e4990ed9949370fff809e4a68382e213
|
[
"BSD-3-Clause"
] | 267
|
2018-04-17T22:40:14.000Z
|
2022-02-04T15:59:32.000Z
|
tests/readers/opendss/Transformers/test_transformer_kv.py
|
dpinney/ditto
|
41dbba80e4990ed9949370fff809e4a68382e213
|
[
"BSD-3-Clause"
] | 29
|
2018-05-11T22:55:09.000Z
|
2022-02-10T17:35:27.000Z
|
# -*- coding: utf-8 -*-
"""
test_transformer_kv.py
----------------------------------
Tests for parsing nominal voltage values of Transformers from OpenDSS into DiTTo.
"""
import os
import math
import pytest
import numpy as np
from ditto.store import Store
from ditto.readers.opendss.read import Reader
from ditto.default_values.default_values_json import Default_Values
current_directory = os.path.realpath(os.path.dirname(__file__))
def test_transformer_kv():
m = Store()
r = Reader(master_file=os.path.join(current_directory, "test_transformer_kv.dss"))
r.parse(m)
m.set_names()
# Reading OpenDSS default values
d_v = Default_Values(
os.path.join(
current_directory,
"../../../../ditto/default_values/opendss_default_values.json",
)
)
parsed_values = d_v.parse()
# Default values
# The default value for XHL is 7%
# The default value for %R (total of both windings) is 0.4%. Hence %Rs = (0.2,0.2) or the %loadloss property, for both windings at once (the resistance will be divided evenly):
# %loadloss = 0.4
# normhkva = 1.1 * kva
# emerghkva = 1.5 * kva
#
# Substation is a 115kV/4.16kV step-down two windings transformer
assert m["substation"].name == "substation"
assert (
len(m["substation"].windings) == 2
) # Transformer substation should have 2 Windings
assert m["substation"].windings[0].nominal_voltage == 115 * 10 ** 3
assert m["substation"].windings[1].nominal_voltage == 4.16 * 10 ** 3
assert m["substation"].feeder_name == "sourcebus_src"
assert m["substation"].noload_loss == 0.0
assert m["substation"].loadloss == 0.001
assert m["substation"].phase_shift == -30
assert m["substation"].normhkva == 5500.0
assert m["substation"].from_element == "sourcebus"
assert m["substation"].to_element == "bus1"
assert m["substation"].reactances == [0.008]
assert m["substation"].is_center_tap == 0
assert m["substation"].windings[0].connection_type == "D"
assert m["substation"].windings[1].connection_type == "Y"
assert m["substation"].windings[0].rated_power == 5000 * 10 ** 3
assert m["substation"].windings[1].rated_power == 5000 * 10 ** 3
assert m["substation"].windings[0].emergency_power == 7500000.0
assert m["substation"].windings[1].emergency_power == 7500000.0
assert m["substation"].windings[0].resistance == 0.0005
assert m["substation"].windings[1].resistance == 0.0005
assert m["substation"].windings[0].voltage_type == 0
assert m["substation"].windings[1].voltage_type == 2
assert m["substation"].windings[0].voltage_limit == None
assert m["substation"].windings[1].voltage_limit == None
assert m["substation"].windings[0].reverse_resistance == None
assert m["substation"].windings[1].reverse_resistance == None
assert m["substation"].windings[0].phase_windings[0].tap_position == 1.0
assert m["substation"].windings[0].phase_windings[1].tap_position == 1.0
assert m["substation"].windings[0].phase_windings[2].tap_position == 1.0
assert m["substation"].windings[1].phase_windings[0].tap_position == 1.0
assert m["substation"].windings[1].phase_windings[1].tap_position == 1.0
assert m["substation"].windings[1].phase_windings[2].tap_position == 1.0
assert m["substation"].windings[0].phase_windings[0].phase == "A"
assert m["substation"].windings[0].phase_windings[1].phase == "B"
assert m["substation"].windings[0].phase_windings[2].phase == "C"
assert m["substation"].windings[1].phase_windings[0].phase == "A"
assert m["substation"].windings[1].phase_windings[1].phase == "B"
assert m["substation"].windings[1].phase_windings[2].phase == "C"
assert m["substation"].windings[0].phase_windings[0].compensator_r == None
assert m["substation"].windings[0].phase_windings[1].compensator_r == None
assert m["substation"].windings[0].phase_windings[2].compensator_r == None
assert m["substation"].windings[1].phase_windings[0].compensator_r == None
assert m["substation"].windings[1].phase_windings[1].compensator_r == None
assert m["substation"].windings[1].phase_windings[2].compensator_r == None
assert m["substation"].windings[0].phase_windings[0].compensator_x == None
assert m["substation"].windings[0].phase_windings[1].compensator_x == None
assert m["substation"].windings[0].phase_windings[2].compensator_x == None
assert m["substation"].windings[1].phase_windings[0].compensator_x == None
assert m["substation"].windings[1].phase_windings[1].compensator_x == None
assert m["substation"].windings[1].phase_windings[2].compensator_x == None
# reg1 is a 4.16kV/4.16kV two windings regulator
assert m["reg1"].name == "reg1"
assert len(m["reg1"].windings) == 2 # Transformer reg1 should have 2 Windings
assert m["reg1"].windings[0].nominal_voltage == 4.16 * 10 ** 3
assert m["reg1"].windings[1].nominal_voltage == 4.16 * 10 ** 3
assert m["reg1"].feeder_name == "sourcebus_src"
assert m["reg1"].noload_loss == 0.0
assert m["reg1"].loadloss == 0.4
assert m["reg1"].phase_shift == 0
assert m["reg1"].normhkva == 1832.6
assert m["reg1"].from_element == "bus1"
assert m["reg1"].to_element == "bus2"
assert m["reg1"].reactances == pytest.approx(
parsed_values["Transformer"]["reactances"]
)
assert m["reg1"].is_center_tap == 0
assert (
m["reg1"].windings[0].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert (
m["reg1"].windings[1].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert m["reg1"].windings[0].rated_power == 1666 * 10 ** 3
assert m["reg1"].windings[1].rated_power == 1666 * 10 ** 3
assert m["reg1"].windings[0].emergency_power == 2499000.0
assert m["reg1"].windings[1].emergency_power == 2499000.0
assert m["reg1"].windings[0].resistance == 0.2
assert m["reg1"].windings[1].resistance == 0.2
assert m["reg1"].windings[0].voltage_type == 0
assert m["reg1"].windings[1].voltage_type == 2
assert m["reg1"].windings[0].voltage_limit == None
assert m["reg1"].windings[1].voltage_limit == None
assert m["reg1"].windings[0].reverse_resistance == None
assert m["reg1"].windings[1].reverse_resistance == None
assert m["reg1"].windings[0].phase_windings[0].tap_position == 1.0
assert m["reg1"].windings[0].phase_windings[1].tap_position == 1.0
assert m["reg1"].windings[0].phase_windings[2].tap_position == 1.0
assert m["reg1"].windings[1].phase_windings[0].tap_position == 1.0
assert m["reg1"].windings[1].phase_windings[1].tap_position == 1.0
assert m["reg1"].windings[1].phase_windings[2].tap_position == 1.0
assert m["reg1"].windings[0].phase_windings[0].phase == "A"
assert m["reg1"].windings[0].phase_windings[1].phase == "B"
assert m["reg1"].windings[0].phase_windings[2].phase == "C"
assert m["reg1"].windings[1].phase_windings[0].phase == "A"
assert m["reg1"].windings[1].phase_windings[1].phase == "B"
assert m["reg1"].windings[1].phase_windings[2].phase == "C"
assert m["reg1"].windings[0].phase_windings[0].compensator_r == None
assert m["reg1"].windings[0].phase_windings[1].compensator_r == None
assert m["reg1"].windings[0].phase_windings[2].compensator_r == None
assert m["reg1"].windings[1].phase_windings[0].compensator_r == None
assert m["reg1"].windings[1].phase_windings[1].compensator_r == None
assert m["reg1"].windings[1].phase_windings[2].compensator_r == None
assert m["reg1"].windings[0].phase_windings[0].compensator_x == None
assert m["reg1"].windings[0].phase_windings[1].compensator_x == None
assert m["reg1"].windings[0].phase_windings[2].compensator_x == None
assert m["reg1"].windings[1].phase_windings[0].compensator_x == None
assert m["reg1"].windings[1].phase_windings[1].compensator_x == None
assert m["reg1"].windings[1].phase_windings[2].compensator_x == None
# xfm1 is a 4.16kV/0.48kV two windings distribution transformer
assert m["xfm1"].name == "xfm1"
assert len(m["xfm1"].windings) == 2 # Transformer xfm1 should have 2 Windings
assert m["xfm1"].windings[0].nominal_voltage == 4.16 * 10 ** 3
assert m["xfm1"].windings[1].nominal_voltage == 0.48 * 10 ** 3
assert m["xfm1"].feeder_name == "sourcebus_src"
assert m["xfm1"].noload_loss == 0.0
assert m["xfm1"].loadloss == 1.1
assert m["xfm1"].phase_shift == -30
assert m["xfm1"].normhkva == 550.0
assert m["xfm1"].from_element == "bus2"
assert m["xfm1"].to_element == "bus3"
assert m["xfm1"].reactances == [float(2)]
assert m["xfm1"].is_center_tap == 0
assert m["xfm1"].windings[0].connection_type == "D"
assert m["xfm1"].windings[1].connection_type == "Y"
assert m["xfm1"].windings[0].rated_power == 500 * 10 ** 3
assert m["xfm1"].windings[1].rated_power == 500 * 10 ** 3
assert m["xfm1"].windings[0].emergency_power == 750000.0
assert m["xfm1"].windings[1].emergency_power == 750000.0
assert m["xfm1"].windings[0].resistance == 0.55
assert m["xfm1"].windings[1].resistance == 0.55
assert m["xfm1"].windings[0].voltage_type == 0
assert m["xfm1"].windings[1].voltage_type == 2
assert m["xfm1"].windings[0].voltage_limit == None
assert m["xfm1"].windings[1].voltage_limit == None
assert m["xfm1"].windings[0].reverse_resistance == None
assert m["xfm1"].windings[1].reverse_resistance == None
assert m["xfm1"].windings[0].phase_windings[0].tap_position == 1.0
assert m["xfm1"].windings[0].phase_windings[1].tap_position == 1.0
assert m["xfm1"].windings[1].phase_windings[0].tap_position == 1.0
assert m["xfm1"].windings[1].phase_windings[1].tap_position == 1.0
assert m["xfm1"].windings[0].phase_windings[0].phase == "A"
assert m["xfm1"].windings[0].phase_windings[1].phase == "C"
assert m["xfm1"].windings[1].phase_windings[0].phase == "A"
assert m["xfm1"].windings[1].phase_windings[1].phase == "C"
assert m["xfm1"].windings[0].phase_windings[0].compensator_r == None
assert m["xfm1"].windings[0].phase_windings[1].compensator_r == None
assert m["xfm1"].windings[1].phase_windings[0].compensator_r == None
assert m["xfm1"].windings[1].phase_windings[1].compensator_r == None
assert m["xfm1"].windings[0].phase_windings[0].compensator_x == None
assert m["xfm1"].windings[0].phase_windings[1].compensator_x == None
assert m["xfm1"].windings[1].phase_windings[0].compensator_x == None
assert m["xfm1"].windings[1].phase_windings[1].compensator_x == None
# Three phase wye-wye transformer from IEEE 4 node feeder
# t1 is a 12.47kV/4.16kV two windings distribution transformer
assert m["t1"].name == "t1"
assert len(m["t1"].windings) == 2 # Transformer t1 should have 2 Windings
assert m["t1"].windings[0].nominal_voltage == 12.47 * 10 ** 3
assert m["t1"].windings[1].nominal_voltage == 4.16 * 10 ** 3
assert m["t1"].feeder_name == "sourcebus_src"
assert m["t1"].noload_loss == 0.0
assert m["t1"].loadloss == 1.0
assert m["t1"].phase_shift == 0
assert m["t1"].normhkva == 6600.0
assert m["t1"].from_element == "n2"
assert m["t1"].to_element == "n3"
assert m["t1"].reactances == [float(6)]
assert m["t1"].is_center_tap == 0
assert m["t1"].windings[0].connection_type == "Y"
assert m["t1"].windings[1].connection_type == "Y"
assert m["t1"].windings[0].rated_power == 6000 * 10 ** 3
assert m["t1"].windings[1].rated_power == 6000 * 10 ** 3
assert m["t1"].windings[0].emergency_power == 9000000.0
assert m["t1"].windings[1].emergency_power == 9000000.0
assert m["t1"].windings[0].resistance == 0.5
assert m["t1"].windings[1].resistance == 0.5
assert m["t1"].windings[0].voltage_type == 0
assert m["t1"].windings[1].voltage_type == 2
assert m["t1"].windings[0].voltage_limit == None
assert m["t1"].windings[1].voltage_limit == None
assert m["t1"].windings[0].reverse_resistance == None
assert m["t1"].windings[1].reverse_resistance == None
assert m["t1"].windings[0].phase_windings[0].tap_position == 1.0
assert m["t1"].windings[1].phase_windings[0].tap_position == 1.0
assert m["t1"].windings[0].phase_windings[0].phase == "A"
assert m["t1"].windings[1].phase_windings[0].phase == "A"
assert m["t1"].windings[0].phase_windings[0].compensator_r == None
assert m["t1"].windings[1].phase_windings[0].compensator_r == None
assert m["t1"].windings[0].phase_windings[0].compensator_x == None
assert m["t1"].windings[1].phase_windings[0].compensator_x == None
# Three phase Delta-wye substation Transformer from 4kv SMART-DS region P4U
assert m["sb5_p4uhs0_4_trans_439"].name == "sb5_p4uhs0_4_trans_439"
assert (
len(m["sb5_p4uhs0_4_trans_439"].windings) == 2
) # Transformer should have 2 Windings
assert m["sb5_p4uhs0_4_trans_439"].windings[0].nominal_voltage == 69.0 * 10 ** 3
assert m["sb5_p4uhs0_4_trans_439"].windings[1].nominal_voltage == 4.0 * 10 ** 3
assert m["sb5_p4uhs0_4_trans_439"].feeder_name == "sourcebus_src"
assert m["sb5_p4uhs0_4_trans_439"].noload_loss == 0.0
assert m["sb5_p4uhs0_4_trans_439"].loadloss == 0.9616652
assert m["sb5_p4uhs0_4_trans_439"].phase_shift == -30
assert m["sb5_p4uhs0_4_trans_439"].normhkva == 8800.0
assert m["sb5_p4uhs0_4_trans_439"].from_element == "sb5_p4uhs0_4_node_5_12"
assert m["sb5_p4uhs0_4_trans_439"].to_element == "sb5_p4uhs0_4_node_5_13"
assert m["sb5_p4uhs0_4_trans_439"].reactances == [pytest.approx(0.9616652224137047)]
assert m["sb5_p4uhs0_4_trans_439"].is_center_tap == 0
assert m["sb5_p4uhs0_4_trans_439"].windings[0].connection_type == "D"
assert m["sb5_p4uhs0_4_trans_439"].windings[1].connection_type == "Y"
assert m["sb5_p4uhs0_4_trans_439"].windings[0].rated_power == 8000 * 10 ** 3
assert m["sb5_p4uhs0_4_trans_439"].windings[1].rated_power == 8000 * 10 ** 3
assert m["sb5_p4uhs0_4_trans_439"].windings[0].emergency_power == 12000000.0
assert m["sb5_p4uhs0_4_trans_439"].windings[1].emergency_power == 12000000.0
assert m["sb5_p4uhs0_4_trans_439"].windings[0].resistance == pytest.approx(
0.4808326112068522, 0.0000001
)
assert m["sb5_p4uhs0_4_trans_439"].windings[1].resistance == pytest.approx(
0.4808326112068522, 0.0000001
)
assert m["sb5_p4uhs0_4_trans_439"].windings[0].voltage_type == 0
assert m["sb5_p4uhs0_4_trans_439"].windings[1].voltage_type == 2
assert m["sb5_p4uhs0_4_trans_439"].windings[0].voltage_limit == None
assert m["sb5_p4uhs0_4_trans_439"].windings[1].voltage_limit == None
assert m["sb5_p4uhs0_4_trans_439"].windings[0].reverse_resistance == None
assert m["sb5_p4uhs0_4_trans_439"].windings[1].reverse_resistance == None
assert m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[0].tap_position == 1.0
assert m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[1].tap_position == 1.0
assert m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[2].tap_position == 1.0
assert m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[0].tap_position == 1.0
assert m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[1].tap_position == 1.0
assert m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[2].tap_position == 1.0
assert m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[0].phase == "A"
assert m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[1].phase == "B"
assert m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[2].phase == "C"
assert m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[0].phase == "A"
assert m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[1].phase == "B"
assert m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[2].phase == "C"
assert (
m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[0].compensator_r == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[1].compensator_r == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[2].compensator_r == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[0].compensator_r == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[1].compensator_r == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[2].compensator_r == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[0].compensator_x == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[1].compensator_x == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[0].phase_windings[2].compensator_x == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[0].compensator_x == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[1].compensator_x == None
)
assert (
m["sb5_p4uhs0_4_trans_439"].windings[1].phase_windings[2].compensator_x == None
)
# Three phase Wye-Wye Transformer from 4kV SMART-DS region P4U
assert m["tr(r:p4udt27-p4udt27lv)"].name == "tr(r:p4udt27-p4udt27lv)"
assert (
len(m["tr(r:p4udt27-p4udt27lv)"].windings) == 2
) # Transformer should have 2 Windings
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].nominal_voltage == 4.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].nominal_voltage == 0.48 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)"].feeder_name == "sourcebus_src"
assert m["tr(r:p4udt27-p4udt27lv)"].noload_loss == 0.6
assert m["tr(r:p4udt27-p4udt27lv)"].loadloss == 1.74408
assert m["tr(r:p4udt27-p4udt27lv)"].phase_shift == 0
assert m["tr(r:p4udt27-p4udt27lv)"].normhkva == 82.5
assert m["tr(r:p4udt27-p4udt27lv)"].from_element == "p4udt27"
assert m["tr(r:p4udt27-p4udt27lv)"].to_element == "p4udt27lv"
assert m["tr(r:p4udt27-p4udt27lv)"].reactances == [pytest.approx(3.240000000000000)]
assert m["tr(r:p4udt27-p4udt27lv)"].is_center_tap == 0
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].connection_type == "Y"
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].connection_type == "Y"
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].voltage_type == 0
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].voltage_type == 2
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].reverse_resistance == None
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].reverse_resistance == None
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[2].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[2].tap_position == 1.0
)
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[2].phase == "C"
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[2].phase == "C"
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[0].compensator_r == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[1].compensator_r == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[2].compensator_r == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[0].compensator_r == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[1].compensator_r == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[2].compensator_r == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[0].compensator_x == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[1].compensator_x == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[0].phase_windings[2].compensator_x == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[0].compensator_x == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[1].compensator_x == None
)
assert (
m["tr(r:p4udt27-p4udt27lv)"].windings[1].phase_windings[2].compensator_x == None
)
# Three phase Wye-Wye Transformer (modified) from 4kV SMART-DS region P4U
assert m["tr(r:p4udt27-p4udt27lv)_1"].name == "tr(r:p4udt27-p4udt27lv)_1"
assert (
len(m["tr(r:p4udt27-p4udt27lv)_1"].windings) == 2
) # Transformer should have 2 Windings
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].nominal_voltage == 4.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].nominal_voltage == 0.48 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_1"].feeder_name == "sourcebus_src"
assert m["tr(r:p4udt27-p4udt27lv)_1"].noload_loss == 0.6
assert m["tr(r:p4udt27-p4udt27lv)_1"].loadloss == 1.74408
assert m["tr(r:p4udt27-p4udt27lv)_1"].phase_shift == -30
assert m["tr(r:p4udt27-p4udt27lv)_1"].normhkva == 82.5
assert m["tr(r:p4udt27-p4udt27lv)_1"].from_element == "p4udt27"
assert m["tr(r:p4udt27-p4udt27lv)_1"].to_element == "p4udt27lv"
assert m["tr(r:p4udt27-p4udt27lv)_1"].reactances == [
pytest.approx(3.240000000000000)
]
assert m["tr(r:p4udt27-p4udt27lv)_1"].is_center_tap == 0
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].connection_type == "D"
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].connection_type == "Y"
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].voltage_type == 0
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].voltage_type == 2
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].reverse_resistance == None
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].reverse_resistance == None
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[2].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[2].tap_position == 1.0
)
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[2].phase == "C"
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[2].phase == "C"
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[0].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[1].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[2].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[0].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[1].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[2].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[0].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[1].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[0].phase_windings[2].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[0].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[1].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_1"].windings[1].phase_windings[2].compensator_x
== None
)
# Three phase Wye-Wye Transformer (modified) from 4kV SMART-DS region P4U
assert m["tr(r:p4udt27-p4udt27lv)_2"].name == "tr(r:p4udt27-p4udt27lv)_2"
assert (
len(m["tr(r:p4udt27-p4udt27lv)_2"].windings) == 2
) # Transformer should have 2 Windings
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].nominal_voltage == 4.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].nominal_voltage == 0.48 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_2"].feeder_name == "sourcebus_src"
assert m["tr(r:p4udt27-p4udt27lv)_2"].noload_loss == 0.6
assert m["tr(r:p4udt27-p4udt27lv)_2"].loadloss == 1.74408
assert m["tr(r:p4udt27-p4udt27lv)_2"].phase_shift == 0
assert m["tr(r:p4udt27-p4udt27lv)_2"].normhkva == 82.5
assert m["tr(r:p4udt27-p4udt27lv)_2"].from_element == "p4udt27"
assert m["tr(r:p4udt27-p4udt27lv)_2"].to_element == "p4udt27lv"
assert m["tr(r:p4udt27-p4udt27lv)_2"].reactances == [
pytest.approx(3.240000000000000)
]
assert m["tr(r:p4udt27-p4udt27lv)_2"].is_center_tap == 0
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].connection_type == "D"
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].connection_type == "D"
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].voltage_type == 0
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].voltage_type == 2
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].reverse_resistance == None
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].reverse_resistance == None
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[2].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[2].tap_position == 1.0
)
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[2].phase == "C"
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[2].phase == "C"
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[0].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[1].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[2].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[0].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[1].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[2].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[0].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[1].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[0].phase_windings[2].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[0].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[1].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_2"].windings[1].phase_windings[2].compensator_x
== None
)
# Three phase Wye-Wye Transformer (modified) from 4kV SMART-DS region P4U
assert m["tr(r:p4udt27-p4udt27lv)_3"].name == "tr(r:p4udt27-p4udt27lv)_3"
assert (
len(m["tr(r:p4udt27-p4udt27lv)_3"].windings) == 2
) # Transformer should have 2 Windings
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].nominal_voltage == 4.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].nominal_voltage == 0.48 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_3"].feeder_name == "sourcebus_src"
assert m["tr(r:p4udt27-p4udt27lv)_3"].noload_loss == 0.6
assert m["tr(r:p4udt27-p4udt27lv)_3"].loadloss == 1.74408
assert m["tr(r:p4udt27-p4udt27lv)_3"].phase_shift == -30
assert m["tr(r:p4udt27-p4udt27lv)_3"].normhkva == 82.5
assert m["tr(r:p4udt27-p4udt27lv)_3"].from_element == "p4udt27"
assert m["tr(r:p4udt27-p4udt27lv)_3"].to_element == "p4udt27lv"
assert m["tr(r:p4udt27-p4udt27lv)_3"].reactances == [
pytest.approx(3.240000000000000)
]
assert m["tr(r:p4udt27-p4udt27lv)_3"].is_center_tap == 0
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].connection_type == "Y"
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].connection_type == "D"
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].rated_power == 75.0 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].emergency_power == 112.5 * 10 ** 3
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].resistance == 0.87204
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].voltage_type == 0
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].voltage_type == 2
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].voltage_limit == None
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].reverse_resistance == None
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].reverse_resistance == None
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[2].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[1].tap_position == 1.0
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[2].tap_position == 1.0
)
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[2].phase == "C"
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[0].phase == "A"
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[1].phase == "B"
assert m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[2].phase == "C"
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[0].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[1].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[2].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[0].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[1].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[2].compensator_r
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[0].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[1].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[0].phase_windings[2].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[0].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[1].compensator_x
== None
)
assert (
m["tr(r:p4udt27-p4udt27lv)_3"].windings[1].phase_windings[2].compensator_x
== None
)
# Center Tap Transformer from 4kV SMART-DS region P4U
assert m["tr(r:p4udt25-p4udt25lv)"].name == "tr(r:p4udt25-p4udt25lv)"
assert (
len(m["tr(r:p4udt25-p4udt25lv)"].windings) == 3
) # Transformer tr(r:p4udt25-p4udt25lv) should have 3 Windings
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].nominal_voltage == 2.3094 * 10 ** 3
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[1].nominal_voltage == 0.120089 * 10 ** 3
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[2].nominal_voltage == 0.120089 * 10 ** 3
)
assert m["tr(r:p4udt25-p4udt25lv)"].feeder_name == "sourcebus_src"
assert m["tr(r:p4udt25-p4udt25lv)"].noload_loss == 0.472
assert m["tr(r:p4udt25-p4udt25lv)"].loadloss == 0.798816
assert m["tr(r:p4udt25-p4udt25lv)"].phase_shift == 0
assert m["tr(r:p4udt25-p4udt25lv)"].normhkva == 27.5
assert m["tr(r:p4udt25-p4udt25lv)"].from_element == "p4udt25"
assert m["tr(r:p4udt25-p4udt25lv)"].to_element == "p4udt25lv"
assert m["tr(r:p4udt25-p4udt25lv)"].reactances == [2.4, 1.6, 2.4]
assert m["tr(r:p4udt25-p4udt25lv)"].is_center_tap == 1
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].connection_type == "Y"
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].connection_type == "Y"
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].connection_type == "Y"
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].rated_power == 25.0 * 10 ** 3
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].rated_power == 25.0 * 10 ** 3
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].rated_power == 25.0 * 10 ** 3
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].emergency_power == 37.5 * 10 ** 3
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].emergency_power == 37.5 * 10 ** 3
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].emergency_power == 37.5 * 10 ** 3
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].resistance == 0.266272
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].resistance == 0.532544
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].resistance == 0.532544
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].voltage_type == 0
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].voltage_type == 2
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].voltage_type == 2
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].voltage_limit == None
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].voltage_limit == None
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].voltage_limit == None
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].reverse_resistance == None
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].reverse_resistance == None
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].reverse_resistance == None
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[0].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[1].phase_windings[0].tap_position == 1.0
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[2].phase_windings[0].tap_position == 1.0
)
assert m["tr(r:p4udt25-p4udt25lv)"].windings[0].phase_windings[0].phase == "B"
assert m["tr(r:p4udt25-p4udt25lv)"].windings[1].phase_windings[0].phase == "B"
assert m["tr(r:p4udt25-p4udt25lv)"].windings[2].phase_windings[0].phase == "B"
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[0].phase_windings[0].compensator_r == None
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[1].phase_windings[0].compensator_r == None
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[2].phase_windings[0].compensator_r == None
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[0].phase_windings[0].compensator_x == None
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[1].phase_windings[0].compensator_x == None
)
assert (
m["tr(r:p4udt25-p4udt25lv)"].windings[2].phase_windings[0].compensator_x == None
)
# Center Tap Transformer from IEEE 8500 test case
assert m["t21396254a"].name == "t21396254a"
assert (
len(m["t21396254a"].windings) == 3
) # Transformer t21396254a should have 3 Windings
assert m["t21396254a"].windings[0].nominal_voltage == 7.2 * 10 ** 3
assert m["t21396254a"].windings[1].nominal_voltage == 0.12 * 10 ** 3
assert m["t21396254a"].windings[2].nominal_voltage == 0.12 * 10 ** 3
assert m["t21396254a"].feeder_name == "sourcebus_src"
assert m["t21396254a"].noload_loss == 0.2
assert m["t21396254a"].loadloss == 1.8
assert m["t21396254a"].phase_shift == 0
assert m["t21396254a"].normhkva == 16.5
assert m["t21396254a"].from_element == "l2804253"
assert m["t21396254a"].to_element == "x2804253a"
assert m["t21396254a"].reactances == [2.04, 2.04, 1.36]
assert m["t21396254a"].is_center_tap == 1
assert (
m["t21396254a"].windings[0].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert (
m["t21396254a"].windings[1].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert (
m["t21396254a"].windings[2].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert m["t21396254a"].windings[0].rated_power == 15 * 10 ** 3
assert m["t21396254a"].windings[1].rated_power == 15 * 10 ** 3
assert m["t21396254a"].windings[2].rated_power == 15 * 10 ** 3
assert m["t21396254a"].windings[0].emergency_power == 22500.0
assert m["t21396254a"].windings[1].emergency_power == 22500.0
assert m["t21396254a"].windings[2].emergency_power == 22500.0
assert m["t21396254a"].windings[0].resistance == 0.6
assert m["t21396254a"].windings[1].resistance == 1.2
assert m["t21396254a"].windings[2].resistance == 1.2
assert m["t21396254a"].windings[0].voltage_type == 0
assert m["t21396254a"].windings[1].voltage_type == 2
assert m["t21396254a"].windings[2].voltage_type == 2
assert m["t21396254a"].windings[0].voltage_limit == None
assert m["t21396254a"].windings[1].voltage_limit == None
assert m["t21396254a"].windings[2].voltage_limit == None
assert m["t21396254a"].windings[0].reverse_resistance == None
assert m["t21396254a"].windings[1].reverse_resistance == None
assert m["t21396254a"].windings[2].reverse_resistance == None
assert m["t21396254a"].windings[0].phase_windings[0].tap_position == 1.0
assert m["t21396254a"].windings[1].phase_windings[0].tap_position == 1.0
assert m["t21396254a"].windings[2].phase_windings[0].tap_position == 1.0
assert m["t21396254a"].windings[0].phase_windings[0].phase == "A"
assert m["t21396254a"].windings[1].phase_windings[0].phase == "A"
assert m["t21396254a"].windings[2].phase_windings[0].phase == "A"
assert m["t21396254a"].windings[0].phase_windings[0].compensator_r == None
assert m["t21396254a"].windings[1].phase_windings[0].compensator_r == None
assert m["t21396254a"].windings[2].phase_windings[0].compensator_r == None
assert m["t21396254a"].windings[0].phase_windings[0].compensator_x == None
assert m["t21396254a"].windings[1].phase_windings[0].compensator_x == None
assert m["t21396254a"].windings[2].phase_windings[0].compensator_x == None
# Single phase Wye-Wye Transformer (for regulator) From IEEE 8500 Test case
assert m["feeder_rega"].name == "feeder_rega"
assert (
len(m["feeder_rega"].windings) == 2
) # Transformer feeder_rega should have 2 Windings
assert m["feeder_rega"].windings[0].nominal_voltage == 7.2 * 10 ** 3
assert m["feeder_rega"].windings[1].nominal_voltage == 7.2 * 10 ** 3
assert m["feeder_rega"].feeder_name == "sourcebus_src"
assert m["feeder_rega"].noload_loss == 0.0
assert m["feeder_rega"].loadloss == 0.001
assert m["feeder_rega"].phase_shift == 0
assert m["feeder_rega"].normhkva == 30250.0
assert m["feeder_rega"].from_element == "regxfmr_hvmv_sub_lsb"
assert m["feeder_rega"].to_element == "_hvmv_sub_lsb"
assert m["feeder_rega"].reactances == [0.1]
assert m["feeder_rega"].is_center_tap == 0
assert m["feeder_rega"].windings[0].connection_type == "Y"
assert m["feeder_rega"].windings[1].connection_type == "Y"
assert m["feeder_rega"].windings[0].rated_power == 27500 * 10 ** 3
assert m["feeder_rega"].windings[1].rated_power == 27500 * 10 ** 3
assert m["feeder_rega"].windings[0].emergency_power == 41250000.0
assert m["feeder_rega"].windings[1].emergency_power == 41250000.0
assert m["feeder_rega"].windings[0].resistance == 0.0005
assert m["feeder_rega"].windings[1].resistance == 0.0005
assert m["feeder_rega"].windings[0].voltage_type == 0
assert m["feeder_rega"].windings[1].voltage_type == 2
assert m["feeder_rega"].windings[0].voltage_limit == None
assert m["feeder_rega"].windings[1].voltage_limit == None
assert m["feeder_rega"].windings[0].reverse_resistance == None
assert m["feeder_rega"].windings[1].reverse_resistance == None
assert m["feeder_rega"].windings[0].phase_windings[0].tap_position == 1.0
assert m["feeder_rega"].windings[1].phase_windings[0].tap_position == 1.0
assert m["feeder_rega"].windings[0].phase_windings[0].phase == "A"
assert m["feeder_rega"].windings[1].phase_windings[0].phase == "A"
assert m["feeder_rega"].windings[0].phase_windings[0].compensator_r == None
assert m["feeder_rega"].windings[1].phase_windings[0].compensator_r == None
assert m["feeder_rega"].windings[0].phase_windings[0].compensator_x == None
assert m["feeder_rega"].windings[1].phase_windings[0].compensator_x == None
# Single phase Wye-Wye Transformers from Epri J-1 Feeder
assert m["b13659-1c"].name == "b13659-1c"
assert (
len(m["b13659-1c"].windings) == 2
) # Transformer b13659-1c should have 2 Windings
assert m["b13659-1c"].windings[0].nominal_voltage == 7.2 * 10 ** 3
assert m["b13659-1c"].windings[1].nominal_voltage == 0.24 * 10 ** 3
assert m["b13659-1c"].feeder_name == "sourcebus_src"
assert m["b13659-1c"].noload_loss == 0.34
assert m["b13659-1c"].loadloss == 1.04
assert m["b13659-1c"].phase_shift == 0
assert m["b13659-1c"].normhkva == 15
assert m["b13659-1c"].from_element == "b13659"
assert m["b13659-1c"].to_element == "x_b13659-c"
assert m["b13659-1c"].reactances == [1.5]
assert m["b13659-1c"].is_center_tap == 0
assert (
m["b13659-1c"].windings[0].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert (
m["b13659-1c"].windings[1].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert m["b13659-1c"].windings[0].rated_power == 15 * 10 ** 3
assert m["b13659-1c"].windings[1].rated_power == 15 * 10 ** 3
assert m["b13659-1c"].windings[1].emergency_power == 21 * 10 ** 3
assert m["b13659-1c"].windings[1].emergency_power == 21 * 10 ** 3
assert m["b13659-1c"].windings[0].resistance == 0.52
assert m["b13659-1c"].windings[1].resistance == 0.52
assert m["b13659-1c"].windings[0].voltage_type == 0
assert m["b13659-1c"].windings[1].voltage_type == 2
assert m["b13659-1c"].windings[0].voltage_limit == None
assert m["b13659-1c"].windings[1].voltage_limit == None
assert m["b13659-1c"].windings[0].reverse_resistance == None
assert m["b13659-1c"].windings[1].reverse_resistance == None
assert m["b13659-1c"].windings[0].phase_windings[0].tap_position == 1.0
assert m["b13659-1c"].windings[1].phase_windings[0].tap_position == 1.0
assert m["b13659-1c"].windings[0].phase_windings[0].phase == "C"
assert m["b13659-1c"].windings[1].phase_windings[0].phase == "C"
assert m["b13659-1c"].windings[0].phase_windings[0].compensator_r == None
assert m["b13659-1c"].windings[1].phase_windings[0].compensator_r == None
assert m["b13659-1c"].windings[0].phase_windings[0].compensator_x == None
assert m["b13659-1c"].windings[1].phase_windings[0].compensator_x == None
# Single phase Wye-Wye Transformers from Epri J-1 Feeder
assert m["b4551-1a"].name == "b4551-1a"
assert (
len(m["b4551-1a"].windings) == 2
) # Transformer b4551-1a should have 2 Windings
assert m["b4551-1a"].windings[0].nominal_voltage == 7.2 * 10 ** 3
assert m["b4551-1a"].windings[1].nominal_voltage == 0.24 * 10 ** 3
assert m["b4551-1a"].feeder_name == "sourcebus_src"
assert m["b4551-1a"].noload_loss == 0.34
assert m["b4551-1a"].loadloss == 1.04
assert m["b4551-1a"].phase_shift == 0
assert m["b4551-1a"].normhkva == 15
assert m["b4551-1a"].from_element == "b4551"
assert m["b4551-1a"].to_element == "x_b4551-a"
assert m["b4551-1a"].reactances == [1.5]
assert m["b4551-1a"].is_center_tap == 0
assert (
m["b4551-1a"].windings[0].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert (
m["b4551-1a"].windings[1].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert m["b4551-1a"].windings[0].rated_power == 15 * 10 ** 3
assert m["b4551-1a"].windings[1].rated_power == 15 * 10 ** 3
assert m["b4551-1a"].windings[1].emergency_power == 21 * 10 ** 3
assert m["b4551-1a"].windings[1].emergency_power == 21 * 10 ** 3
assert m["b4551-1a"].windings[0].resistance == 0.52
assert m["b4551-1a"].windings[1].resistance == 0.52
assert m["b4551-1a"].windings[0].voltage_type == 0
assert m["b4551-1a"].windings[1].voltage_type == 2
assert m["b4551-1a"].windings[0].voltage_limit == None
assert m["b4551-1a"].windings[1].voltage_limit == None
assert m["b4551-1a"].windings[0].reverse_resistance == None
assert m["b4551-1a"].windings[1].reverse_resistance == None
assert m["b4551-1a"].windings[0].phase_windings[0].tap_position == 1.0
assert m["b4551-1a"].windings[1].phase_windings[0].tap_position == 1.0
assert m["b4551-1a"].windings[0].phase_windings[0].phase == "A"
assert m["b4551-1a"].windings[1].phase_windings[0].phase == "A"
assert m["b4551-1a"].windings[0].phase_windings[0].compensator_r == None
assert m["b4551-1a"].windings[1].phase_windings[0].compensator_r == None
assert m["b4551-1a"].windings[0].phase_windings[0].compensator_x == None
assert m["b4551-1a"].windings[1].phase_windings[0].compensator_x == None
# Three phase Wye-Wye Transformer from 4kV SMART-DS region P4U
assert m["5865228330a-1abc"].name == "5865228330a-1abc"
assert (
len(m["5865228330a-1abc"].windings) == 2
) # Transformer should have 2 Windings
assert m["5865228330a-1abc"].windings[0].nominal_voltage == 12.47 * 10 ** 3
assert m["5865228330a-1abc"].windings[1].nominal_voltage == 0.416 * 10 ** 3
assert m["5865228330a-1abc"].feeder_name == "sourcebus_src"
assert m["5865228330a-1abc"].noload_loss == 0.05
assert m["5865228330a-1abc"].loadloss == 0.7
assert m["5865228330a-1abc"].phase_shift == 0
assert m["5865228330a-1abc"].normhkva == 2000.01
assert m["5865228330a-1abc"].from_element == "5865228330a"
assert m["5865228330a-1abc"].to_element == "x_5865228330a"
assert m["5865228330a-1abc"].reactances == [5]
assert m["5865228330a-1abc"].is_center_tap == 0
assert (
m["5865228330a-1abc"].windings[0].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert (
m["5865228330a-1abc"].windings[1].connection_type
== parsed_values["Transformer"]["connection_type"]
)
assert m["5865228330a-1abc"].windings[0].rated_power == 2000 * 10 ** 3
assert m["5865228330a-1abc"].windings[1].rated_power == 2000 * 10 ** 3
assert m["5865228330a-1abc"].windings[0].emergency_power == 2800 * 10 ** 3
assert m["5865228330a-1abc"].windings[1].emergency_power == 2800 * 10 ** 3
assert m["5865228330a-1abc"].windings[0].resistance == 0.35
assert m["5865228330a-1abc"].windings[1].resistance == 0.35
assert m["5865228330a-1abc"].windings[0].voltage_type == 0
assert m["5865228330a-1abc"].windings[1].voltage_type == 2
assert m["5865228330a-1abc"].windings[0].voltage_limit == None
assert m["5865228330a-1abc"].windings[1].voltage_limit == None
assert m["5865228330a-1abc"].windings[0].reverse_resistance == None
assert m["5865228330a-1abc"].windings[1].reverse_resistance == None
assert m["5865228330a-1abc"].windings[0].phase_windings[0].tap_position == 1.0
assert m["5865228330a-1abc"].windings[0].phase_windings[1].tap_position == 1.0
assert m["5865228330a-1abc"].windings[0].phase_windings[2].tap_position == 1.0
assert m["5865228330a-1abc"].windings[1].phase_windings[0].tap_position == 1.0
assert m["5865228330a-1abc"].windings[1].phase_windings[1].tap_position == 1.0
assert m["5865228330a-1abc"].windings[1].phase_windings[2].tap_position == 1.0
assert m["5865228330a-1abc"].windings[0].phase_windings[0].phase == "A"
assert m["5865228330a-1abc"].windings[0].phase_windings[1].phase == "B"
assert m["5865228330a-1abc"].windings[0].phase_windings[2].phase == "C"
assert m["5865228330a-1abc"].windings[1].phase_windings[0].phase == "A"
assert m["5865228330a-1abc"].windings[1].phase_windings[1].phase == "B"
assert m["5865228330a-1abc"].windings[1].phase_windings[2].phase == "C"
assert m["5865228330a-1abc"].windings[0].phase_windings[0].compensator_r == None
assert m["5865228330a-1abc"].windings[0].phase_windings[1].compensator_r == None
assert m["5865228330a-1abc"].windings[0].phase_windings[2].compensator_r == None
assert m["5865228330a-1abc"].windings[1].phase_windings[0].compensator_r == None
assert m["5865228330a-1abc"].windings[1].phase_windings[1].compensator_r == None
assert m["5865228330a-1abc"].windings[1].phase_windings[2].compensator_r == None
assert m["5865228330a-1abc"].windings[0].phase_windings[0].compensator_x == None
assert m["5865228330a-1abc"].windings[0].phase_windings[1].compensator_x == None
assert m["5865228330a-1abc"].windings[0].phase_windings[2].compensator_x == None
assert m["5865228330a-1abc"].windings[1].phase_windings[0].compensator_x == None
assert m["5865228330a-1abc"].windings[1].phase_windings[1].compensator_x == None
assert m["5865228330a-1abc"].windings[1].phase_windings[2].compensator_x == None
# Single phase delta-wye transformer. This is a dummy test as we don't expect to see delta configurations on a single phase
assert m["t1_1"].name == "t1_1"
assert len(m["t1_1"].windings) == 2 # Transformer t1_1 should have 2 Windings
assert m["t1_1"].windings[0].nominal_voltage == 12.47 * 10 ** 3
assert m["t1_1"].windings[1].nominal_voltage == 4.16 * 10 ** 3
assert m["t1_1"].feeder_name == "sourcebus_src"
assert m["t1_1"].noload_loss == 0.0
assert m["t1_1"].loadloss == 1.0
assert m["t1_1"].phase_shift == -30
assert m["t1_1"].normhkva == 6600.0
assert m["t1_1"].from_element == "n2"
assert m["t1_1"].to_element == "n3"
assert m["t1_1"].reactances == [float(6)]
assert m["t1_1"].is_center_tap == 0
assert m["t1_1"].windings[0].connection_type == "D"
assert m["t1_1"].windings[1].connection_type == "Y"
assert m["t1_1"].windings[0].rated_power == 6000 * 10 ** 3
assert m["t1_1"].windings[1].rated_power == 6000 * 10 ** 3
assert m["t1_1"].windings[0].emergency_power == 9000000.0
assert m["t1_1"].windings[1].emergency_power == 9000000.0
assert m["t1_1"].windings[0].resistance == 0.5
assert m["t1_1"].windings[1].resistance == 0.5
assert m["t1_1"].windings[0].voltage_type == 0
assert m["t1_1"].windings[1].voltage_type == 2
assert m["t1_1"].windings[0].voltage_limit == None
assert m["t1_1"].windings[1].voltage_limit == None
assert m["t1_1"].windings[0].reverse_resistance == None
assert m["t1_1"].windings[1].reverse_resistance == None
assert m["t1_1"].windings[0].phase_windings[0].tap_position == 1.0
assert m["t1_1"].windings[1].phase_windings[0].tap_position == 1.0
assert m["t1_1"].windings[0].phase_windings[0].phase == "C"
assert m["t1_1"].windings[1].phase_windings[0].phase == "C"
assert m["t1_1"].windings[0].phase_windings[0].compensator_r == None
assert m["t1_1"].windings[1].phase_windings[0].compensator_r == None
assert m["t1_1"].windings[0].phase_windings[0].compensator_x == None
assert m["t1_1"].windings[1].phase_windings[0].compensator_x == None
# Single phase wye-delta transformer. This is a dummy test as we don't expect to see delta configurations on a single phase
assert m["t1_2"].name == "t1_2"
assert len(m["t1_2"].windings) == 2 # Transformer t1_2 should have 2 Windings
assert m["t1_2"].windings[0].nominal_voltage == 12.47 * 10 ** 3
assert m["t1_2"].windings[1].nominal_voltage == 4.16 * 10 ** 3
assert m["t1_2"].feeder_name == "sourcebus_src"
assert m["t1_2"].noload_loss == 0.0
assert m["t1_2"].loadloss == 1.0
assert m["t1_2"].phase_shift == -30
assert m["t1_2"].normhkva == 6600.0
assert m["t1_2"].from_element == "n2"
assert m["t1_2"].to_element == "n3"
assert m["t1_2"].reactances == [float(6)]
assert m["t1_2"].is_center_tap == 0
assert m["t1_2"].windings[0].connection_type == "Y"
assert m["t1_2"].windings[1].connection_type == "D"
assert m["t1_2"].windings[0].rated_power == 6000 * 10 ** 3
assert m["t1_2"].windings[1].rated_power == 6000 * 10 ** 3
assert m["t1_2"].windings[0].emergency_power == 9000000.0
assert m["t1_2"].windings[1].emergency_power == 9000000.0
assert m["t1_2"].windings[0].resistance == 0.5
assert m["t1_2"].windings[1].resistance == 0.5
assert m["t1_2"].windings[0].voltage_type == 0
assert m["t1_2"].windings[1].voltage_type == 2
assert m["t1_2"].windings[0].voltage_limit == None
assert m["t1_2"].windings[1].voltage_limit == None
assert m["t1_2"].windings[0].reverse_resistance == None
assert m["t1_2"].windings[1].reverse_resistance == None
assert m["t1_2"].windings[0].phase_windings[0].tap_position == 1.0
assert m["t1_2"].windings[1].phase_windings[0].tap_position == 1.0
assert m["t1_2"].windings[0].phase_windings[0].phase == "C"
assert m["t1_2"].windings[1].phase_windings[0].phase == "C"
assert m["t1_2"].windings[0].phase_windings[0].compensator_r == None
assert m["t1_2"].windings[1].phase_windings[0].compensator_r == None
assert m["t1_2"].windings[0].phase_windings[0].compensator_x == None
assert m["t1_2"].windings[1].phase_windings[0].compensator_x == None
| 42.879825
| 180
| 0.661582
| 8,734
| 58,874
| 4.296886
| 0.028051
| 0.137654
| 0.026753
| 0.065549
| 0.919609
| 0.898319
| 0.855792
| 0.785206
| 0.71606
| 0.640678
| 0
| 0.124618
| 0.159986
| 58,874
| 1,372
| 181
| 42.911079
| 0.634233
| 0.040765
| 0
| 0.162617
| 0
| 0
| 0.21096
| 0.132411
| 0
| 0
| 0
| 0
| 0.705607
| 1
| 0.000935
| false
| 0
| 0.006542
| 0
| 0.007477
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
12ff325c2672dab4a6e698a358ebaab784f3204e
| 4,293
|
py
|
Python
|
test/pyaz/synapse/workspace/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | null | null | null |
test/pyaz/synapse/workspace/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | 9
|
2021-09-24T16:37:24.000Z
|
2021-12-24T00:39:19.000Z
|
test/pyaz/synapse/workspace/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | null | null | null |
import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def show(resource_group, name):
params = get_params(locals())
command = "az synapse workspace show " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def list(resource_group=None):
params = get_params(locals())
command = "az synapse workspace list " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def create(resource_group, name, storage_account, file_system, sql_admin_login_user, sql_admin_login_password, location=None, key_name=None, key_identifier=None, enable_managed_vnet=None, allowed_tenant_ids=None, prevent_exfiltration=None, tags=None, no_wait=None):
params = get_params(locals())
command = "az synapse workspace create " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def update(resource_group, name, sql_admin_login_password=None, allowed_tenant_ids=None, tags=None, key_name=None, no_wait=None):
params = get_params(locals())
command = "az synapse workspace update " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def check_name(name):
params = get_params(locals())
command = "az synapse workspace check-name " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def delete(resource_group, name, yes=None, no_wait=None):
params = get_params(locals())
command = "az synapse workspace delete " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def activate(resource_group, workspace_name, name, key_identifier, no_wait=None):
params = get_params(locals())
command = "az synapse workspace activate " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def wait(resource_group, workspace_name, timeout=None, interval=None, deleted=None, created=None, updated=None, exists=None, custom=None):
params = get_params(locals())
command = "az synapse workspace wait " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
| 37.008621
| 265
| 0.676217
| 532
| 4,293
| 5.366541
| 0.139098
| 0.078459
| 0.056042
| 0.058844
| 0.804553
| 0.787741
| 0.787741
| 0.787741
| 0.787741
| 0.717688
| 0
| 0.004717
| 0.209877
| 4,293
| 115
| 266
| 37.330435
| 0.836969
| 0
| 0
| 0.830189
| 0
| 0
| 0.070813
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.075472
| false
| 0.018868
| 0.018868
| 0
| 0.169811
| 0.226415
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
42244baff3117f03af92651677b6ba42685716c7
| 163
|
py
|
Python
|
pageblocks/utils.py
|
mtskelton/django-page-blocks
|
a4eb37f0016cd51ddcc4357ef9a05a40c580e079
|
[
"MIT"
] | null | null | null |
pageblocks/utils.py
|
mtskelton/django-page-blocks
|
a4eb37f0016cd51ddcc4357ef9a05a40c580e079
|
[
"MIT"
] | null | null | null |
pageblocks/utils.py
|
mtskelton/django-page-blocks
|
a4eb37f0016cd51ddcc4357ef9a05a40c580e079
|
[
"MIT"
] | null | null | null |
import importlib
def class_from_name(name):
module_name, class_name = name.rsplit(".", 1)
return getattr(importlib.import_module(module_name), class_name)
| 32.6
| 68
| 0.766871
| 23
| 163
| 5.130435
| 0.478261
| 0.135593
| 0.254237
| 0.322034
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006993
| 0.122699
| 163
| 5
| 68
| 32.6
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0.006098
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.5
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
422d6415de9229a8eb20da9acd1f9dfb1ae04c35
| 199,465
|
py
|
Python
|
GUI/code/CV_GUI.py
|
dimacio/pytentiostat
|
da4b0868a38e55d704b8ccd708c81a5aa0a2e477
|
[
"BSD-3-Clause"
] | null | null | null |
GUI/code/CV_GUI.py
|
dimacio/pytentiostat
|
da4b0868a38e55d704b8ccd708c81a5aa0a2e477
|
[
"BSD-3-Clause"
] | null | null | null |
GUI/code/CV_GUI.py
|
dimacio/pytentiostat
|
da4b0868a38e55d704b8ccd708c81a5aa0a2e477
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'CV_gui_1.ui'
#
# Created by: PyQt5 UI code generator 5.13.1
#
# WARNING! All changes made in this file will be lost!
## Standard library
from PyQt5 import QtCore, QtGui, QtWidgets
## Local library
# GUI_function
from GUI_load_config import Ui_Load
from Adv_params_GUI import Ui_Adv_Params
class Ui_CV(object):
"""
Initializes the 'Load config file' window
Returns
------
string : the loaded filename
"""
def load_folder_name(self):
self.window = QtWidgets.QWidget()
self.Load = Ui_Load()
return self.Load.setupUi_save(self.window)
def AP_window(self):
"""
Initializes the 'Advanced parameters' window
Returns
------
AP : the Ui_Adv_Params object
window : QtWidgets.QMainWindow object
"""
self.window = QtWidgets.QMainWindow()
self.AP = Ui_Adv_Params()
self.AP.setupUi(self.window)
self.window.show()
return self.AP,self.window
def setupUi(self, CV):
"""
Initializes the CV window
"""
CV.setObjectName("CV")
CV.resize(871, 596)
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
CV.setPalette(palette)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../pics/icon_pytentiostat.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
CV.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(CV)
self.centralwidget.setObjectName("centralwidget")
self.rest_time_label = QtWidgets.QLabel(self.centralwidget)
self.rest_time_label.setEnabled(True)
self.rest_time_label.setGeometry(QtCore.QRect(10, 230, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.rest_time_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.rest_time_label.setFont(font)
self.rest_time_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.rest_time_label.setAcceptDrops(False)
self.rest_time_label.setAutoFillBackground(True)
self.rest_time_label.setFrameShape(QtWidgets.QFrame.Box)
self.rest_time_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.rest_time_label.setLineWidth(1)
self.rest_time_label.setMidLineWidth(1)
self.rest_time_label.setScaledContents(False)
self.rest_time_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.rest_time_label.setObjectName("rest_time_label")
self.experiment_type_label = QtWidgets.QLabel(self.centralwidget)
self.experiment_type_label.setEnabled(True)
self.experiment_type_label.setGeometry(QtCore.QRect(10, 50, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.experiment_type_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_type_label.setFont(font)
self.experiment_type_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.experiment_type_label.setAcceptDrops(False)
self.experiment_type_label.setAutoFillBackground(True)
self.experiment_type_label.setFrameShape(QtWidgets.QFrame.Box)
self.experiment_type_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.experiment_type_label.setLineWidth(1)
self.experiment_type_label.setMidLineWidth(1)
self.experiment_type_label.setScaledContents(False)
self.experiment_type_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.experiment_type_label.setObjectName("experiment_type_label")
self.select_output_filepath_button = QtWidgets.QPushButton(self.centralwidget)
self.select_output_filepath_button.setGeometry(QtCore.QRect(10, 130, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(91, 166, 232))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(248, 221, 23))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.NoRole, brush)
self.select_output_filepath_button.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.select_output_filepath_button.setFont(font)
self.select_output_filepath_button.setAcceptDrops(False)
self.select_output_filepath_button.setWhatsThis("")
self.select_output_filepath_button.setAutoFillBackground(True)
self.select_output_filepath_button.setInputMethodHints(QtCore.Qt.ImhNone)
self.select_output_filepath_button.setAutoDefault(False)
self.select_output_filepath_button.setDefault(True)
self.select_output_filepath_button.setFlat(True)
self.select_output_filepath_button.setObjectName("select_output_filepath_button")
self.sweep_rate_label = QtWidgets.QLabel(self.centralwidget)
self.sweep_rate_label.setEnabled(True)
self.sweep_rate_label.setGeometry(QtCore.QRect(10, 470, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.sweep_rate_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.sweep_rate_label.setFont(font)
self.sweep_rate_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.sweep_rate_label.setAcceptDrops(False)
self.sweep_rate_label.setAutoFillBackground(True)
self.sweep_rate_label.setFrameShape(QtWidgets.QFrame.Box)
self.sweep_rate_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.sweep_rate_label.setLineWidth(1)
self.sweep_rate_label.setMidLineWidth(1)
self.sweep_rate_label.setScaledContents(False)
self.sweep_rate_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.sweep_rate_label.setObjectName("sweep_rate_label")
self.first_vertex_voltage_label = QtWidgets.QLabel(self.centralwidget)
self.first_vertex_voltage_label.setEnabled(True)
self.first_vertex_voltage_label.setGeometry(QtCore.QRect(10, 390, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.first_vertex_voltage_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.first_vertex_voltage_label.setFont(font)
self.first_vertex_voltage_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.first_vertex_voltage_label.setAcceptDrops(False)
self.first_vertex_voltage_label.setAutoFillBackground(True)
self.first_vertex_voltage_label.setFrameShape(QtWidgets.QFrame.Box)
self.first_vertex_voltage_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.first_vertex_voltage_label.setLineWidth(1)
self.first_vertex_voltage_label.setMidLineWidth(1)
self.first_vertex_voltage_label.setScaledContents(False)
self.first_vertex_voltage_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.first_vertex_voltage_label.setObjectName("first_vertex_voltage_label")
self.general_parameters_label = QtWidgets.QLabel(self.centralwidget)
self.general_parameters_label.setEnabled(True)
self.general_parameters_label.setGeometry(QtCore.QRect(10, 10, 191, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.general_parameters_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.general_parameters_label.setFont(font)
self.general_parameters_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.general_parameters_label.setAcceptDrops(False)
self.general_parameters_label.setAutoFillBackground(True)
self.general_parameters_label.setFrameShape(QtWidgets.QFrame.Box)
self.general_parameters_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.general_parameters_label.setLineWidth(1)
self.general_parameters_label.setMidLineWidth(1)
self.general_parameters_label.setScaledContents(False)
self.general_parameters_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.general_parameters_label.setObjectName("general_parameters_label")
self.experiment_type_verify = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_type_verify.setGeometry(QtCore.QRect(180, 50, 251, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_type_verify.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_type_verify.setFont(font)
self.experiment_type_verify.setStyleSheet("background-color: rgb(240, 240, 240);")
self.experiment_type_verify.setFrame(False)
self.experiment_type_verify.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_type_verify.setReadOnly(True)
self.experiment_type_verify.setObjectName("experiment_type_verify")
self.output_filename_label = QtWidgets.QLabel(self.centralwidget)
self.output_filename_label.setEnabled(True)
self.output_filename_label.setGeometry(QtCore.QRect(10, 90, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.output_filename_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.output_filename_label.setFont(font)
self.output_filename_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.output_filename_label.setAcceptDrops(False)
self.output_filename_label.setAutoFillBackground(True)
self.output_filename_label.setFrameShape(QtWidgets.QFrame.Box)
self.output_filename_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.output_filename_label.setLineWidth(1)
self.output_filename_label.setMidLineWidth(1)
self.output_filename_label.setScaledContents(False)
self.output_filename_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.output_filename_label.setObjectName("output_filename_label")
self.experiment_file_name = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_file_name.setGeometry(QtCore.QRect(180, 90, 251, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_file_name.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_file_name.setFont(font)
self.experiment_file_name.setStyleSheet("")
self.experiment_file_name.setInputMethodHints(QtCore.Qt.ImhNone)
self.experiment_file_name.setText("")
self.experiment_file_name.setFrame(True)
self.experiment_file_name.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_file_name.setObjectName("experiment_file_name")
self.step_number_label = QtWidgets.QLabel(self.centralwidget)
self.step_number_label.setEnabled(True)
self.step_number_label.setGeometry(QtCore.QRect(10, 270, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.step_number_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.step_number_label.setFont(font)
self.step_number_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.step_number_label.setAcceptDrops(False)
self.step_number_label.setAutoFillBackground(True)
self.step_number_label.setFrameShape(QtWidgets.QFrame.Box)
self.step_number_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.step_number_label.setLineWidth(1)
self.step_number_label.setMidLineWidth(1)
self.step_number_label.setScaledContents(False)
self.step_number_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.step_number_label.setObjectName("step_number_label")
self.experiment_sweep_rate = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_sweep_rate.setGeometry(QtCore.QRect(180, 470, 61, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_sweep_rate.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_sweep_rate.setFont(font)
self.experiment_sweep_rate.setStyleSheet("")
self.experiment_sweep_rate.setText("")
self.experiment_sweep_rate.setFrame(True)
self.experiment_sweep_rate.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_sweep_rate.setObjectName("experiment_sweep_rate")
self.experiment_parameters_label = QtWidgets.QLabel(self.centralwidget)
self.experiment_parameters_label.setEnabled(True)
self.experiment_parameters_label.setGeometry(QtCore.QRect(10, 180, 191, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.experiment_parameters_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_parameters_label.setFont(font)
self.experiment_parameters_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.experiment_parameters_label.setAcceptDrops(False)
self.experiment_parameters_label.setAutoFillBackground(True)
self.experiment_parameters_label.setFrameShape(QtWidgets.QFrame.Box)
self.experiment_parameters_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.experiment_parameters_label.setLineWidth(1)
self.experiment_parameters_label.setMidLineWidth(1)
self.experiment_parameters_label.setScaledContents(False)
self.experiment_parameters_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.experiment_parameters_label.setObjectName("experiment_parameters_label")
self.experiment_file_path = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_file_path.setGeometry(QtCore.QRect(180, 130, 251, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_file_path.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.experiment_file_path.setFont(font)
self.experiment_file_path.setStyleSheet("")
self.experiment_file_path.setText("")
self.experiment_file_path.setFrame(True)
self.experiment_file_path.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_file_path.setReadOnly(False)
self.experiment_file_path.setObjectName("experiment_file_path")
self.experiment_preview_label = QtWidgets.QLabel(self.centralwidget)
self.experiment_preview_label.setEnabled(True)
self.experiment_preview_label.setGeometry(QtCore.QRect(440, 10, 421, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.experiment_preview_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_preview_label.setFont(font)
self.experiment_preview_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.experiment_preview_label.setAcceptDrops(False)
self.experiment_preview_label.setAutoFillBackground(True)
self.experiment_preview_label.setFrameShape(QtWidgets.QFrame.Box)
self.experiment_preview_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.experiment_preview_label.setLineWidth(1)
self.experiment_preview_label.setMidLineWidth(1)
self.experiment_preview_label.setScaledContents(False)
self.experiment_preview_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.experiment_preview_label.setObjectName("experiment_preview_label")
self.sweep_rate_units_label = QtWidgets.QLineEdit(self.centralwidget)
self.sweep_rate_units_label.setGeometry(QtCore.QRect(250, 470, 41, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.sweep_rate_units_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.sweep_rate_units_label.setFont(font)
self.sweep_rate_units_label.setStatusTip("")
self.sweep_rate_units_label.setStyleSheet("background-color: rgb(240, 240, 240);")
self.sweep_rate_units_label.setFrame(False)
self.sweep_rate_units_label.setObjectName("sweep_rate_units_label")
self.v_vs_label_1 = QtWidgets.QLineEdit(self.centralwidget)
self.v_vs_label_1.setGeometry(QtCore.QRect(250, 350, 41, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.v_vs_label_1.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.v_vs_label_1.setFont(font)
self.v_vs_label_1.setStatusTip("")
self.v_vs_label_1.setStyleSheet("background-color: rgb(240, 240, 240);")
self.v_vs_label_1.setFrame(False)
self.v_vs_label_1.setObjectName("v_vs_label_1")
self.v_vs_label_2 = QtWidgets.QLineEdit(self.centralwidget)
self.v_vs_label_2.setGeometry(QtCore.QRect(250, 390, 41, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.v_vs_label_2.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.v_vs_label_2.setFont(font)
self.v_vs_label_2.setStatusTip("")
self.v_vs_label_2.setStyleSheet("background-color: rgb(240, 240, 240);")
self.v_vs_label_2.setFrame(False)
self.v_vs_label_2.setObjectName("v_vs_label_2")
self.experiment_rest_time = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_rest_time.setGeometry(QtCore.QRect(180, 230, 61, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_rest_time.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_rest_time.setFont(font)
self.experiment_rest_time.setStyleSheet("")
self.experiment_rest_time.setText("")
self.experiment_rest_time.setFrame(True)
self.experiment_rest_time.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_rest_time.setObjectName("experiment_rest_time")
self.advanced_parameters_button = QtWidgets.QPushButton(self.centralwidget)
self.advanced_parameters_button.setGeometry(QtCore.QRect(440, 510, 211, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(91, 166, 232))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(248, 221, 23))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.NoRole, brush)
self.advanced_parameters_button.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.advanced_parameters_button.setFont(font)
self.advanced_parameters_button.setContextMenuPolicy(QtCore.Qt.PreventContextMenu)
self.advanced_parameters_button.setAcceptDrops(False)
self.advanced_parameters_button.setWhatsThis("")
self.advanced_parameters_button.setAutoFillBackground(True)
self.advanced_parameters_button.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.advanced_parameters_button.setInputMethodHints(QtCore.Qt.ImhNone)
self.advanced_parameters_button.setAutoRepeatDelay(301)
self.advanced_parameters_button.setAutoRepeatInterval(96)
self.advanced_parameters_button.setAutoDefault(False)
self.advanced_parameters_button.setDefault(False)
self.advanced_parameters_button.setFlat(False)
self.advanced_parameters_button.setObjectName("advanced_parameters_button")
self.start_voltage_label = QtWidgets.QLabel(self.centralwidget)
self.start_voltage_label.setEnabled(True)
self.start_voltage_label.setGeometry(QtCore.QRect(10, 350, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.start_voltage_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.start_voltage_label.setFont(font)
self.start_voltage_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.start_voltage_label.setAcceptDrops(False)
self.start_voltage_label.setAutoFillBackground(True)
self.start_voltage_label.setFrameShape(QtWidgets.QFrame.Box)
self.start_voltage_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.start_voltage_label.setLineWidth(1)
self.start_voltage_label.setMidLineWidth(1)
self.start_voltage_label.setScaledContents(False)
self.start_voltage_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.start_voltage_label.setObjectName("start_voltage_label")
self.rest_time_units_label = QtWidgets.QLineEdit(self.centralwidget)
self.rest_time_units_label.setGeometry(QtCore.QRect(250, 230, 16, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.rest_time_units_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.rest_time_units_label.setFont(font)
self.rest_time_units_label.setStatusTip("")
self.rest_time_units_label.setStyleSheet("background-color: rgb(240, 240, 240);")
self.rest_time_units_label.setFrame(False)
self.rest_time_units_label.setObjectName("rest_time_units_label")
self.save_experiment_file_button = QtWidgets.QPushButton(self.centralwidget)
self.save_experiment_file_button.setGeometry(QtCore.QRect(660, 510, 201, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(91, 166, 232))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(248, 221, 23))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.NoRole, brush)
self.save_experiment_file_button.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.save_experiment_file_button.setFont(font)
self.save_experiment_file_button.setContextMenuPolicy(QtCore.Qt.PreventContextMenu)
self.save_experiment_file_button.setAcceptDrops(False)
self.save_experiment_file_button.setWhatsThis("")
self.save_experiment_file_button.setAutoFillBackground(True)
self.save_experiment_file_button.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.save_experiment_file_button.setInputMethodHints(QtCore.Qt.ImhNone)
self.save_experiment_file_button.setAutoRepeatDelay(301)
self.save_experiment_file_button.setAutoRepeatInterval(96)
self.save_experiment_file_button.setAutoDefault(False)
self.save_experiment_file_button.setDefault(False)
self.save_experiment_file_button.setFlat(False)
self.save_experiment_file_button.setObjectName("save_experiment_file_button")
self.generate_preview_button = QtWidgets.QPushButton(self.centralwidget)
self.generate_preview_button.setGeometry(QtCore.QRect(660, 410, 201, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(91, 166, 232))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(248, 221, 23))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.NoRole, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(247, 217, 21))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Link, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.NoRole, brush)
self.generate_preview_button.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.generate_preview_button.setFont(font)
self.generate_preview_button.setContextMenuPolicy(QtCore.Qt.PreventContextMenu)
self.generate_preview_button.setAcceptDrops(False)
self.generate_preview_button.setWhatsThis("")
self.generate_preview_button.setAutoFillBackground(True)
self.generate_preview_button.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.generate_preview_button.setInputMethodHints(QtCore.Qt.ImhNone)
self.generate_preview_button.setAutoRepeatDelay(301)
self.generate_preview_button.setAutoRepeatInterval(96)
self.generate_preview_button.setAutoDefault(False)
self.generate_preview_button.setDefault(False)
self.generate_preview_button.setFlat(False)
self.generate_preview_button.setObjectName("generate_preview_button")
self.second_vertex_voltage_label = QtWidgets.QLabel(self.centralwidget)
self.second_vertex_voltage_label.setEnabled(True)
self.second_vertex_voltage_label.setGeometry(QtCore.QRect(10, 430, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.second_vertex_voltage_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.second_vertex_voltage_label.setFont(font)
self.second_vertex_voltage_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.second_vertex_voltage_label.setAcceptDrops(False)
self.second_vertex_voltage_label.setAutoFillBackground(True)
self.second_vertex_voltage_label.setFrameShape(QtWidgets.QFrame.Box)
self.second_vertex_voltage_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.second_vertex_voltage_label.setLineWidth(1)
self.second_vertex_voltage_label.setMidLineWidth(1)
self.second_vertex_voltage_label.setScaledContents(False)
self.second_vertex_voltage_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.second_vertex_voltage_label.setObjectName("second_vertex_voltage_label")
self.experiment_second_vertex_voltage = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_second_vertex_voltage.setGeometry(QtCore.QRect(180, 430, 61, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_second_vertex_voltage.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_second_vertex_voltage.setFont(font)
self.experiment_second_vertex_voltage.setStyleSheet("")
self.experiment_second_vertex_voltage.setText("")
self.experiment_second_vertex_voltage.setFrame(True)
self.experiment_second_vertex_voltage.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_second_vertex_voltage.setObjectName("experiment_second_vertex_voltage")
self.v_vs_label_3 = QtWidgets.QLineEdit(self.centralwidget)
self.v_vs_label_3.setGeometry(QtCore.QRect(250, 430, 41, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.v_vs_label_3.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.v_vs_label_3.setFont(font)
self.v_vs_label_3.setStatusTip("")
self.v_vs_label_3.setStyleSheet("background-color: rgb(240, 240, 240);")
self.v_vs_label_3.setFrame(False)
self.v_vs_label_3.setObjectName("v_vs_label_3")
self.cycle_number_label = QtWidgets.QLabel(self.centralwidget)
self.cycle_number_label.setEnabled(True)
self.cycle_number_label.setGeometry(QtCore.QRect(10, 310, 161, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(161, 188, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(84, 151, 213))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(44, 80, 114))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(33, 60, 85))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(67, 121, 171))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.cycle_number_label.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.cycle_number_label.setFont(font)
self.cycle_number_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.cycle_number_label.setAcceptDrops(False)
self.cycle_number_label.setAutoFillBackground(True)
self.cycle_number_label.setFrameShape(QtWidgets.QFrame.Box)
self.cycle_number_label.setFrameShadow(QtWidgets.QFrame.Sunken)
self.cycle_number_label.setLineWidth(1)
self.cycle_number_label.setMidLineWidth(1)
self.cycle_number_label.setScaledContents(False)
self.cycle_number_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.cycle_number_label.setObjectName("cycle_number_label")
self.experiment_cycle_number = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_cycle_number.setGeometry(QtCore.QRect(180, 310, 61, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_cycle_number.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_cycle_number.setFont(font)
self.experiment_cycle_number.setStyleSheet("")
self.experiment_cycle_number.setText("")
self.experiment_cycle_number.setFrame(True)
self.experiment_cycle_number.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_cycle_number.setObjectName("experiment_cycle_number")
self.experiment_step_number = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_step_number.setGeometry(QtCore.QRect(180, 270, 61, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_step_number.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_step_number.setFont(font)
self.experiment_step_number.setStyleSheet("")
self.experiment_step_number.setText("")
self.experiment_step_number.setFrame(True)
self.experiment_step_number.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_step_number.setObjectName("experiment_step_number")
self.experiment_start_voltage = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_start_voltage.setGeometry(QtCore.QRect(180, 350, 61, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_start_voltage.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_start_voltage.setFont(font)
self.experiment_start_voltage.setStyleSheet("")
self.experiment_start_voltage.setText("")
self.experiment_start_voltage.setFrame(True)
self.experiment_start_voltage.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_start_voltage.setObjectName("experiment_start_voltage")
self.experiment_first_vertex_voltage = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_first_vertex_voltage.setGeometry(QtCore.QRect(180, 390, 61, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_first_vertex_voltage.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_first_vertex_voltage.setFont(font)
self.experiment_first_vertex_voltage.setStyleSheet("")
self.experiment_first_vertex_voltage.setText("")
self.experiment_first_vertex_voltage.setFrame(True)
self.experiment_first_vertex_voltage.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_first_vertex_voltage.setObjectName("experiment_first_vertex_voltage")
self.voltage_ref = QtWidgets.QComboBox(self.centralwidget)
self.voltage_ref.setGeometry(QtCore.QRect(300, 350, 101, 31))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.voltage_ref.setFont(font)
self.voltage_ref.setEditable(False)
self.voltage_ref.setInsertPolicy(QtWidgets.QComboBox.InsertAtBottom)
self.voltage_ref.setObjectName("voltage_ref")
self.voltage_ref.addItem("")
self.voltage_ref.addItem("")
self.voltage_ref_2 = QtWidgets.QComboBox(self.centralwidget)
self.voltage_ref_2.setGeometry(QtCore.QRect(300, 390, 101, 31))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.voltage_ref_2.setFont(font)
self.voltage_ref_2.setEditable(False)
self.voltage_ref_2.setInsertPolicy(QtWidgets.QComboBox.InsertAtBottom)
self.voltage_ref_2.setObjectName("voltage_ref_2")
self.voltage_ref_2.addItem("")
self.voltage_ref_2.addItem("")
self.voltage_ref_3 = QtWidgets.QComboBox(self.centralwidget)
self.voltage_ref_3.setGeometry(QtCore.QRect(300, 430, 101, 31))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.voltage_ref_3.setFont(font)
self.voltage_ref_3.setEditable(False)
self.voltage_ref_3.setInsertPolicy(QtWidgets.QComboBox.InsertAtBottom)
self.voltage_ref_3.setObjectName("voltage_ref_3")
self.voltage_ref_3.addItem("")
self.voltage_ref_3.addItem("")
self.plot_area = QtWidgets.QWidget(self.centralwidget)
self.plot_area.setGeometry(QtCore.QRect(440, 50, 421, 337))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
self.plot_area.setPalette(palette)
self.plot_area.setStyleSheet("background-color: rgb(255, 255, 255);\n"
"border: 1px solid black;\n"
"\n"
"")
self.plot_area.setObjectName("plot_area")
self.experiment_duration_button = QtWidgets.QLabel(self.centralwidget)
self.experiment_duration_button.setEnabled(True)
self.experiment_duration_button.setGeometry(QtCore.QRect(10, 510, 191, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 127, 127))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
brush = QtGui.QBrush(QtGui.QColor(212, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
brush = QtGui.QBrush(QtGui.QColor(113, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
brush = QtGui.QBrush(QtGui.QColor(85, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
self.experiment_duration_button.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_duration_button.setFont(font)
self.experiment_duration_button.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.experiment_duration_button.setAcceptDrops(False)
self.experiment_duration_button.setAutoFillBackground(True)
self.experiment_duration_button.setFrameShape(QtWidgets.QFrame.Box)
self.experiment_duration_button.setFrameShadow(QtWidgets.QFrame.Sunken)
self.experiment_duration_button.setLineWidth(1)
self.experiment_duration_button.setMidLineWidth(1)
self.experiment_duration_button.setScaledContents(False)
self.experiment_duration_button.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
self.experiment_duration_button.setObjectName("experiment_duration_button")
self.experiment_duration = QtWidgets.QLineEdit(self.centralwidget)
self.experiment_duration.setGeometry(QtCore.QRect(210, 510, 221, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
self.experiment_duration.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setBold(True)
font.setWeight(75)
self.experiment_duration.setFont(font)
self.experiment_duration.setStyleSheet("")
self.experiment_duration.setText("")
self.experiment_duration.setFrame(True)
self.experiment_duration.setAlignment(QtCore.Qt.AlignCenter)
self.experiment_duration.setReadOnly(True)
self.experiment_duration.setObjectName("experiment_duration")
CV.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(CV)
self.menubar.setGeometry(QtCore.QRect(0, 0, 871, 18))
self.menubar.setObjectName("menubar")
CV.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(CV)
self.statusbar.setStyleSheet("background-color: rgb(228, 228, 228);")
self.statusbar.setObjectName("statusbar")
CV.setStatusBar(self.statusbar)
self.retranslateUi(CV)
QtCore.QMetaObject.connectSlotsByName(CV)
def retranslateUi(self, CV):
_translate = QtCore.QCoreApplication.translate
CV.setWindowTitle(_translate("CV", "CV Experiment Creator"))
self.rest_time_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Rest Time</p></body></html>"))
self.experiment_type_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Experiment Type</p></body></html>"))
self.select_output_filepath_button.setStatusTip(_translate("CV", "Click this button to select the output filepath for your files."))
self.select_output_filepath_button.setText(_translate("CV", "Output Filepath"))
self.sweep_rate_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Sweep Rate</p></body></html>"))
self.first_vertex_voltage_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">1st Vertex Voltage</p></body></html>"))
self.general_parameters_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">General Parameters</p></body></html>"))
self.experiment_type_verify.setStatusTip(_translate("CV", "Type of experiment for this file."))
self.experiment_type_verify.setText(_translate("CV", "Cyclic Voltammetry"))
self.output_filename_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Output Filename</p></body></html>"))
self.experiment_file_name.setStatusTip(_translate("CV", "Name that will be attached to. Data will be output to _data.csv and an experiment file will be saved to _config.yml."))
self.step_number_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Step Number</p></body></html>"))
self.experiment_sweep_rate.setStatusTip(_translate("CV", "Rate at which voltage is swept over."))
self.experiment_parameters_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Experiment Parameters</p></body></html>"))
self.experiment_file_path.setStatusTip(_translate("CV", "Path at which data and experiment files will be exported to."))
self.experiment_preview_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Experiment Preview</p></body></html>"))
self.sweep_rate_units_label.setText(_translate("CV", "mV/s"))
self.v_vs_label_1.setText(_translate("CV", "V vs."))
self.v_vs_label_2.setText(_translate("CV", "V vs."))
self.experiment_rest_time.setStatusTip(_translate("CV", "Length of time to wait before start voltage."))
self.advanced_parameters_button.setStatusTip(_translate("CV", "Click this button to edit hardset paraemeters used for all experiments."))
self.advanced_parameters_button.setText(_translate("CV", "Advanced Parameters"))
self.start_voltage_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Start Voltage</p></body></html>"))
self.rest_time_units_label.setText(_translate("CV", "s"))
self.save_experiment_file_button.setStatusTip(_translate("CV", "Click this button to save a config file with the created experiment."))
self.save_experiment_file_button.setText(_translate("CV", "Save Experiment File"))
self.generate_preview_button.setStatusTip(_translate("CV", "Click this button to generate a preview of the experiment to be run."))
self.generate_preview_button.setText(_translate("CV", "Generate Preview"))
self.second_vertex_voltage_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">2nd Vertex Voltage</p></body></html>"))
self.experiment_second_vertex_voltage.setStatusTip(_translate("CV", "Voltage at which to switch scan direction at on reverse scan."))
self.v_vs_label_3.setText(_translate("CV", "V vs."))
self.cycle_number_label.setText(_translate("CV", "<html><head/><body><p align=\"center\">Cycle Number</p></body></html>"))
self.experiment_cycle_number.setStatusTip(_translate("CV", "Number of times to repeat cycle."))
self.experiment_step_number.setStatusTip(_translate("CV", "Length of time to wait before start voltage."))
self.experiment_start_voltage.setStatusTip(_translate("CV", "Length of time to wait before start voltage."))
self.experiment_first_vertex_voltage.setStatusTip(_translate("CV", "Length of time to wait before start voltage."))
self.voltage_ref.setCurrentText(_translate("CV", "Vref"))
self.voltage_ref.setItemText(0, _translate("CV", "Vref"))
self.voltage_ref.setItemText(1, _translate("CV", "Vocv"))
self.voltage_ref_2.setCurrentText(_translate("CV", "Vref"))
self.voltage_ref_2.setItemText(0, _translate("CV", "Vref"))
self.voltage_ref_2.setItemText(1, _translate("CV", "Vocv"))
self.voltage_ref_3.setCurrentText(_translate("CV", "Vref"))
self.voltage_ref_3.setItemText(0, _translate("CV", "Vref"))
self.voltage_ref_3.setItemText(1, _translate("CV", "Vocv"))
self.experiment_duration_button.setText(_translate("CV", "<html><head/><body><p align=\"center\">Experiment Duration</p></body></html>"))
self.experiment_duration.setStatusTip(_translate("CV", "Estimated length of experiment in H:M:S."))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
CV = QtWidgets.QMainWindow()
ui = Ui_CV()
ui.setupUi(CV)
CV.show()
sys.exit(app.exec_())
| 59.55957
| 184
| 0.699652
| 23,785
| 199,465
| 5.816439
| 0.014757
| 0.166794
| 0.100619
| 0.132062
| 0.940995
| 0.902432
| 0.874125
| 0.85093
| 0.839733
| 0.838974
| 0
| 0.03718
| 0.179084
| 199,465
| 3,348
| 185
| 59.57736
| 0.8077
| 0.002351
| 0
| 0.844015
| 1
| 0.000302
| 0.016241
| 0.005747
| 0
| 0
| 0
| 0
| 0
| 1
| 0.001209
| false
| 0
| 0.001209
| 0
| 0.003325
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
4237e1cd35930f966ded10e56c6604bab8d239f0
| 16,003
|
py
|
Python
|
apricot/functions/custom.py
|
wfondrie/apricot
|
d31365c96bcb61a7ae2550f39a5f9c144e1346ac
|
[
"MIT"
] | 389
|
2018-09-25T07:30:06.000Z
|
2022-03-29T17:09:09.000Z
|
apricot/functions/custom.py
|
wfondrie/apricot
|
d31365c96bcb61a7ae2550f39a5f9c144e1346ac
|
[
"MIT"
] | 25
|
2018-09-26T15:36:17.000Z
|
2022-01-12T07:10:55.000Z
|
apricot/functions/custom.py
|
wfondrie/apricot
|
d31365c96bcb61a7ae2550f39a5f9c144e1346ac
|
[
"MIT"
] | 41
|
2018-09-25T17:32:28.000Z
|
2021-11-30T17:36:40.000Z
|
# custom.py
# Author: Jacob Schreiber <jmschreiber91@gmail.com>
import numpy
from .base import BaseSelection
from .base import BaseGraphSelection
class CustomSelection(BaseSelection):
"""A selector based off a custom, user-defined feature-based function.
This selector wraps a custom function that is passed in by the user. This
function should take in a matrix containing a subset of the ground set and
output the standard measure of quality of the subset. Each row in the matrix
should be an example and each column should be a feature value for the
example (like a standard data matrix for machine learning).
.. warning::
If the function that the user wants to optimize is graph-based,
i.e., that it determines the quality of a subset using similarities
with other examples instead of the feature values directly,
e.g. facility location, CustomGraphSelection should be used instead.
.. note::
Although apricot is built for submodular functions, there is no explicit
restriction that the function passed in be submodular. Sometimes,
supermodular functions can be reasonably maximized using the same
greedy approaches used on submodular functions.
Parameters
----------
n_samples : int
The number of samples to return.
func : function
The feature-based set function to that this selector should wrap.
initial_subset : list, numpy.ndarray or None
If provided, this should be a list of indices into the data matrix
to use as the initial subset, or a group of examples that may not be
in the provided data should beused as the initial subset. If indices,
the provided array should be one-dimensional. If a group of examples,
the data should be 2 dimensional.
optimizer : string or optimizers.BaseOptimizer, optional
The optimization approach to use for the selection. Default is
'two-stage', which makes selections using the naive greedy algorithm
initially and then switches to the lazy greedy algorithm. Must be
one of
'random' : randomly select elements (dummy optimizer)
'modular' : approximate the function using its modular upper bound
'naive' : the naive greedy algorithm
'lazy' : the lazy (or accelerated) greedy algorithm
'approximate-lazy' : the approximate lazy greedy algorithm
'two-stage' : starts with naive and switches to lazy
'stochastic' : the stochastic greedy algorithm
'sample' : randomly take a subset and perform selection on that
'greedi' : the GreeDi distributed algorithm
'bidirectional' : the bidirectional greedy algorithm
Default is 'two-stage'.
optimizer_kwds : dict, optional
Arguments to pass into the optimizer object upon initialization.
Default is {}.
function_kwds : dict, optional
Arguments to pass into the function object for each call.
Default is {}.
n_jobs : int, optional
The number of cores to use for processing. This value is multiplied
by 2 when used to set the number of threads. If set to -1, use all
cores and threads. Default is -1.
random_state : int or RandomState or None, optional
The random seed to use for the random selection process. Only used
for stochastic greedy.
verbose : bool
Whether to print output during the selection process.
Attributes
----------
n_samples : int
The number of samples to select.
ranking : numpy.array int
The selected samples in the order of their gain with the first number in
the ranking corresponding to the index of the first sample that was
selected by the greedy procedure.
gains : numpy.array float
The gain of each sample in the returned set when it was added to the
growing subset. The first number corresponds to the gain of the first
added sample, the second corresponds to the gain of the second added
sample, and so forth.
"""
def __init__(self, n_samples, function, initial_subset=None,
optimizer='two-stage', optimizer_kwds={}, function_kwds={},
n_jobs=1, random_state=None, verbose=False):
if callable(function) == False:
raise ValueError("Passed in function must be callable.")
self.function = function
self.function_kwds = function_kwds
super(CustomSelection, self).__init__(n_samples=n_samples,
initial_subset=initial_subset, optimizer=optimizer,
optimizer_kwds=optimizer_kwds, n_jobs=n_jobs,
random_state=random_state, verbose=verbose)
def fit(self, X, y=None, sample_weight=None, sample_cost=None):
"""Run submodular optimization to select the examples.
This method is a wrapper for the full submodular optimization process.
It takes in some data set (and optionally labels that are ignored
during this process) and selects `n_samples` from it in the greedy
manner specified by the optimizer.
This method will return the selector object itself, not the transformed
data set. The `transform` method will then transform a data set to the
selected points, or alternatively one can use the ranking stored in
the `self.ranking` attribute. The `fit_transform` method will perform
both optimization and selection and return the selected items.
Parameters
----------
X : list or numpy.ndarray, shape=(n, d)
The data set to transform. Must be numeric.
y : list or numpy.ndarray or None, shape=(n,), optional
The labels to transform. If passed in this function will return
both the data and th corresponding labels for the rows that have
been selected.
sample_weight : list or numpy.ndarray or None, shape=(n,), optional
The weight of each example. Currently ignored in apricot but
included to maintain compatibility with sklearn pipelines.
sample_cost : list or numpy.ndarray or None, shape=(n,), optional
The cost of each item. If set, indicates that optimization should
be performed with respect to a knapsack constraint.
Returns
-------
self : CustomSelection
The fit step returns this selector object.
"""
return super(CustomSelection, self).fit(X, y=y,
sample_weight=sample_weight, sample_cost=sample_cost)
def _initialize(self, X):
super(CustomSelection, self)._initialize(X)
if self.initial_subset is None:
pass
elif self.initial_subset.ndim == 2:
if self.initial_subset.shape[1] != X.shape[1]:
raise ValueError("The number of columns in the initial subset must " \
"match the number of columns in X.")
elif self.initial_subset.ndim == 1:
self.initial_subset = X[self.initial_subset]
else:
raise ValueError("The initial subset must be either a two dimensional" \
" matrix of examples or a one dimensional mask.")
if self.initial_subset is None:
self.total_gain = 0
else:
self.total_gain = self.function(self.initial_subset)
def _calculate_gains(self, X, idxs=None):
"""This function will return the gain that each example would give.
This function will return the gains that each example would give if
added to the selected set. When a matrix of examples is given, a
vector will be returned showing the gain for each example. When
a single element is passed in, it will return a singe value."""
idxs = idxs if idxs is not None else self.idxs
gains = numpy.zeros(idxs.shape[0], dtype='float64')
x0 = numpy.zeros((1, X.shape[1]))
if self.initial_subset is not None:
X_ = numpy.concatenate([self.initial_subset, self.subset, x0])
else:
X_ = numpy.concatenate([self.subset, x0])
for i, idx in enumerate(idxs):
X_[-1] = X[idx]
gains[i] = self.function(X_, **self.function_kwds) - self.total_gain
return gains
def _calculate_sieve_gains(self, X, thresholds, idxs):
"""This function will update the internal statistics from a stream.
This function will update the various internal statistics that are a
part of the sieve algorithm for streaming submodular optimization. This
function does not directly return gains but it updates the values
used by a streaming optimizer.
"""
super(CustomSelection, self)._calculate_sieve_gains(X,
thresholds, idxs)
raise NotImplementedError
def _select_next(self, X, gain, idx):
"""This function will add the given item to the selected set."""
self.total_gain += gain
super(CustomSelection, self)._select_next(
X, gain, idx)
class CustomGraphSelection(BaseGraphSelection):
"""A selector based off a custom, user-defined graph-based function.
This selector wraps a custom graph-based function that is passed in by the user.
This function should take in a matrix containing a subset of the ground set and
output the standard measure of quality of the subset. Each row in the matrix
should be an example and each column should be the similarity to each element
in the ground set, with the number of columns being equal to the size of the
ground set.
.. note::
Although apricot is built for submodular functions, there is no explicit
restriction that the function passed in be submodular. Sometimes,
supermodular functions can be reasonably maximized using the same
greedy approaches used on submodular functions.
Parameters
----------
n_samples : int
The number of samples to return.
func : function
The graph-based set function to that this selector should wrap.
initial_subset : list, numpy.ndarray or None
If provided, this should be a list of indices into the data matrix
to use as the initial subset, or a group of examples that may not be
in the provided data should beused as the initial subset. If indices,
the provided array should be one-dimensional. If a group of examples,
the data should be 2 dimensional.
optimizer : string or optimizers.BaseOptimizer, optional
The optimization approach to use for the selection. Default is
'two-stage', which makes selections using the naive greedy algorithm
initially and then switches to the lazy greedy algorithm. Must be
one of
'random' : randomly select elements (dummy optimizer)
'modular' : approximate the function using its modular upper bound
'naive' : the naive greedy algorithm
'lazy' : the lazy (or accelerated) greedy algorithm
'approximate-lazy' : the approximate lazy greedy algorithm
'two-stage' : starts with naive and switches to lazy
'stochastic' : the stochastic greedy algorithm
'sample' : randomly take a subset and perform selection on that
'greedi' : the GreeDi distributed algorithm
'bidirectional' : the bidirectional greedy algorithm
Default is 'two-stage'.
optimizer_kwds : dict, optional
Arguments to pass into the optimizer object upon initialization.
Default is {}.
function_kwds : dict, optional
Arguments to pass into the function object for each call.
Default is {}.
n_jobs : int, optional
The number of cores to use for processing. This value is multiplied
by 2 when used to set the number of threads. If set to -1, use all
cores and threads. Default is -1.
random_state : int or RandomState or None, optional
The random seed to use for the random selection process. Only used
for stochastic greedy.
verbose : bool
Whether to print output during the selection process.
Attributes
----------
n_samples : int
The number of samples to select.
ranking : numpy.array int
The selected samples in the order of their gain with the first number in
the ranking corresponding to the index of the first sample that was
selected by the greedy procedure.
gains : numpy.array float
The gain of each sample in the returned set when it was added to the
growing subset. The first number corresponds to the gain of the first
added sample, the second corresponds to the gain of the second added
sample, and so forth.
"""
def __init__(self, n_samples, function, metric='euclidean',
initial_subset=None, optimizer='two-stage', optimizer_kwds={},
function_kwds={}, n_jobs=1, random_state=None, verbose=False):
if callable(function) == False:
raise ValueError("Passed in function must be callable.")
self.function = function
self.function_kwds = function_kwds
super(CustomGraphSelection, self).__init__(n_samples=n_samples,
metric=metric, initial_subset=initial_subset, optimizer=optimizer,
optimizer_kwds=optimizer_kwds, n_jobs=n_jobs,
random_state=random_state, verbose=verbose)
def fit(self, X, y=None, sample_weight=None, sample_cost=None):
"""Run submodular optimization to select the examples.
This method is a wrapper for the full submodular optimization process.
It takes in some data set (and optionally labels that are ignored
during this process) and selects `n_samples` from it in the greedy
manner specified by the optimizer.
This method will return the selector object itself, not the transformed
data set. The `transform` method will then transform a data set to the
selected points, or alternatively one can use the ranking stored in
the `self.ranking` attribute. The `fit_transform` method will perform
both optimization and selection and return the selected items.
Parameters
----------
X : list or numpy.ndarray, shape=(n, d)
The data set to transform. Must be numeric.
y : list or numpy.ndarray or None, shape=(n,), optional
The labels to transform. If passed in this function will return
both the data and th corresponding labels for the rows that have
been selected.
sample_weight : list or numpy.ndarray or None, shape=(n,), optional
The weight of each example. Currently ignored in apricot but
included to maintain compatibility with sklearn pipelines.
sample_cost : list or numpy.ndarray or None, shape=(n,), optional
The cost of each item. If set, indicates that optimization should
be performed with respect to a knapsack constraint.
Returns
-------
self : CustomSelection
The fit step returns this selector object.
"""
return super(CustomGraphSelection, self).fit(X, y=y,
sample_weight=sample_weight, sample_cost=sample_cost)
def _initialize(self, X):
super(CustomGraphSelection, self)._initialize(X)
if self.initial_subset is None:
pass
elif self.initial_subset.ndim == 2:
if self.initial_subset.shape[1] != X.shape[1]:
raise ValueError("The number of columns in the initial subset must " \
"match the number of columns in X.")
elif self.initial_subset.ndim == 1:
self.initial_subset = X[self.initial_subset]
else:
raise ValueError("The initial subset must be either a two dimensional" \
" matrix of examples or a one dimensional mask.")
if self.initial_subset is None:
self.total_gain = 0
else:
self.total_gain = self.func(self.initial_subset)
def _calculate_gains(self, X, idxs=None):
"""This function will return the gain that each example would give.
This function will return the gains that each example would give if
added to the selected set. When a matrix of examples is given, a
vector will be returned showing the gain for each example. When
a single element is passed in, it will return a singe value."""
idxs = idxs if idxs is not None else self.idxs
gains = numpy.zeros(idxs.shape[0], dtype='float64')
x0 = numpy.zeros((1, X.shape[1]))
if self.initial_subset is not None:
X_ = numpy.concatenate([self.initial_subset, self.subset, x0])
else:
X_ = numpy.concatenate([self.subset, x0])
for i, idx in enumerate(idxs):
X_[-1] = X[idx]
gains[i] = self.function(X_, **self.function_kwds) - self.total_gain
return gains
def _calculate_sieve_gains(self, X, thresholds, idxs):
"""This function will update the internal statistics from a stream.
This function will update the various internal statistics that are a
part of the sieve algorithm for streaming submodular optimization. This
function does not directly return gains but it updates the values
used by a streaming optimizer.
"""
super(CustomGraphSelection, self)._calculate_sieve_gains(X,
thresholds, idxs)
raise NotImplementedError
def _select_next(self, X, gain, idx):
"""This function will add the given item to the selected set."""
self.total_gain += gain
super(CustomGraphSelection, self)._select_next(
X, gain, idx)
| 36.704128
| 82
| 0.748485
| 2,402
| 16,003
| 4.923397
| 0.131141
| 0.039574
| 0.02875
| 0.012177
| 0.930323
| 0.930323
| 0.922544
| 0.916286
| 0.910367
| 0.910367
| 0
| 0.00307
| 0.185903
| 16,003
| 435
| 83
| 36.788506
| 0.904667
| 0.747297
| 0
| 0.766355
| 0
| 0
| 0.102258
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.11215
| false
| 0.037383
| 0.028037
| 0
| 0.196262
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.