Module Expr Str Amazon-Access-Challenge-Code-for-ensembleMarios-Michaildis-script-for-Amazon-.Uses-counts-as-features--and-xgboostbased-on-Paul-Duan's-Script. ImportFrom __future__ alias division Import alias numpy identifier np ImportFrom sklearn alias preprocessing ImportFrom sklearn.metrics alias roc_auc_score Import alias XGBoostClassifier identifier xg ImportFrom sklearn.cross_validation alias StratifiedKFold Import alias pandas identifier pd Assign NameStore SEED Num 42 FunctionDef load_datacount arguments args NameParam tr NameParam te defaults body Assign NameStore train Call AttributeLoad NameLoad pd attr read_csv NameLoad tr keyword sep Str , keyword quotechar Str " Assign NameStore test Call AttributeLoad NameLoad pd attr read_csv NameLoad te keyword sep Str , keyword quotechar Str " Assign NameStore label Call AttributeLoad Call AttributeLoad NameLoad np attr array SubscriptLoad NameLoad train Index Str ACTION attr astype NameLoad float Expr Call AttributeLoad NameLoad train attr drop Str ACTION keyword axis Num 1 keyword inplace NameLoad True Expr Call AttributeLoad NameLoad test attr drop Str id keyword axis Num 1 keyword inplace NameLoad True Expr Call AttributeLoad NameLoad test attr drop Str ROLE_CODE keyword axis Num 1 keyword inplace NameLoad True Expr Call AttributeLoad NameLoad train attr drop Str ROLE_CODE keyword axis Num 1 keyword inplace NameLoad True Assign NameStore train_s NameLoad train Assign NameStore test_s NameLoad test Assign NameStore result Call AttributeLoad NameLoad pd attr concat ListLoad NameLoad test_s NameLoad train_s Assign NameStore headers ListComp NameLoad f comprehension NameStore f AttributeLoad NameLoad result attr columns For NameStore i Call NameLoad range SubscriptLoad AttributeLoad NameLoad train_s attr shape Index Num 1 body Print SubscriptLoad NameLoad headers Index NameLoad i Call NameLoad len Call AttributeLoad NameLoad np attr unique SubscriptLoad NameLoad result Index SubscriptLoad NameLoad headers Index NameLoad i Assign NameStore cnt Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad result Index SubscriptLoad NameLoad headers Index NameLoad i attr value_counts attr to_dict Expr Call AttributeLoad SubscriptLoad NameLoad train_s Index SubscriptLoad NameLoad headers Index NameLoad i attr replace NameLoad cnt keyword inplace NameLoad True Expr Call AttributeLoad SubscriptLoad NameLoad test_s Index SubscriptLoad NameLoad headers Index NameLoad i attr replace NameLoad cnt keyword inplace NameLoad True Assign NameStore train Call AttributeLoad Call AttributeLoad NameLoad np attr array NameLoad train_s attr astype NameLoad float Assign NameStore test Call AttributeLoad Call AttributeLoad NameLoad np attr array NameLoad test_s attr astype NameLoad float Print AttributeLoad NameLoad train attr shape Print AttributeLoad NameLoad test attr shape Return TupleLoad NameLoad label NameLoad train NameLoad test decorator_list FunctionDef save_results arguments args NameParam predictions NameParam filename defaults body Expr Str Given-a-vector-of-predictions,-save-results-in-CSV-format. With Call NameLoad open NameLoad filename Str w NameStore f body Expr Call AttributeLoad NameLoad f attr write Str id,ACTION For TupleStore NameStore i NameStore pred Call NameLoad enumerate NameLoad predictions body Expr Call AttributeLoad NameLoad f attr write BinOpMod Str %d,%f TupleLoad BinOpAdd NameLoad i Num 1 NameLoad pred decorator_list FunctionDef bagged_set arguments args NameParam X_t NameParam y_c NameParam model NameParam seed NameParam estimators NameParam xt NameParam update_seed defaults NameLoad True body Assign NameStore baggedpred ListComp Num 0.0 comprehension NameStore d Call NameLoad range Num 0 SubscriptLoad AttributeLoad NameLoad xt attr shape Index Num 0 For NameStore n Call NameLoad range Num 0 NameLoad estimators body If NameLoad update_seed body Expr Call AttributeLoad NameLoad model attr set_params keyword random_state BinOpAdd NameLoad seed NameLoad n Expr Call AttributeLoad NameLoad model attr fit NameLoad X_t NameLoad y_c Assign NameStore preds SubscriptLoad Call AttributeLoad NameLoad model attr predict_proba NameLoad xt ExtSlice Slice Index Num 1 For NameStore j Call NameLoad range Num 0 SubscriptLoad AttributeLoad NameLoad xt attr shape Index Num 0 body AugAssignAdd SubscriptStore NameLoad baggedpred Index NameLoad j SubscriptLoad NameLoad preds Index NameLoad j For NameStore j Call NameLoad range Num 0 Call NameLoad len NameLoad baggedpred body AugAssignDiv SubscriptStore NameLoad baggedpred Index NameLoad j Call NameLoad float NameLoad estimators Return Call AttributeLoad NameLoad np attr array NameLoad baggedpred decorator_list FunctionDef printfilcsve arguments args NameParam X NameParam filename defaults body Expr Call AttributeLoad NameLoad np attr savetxt NameLoad filename NameLoad X decorator_list FunctionDef main arguments args defaults body Expr Str Fit-models-and-make-predictions.----We'll-use-one-hot-encoding-to-transform-our-categorical-features----into-binary-features.----y-and-X-will-be-numpy-array-objects. Assign NameStore filename Str main_xgboos_count Assign NameStore model Call AttributeLoad NameLoad xg attr XGBoostClassifier keyword num_round Num 1000 keyword nthread Num 25 keyword eta Num 0.02 keyword gamma Num 1 keyword max_depth Num 20 keyword min_child_weight Num 0.1 keyword subsample Num 0.9 keyword colsample_bytree Num 0.5 keyword objective Str binary:logistic keyword seed Num 1 Print Str loading-data Assign TupleStore NameStore y NameStore X NameStore X_test Call NameLoad load_datacount Str train.csv Str test.csv Assign NameStore train_stacker ListComp Num 0.0 comprehension NameStore k Call NameLoad range Num 0 SubscriptLoad AttributeLoad NameLoad X attr shape Index Num 0 Assign NameStore mean_auc Num 0.0 Assign NameStore bagging Num 20 Assign NameStore n Num 5 Assign NameStore kfolder Call NameLoad StratifiedKFold NameLoad y keyword n_folds NameLoad n keyword shuffle NameLoad True keyword random_state NameLoad SEED Assign NameStore i Num 0 For TupleStore NameStore train_index NameStore test_index NameLoad kfolder body Assign TupleStore NameStore X_train NameStore X_cv TupleLoad SubscriptLoad NameLoad X Index NameLoad train_index SubscriptLoad NameLoad X Index NameLoad test_index Assign TupleStore NameStore y_train NameStore y_cv TupleLoad SubscriptLoad Call AttributeLoad NameLoad np attr array NameLoad y Index NameLoad train_index SubscriptLoad Call AttributeLoad NameLoad np attr array NameLoad y Index NameLoad test_index Assign NameStore preds Call NameLoad bagged_set NameLoad X_train NameLoad y_train NameLoad model NameLoad SEED NameLoad bagging NameLoad X_cv keyword update_seed NameLoad True Assign NameStore roc_auc Call NameLoad roc_auc_score NameLoad y_cv NameLoad preds Print BinOpMod Str AUC-(fold-%d/%d):-%f TupleLoad BinOpAdd NameLoad i Num 1 NameLoad n NameLoad roc_auc AugAssignAdd NameStore mean_auc NameLoad roc_auc Assign NameStore no Num 0 For NameStore real_index NameLoad test_index body Assign SubscriptStore NameLoad train_stacker Index NameLoad real_index SubscriptLoad NameLoad preds Index NameLoad no AugAssignAdd NameStore no Num 1 AugAssignAdd NameStore i Num 1 AugAssignDiv NameStore mean_auc NameLoad n Print BinOpMod Str Average-AUC:-%f NameLoad mean_auc Print Str printing-train-datasets Expr Call NameLoad printfilcsve Call AttributeLoad NameLoad np attr array NameLoad train_stacker BinOpAdd NameLoad filename Str .train.csv Assign NameStore preds Call NameLoad bagged_set NameLoad X NameLoad y NameLoad model NameLoad SEED NameLoad bagging NameLoad X_test keyword update_seed NameLoad True Expr Call NameLoad printfilcsve Call AttributeLoad NameLoad np attr array NameLoad preds BinOpAdd NameLoad filename Str .test.csv decorator_list If CompareEq NameLoad __name__ Str __main__ body Expr Call NameLoad main 
Module Expr Str Copyright-(c)-2015-Red-Hat,-IncAll-rights-reserved.This-software-may-be-modified-and-distributed-under-the-termsof-the-BSD-license.-See-the-LICENSE-file-for-details. ImportFrom __future__ alias print_function alias absolute_import alias unicode_literals Import alias json Import alias logging ImportFrom osbs.utils alias graceful_chain_get alias get_time_from_rfc3339 ImportFrom osbs.constants alias BUILD_FINISHED_STATES alias BUILD_RUNNING_STATES alias BUILD_SUCCEEDED_STATES alias BUILD_FAILED_STATES alias BUILD_PENDING_STATES Assign NameStore logger Call AttributeLoad NameLoad logging attr getLogger NameLoad __name__ ClassDef BuildResponse bases NameLoad object body Expr Str class-which-wraps-json-from-http-response-from-OpenShift FunctionDef __init__ arguments args NameParam self NameParam build_json defaults body Expr Str :param-build_json:-dict-from-JSON-of-OpenShift-Build-object Assign AttributeStore NameLoad self attr json NameLoad build_json Assign AttributeStore NameLoad self attr _status NameLoad None decorator_list FunctionDef status arguments args NameParam self defaults body If CompareIs AttributeLoad NameLoad self attr _status NameLoad None body Assign AttributeStore NameLoad self attr _status Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad self attr json Index Str status Index Str phase attr lower Return AttributeLoad NameLoad self attr _status decorator_list NameLoad property FunctionDef status arguments args NameParam self NameParam value defaults body Assign NameStore cap_value Call AttributeLoad NameLoad value attr capitalize Expr Call AttributeLoad NameLoad logger attr info Str changing-status-from-%s-to-%s AttributeLoad NameLoad self attr status NameLoad cap_value Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad self attr json Index Str status Index Str phase NameLoad cap_value decorator_list AttributeLoad NameLoad status attr setter FunctionDef is_finished arguments args NameParam self defaults body Return CompareIn AttributeLoad NameLoad self attr status NameLoad BUILD_FINISHED_STATES decorator_list FunctionDef is_failed arguments args NameParam self defaults body Return CompareIn AttributeLoad NameLoad self attr status NameLoad BUILD_FAILED_STATES decorator_list FunctionDef is_succeeded arguments args NameParam self defaults body Return CompareIn AttributeLoad NameLoad self attr status NameLoad BUILD_SUCCEEDED_STATES decorator_list FunctionDef is_running arguments args NameParam self defaults body Return CompareIn AttributeLoad NameLoad self attr status NameLoad BUILD_RUNNING_STATES decorator_list FunctionDef is_pending arguments args NameParam self defaults body Return CompareIn AttributeLoad NameLoad self attr status NameLoad BUILD_PENDING_STATES decorator_list FunctionDef is_in_progress arguments args NameParam self defaults body Return CompareNotIn AttributeLoad NameLoad self attr status NameLoad BUILD_FINISHED_STATES decorator_list FunctionDef get_build_name arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get AttributeLoad NameLoad self attr json Str metadata Str name decorator_list FunctionDef get_image_tag arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get AttributeLoad NameLoad self attr json Str spec Str output Str to Str name decorator_list FunctionDef get_time_created arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get AttributeLoad NameLoad self attr json Str metadata Str creationTimestamp decorator_list FunctionDef get_time_created_in_seconds arguments args NameParam self defaults body Return Call NameLoad get_time_from_rfc3339 Call AttributeLoad NameLoad self attr get_time_created decorator_list FunctionDef get_annotations arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get AttributeLoad NameLoad self attr json Str metadata Str annotations decorator_list FunctionDef get_labels arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get AttributeLoad NameLoad self attr json Str metadata Str labels decorator_list FunctionDef get_annotations_or_labels arguments args NameParam self defaults body Assign NameStore r Call AttributeLoad NameLoad self attr get_annotations If CompareIs NameLoad r NameLoad None body Assign NameStore r Call AttributeLoad NameLoad self attr get_labels Return NameLoad r decorator_list FunctionDef get_rpm_packages arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str rpm-packages decorator_list FunctionDef get_dockerfile arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str dockerfile decorator_list FunctionDef get_logs arguments args NameParam self NameParam decode_logs defaults NameLoad True body Expr Str :param-decode_logs:-bool,-docker-by-default-output-logs-in-simple-json-structure:------------\ -"stream":-"line"-\ Assign NameStore logs Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str logs If UnaryOpNot NameLoad logs body Expr Call AttributeLoad NameLoad logger attr error Str no-logs Return Str null If NameLoad decode_logs body Assign NameStore output ListLoad For NameStore line Call AttributeLoad NameLoad logs attr split Str null body TryExcept body Assign NameStore decoded_line Call AttributeLoad NameLoad json attr loads NameLoad line handlers ExceptHandler type NameLoad ValueError body Continue AugAssignAdd NameStore output ListLoad Call AttributeLoad Call AttributeLoad NameLoad decoded_line attr get Str stream Str null attr strip Assign NameStore error Call AttributeLoad Call AttributeLoad NameLoad decoded_line attr get Str error Str null attr strip If NameLoad error body AugAssignAdd NameStore output ListLoad NameLoad error Assign NameStore error_detail Call AttributeLoad NameLoad decoded_line attr get Str errorDetail Dict Assign NameStore error_msg Call AttributeLoad Call AttributeLoad NameLoad error_detail attr get Str message Str null attr strip If NameLoad error_msg body AugAssignAdd NameStore output ListLoad NameLoad error_msg AugAssignAdd NameStore output Str null Return Call AttributeLoad Str null attr join NameLoad output orelse Return NameLoad logs decorator_list FunctionDef get_commit_id arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str commit_id decorator_list FunctionDef get_repositories arguments args NameParam self defaults body Assign NameStore repositories_json Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str repositories If NameLoad repositories_json body Return Call AttributeLoad NameLoad json attr loads NameLoad repositories_json decorator_list FunctionDef get_tar_metadata arguments args NameParam self defaults body Assign NameStore tar_md_json Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str tar_metadata If NameLoad tar_md_json body Return Call AttributeLoad NameLoad json attr loads NameLoad tar_md_json decorator_list FunctionDef get_tar_metadata_size arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_tar_metadata Str size decorator_list FunctionDef get_tar_metadata_md5sum arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_tar_metadata Str md5sum decorator_list FunctionDef get_tar_metadata_sha256sum arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_tar_metadata Str sha256sum decorator_list FunctionDef get_tar_metadata_filename arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_tar_metadata Str filename decorator_list FunctionDef get_image_id arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str image-id decorator_list FunctionDef get_base_image_id arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str base-image-id decorator_list FunctionDef get_base_image_name arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str base-image-name decorator_list FunctionDef get_digests arguments args NameParam self defaults body Assign NameStore digests_json Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_annotations_or_labels Str digests If NameLoad digests_json body Return Call AttributeLoad NameLoad json attr loads NameLoad digests_json decorator_list FunctionDef get_koji_build_id arguments args NameParam self defaults body Return Call NameLoad graceful_chain_get Call AttributeLoad NameLoad self attr get_labels Str koji-build-id decorator_list decorator_list 
Module Expr Str Flask-blueprint-for-showing-keyword-documentation Import alias flask ImportFrom flask alias current_app Import alias json ImportFrom rfhub.version alias __version__ Assign NameStore blueprint Call AttributeLoad NameLoad flask attr Blueprint Str doc NameLoad __name__ keyword template_folder Str templates keyword static_folder Str static FunctionDef doc arguments args defaults body Expr Str Show-a-list-of-libraries,-along-with-the-nav-panel-on-the-left Assign NameStore kwdb AttributeLoad NameLoad current_app attr kwdb Assign NameStore libraries Call NameLoad get_collections NameLoad kwdb keyword libtype Str library Assign NameStore resource_files Call NameLoad get_collections NameLoad kwdb keyword libtype Str resource Assign NameStore hierarchy Call NameLoad get_navpanel_data NameLoad kwdb Return Call AttributeLoad NameLoad flask attr render_template Str home.html keyword data Dict Str libraries Str version Str libdoc Str hierarchy Str resource_files NameLoad libraries NameLoad __version__ NameLoad None NameLoad hierarchy NameLoad resource_files decorator_list Call AttributeLoad NameLoad blueprint attr route Str / Call AttributeLoad NameLoad blueprint attr route Str /keywords/ FunctionDef index arguments args defaults body Expr Str Show-a-list-of-available-libraries,-and-resource-files Assign NameStore kwdb AttributeLoad NameLoad current_app attr kwdb Assign NameStore libraries Call NameLoad get_collections NameLoad kwdb keyword libtype Str library Assign NameStore resource_files Call NameLoad get_collections NameLoad kwdb keyword libtype Str resource Return Call AttributeLoad NameLoad flask attr render_template Str libraryNames.html keyword data Dict Str libraries Str version Str resource_files NameLoad libraries NameLoad __version__ NameLoad resource_files decorator_list Call AttributeLoad NameLoad blueprint attr route Str /index FunctionDef search arguments args defaults body Expr Str Show-all-keywords-that-match-a-pattern Assign NameStore pattern Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad flask attr request attr args attr get Str pattern Str * attr strip attr lower Assign NameStore collections ListComp Call AttributeLoad SubscriptLoad NameLoad c Index Str name attr lower comprehension NameStore c Call AttributeLoad AttributeLoad NameLoad current_app attr kwdb attr get_collections Assign NameStore words ListLoad Assign NameStore filters ListLoad If Call AttributeLoad NameLoad pattern attr startswith Str name: body Assign NameStore pattern Call AttributeLoad SubscriptLoad NameLoad pattern Slice Num 5 attr strip Assign NameStore mode Str name orelse Assign NameStore mode Str both For NameStore word Call AttributeLoad NameLoad pattern attr split Str null body If Call AttributeLoad Call AttributeLoad NameLoad word attr lower attr startswith Str in: body Expr Call AttributeLoad NameLoad filters attr extend ListComp NameLoad name comprehension NameStore name NameLoad collections Call AttributeLoad NameLoad name attr startswith SubscriptLoad NameLoad word Slice Num 3 orelse Expr Call AttributeLoad NameLoad words attr append NameLoad word Assign NameStore pattern Call AttributeLoad Str null attr join NameLoad words Assign NameStore keywords ListLoad For NameStore keyword Call AttributeLoad AttributeLoad NameLoad current_app attr kwdb attr search NameLoad pattern NameLoad mode body Assign NameStore kw Call NameLoad list NameLoad keyword Assign NameStore collection_id SubscriptLoad NameLoad kw Index Num 0 Assign NameStore collection_name Call AttributeLoad SubscriptLoad NameLoad kw Index Num 1 attr lower If BoolOpOr CompareEq Call NameLoad len NameLoad filters Num 0 CompareIn NameLoad collection_name NameLoad filters body Assign NameStore url Call AttributeLoad NameLoad flask attr url_for Str .doc_for_library keyword collection_id SubscriptLoad NameLoad kw Index Num 0 keyword keyword SubscriptLoad NameLoad kw Index Num 2 Assign NameStore row_id BinOpMod Str row-%s.%s TupleLoad Call AttributeLoad SubscriptLoad NameLoad keyword Index Num 1 attr lower Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad keyword Index Num 2 attr lower attr replace Str null Str - Expr Call AttributeLoad NameLoad keywords attr append Dict Str collection_id Str collection_name Str name Str synopsis Str version Str url Str row_id SubscriptLoad NameLoad keyword Index Num 0 SubscriptLoad NameLoad keyword Index Num 1 SubscriptLoad NameLoad keyword Index Num 2 SubscriptLoad NameLoad keyword Index Num 3 NameLoad __version__ NameLoad url NameLoad row_id Expr Call AttributeLoad NameLoad keywords attr sort keyword key Lambda arguments args NameParam kw defaults SubscriptLoad NameLoad kw Index Str name Return Call AttributeLoad NameLoad flask attr render_template Str search.html keyword data Dict Str keywords Str version Str pattern NameLoad keywords NameLoad __version__ NameLoad pattern decorator_list Call AttributeLoad NameLoad blueprint attr route Str /search/ FunctionDef doc_for_library arguments args NameParam collection_id NameParam keyword defaults Str null body Assign NameStore kwdb AttributeLoad NameLoad current_app attr kwdb Assign NameStore keywords ListLoad For TupleStore NameStore keyword_id NameStore name NameStore args NameStore doc Call AttributeLoad NameLoad kwdb attr get_keyword_data NameLoad collection_id body Assign NameStore args Call AttributeLoad Str , attr join Call AttributeLoad NameLoad json attr loads NameLoad args Assign NameStore doc Call NameLoad doc_to_html NameLoad doc Assign NameStore target CompareEq NameLoad name NameLoad keyword Expr Call AttributeLoad NameLoad keywords attr append TupleLoad NameLoad name NameLoad args NameLoad doc NameLoad target Assign NameStore libdoc Call AttributeLoad NameLoad kwdb attr get_collection NameLoad collection_id Assign SubscriptStore NameLoad libdoc Index Str doc Call NameLoad doc_to_html SubscriptLoad NameLoad libdoc Index Str doc SubscriptLoad NameLoad libdoc Index Str doc_format Assign NameStore hierarchy Call NameLoad get_navpanel_data NameLoad kwdb Return Call AttributeLoad NameLoad flask attr render_template Str library.html keyword data Dict Str keywords Str version Str libdoc Str hierarchy Str collection_id NameLoad keywords NameLoad __version__ NameLoad libdoc NameLoad hierarchy NameLoad collection_id decorator_list Call AttributeLoad NameLoad blueprint attr route Str /keywords/<collection_id>/<keyword>/ Call AttributeLoad NameLoad blueprint attr route Str /keywords/<collection_id>/ FunctionDef get_collections arguments args NameParam kwdb NameParam libtype defaults Str * body Expr Str Get-list-of-collections-from-kwdb,-then-add-urls-necessary-for-hyperlinks Assign NameStore collections Call AttributeLoad NameLoad kwdb attr get_collections keyword libtype NameLoad libtype For NameStore result NameLoad collections body Assign NameStore url Call AttributeLoad NameLoad flask attr url_for Str .doc_for_library keyword collection_id SubscriptLoad NameLoad result Index Str collection_id Assign SubscriptStore NameLoad result Index Str url NameLoad url Return NameLoad collections decorator_list FunctionDef get_navpanel_data arguments args NameParam kwdb defaults body Expr Str Get-navpanel-data-from-kwdb,-and-add-urls-necessary-for-hyperlinks Assign NameStore data Call AttributeLoad NameLoad kwdb attr get_keyword_hierarchy For NameStore library NameLoad data body Assign SubscriptStore NameLoad library Index Str url Call AttributeLoad NameLoad flask attr url_for Str .doc_for_library keyword collection_id SubscriptLoad NameLoad library Index Str collection_id For NameStore keyword SubscriptLoad NameLoad library Index Str keywords body Assign NameStore url Call AttributeLoad NameLoad flask attr url_for Str .doc_for_library keyword collection_id SubscriptLoad NameLoad library Index Str collection_id keyword keyword SubscriptLoad NameLoad keyword Index Str name Assign SubscriptStore NameLoad keyword Index Str url NameLoad url Return NameLoad data decorator_list FunctionDef doc_to_html arguments args NameParam doc NameParam doc_format defaults Str ROBOT body Expr Str Convert-documentation-to-HTML ImportFrom robot.libdocpkg.htmlwriter alias DocToHtml Return Call Call NameLoad DocToHtml NameLoad doc_format NameLoad doc decorator_list 
Module Expr Str Internal-support-module-for-sre Assign NameStore MAGIC Num 20031017 Assign NameStore MAXREPEAT Num 65535 ClassDef error bases NameLoad Exception body Pass decorator_list Assign NameStore FAILURE Str failure Assign NameStore SUCCESS Str success Assign NameStore ANY Str any Assign NameStore ANY_ALL Str any_all Assign NameStore ASSERT Str assert Assign NameStore ASSERT_NOT Str assert_not Assign NameStore AT Str at Assign NameStore BIGCHARSET Str bigcharset Assign NameStore BRANCH Str branch Assign NameStore CALL Str call Assign NameStore CATEGORY Str category Assign NameStore CHARSET Str charset Assign NameStore GROUPREF Str groupref Assign NameStore GROUPREF_IGNORE Str groupref_ignore Assign NameStore GROUPREF_EXISTS Str groupref_exists Assign NameStore IN Str in Assign NameStore IN_IGNORE Str in_ignore Assign NameStore INFO Str info Assign NameStore JUMP Str jump Assign NameStore LITERAL Str literal Assign NameStore LITERAL_IGNORE Str literal_ignore Assign NameStore MARK Str mark Assign NameStore MAX_REPEAT Str max_repeat Assign NameStore MAX_UNTIL Str max_until Assign NameStore MIN_REPEAT Str min_repeat Assign NameStore MIN_UNTIL Str min_until Assign NameStore NEGATE Str negate Assign NameStore NOT_LITERAL Str not_literal Assign NameStore NOT_LITERAL_IGNORE Str not_literal_ignore Assign NameStore RANGE Str range Assign NameStore REPEAT Str repeat Assign NameStore REPEAT_ONE Str repeat_one Assign NameStore SUBPATTERN Str subpattern Assign NameStore MIN_REPEAT_ONE Str min_repeat_one Assign NameStore AT_BEGINNING Str at_beginning Assign NameStore AT_BEGINNING_LINE Str at_beginning_line Assign NameStore AT_BEGINNING_STRING Str at_beginning_string Assign NameStore AT_BOUNDARY Str at_boundary Assign NameStore AT_NON_BOUNDARY Str at_non_boundary Assign NameStore AT_END Str at_end Assign NameStore AT_END_LINE Str at_end_line Assign NameStore AT_END_STRING Str at_end_string Assign NameStore AT_LOC_BOUNDARY Str at_loc_boundary Assign NameStore AT_LOC_NON_BOUNDARY Str at_loc_non_boundary Assign NameStore AT_UNI_BOUNDARY Str at_uni_boundary Assign NameStore AT_UNI_NON_BOUNDARY Str at_uni_non_boundary Assign NameStore CATEGORY_DIGIT Str category_digit Assign NameStore CATEGORY_NOT_DIGIT Str category_not_digit Assign NameStore CATEGORY_SPACE Str category_space Assign NameStore CATEGORY_NOT_SPACE Str category_not_space Assign NameStore CATEGORY_WORD Str category_word Assign NameStore CATEGORY_NOT_WORD Str category_not_word Assign NameStore CATEGORY_LINEBREAK Str category_linebreak Assign NameStore CATEGORY_NOT_LINEBREAK Str category_not_linebreak Assign NameStore CATEGORY_LOC_WORD Str category_loc_word Assign NameStore CATEGORY_LOC_NOT_WORD Str category_loc_not_word Assign NameStore CATEGORY_UNI_DIGIT Str category_uni_digit Assign NameStore CATEGORY_UNI_NOT_DIGIT Str category_uni_not_digit Assign NameStore CATEGORY_UNI_SPACE Str category_uni_space Assign NameStore CATEGORY_UNI_NOT_SPACE Str category_uni_not_space Assign NameStore CATEGORY_UNI_WORD Str category_uni_word Assign NameStore CATEGORY_UNI_NOT_WORD Str category_uni_not_word Assign NameStore CATEGORY_UNI_LINEBREAK Str category_uni_linebreak Assign NameStore CATEGORY_UNI_NOT_LINEBREAK Str category_uni_not_linebreak Assign NameStore OPCODES ListLoad NameLoad FAILURE NameLoad SUCCESS NameLoad ANY NameLoad ANY_ALL NameLoad ASSERT NameLoad ASSERT_NOT NameLoad AT NameLoad BRANCH NameLoad CALL NameLoad CATEGORY NameLoad CHARSET NameLoad BIGCHARSET NameLoad GROUPREF NameLoad GROUPREF_EXISTS NameLoad GROUPREF_IGNORE NameLoad IN NameLoad IN_IGNORE NameLoad INFO NameLoad JUMP NameLoad LITERAL NameLoad LITERAL_IGNORE NameLoad MARK NameLoad MAX_UNTIL NameLoad MIN_UNTIL NameLoad NOT_LITERAL NameLoad NOT_LITERAL_IGNORE NameLoad NEGATE NameLoad RANGE NameLoad REPEAT NameLoad REPEAT_ONE NameLoad SUBPATTERN NameLoad MIN_REPEAT_ONE Assign NameStore ATCODES ListLoad NameLoad AT_BEGINNING NameLoad AT_BEGINNING_LINE NameLoad AT_BEGINNING_STRING NameLoad AT_BOUNDARY NameLoad AT_NON_BOUNDARY NameLoad AT_END NameLoad AT_END_LINE NameLoad AT_END_STRING NameLoad AT_LOC_BOUNDARY NameLoad AT_LOC_NON_BOUNDARY NameLoad AT_UNI_BOUNDARY NameLoad AT_UNI_NON_BOUNDARY Assign NameStore CHCODES ListLoad NameLoad CATEGORY_DIGIT NameLoad CATEGORY_NOT_DIGIT NameLoad CATEGORY_SPACE NameLoad CATEGORY_NOT_SPACE NameLoad CATEGORY_WORD NameLoad CATEGORY_NOT_WORD NameLoad CATEGORY_LINEBREAK NameLoad CATEGORY_NOT_LINEBREAK NameLoad CATEGORY_LOC_WORD NameLoad CATEGORY_LOC_NOT_WORD NameLoad CATEGORY_UNI_DIGIT NameLoad CATEGORY_UNI_NOT_DIGIT NameLoad CATEGORY_UNI_SPACE NameLoad CATEGORY_UNI_NOT_SPACE NameLoad CATEGORY_UNI_WORD NameLoad CATEGORY_UNI_NOT_WORD NameLoad CATEGORY_UNI_LINEBREAK NameLoad CATEGORY_UNI_NOT_LINEBREAK FunctionDef makedict arguments args NameParam list defaults body Assign NameStore d Dict Assign NameStore i Num 0 For NameStore item NameLoad list body Assign SubscriptStore NameLoad d Index NameLoad item NameLoad i Assign NameStore i BinOpAdd NameLoad i Num 1 Return NameLoad d decorator_list Assign NameStore OPCODES Call NameLoad makedict NameLoad OPCODES Assign NameStore ATCODES Call NameLoad makedict NameLoad ATCODES Assign NameStore CHCODES Call NameLoad makedict NameLoad CHCODES Assign NameStore OP_IGNORE Dict NameLoad GROUPREF NameLoad IN NameLoad LITERAL NameLoad NOT_LITERAL NameLoad GROUPREF_IGNORE NameLoad IN_IGNORE NameLoad LITERAL_IGNORE NameLoad NOT_LITERAL_IGNORE Assign NameStore AT_MULTILINE Dict NameLoad AT_BEGINNING NameLoad AT_END NameLoad AT_BEGINNING_LINE NameLoad AT_END_LINE Assign NameStore AT_LOCALE Dict NameLoad AT_BOUNDARY NameLoad AT_NON_BOUNDARY NameLoad AT_LOC_BOUNDARY NameLoad AT_LOC_NON_BOUNDARY Assign NameStore AT_UNICODE Dict NameLoad AT_BOUNDARY NameLoad AT_NON_BOUNDARY NameLoad AT_UNI_BOUNDARY NameLoad AT_UNI_NON_BOUNDARY Assign NameStore CH_LOCALE Dict NameLoad CATEGORY_DIGIT NameLoad CATEGORY_NOT_DIGIT NameLoad CATEGORY_SPACE NameLoad CATEGORY_NOT_SPACE NameLoad CATEGORY_WORD NameLoad CATEGORY_NOT_WORD NameLoad CATEGORY_LINEBREAK NameLoad CATEGORY_NOT_LINEBREAK NameLoad CATEGORY_DIGIT NameLoad CATEGORY_NOT_DIGIT NameLoad CATEGORY_SPACE NameLoad CATEGORY_NOT_SPACE NameLoad CATEGORY_LOC_WORD NameLoad CATEGORY_LOC_NOT_WORD NameLoad CATEGORY_LINEBREAK NameLoad CATEGORY_NOT_LINEBREAK Assign NameStore CH_UNICODE Dict NameLoad CATEGORY_DIGIT NameLoad CATEGORY_NOT_DIGIT NameLoad CATEGORY_SPACE NameLoad CATEGORY_NOT_SPACE NameLoad CATEGORY_WORD NameLoad CATEGORY_NOT_WORD NameLoad CATEGORY_LINEBREAK NameLoad CATEGORY_NOT_LINEBREAK NameLoad CATEGORY_UNI_DIGIT NameLoad CATEGORY_UNI_NOT_DIGIT NameLoad CATEGORY_UNI_SPACE NameLoad CATEGORY_UNI_NOT_SPACE NameLoad CATEGORY_UNI_WORD NameLoad CATEGORY_UNI_NOT_WORD NameLoad CATEGORY_UNI_LINEBREAK NameLoad CATEGORY_UNI_NOT_LINEBREAK Assign NameStore SRE_FLAG_TEMPLATE Num 1 Assign NameStore SRE_FLAG_IGNORECASE Num 2 Assign NameStore SRE_FLAG_LOCALE Num 4 Assign NameStore SRE_FLAG_MULTILINE Num 8 Assign NameStore SRE_FLAG_DOTALL Num 16 Assign NameStore SRE_FLAG_UNICODE Num 32 Assign NameStore SRE_FLAG_VERBOSE Num 64 Assign NameStore SRE_FLAG_DEBUG Num 128 Assign NameStore SRE_INFO_PREFIX Num 1 Assign NameStore SRE_INFO_LITERAL Num 2 Assign NameStore SRE_INFO_CHARSET Num 4 If CompareEq NameLoad __name__ Str __main__ body FunctionDef dump arguments args NameParam f NameParam d NameParam prefix defaults body Assign NameStore items Call AttributeLoad NameLoad d attr items Expr Call AttributeLoad NameLoad items attr sort keyword key Lambda arguments args NameParam a defaults SubscriptLoad NameLoad a Index Num 1 For TupleStore NameStore k NameStore v NameLoad items body Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-%s_%s-%s TupleLoad NameLoad prefix Call AttributeLoad NameLoad k attr upper NameLoad v decorator_list Assign NameStore f Call NameLoad open Str sre_constants.h Str w Expr Call AttributeLoad NameLoad f attr write Str /*-*-Secret-Labs'-Regular-Expression-Engine-*-*-regular-expression-matching-engine-*-*-NOTE:-This-file-is-generated-by-sre_constants.py.--If-you-need-*-to-change-anything-in-here,-edit-sre_constants.py-and-run-it.-*-*-Copyright-(c)-1997-2001-by-Secret-Labs-AB.--All-rights-reserved.-*-*-See-the-_sre.c-file-for-information-on-usage-and-redistribution.-*/ Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_MAGIC-%d NameLoad MAGIC Expr Call NameLoad dump NameLoad f NameLoad OPCODES Str SRE_OP Expr Call NameLoad dump NameLoad f NameLoad ATCODES Str SRE Expr Call NameLoad dump NameLoad f NameLoad CHCODES Str SRE Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_FLAG_TEMPLATE-%d NameLoad SRE_FLAG_TEMPLATE Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_FLAG_IGNORECASE-%d NameLoad SRE_FLAG_IGNORECASE Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_FLAG_LOCALE-%d NameLoad SRE_FLAG_LOCALE Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_FLAG_MULTILINE-%d NameLoad SRE_FLAG_MULTILINE Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_FLAG_DOTALL-%d NameLoad SRE_FLAG_DOTALL Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_FLAG_UNICODE-%d NameLoad SRE_FLAG_UNICODE Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_FLAG_VERBOSE-%d NameLoad SRE_FLAG_VERBOSE Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_INFO_PREFIX-%d NameLoad SRE_INFO_PREFIX Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_INFO_LITERAL-%d NameLoad SRE_INFO_LITERAL Expr Call AttributeLoad NameLoad f attr write BinOpMod Str #define-SRE_INFO_CHARSET-%d NameLoad SRE_INFO_CHARSET Expr Call AttributeLoad NameLoad f attr close Print Str done 
Module Expr Str Kivy-Catalog============The-Kivy-Catalog-viewer-showcases-widgets-available-in-Kivyand-allows-interactive-editing-of-kivy-language-code-to-get-immediatefeedback.-You-should-see-a-two-panel-screen-with-a-menu-spinner-button(starting-with-'Welcome')-and-other-controls-across-the-top.The-left-panecontains-kivy-(.kv)-code,-and-the-right-side-is-that-code-rendered.-You-canedit-the-left-pane,-though-changes-will-be-lost-when-you-use-the-menuspinner-button.-The-catalog-will-show-you-dozens-of-.kv-examples-controllingdifferent-widgets-and-layouts.The-catalog's-interface-is-set-in-the-file-kivycatalog.kv,-while-theinterfaces-for-each-menu-option-are-set-in-containers_kvs-directory.-Toadd-a-new-.kv-file-to-the-Kivy-Catalog,-add-a-.kv-file-into-the-container_kvsdirectory-and-reference-that-file-in-the-ScreenManager-section-ofkivycatalog.kv.Known-bugs-include-some-issue-with-the-drop Import alias kivy Expr Call AttributeLoad NameLoad kivy attr require Str 1.4.2 Import alias os Import alias sys ImportFrom kivy.app alias App ImportFrom kivy.factory alias Factory ImportFrom kivy.lang alias Builder alias Parser alias ParserException ImportFrom kivy.properties alias ObjectProperty ImportFrom kivy.uix.boxlayout alias BoxLayout ImportFrom kivy.uix.codeinput alias CodeInput ImportFrom kivy.animation alias Animation ImportFrom kivy.clock alias Clock Assign NameStore CATALOG_ROOT Call AttributeLoad AttributeLoad NameLoad os attr path attr dirname NameLoad __file__ Expr Str List-of-classes-that-need-to-be-instantiated-in-the-factory-from-.kv-files. Assign NameStore CONTAINER_KVS Call AttributeLoad AttributeLoad NameLoad os attr path attr join NameLoad CATALOG_ROOT Str container_kvs Assign NameStore CONTAINER_CLASSES ListComp SubscriptLoad NameLoad c Slice Num -3 comprehension NameStore c Call AttributeLoad NameLoad os attr listdir NameLoad CONTAINER_KVS Call AttributeLoad NameLoad c attr endswith Str .kv ClassDef Container bases NameLoad BoxLayout body Expr Str A-container-is-essentially-a-class-that-loads-its-root-from-a-known----.kv-file.----The-name-of-the-.kv-file-is-taken-from-the-Container's-class.----We-can't-just-use-kv-rules-because-the-class-may-be-edited----in-the-interface-and-reloaded-by-the-user.----See-:meth:-change_kv-where-this-happens. FunctionDef __init__ arguments args NameParam self defaults kwarg kwargs body Expr Call AttributeLoad Call NameLoad super NameLoad Container NameLoad self attr __init__ NameLoad kwargs Assign AttributeStore NameLoad self attr previous_text Call AttributeLoad Call NameLoad open AttributeLoad NameLoad self attr kv_file attr read Assign NameStore parser Call NameLoad Parser keyword content AttributeLoad NameLoad self attr previous_text Assign NameStore widget Call Call AttributeLoad NameLoad Factory attr get AttributeLoad AttributeLoad NameLoad parser attr root attr name Expr Call AttributeLoad NameLoad Builder attr _apply_rule NameLoad widget AttributeLoad NameLoad parser attr root AttributeLoad NameLoad parser attr root Expr Call AttributeLoad NameLoad self attr add_widget NameLoad widget decorator_list FunctionDef kv_file arguments args NameParam self defaults body Expr Str Get-the-name-of-the-kv-file,-a-lowercase-version-of-the-class--------name. Return Call AttributeLoad AttributeLoad NameLoad os attr path attr join NameLoad CONTAINER_KVS BinOpAdd AttributeLoad AttributeLoad NameLoad self attr __class__ attr __name__ Str .kv decorator_list NameLoad property decorator_list For NameStore class_name NameLoad CONTAINER_CLASSES body Assign SubscriptStore Call NameLoad globals Index NameLoad class_name Call NameLoad type NameLoad class_name TupleLoad NameLoad Container Dict ClassDef KivyRenderTextInput bases NameLoad CodeInput body FunctionDef keyboard_on_key_down arguments args NameParam self NameParam window NameParam keycode NameParam text NameParam modifiers defaults body Assign NameStore is_osx CompareEq AttributeLoad NameLoad sys attr platform Str darwin Assign TupleStore NameStore ctrl NameStore cmd TupleLoad Num 64 Num 1024 Assign TupleStore NameStore key NameStore key_str NameLoad keycode If BoolOpAnd NameLoad text UnaryOpNot CompareIn NameLoad key BinOpAdd Call NameLoad list Call AttributeLoad AttributeLoad NameLoad self attr interesting_keys attr keys ListLoad Num 27 body If BoolOpOr CompareEq NameLoad modifiers ListLoad Str ctrl BoolOpAnd NameLoad is_osx CompareEq NameLoad modifiers ListLoad Str meta body If CompareEq NameLoad key Call NameLoad ord Str s body Expr Call AttributeLoad AttributeLoad NameLoad self attr catalog attr change_kv NameLoad True Return Return Call AttributeLoad Call NameLoad super NameLoad KivyRenderTextInput NameLoad self attr keyboard_on_key_down NameLoad window NameLoad keycode NameLoad text NameLoad modifiers decorator_list decorator_list ClassDef Catalog bases NameLoad BoxLayout body Expr Str Catalog-of-widgets.-This-is-the-root-widget-of-the-app.-It-contains----a-tabbed-pain-of-widgets-that-can-be-displayed-and-a-textbox-where-.kv----language-files-for-widgets-being-demoed-can-be-edited.----The-entire-interface-for-the-Catalog-is-defined-in-kivycatalog.kv,----although-individual-containers-are-defined-in-the-container_kvs----directory.----To-add-a-container-to-the-catalog,----first-create-the-.kv-file-in-container_kvs----The-name-of-the-file-(sans-.kv)-will-be-the-name-of-the-widget-available----inside-the-kivycatalog.kv----Finally-modify-kivycatalog.kv-to-add-an-AccordionItem----to-hold-the-new-widget.----Follow-the-examples-in-kivycatalog.kv-to-ensure-the-item----has-an-appropriate-id-and-the-class-has-been-referenced.----You-do-not-need-to-edit-any-python-code,-just-.kv-language-files! Assign NameStore language_box Call NameLoad ObjectProperty Assign NameStore screen_manager Call NameLoad ObjectProperty FunctionDef __init__ arguments args NameParam self defaults kwarg kwargs body Assign AttributeStore NameLoad self attr _previously_parsed_text Str null Expr Call AttributeLoad Call NameLoad super NameLoad Catalog NameLoad self attr __init__ NameLoad kwargs Expr Call AttributeLoad NameLoad self attr show_kv NameLoad None Str Welcome Assign AttributeStore NameLoad self attr carousel NameLoad None decorator_list FunctionDef show_kv arguments args NameParam self NameParam instance NameParam value defaults body Expr Str Called-when-an-a-item-is-selected,-we-need-to-show-the-.kv-language--------file-associated-with-the-newly-revealed-container. Assign AttributeStore AttributeLoad NameLoad self attr screen_manager attr current NameLoad value Assign NameStore child SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad self attr screen_manager attr current_screen attr children Index Num 0 With Call NameLoad open AttributeLoad NameLoad child attr kv_file Str rb NameStore file body Assign AttributeStore AttributeLoad NameLoad self attr language_box attr text Call AttributeLoad Call AttributeLoad NameLoad file attr read attr decode Str utf8 Expr Call AttributeLoad NameLoad Clock attr unschedule AttributeLoad NameLoad self attr change_kv Expr Call AttributeLoad NameLoad self attr change_kv Expr Call AttributeLoad AttributeLoad NameLoad self attr language_box attr reset_undo decorator_list FunctionDef schedule_reload arguments args NameParam self defaults body If AttributeLoad NameLoad self attr auto_reload body Assign NameStore txt AttributeLoad AttributeLoad NameLoad self attr language_box attr text Assign NameStore child SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad self attr screen_manager attr current_screen attr children Index Num 0 If CompareEq NameLoad txt AttributeLoad NameLoad child attr previous_text body Return Assign AttributeStore NameLoad child attr previous_text NameLoad txt Expr Call AttributeLoad NameLoad Clock attr unschedule AttributeLoad NameLoad self attr change_kv Expr Call AttributeLoad NameLoad Clock attr schedule_once AttributeLoad NameLoad self attr change_kv Num 2 decorator_list FunctionDef change_kv arguments args NameParam self defaults vararg largs body Expr Str Called-when-the-update-button-is-clicked.-Needs-to-update-the--------interface-for-the-currently-active-kv-widget,-if-there-is-one-based--------on-the-kv-file-the-user-entered.-If-there-is-an-error-in-their-kv--------syntax,-show-a-nice-popup. Assign NameStore txt AttributeLoad AttributeLoad NameLoad self attr language_box attr text Assign NameStore kv_container SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad self attr screen_manager attr current_screen attr children Index Num 0 TryExcept body Assign NameStore parser Call NameLoad Parser keyword content NameLoad txt Expr Call AttributeLoad NameLoad kv_container attr clear_widgets Assign NameStore widget Call Call AttributeLoad NameLoad Factory attr get AttributeLoad AttributeLoad NameLoad parser attr root attr name Expr Call AttributeLoad NameLoad Builder attr _apply_rule NameLoad widget AttributeLoad NameLoad parser attr root AttributeLoad NameLoad parser attr root Expr Call AttributeLoad NameLoad kv_container attr add_widget NameLoad widget handlers ExceptHandler type TupleLoad NameLoad SyntaxError NameLoad ParserException name NameStore e body Expr Call AttributeLoad NameLoad self attr show_error NameLoad e ExceptHandler type NameLoad Exception name NameStore e body Expr Call AttributeLoad NameLoad self attr show_error NameLoad e decorator_list FunctionDef show_error arguments args NameParam self NameParam e defaults body Assign AttributeStore AttributeLoad NameLoad self attr info_label attr text Call AttributeLoad Call NameLoad str NameLoad e attr encode Str utf-8 Assign AttributeStore NameLoad self attr anim BinOpAdd BinOpAdd Call NameLoad Animation keyword top Num 190.0 keyword opacity Num 1 keyword d Num 2 keyword t Str in_back Call NameLoad Animation keyword top Num 190.0 keyword d Num 3 Call NameLoad Animation keyword top Num 0 keyword opacity Num 0 keyword d Num 2 Expr Call AttributeLoad AttributeLoad NameLoad self attr anim attr start AttributeLoad NameLoad self attr info_label decorator_list decorator_list ClassDef KivyCatalogApp bases NameLoad App body Expr Str The-kivy-App-that-runs-the-main-root.-All-we-do-is-build-a-catalog----widget-into-the-root. FunctionDef build arguments args NameParam self defaults body Return Call NameLoad Catalog decorator_list FunctionDef on_pause arguments args NameParam self defaults body Return NameLoad True decorator_list decorator_list If CompareEq NameLoad __name__ Str __main__ body Expr Call AttributeLoad Call NameLoad KivyCatalogApp attr run 
Module Expr Str Manages-input-and-output-queues.-vimap-attempts-to-spool-data-into-the-inputqueue,-so-workers-are-fed,-but-of-course-not-put-all-the-data-onto-the-inputqueue-immediately-(e.g.-if-we're-iterating-over-a-large-file).-Similarly,vimap-tries-to-consume-output-from-the-processes,-but-has-a-bound-on-thattoo,-to-keep-the-in-memory-dataset-bounded. ImportFrom __future__ alias absolute_import ImportFrom __future__ alias print_function Import alias itertools Import alias multiprocessing Import alias multiprocessing.queues Import alias time ImportFrom vimap alias exception_handling Import alias vimap.util Assign NameStore _MAX_IN_FLIGHT Num 100 ClassDef VimapQueueManager bases NameLoad object body Expr Str Args:-Sequence-of-vimap-workers. Assign NameStore queue_class AttributeLoad AttributeLoad NameLoad multiprocessing attr queues attr Queue FunctionDef __init__ arguments args NameParam self NameParam max_real_in_flight NameParam max_total_in_flight NameParam timeouts_config NameParam debug defaults NameLoad False body Expr Str Arguments:------------max_real_in_flight----number-of-in-flight-operations-sent-to----------------worker-processes------------max_total_in_flight----number-of-in-flight-operations-including----------------temporary-master-process-output-queue Assign AttributeStore NameLoad self attr timeouts_config NameLoad timeouts_config Assign AttributeStore NameLoad self attr max_real_in_flight Call NameLoad min NameLoad _MAX_IN_FLIGHT NameLoad max_real_in_flight Assign AttributeStore NameLoad self attr max_total_in_flight NameLoad max_total_in_flight Assign AttributeStore NameLoad self attr input_queue Call AttributeLoad NameLoad self attr queue_class NameLoad max_real_in_flight Assign AttributeStore NameLoad self attr output_queue Call AttributeLoad NameLoad self attr queue_class NameLoad max_real_in_flight Assign AttributeStore NameLoad self attr tmp_input_queue ListLoad Assign AttributeStore NameLoad self attr tmp_output_queue ListLoad Assign AttributeStore NameLoad self attr num_real_in_flight Num 0 Assign AttributeStore NameLoad self attr output_hooks ListLoad Assign AttributeStore NameLoad self attr debug NameLoad debug decorator_list FunctionDef close arguments args NameParam self defaults body Expr Str Closes-any-queues-from-the-main-method-side.-For-input-and-output--------queues,-we-will-close-the-queue,-join-the-queue-thread,-and-delete--------the-corresponding-attribute-so-any-future-attempted-accesses-will--------fail. Assign NameStore finalize_methods ListLoad FunctionDef _wait_close arguments args NameParam queue_name NameParam pipe_name NameParam pipe defaults body Expr Str Works-around-bugs-(or-misuse?)-in-multiprocessing.queue-by-waiting-for------------a-queue's-internal-pipes-to-actually-be-closed.------------See-https://github.com/gatoatigrado/vimap/issues/14-for-more-information. If UnaryOpNot AttributeLoad NameLoad pipe attr closed body If AttributeLoad NameLoad self attr debug body Expr Call NameLoad print Call AttributeLoad Str Force-closing-\ 0\ 1\ attr format NameLoad pipe_name NameLoad queue_name Expr Call AttributeLoad NameLoad pipe attr close decorator_list FunctionDef _close_queue arguments args NameParam name NameParam queue defaults body If AttributeLoad NameLoad self attr debug body Expr Call NameLoad print Call AttributeLoad Str Main-thread-queue-manager:-Closing-and-joining-\ 0\ attr format NameLoad name Expr Call AttributeLoad NameLoad queue attr close Expr Call AttributeLoad NameLoad queue attr join_thread If BoolOpAnd Call NameLoad hasattr NameLoad queue Str _reader Call NameLoad hasattr NameLoad queue Str _writer body Assign TupleStore NameStore reader_pipe NameStore writer_pipe TupleLoad AttributeLoad NameLoad queue attr _reader AttributeLoad NameLoad queue attr _writer Expr Call AttributeLoad NameLoad finalize_methods attr append Lambda arguments args defaults Call NameLoad _wait_close NameLoad name Str reader NameLoad reader_pipe Expr Call AttributeLoad NameLoad finalize_methods attr append Lambda arguments args defaults Call NameLoad _wait_close NameLoad name Str writer NameLoad writer_pipe decorator_list Expr Call NameLoad _close_queue Str input AttributeLoad NameLoad self attr input_queue Delete AttributeDel NameLoad self attr input_queue Assert Call AttributeLoad AttributeLoad NameLoad self attr output_queue attr empty Str You-should-*not*-close-the-output-queue-before-it's-all-consumed,-else-any-workers-putting-items-into-the-queuewill-hang! Expr Call NameLoad _close_queue Str output AttributeLoad NameLoad self attr output_queue Delete AttributeDel NameLoad self attr output_queue For NameStore finalize_method NameLoad finalize_methods body Expr Call NameLoad finalize_method decorator_list Call AttributeLoad AttributeLoad NameLoad vimap attr util attr instancemethod_runonce FunctionDef add_output_hook arguments args NameParam self NameParam hook defaults body Expr Str Add-a-function-which-will-be-executed-immediately-when-output-is--------taken-off-of-the-queue.-The-only-current-use-case-is-to-react-to--------exceptions. Expr Call AttributeLoad AttributeLoad NameLoad self attr output_hooks attr append NameLoad hook decorator_list FunctionDef num_total_in_flight arguments args NameParam self defaults body Return BinOpAdd BinOpAdd Call NameLoad len AttributeLoad NameLoad self attr tmp_input_queue AttributeLoad NameLoad self attr num_real_in_flight Call NameLoad len AttributeLoad NameLoad self attr tmp_output_queue decorator_list NameLoad property FunctionDef try_put_input arguments args NameParam self NameParam x defaults body Expr Call AttributeLoad AttributeLoad NameLoad self attr input_queue attr put NameLoad x keyword timeout AttributeLoad AttributeLoad NameLoad self attr timeouts_config attr input_queue_put_timeout AugAssignAdd AttributeStore NameLoad self attr num_real_in_flight Num 1 decorator_list FunctionDef feed_out_to_tmp arguments args NameParam self NameParam max_time_s defaults NameLoad None body Expr Str Feeds-output-to-temporary-queue-"heuristically".-We're-always--------guaranteed-to-take-the-first-element,-if-it-exists-at-the-time--------feed_out_to_tmp-is-called.--After-that,-if-it's-longer-than--------`max_time_s`,-we-exit.-If-`max_time_s`-is-None,-then-we'll-take--------all-elements-on-the-output-queue.--------Currently,-this-method-is-called-by-pop_output,-spool_input,-and--------the-Pool's-finish_workers.-All-of-these-methods-are-called-once--------in-the-loop-of-getting-output-elements,-so-it's-okay-if-we-don't--------dequeue-all-elements-from-the-queue-(or-more-arrive-later).--------The-use-of-`max_time_s`-is-to-keep-things-"streaming"----if-it-takes--------a-long-time-to-transfer-data-back,-it-might-be-worth-skipping-out--------of-here-and-continuing-the-main-process,-so-it-can-e.g.-queue-more--------input-and-keep-workers-busy. Assign NameStore start_time Call AttributeLoad NameLoad time attr time While BoolOpOr CompareIs NameLoad max_time_s NameLoad None CompareLt BinOpSub Call AttributeLoad NameLoad time attr time NameLoad start_time NameLoad max_time_s body TryExcept body Assign NameStore item Call AttributeLoad AttributeLoad NameLoad self attr output_queue attr get_nowait AugAssignSub AttributeStore NameLoad self attr num_real_in_flight Num 1 Expr Call AttributeLoad AttributeLoad NameLoad self attr tmp_output_queue attr append NameLoad item If AttributeLoad NameLoad self attr debug body Expr Call NameLoad print Call AttributeLoad Str Main-thread:-got-item-#\ 0\ attr format SubscriptLoad NameLoad item Index Num 0 For NameStore hook AttributeLoad NameLoad self attr output_hooks body Expr Call NameLoad hook NameLoad item handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad multiprocessing attr queues attr Empty body Break decorator_list FunctionDef pop_output arguments args NameParam self defaults body Expr Str Essentially-a-buffered-version-of-output_queue.get_nowait(). If AttributeLoad NameLoad self attr debug body Expr Call NameLoad print Str Main-thread:-feeding-output--->-tmp-... Expr Call AttributeLoad NameLoad self attr feed_out_to_tmp keyword max_time_s Num 1 If AttributeLoad NameLoad self attr debug body Expr Call NameLoad print Str ...-Main-thread-done-feeding-output If AttributeLoad NameLoad self attr tmp_output_queue body Return Call AttributeLoad AttributeLoad NameLoad self attr tmp_output_queue attr pop Num 0 orelse Raise Call AttributeLoad AttributeLoad NameLoad multiprocessing attr queues attr Empty decorator_list FunctionDef read_input_iterator_to_buffer arguments args NameParam self NameParam input_iterator NameParam n_to_put defaults body Expr Str Reads-from-the-[main-thread]-input-iterator,-to-a-temporary-buffer.--------This-buffer-is-typically-entirely-consumed,-unless-the-input-queue-is--------busy/full-(they-have-finite-queue-size,-sometimes-smaller-than-the--------limits-we-put-in-place). If CompareGt NameLoad n_to_put Num 0 body AugAssignAdd AttributeStore NameLoad self attr tmp_input_queue Call NameLoad list Call AttributeLoad NameLoad itertools attr islice NameLoad input_iterator BinOpSub NameLoad n_to_put Call NameLoad len AttributeLoad NameLoad self attr tmp_input_queue decorator_list FunctionDef put_input_buffer_to_input arguments args NameParam self defaults body TryExcept body While AttributeLoad NameLoad self attr tmp_input_queue body Assign NameStore x SubscriptLoad AttributeLoad NameLoad self attr tmp_input_queue Index Num 0 Expr Call AttributeLoad NameLoad self attr try_put_input NameLoad x Expr Call AttributeLoad AttributeLoad NameLoad self attr tmp_input_queue attr pop Num 0 handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad multiprocessing attr queues attr Full body Pass decorator_list FunctionDef spool_input arguments args NameParam self NameParam input_iterator defaults body Expr Str Put-input-from-`input_iterator`-on-the-input-queue.-Spools-as-many--------as-permitted-by-max_real_in_flight-and-max_total_in_flight-allow.--------Returns:------------True-iff-`input_iterator`-is-exhausted.-This-may-have-some-false------------negatives-but-if-True-it-should-always-be-exhausted. Expr Call AttributeLoad NameLoad self attr feed_out_to_tmp Assign NameStore n_to_put Call NameLoad min BinOpSub AttributeLoad NameLoad self attr max_real_in_flight AttributeLoad NameLoad self attr num_real_in_flight BinOpSub AttributeLoad NameLoad self attr max_total_in_flight AttributeLoad NameLoad self attr num_total_in_flight Expr Call AttributeLoad NameLoad self attr read_input_iterator_to_buffer NameLoad input_iterator NameLoad n_to_put Assign NameStore input_exhausted BoolOpAnd CompareGt NameLoad n_to_put Num 0 UnaryOpNot AttributeLoad NameLoad self attr tmp_input_queue Expr Call AttributeLoad NameLoad self attr put_input_buffer_to_input Return NameLoad input_exhausted decorator_list FunctionDef send_stop_tokens arguments args NameParam self NameParam num_tokens defaults body TryExcept body For NameStore _ Call NameLoad xrange NameLoad num_tokens body Expr Call AttributeLoad AttributeLoad NameLoad self attr input_queue attr put NameLoad None keyword timeout AttributeLoad AttributeLoad NameLoad self attr timeouts_config attr general_timeout handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad multiprocessing attr queues attr Full body Expr Call AttributeLoad NameLoad exception_handling attr print_warning Str Failed-to-send-all-stop-tokens-(timeout-exceeded) decorator_list decorator_list 
Module Expr Str OpCodes-base-moduleThis-module-implements-part-of-the-data-structures-which-define-thecluster-operations---the-so-called-opcodes.Every-operation-which-modifies-the-cluster-state-is-expressed-viaopcodes. Import alias copy Import alias logging Import alias re ImportFrom ganeti alias constants ImportFrom ganeti alias errors ImportFrom ganeti alias ht ImportFrom ganeti alias outils Assign NameStore _OPID_RE Call AttributeLoad NameLoad re attr compile Str ([a-z])([A-Z]) Assign NameStore SUMMARY_PREFIX Dict Str CLUSTER_ Str GROUP_ Str NODE_ Str INSTANCE_ Str C_ Str G_ Str N_ Str I_ Assign NameStore DEPEND_ATTR Str depends Assign NameStore COMMENT_ATTR Str comment FunctionDef _NameComponents arguments args NameParam name defaults body Expr Str Split-an-opcode-class-name-into-its-components--@type-name:-string--@param-name:-the-class-name,-as-OpXxxYyy--@rtype:-array-of-strings--@return:-the-components-of-the-name Assert Call AttributeLoad NameLoad name attr startswith Str Op Assign NameStore name Call AttributeLoad NameLoad _OPID_RE attr sub Str \\1,\\2 NameLoad name Assign NameStore elems Call AttributeLoad NameLoad name attr split Str , Return NameLoad elems decorator_list FunctionDef _NameToId arguments args NameParam name defaults body Expr Str Convert-an-opcode-class-name-to-an-OP_ID.--@type-name:-string--@param-name:-the-class-name,-as-OpXxxYyy--@rtype:-string--@return:-the-name-in-the-OP_XXXX_YYYY-format If UnaryOpNot Call AttributeLoad NameLoad name attr startswith Str Op body Return NameLoad None Return Call AttributeLoad Str _ attr join GeneratorExp Call AttributeLoad NameLoad n attr upper comprehension NameStore n Call NameLoad _NameComponents NameLoad name decorator_list FunctionDef NameToReasonSrc arguments args NameParam name NameParam prefix defaults body Expr Str Convert-an-opcode-class-name-to-a-source-string-for-the-reason-trail--@type-name:-string--@param-name:-the-class-name,-as-OpXxxYyy--@type-prefix:-string--@param-prefix:-the-prefix-that-will-be-prepended-to-the-opcode-name--@rtype:-string--@return:-the-name-in-the-OP_XXXX_YYYY-format If UnaryOpNot Call AttributeLoad NameLoad name attr startswith Str Op body Return NameLoad None Return BinOpMod Str %s:%s TupleLoad NameLoad prefix Call AttributeLoad Str _ attr join GeneratorExp Call AttributeLoad NameLoad n attr lower comprehension NameStore n Call NameLoad _NameComponents NameLoad name decorator_list ClassDef _AutoOpParamSlots bases AttributeLoad NameLoad outils attr AutoSlots body Expr Str Meta-class-for-opcode-definitions. FunctionDef __new__ arguments args NameParam mcs NameParam name NameParam bases NameParam attrs defaults body Expr Str Called-when-a-class-should-be-created.----@param-mcs:-The-meta-class----@param-name:-Name-of-created-class----@param-bases:-Base-classes----@type-attrs:-dict----@param-attrs:-Class-attributes Assert CompareNotIn Str OP_ID NameLoad attrs BinOpMod Str Class-'%s'-defining-OP_ID NameLoad name Assign NameStore slots Call AttributeLoad NameLoad mcs attr _GetSlots NameLoad attrs Assert BoolOpOr CompareNotIn Str OP_DSC_FIELD NameLoad attrs CompareIn SubscriptLoad NameLoad attrs Index Str OP_DSC_FIELD NameLoad slots BinOpMod Str Class-'%s'-uses-unknown-field-in-OP_DSC_FIELD NameLoad name Assert BoolOpOr CompareNotIn Str OP_DSC_FORMATTER NameLoad attrs Call NameLoad callable SubscriptLoad NameLoad attrs Index Str OP_DSC_FORMATTER BinOpMod Str Class-'%s'-uses-non-callable-in-OP_DSC_FORMATTER-(%s) TupleLoad NameLoad name Call NameLoad type SubscriptLoad NameLoad attrs Index Str OP_DSC_FORMATTER Assign SubscriptStore NameLoad attrs Index Str OP_ID Call NameLoad _NameToId NameLoad name Return Call AttributeLoad AttributeLoad NameLoad outils attr AutoSlots attr __new__ NameLoad mcs NameLoad name NameLoad bases NameLoad attrs decorator_list FunctionDef _GetSlots arguments args NameParam mcs NameParam attrs defaults body Expr Str Build-the-slots-out-of-OP_PARAMS. Assign NameStore params Call AttributeLoad NameLoad attrs attr setdefault Str OP_PARAMS ListLoad Return ListComp NameLoad pname comprehension TupleStore NameStore pname NameStore _ NameStore _ NameStore _ NameLoad params decorator_list NameLoad classmethod decorator_list ClassDef BaseOpCode bases AttributeLoad NameLoad outils attr ValidatedSlots body Expr Str A-simple-serializable-object.--This-object-serves-as-a-parent-class-for-OpCode-without-any-custom--field-handling. Assign NameStore __metaclass__ NameLoad _AutoOpParamSlots FunctionDef __init__ arguments args NameParam self defaults kwarg kwargs body Expr Call AttributeLoad AttributeLoad NameLoad outils attr ValidatedSlots attr __init__ NameLoad self NameLoad kwargs For TupleStore NameStore key NameStore default NameStore _ NameStore _ Call AttributeLoad AttributeLoad NameLoad self attr __class__ attr GetAllParams body If UnaryOpNot Call NameLoad hasattr NameLoad self NameLoad key body Expr Call NameLoad setattr NameLoad self NameLoad key NameLoad default decorator_list FunctionDef __getstate__ arguments args NameParam self defaults body Expr Str Generic-serializer.----This-method-just-returns-the-contents-of-the-instance-as-a----dictionary.----@rtype:--C\ dict\ Assign NameStore state Dict For NameStore name Call AttributeLoad NameLoad self attr GetAllSlots body If Call NameLoad hasattr NameLoad self NameLoad name body Assign SubscriptStore NameLoad state Index NameLoad name Call NameLoad getattr NameLoad self NameLoad name Return NameLoad state decorator_list FunctionDef __setstate__ arguments args NameParam self NameParam state defaults body Expr Str Generic-unserializer.----This-method-just-restores-from-the-serialized-state-the-attributes----of-the-current-instance.----@param-state:-the-serialized-opcode-data----@type-state:--C\ dict\ If UnaryOpNot Call NameLoad isinstance NameLoad state NameLoad dict body Raise Call NameLoad ValueError BinOpMod Str Invalid-data-to-__setstate__:-expected-dict,-got-%s Call NameLoad type NameLoad state For NameStore name Call AttributeLoad NameLoad self attr GetAllSlots body If BoolOpAnd CompareNotIn NameLoad name NameLoad state Call NameLoad hasattr NameLoad self NameLoad name body Expr Call NameLoad delattr NameLoad self NameLoad name For NameStore name NameLoad state body Expr Call NameLoad setattr NameLoad self NameLoad name SubscriptLoad NameLoad state Index NameLoad name decorator_list FunctionDef GetAllParams arguments args NameParam cls defaults body Expr Str Compute-list-of-all-parameters-for-an-opcode. Assign NameStore slots ListLoad For NameStore parent AttributeLoad NameLoad cls attr __mro__ body Expr Call AttributeLoad NameLoad slots attr extend Call NameLoad getattr NameLoad parent Str OP_PARAMS ListLoad Return NameLoad slots decorator_list NameLoad classmethod FunctionDef Validate arguments args NameParam self NameParam set_defaults defaults body Expr Str Validate-opcode-parameters,-optionally-setting-default-values.----@type-set_defaults:-bool----@param-set_defaults:-whether-to-set-default-values----@rtype:-NoneType----@return:-L\ None\ For TupleStore NameStore attr_name NameStore default NameStore test NameStore _ Call AttributeLoad NameLoad self attr GetAllParams body Assert Call NameLoad callable NameLoad test If Call NameLoad hasattr NameLoad self NameLoad attr_name body Assign NameStore attr_val Call NameLoad getattr NameLoad self NameLoad attr_name orelse Assign NameStore attr_val Call AttributeLoad NameLoad copy attr deepcopy NameLoad default If Call NameLoad test NameLoad attr_val body If NameLoad set_defaults body Expr Call NameLoad setattr NameLoad self NameLoad attr_name NameLoad attr_val orelse If BoolOpAnd Call AttributeLoad NameLoad ht attr TInt NameLoad attr_val Call NameLoad test Call NameLoad float NameLoad attr_val body If NameLoad set_defaults body Expr Call NameLoad setattr NameLoad self NameLoad attr_name Call NameLoad float NameLoad attr_val orelse Expr Call AttributeLoad NameLoad logging attr error Str OpCode-%s,-parameter-%s,-has-invalid-type-%s/value-'%s'-expecting-type-%s AttributeLoad NameLoad self attr OP_ID NameLoad attr_name Call NameLoad type NameLoad attr_val NameLoad attr_val NameLoad test If CompareIs NameLoad attr_val NameLoad None body Expr Call AttributeLoad NameLoad logging attr error Str OpCode-%s,-parameter-%s,-has-default-value-None-which-is-does-not-check-against-the-parameter's-type:-this-means-this-parameter-is-required-but-no-value-was-given AttributeLoad NameLoad self attr OP_ID NameLoad attr_name Raise Call AttributeLoad NameLoad errors attr OpPrereqError BinOpMod Str Parameter-'%s.%s'-fails-validation TupleLoad AttributeLoad NameLoad self attr OP_ID NameLoad attr_name AttributeLoad NameLoad errors attr ECODE_INVAL decorator_list decorator_list FunctionDef BuildJobDepCheck arguments args NameParam relative defaults body Expr Str Builds-check-for-job-dependencies-(L\ DEPEND_ATTR\ If NameLoad relative body Assign NameStore job_id Call AttributeLoad NameLoad ht attr TOr AttributeLoad NameLoad ht attr TJobId AttributeLoad NameLoad ht attr TRelativeJobId orelse Assign NameStore job_id AttributeLoad NameLoad ht attr TJobId Assign NameStore job_dep Call AttributeLoad NameLoad ht attr TAnd Call AttributeLoad NameLoad ht attr TOr Call AttributeLoad NameLoad ht attr TListOf AttributeLoad NameLoad ht attr TAny AttributeLoad NameLoad ht attr TTuple Call AttributeLoad NameLoad ht attr TIsLength Num 2 Call AttributeLoad NameLoad ht attr TItems ListLoad NameLoad job_id Call AttributeLoad NameLoad ht attr TListOf Call AttributeLoad NameLoad ht attr TElemOf AttributeLoad NameLoad constants attr JOBS_FINALIZED Return Call AttributeLoad NameLoad ht attr TMaybe Call AttributeLoad NameLoad ht attr TListOf NameLoad job_dep decorator_list Assign NameStore TNoRelativeJobDependencies Call NameLoad BuildJobDepCheck NameLoad False 
Module Expr Str Python-interface-for-the-'lsprof'-profiler.---Compatible-with-the-'profile'-module. Assign NameStore __all__ ListLoad Str run Str runctx Str help Str Profile Import alias _lsprof FunctionDef run arguments args NameParam statement NameParam filename NameParam sort defaults NameLoad None Num -1 body Expr Str Run-statement-under-profiler-optionally-saving-results-in-filename----This-function-takes-a-single-argument-that-can-be-passed-to-the----"exec"-statement,-and-an-optional-file-name.--In-all-cases-this----routine-attempts-to-"exec"-its-first-argument-and-gather-profiling----statistics-from-the-execution.-If-no-file-name-is-present,-then-this----function-automatically-prints-a-simple-profiling-report,-sorted-by-the----standard-name-string-(file/line/function-name)-that-is-presented-in----each-line. Assign NameStore prof Call NameLoad Profile Assign NameStore result NameLoad None TryFinally body TryExcept body Assign NameStore prof Call AttributeLoad NameLoad prof attr run NameLoad statement handlers ExceptHandler type NameLoad SystemExit body Pass finalbody If CompareIsNot NameLoad filename NameLoad None body Expr Call AttributeLoad NameLoad prof attr dump_stats NameLoad filename orelse Assign NameStore result Call AttributeLoad NameLoad prof attr print_stats NameLoad sort Return NameLoad result decorator_list FunctionDef runctx arguments args NameParam statement NameParam globals NameParam locals NameParam filename defaults NameLoad None body Expr Str Run-statement-under-profiler,-supplying-your-own-globals-and-locals,----optionally-saving-results-in-filename.----statement-and-filename-have-the-same-semantics-as-profile.run Assign NameStore prof Call NameLoad Profile Assign NameStore result NameLoad None TryFinally body TryExcept body Assign NameStore prof Call AttributeLoad NameLoad prof attr runctx NameLoad statement NameLoad globals NameLoad locals handlers ExceptHandler type NameLoad SystemExit body Pass finalbody If CompareIsNot NameLoad filename NameLoad None body Expr Call AttributeLoad NameLoad prof attr dump_stats NameLoad filename orelse Assign NameStore result Call AttributeLoad NameLoad prof attr print_stats Return NameLoad result decorator_list FunctionDef help arguments args defaults body Print Str Documentation-for-the-profile/cProfile-modules-can-be-found Print Str in-the-Python-Library-Reference,-section-'The-Python-Profiler'. decorator_list ClassDef Profile bases AttributeLoad NameLoad _lsprof attr Profiler body Expr Str Profile(custom_timer=None,-time_unit=None,-subcalls=True,-builtins=True)----Builds-a-profiler-object-using-the-specified-timer-function.----The-default-timer-is-a-fast-built-in-one-based-on-real-time.----For-custom-timer-functions-returning-integers,-time_unit-can----be-a-float-specifying-a-scale-(i.e.-how-long-each-integer-unit----is,-in-seconds). FunctionDef print_stats arguments args NameParam self NameParam sort defaults Num -1 body Import alias pstats Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad pstats attr Stats NameLoad self attr strip_dirs attr sort_stats NameLoad sort attr print_stats decorator_list FunctionDef dump_stats arguments args NameParam self NameParam file defaults body Import alias marshal Assign NameStore f Call NameLoad open NameLoad file Str wb Expr Call AttributeLoad NameLoad self attr create_stats Expr Call AttributeLoad NameLoad marshal attr dump AttributeLoad NameLoad self attr stats NameLoad f Expr Call AttributeLoad NameLoad f attr close decorator_list FunctionDef create_stats arguments args NameParam self defaults body Expr Call AttributeLoad NameLoad self attr disable Expr Call AttributeLoad NameLoad self attr snapshot_stats decorator_list FunctionDef snapshot_stats arguments args NameParam self defaults body Assign NameStore entries Call AttributeLoad NameLoad self attr getstats Assign AttributeStore NameLoad self attr stats Dict Assign NameStore callersdicts Dict For NameStore entry NameLoad entries body Assign NameStore func Call NameLoad label AttributeLoad NameLoad entry attr code Assign NameStore nc AttributeLoad NameLoad entry attr callcount Assign NameStore cc BinOpSub NameLoad nc AttributeLoad NameLoad entry attr reccallcount Assign NameStore tt AttributeLoad NameLoad entry attr inlinetime Assign NameStore ct AttributeLoad NameLoad entry attr totaltime Assign NameStore callers Dict Assign SubscriptStore NameLoad callersdicts Index Call NameLoad id AttributeLoad NameLoad entry attr code NameLoad callers Assign SubscriptStore AttributeLoad NameLoad self attr stats Index NameLoad func TupleLoad NameLoad cc NameLoad nc NameLoad tt NameLoad ct NameLoad callers For NameStore entry NameLoad entries body If AttributeLoad NameLoad entry attr calls body Assign NameStore func Call NameLoad label AttributeLoad NameLoad entry attr code For NameStore subentry AttributeLoad NameLoad entry attr calls body TryExcept body Assign NameStore callers SubscriptLoad NameLoad callersdicts Index Call NameLoad id AttributeLoad NameLoad subentry attr code handlers ExceptHandler type NameLoad KeyError body Continue Assign NameStore nc AttributeLoad NameLoad subentry attr callcount Assign NameStore cc BinOpSub NameLoad nc AttributeLoad NameLoad subentry attr reccallcount Assign NameStore tt AttributeLoad NameLoad subentry attr inlinetime Assign NameStore ct AttributeLoad NameLoad subentry attr totaltime If CompareIn NameLoad func NameLoad callers body Assign NameStore prev SubscriptLoad NameLoad callers Index NameLoad func AugAssignAdd NameStore nc SubscriptLoad NameLoad prev Index Num 0 AugAssignAdd NameStore cc SubscriptLoad NameLoad prev Index Num 1 AugAssignAdd NameStore tt SubscriptLoad NameLoad prev Index Num 2 AugAssignAdd NameStore ct SubscriptLoad NameLoad prev Index Num 3 Assign SubscriptStore NameLoad callers Index NameLoad func TupleLoad NameLoad nc NameLoad cc NameLoad tt NameLoad ct decorator_list FunctionDef run arguments args NameParam self NameParam cmd defaults body Import alias __main__ Assign NameStore dict AttributeLoad NameLoad __main__ attr __dict__ Return Call AttributeLoad NameLoad self attr runctx NameLoad cmd NameLoad dict NameLoad dict decorator_list FunctionDef runctx arguments args NameParam self NameParam cmd NameParam globals NameParam locals defaults body Expr Call AttributeLoad NameLoad self attr enable TryFinally body Exec NameLoad cmd NameLoad globals NameLoad locals finalbody Expr Call AttributeLoad NameLoad self attr disable Return NameLoad self decorator_list FunctionDef runcall arguments args NameParam self NameParam func defaults vararg args kwarg kw body Expr Call AttributeLoad NameLoad self attr enable TryFinally body Return Call NameLoad func NameLoad args NameLoad kw finalbody Expr Call AttributeLoad NameLoad self attr disable decorator_list decorator_list FunctionDef label arguments args NameParam code defaults body If Call NameLoad isinstance NameLoad code NameLoad str body Return TupleLoad Str ~ Num 0 NameLoad code orelse Return TupleLoad AttributeLoad NameLoad code attr co_filename AttributeLoad NameLoad code attr co_firstlineno AttributeLoad NameLoad code attr co_name decorator_list FunctionDef main arguments args defaults body Import alias os alias sys ImportFrom optparse alias OptionParser Assign NameStore usage Str cProfile.py-[-o-output_file_path]-[-s-sort]-scriptfile-[arg]-... Assign NameStore parser Call NameLoad OptionParser keyword usage NameLoad usage Assign AttributeStore NameLoad parser attr allow_interspersed_args NameLoad False Expr Call AttributeLoad NameLoad parser attr add_option Str -o Str --outfile keyword dest Str outfile keyword help Str Save-stats-to-<outfile> keyword default NameLoad None Expr Call AttributeLoad NameLoad parser attr add_option Str -s Str --sort keyword dest Str sort keyword help Str Sort-order-when-printing-to-stdout,-based-on-pstats.Stats-class keyword default Num -1 If UnaryOpNot SubscriptLoad AttributeLoad NameLoad sys attr argv Slice Num 1 body Expr Call AttributeLoad NameLoad parser attr print_usage Expr Call AttributeLoad NameLoad sys attr exit Num 2 Assign TupleStore NameStore options NameStore args Call AttributeLoad NameLoad parser attr parse_args Assign SubscriptStore AttributeLoad NameLoad sys attr argv Slice NameLoad args If CompareGt Call NameLoad len AttributeLoad NameLoad sys attr argv Num 0 body Expr Call AttributeLoad AttributeLoad NameLoad sys attr path attr insert Num 0 Call AttributeLoad AttributeLoad NameLoad os attr path attr dirname SubscriptLoad AttributeLoad NameLoad sys attr argv Index Num 0 Expr Call NameLoad run BinOpMod Str execfile(%r) TupleLoad SubscriptLoad AttributeLoad NameLoad sys attr argv Index Num 0 AttributeLoad NameLoad options attr outfile AttributeLoad NameLoad options attr sort orelse Expr Call AttributeLoad NameLoad parser attr print_usage Return NameLoad parser decorator_list If CompareEq NameLoad __name__ Str __main__ body Expr Call NameLoad main 
Module Expr Str Python-interface-for-the-'lsprof'-profiler.---Compatible-with-the-'profile'-module. Assign NameStore __all__ ListLoad Str run Str runctx Str help Str Profile Import alias _lsprof FunctionDef run arguments args NameParam statement NameParam filename NameParam sort defaults NameLoad None Num -1 body Expr Str Run-statement-under-profiler-optionally-saving-results-in-filename----This-function-takes-a-single-argument-that-can-be-passed-to-the----"exec"-statement,-and-an-optional-file-name.--In-all-cases-this----routine-attempts-to-"exec"-its-first-argument-and-gather-profiling----statistics-from-the-execution.-If-no-file-name-is-present,-then-this----function-automatically-prints-a-simple-profiling-report,-sorted-by-the----standard-name-string-(file/line/function-name)-that-is-presented-in----each-line. Assign NameStore prof Call NameLoad Profile Assign NameStore result NameLoad None TryFinally body TryExcept body Assign NameStore prof Call AttributeLoad NameLoad prof attr run NameLoad statement handlers ExceptHandler type NameLoad SystemExit body Pass finalbody If CompareIsNot NameLoad filename NameLoad None body Expr Call AttributeLoad NameLoad prof attr dump_stats NameLoad filename orelse Assign NameStore result Call AttributeLoad NameLoad prof attr print_stats NameLoad sort Return NameLoad result decorator_list FunctionDef runctx arguments args NameParam statement NameParam globals NameParam locals NameParam filename defaults NameLoad None body Expr Str Run-statement-under-profiler,-supplying-your-own-globals-and-locals,----optionally-saving-results-in-filename.----statement-and-filename-have-the-same-semantics-as-profile.run Assign NameStore prof Call NameLoad Profile Assign NameStore result NameLoad None TryFinally body TryExcept body Assign NameStore prof Call AttributeLoad NameLoad prof attr runctx NameLoad statement NameLoad globals NameLoad locals handlers ExceptHandler type NameLoad SystemExit body Pass finalbody If CompareIsNot NameLoad filename NameLoad None body Expr Call AttributeLoad NameLoad prof attr dump_stats NameLoad filename orelse Assign NameStore result Call AttributeLoad NameLoad prof attr print_stats Return NameLoad result decorator_list FunctionDef help arguments args defaults body Print Str Documentation-for-the-profile/cProfile-modules-can-be-found Print Str in-the-Python-Library-Reference,-section-'The-Python-Profiler'. decorator_list ClassDef Profile bases AttributeLoad NameLoad _lsprof attr Profiler body Expr Str Profile(custom_timer=None,-time_unit=None,-subcalls=True,-builtins=True)----Builds-a-profiler-object-using-the-specified-timer-function.----The-default-timer-is-a-fast-built-in-one-based-on-real-time.----For-custom-timer-functions-returning-integers,-time_unit-can----be-a-float-specifying-a-scale-(i.e.-how-long-each-integer-unit----is,-in-seconds). FunctionDef print_stats arguments args NameParam self NameParam sort defaults Num -1 body Import alias pstats Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad pstats attr Stats NameLoad self attr strip_dirs attr sort_stats NameLoad sort attr print_stats decorator_list FunctionDef dump_stats arguments args NameParam self NameParam file defaults body Import alias marshal Assign NameStore f Call NameLoad open NameLoad file Str wb Expr Call AttributeLoad NameLoad self attr create_stats Expr Call AttributeLoad NameLoad marshal attr dump AttributeLoad NameLoad self attr stats NameLoad f Expr Call AttributeLoad NameLoad f attr close decorator_list FunctionDef create_stats arguments args NameParam self defaults body Expr Call AttributeLoad NameLoad self attr disable Expr Call AttributeLoad NameLoad self attr snapshot_stats decorator_list FunctionDef snapshot_stats arguments args NameParam self defaults body Assign NameStore entries Call AttributeLoad NameLoad self attr getstats Assign AttributeStore NameLoad self attr stats Dict Assign NameStore callersdicts Dict For NameStore entry NameLoad entries body Assign NameStore func Call NameLoad label AttributeLoad NameLoad entry attr code Assign NameStore nc AttributeLoad NameLoad entry attr callcount Assign NameStore cc BinOpSub NameLoad nc AttributeLoad NameLoad entry attr reccallcount Assign NameStore tt AttributeLoad NameLoad entry attr inlinetime Assign NameStore ct AttributeLoad NameLoad entry attr totaltime Assign NameStore callers Dict Assign SubscriptStore NameLoad callersdicts Index Call NameLoad id AttributeLoad NameLoad entry attr code NameLoad callers Assign SubscriptStore AttributeLoad NameLoad self attr stats Index NameLoad func TupleLoad NameLoad cc NameLoad nc NameLoad tt NameLoad ct NameLoad callers For NameStore entry NameLoad entries body If AttributeLoad NameLoad entry attr calls body Assign NameStore func Call NameLoad label AttributeLoad NameLoad entry attr code For NameStore subentry AttributeLoad NameLoad entry attr calls body TryExcept body Assign NameStore callers SubscriptLoad NameLoad callersdicts Index Call NameLoad id AttributeLoad NameLoad subentry attr code handlers ExceptHandler type NameLoad KeyError body Continue Assign NameStore nc AttributeLoad NameLoad subentry attr callcount Assign NameStore cc BinOpSub NameLoad nc AttributeLoad NameLoad subentry attr reccallcount Assign NameStore tt AttributeLoad NameLoad subentry attr inlinetime Assign NameStore ct AttributeLoad NameLoad subentry attr totaltime If CompareIn NameLoad func NameLoad callers body Assign NameStore prev SubscriptLoad NameLoad callers Index NameLoad func AugAssignAdd NameStore nc SubscriptLoad NameLoad prev Index Num 0 AugAssignAdd NameStore cc SubscriptLoad NameLoad prev Index Num 1 AugAssignAdd NameStore tt SubscriptLoad NameLoad prev Index Num 2 AugAssignAdd NameStore ct SubscriptLoad NameLoad prev Index Num 3 Assign SubscriptStore NameLoad callers Index NameLoad func TupleLoad NameLoad nc NameLoad cc NameLoad tt NameLoad ct decorator_list FunctionDef run arguments args NameParam self NameParam cmd defaults body Import alias __main__ Assign NameStore dict AttributeLoad NameLoad __main__ attr __dict__ Return Call AttributeLoad NameLoad self attr runctx NameLoad cmd NameLoad dict NameLoad dict decorator_list FunctionDef runctx arguments args NameParam self NameParam cmd NameParam globals NameParam locals defaults body Expr Call AttributeLoad NameLoad self attr enable TryFinally body Exec NameLoad cmd NameLoad globals NameLoad locals finalbody Expr Call AttributeLoad NameLoad self attr disable Return NameLoad self decorator_list FunctionDef runcall arguments args NameParam self NameParam func defaults vararg args kwarg kw body Expr Call AttributeLoad NameLoad self attr enable TryFinally body Return Call NameLoad func NameLoad args NameLoad kw finalbody Expr Call AttributeLoad NameLoad self attr disable decorator_list decorator_list FunctionDef label arguments args NameParam code defaults body If Call NameLoad isinstance NameLoad code NameLoad str body Return TupleLoad Str ~ Num 0 NameLoad code orelse Return TupleLoad AttributeLoad NameLoad code attr co_filename AttributeLoad NameLoad code attr co_firstlineno AttributeLoad NameLoad code attr co_name decorator_list FunctionDef main arguments args defaults body Import alias os alias sys ImportFrom optparse alias OptionParser Assign NameStore usage Str cProfile.py-[-o-output_file_path]-[-s-sort]-scriptfile-[arg]-... Assign NameStore parser Call NameLoad OptionParser keyword usage NameLoad usage Assign AttributeStore NameLoad parser attr allow_interspersed_args NameLoad False Expr Call AttributeLoad NameLoad parser attr add_option Str -o Str --outfile keyword dest Str outfile keyword help Str Save-stats-to-<outfile> keyword default NameLoad None Expr Call AttributeLoad NameLoad parser attr add_option Str -s Str --sort keyword dest Str sort keyword help Str Sort-order-when-printing-to-stdout,-based-on-pstats.Stats-class keyword default Num -1 If UnaryOpNot SubscriptLoad AttributeLoad NameLoad sys attr argv Slice Num 1 body Expr Call AttributeLoad NameLoad parser attr print_usage Expr Call AttributeLoad NameLoad sys attr exit Num 2 Assign TupleStore NameStore options NameStore args Call AttributeLoad NameLoad parser attr parse_args Assign SubscriptStore AttributeLoad NameLoad sys attr argv Slice NameLoad args If CompareGt Call NameLoad len AttributeLoad NameLoad sys attr argv Num 0 body Expr Call AttributeLoad AttributeLoad NameLoad sys attr path attr insert Num 0 Call AttributeLoad AttributeLoad NameLoad os attr path attr dirname SubscriptLoad AttributeLoad NameLoad sys attr argv Index Num 0 Expr Call NameLoad run BinOpMod Str execfile(%r) TupleLoad SubscriptLoad AttributeLoad NameLoad sys attr argv Index Num 0 AttributeLoad NameLoad options attr outfile AttributeLoad NameLoad options attr sort orelse Expr Call AttributeLoad NameLoad parser attr print_usage Return NameLoad parser decorator_list If CompareEq NameLoad __name__ Str __main__ body Expr Call NameLoad main 
Module Expr Str Tests-for-the-MonitorBasedSaveBest-class. Assign NameStore __author__ Str David-Warde-Farley Assign NameStore __copyright__ Str Copyright-2014,-Universite-de-Montreal Assign NameStore __credits__ ListLoad Str David-Warde-Farley Assign NameStore __license__ Str 3-clause-BSD Assign NameStore __email__ Str wardefar@iro Assign NameStore __maintainer__ Str David-Warde-Farley Import alias os Import alias tempfile ImportFrom pylearn2.models.model alias Model ImportFrom pylearn2.monitor alias Monitor ImportFrom pylearn2.train_extensions.best_params alias MonitorBasedSaveBest ClassDef MockModel bases NameLoad Model body Expr Str An-empty-model. FunctionDef __init__ arguments args NameParam self defaults body Pass decorator_list decorator_list ClassDef MockChannel bases NameLoad object body Expr Str A-mock-object-for-MonitorChannel. FunctionDef __init__ arguments args NameParam self defaults body Assign AttributeStore NameLoad self attr val_record ListLoad decorator_list decorator_list FunctionDef test_tagging arguments args defaults body Expr Str Test-the-tagging-functionality-of-this-extension. TryFinally body Assign TupleStore NameStore fd NameStore fn Call AttributeLoad NameLoad tempfile attr mkstemp keyword suffix Str .pkl Expr Call AttributeLoad NameLoad os attr close NameLoad fd Assign NameStore def_model Call NameLoad MockModel Assign AttributeStore NameLoad def_model attr monitor Call NameLoad Monitor NameLoad def_model Assign NameStore def_ext Call NameLoad MonitorBasedSaveBest keyword channel_name Str foobar keyword save_path NameLoad fn Expr Call AttributeLoad NameLoad def_ext attr setup NameLoad def_model NameLoad None NameLoad None Assert CompareIn Str MonitorBasedSaveBest AttributeLoad NameLoad def_model attr tag Assign NameStore model Call NameLoad MockModel Assign AttributeStore NameLoad model attr monitor Call NameLoad Monitor NameLoad model Assign SubscriptStore AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar Call NameLoad MockChannel Assign NameStore ext Call NameLoad MonitorBasedSaveBest keyword channel_name Str foobar keyword tag_key Str test123 keyword save_path NameLoad fn Expr Call AttributeLoad NameLoad ext attr setup NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test123 Index Str best_cost Call NameLoad float Str inf Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 5.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test123 Index Str best_cost Num 5.0 Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 7.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test123 Index Str best_cost Num 5.0 Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 6.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test123 Index Str best_cost Num 5.0 Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 3.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test123 Index Str best_cost Num 3.0 Assign NameStore model Call NameLoad MockModel Assign AttributeStore NameLoad model attr monitor Call NameLoad Monitor NameLoad model Assign SubscriptStore AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar Call NameLoad MockChannel Assign NameStore ext Call NameLoad MonitorBasedSaveBest keyword channel_name Str foobar keyword tag_key Str test12 keyword start_epoch Num 4 keyword save_path NameLoad fn Expr Call AttributeLoad NameLoad ext attr setup NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test12 Index Str best_cost Call NameLoad float Str inf Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 5.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test12 Index Str best_cost Call NameLoad float Str inf Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 3.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test12 Index Str best_cost Call NameLoad float Str inf Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 7.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test12 Index Str best_cost Call NameLoad float Str inf Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 7.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test12 Index Str best_cost Num 7.0 Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 10.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test12 Index Str best_cost Num 7.0 Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad model attr monitor attr channels Index Str foobar attr val_record attr append Num 1.0 Expr Call AttributeLoad AttributeLoad NameLoad model attr monitor attr report_epoch Expr Call AttributeLoad NameLoad ext attr on_monitor NameLoad model NameLoad None NameLoad None Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad model attr tag Index Str test12 Index Str best_cost Num 1.0 finalbody Expr Call AttributeLoad NameLoad os attr remove NameLoad fn decorator_list 
