id: 1 unit: def deploy() file: src/core/fraud_detector_model_based_deploy.py start line: 0 end line: 0 size: 54 LOC McCabe index: 13 number of parameters: 7 id: 2 unit: def run() file: src/core/fraud_detector_train.py start line: 0 end line: 0 size: 45 LOC McCabe index: 5 number of parameters: 9 id: 3 unit: def __init__() file: infra/src/custom_constructs/tool_account_fd_role_construct.py start line: 0 end line: 0 size: 44 LOC McCabe index: 1 number of parameters: 7 id: 4 unit: def get_stage_actions() file: infra/src/stages/train_stage_codebuild_long_polling.py start line: 0 end line: 0 size: 39 LOC McCabe index: 3 number of parameters: 5 id: 5 unit: def _set_common_params() file: infra/src/stages/train_stage_codebuild_long_polling.py start line: 0 end line: 0 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 6 unit: def try_create_variable() file: src/core/fraud_detector_utils.py start line: 0 end line: 0 size: 30 LOC McCabe index: 9 number of parameters: 7 id: 7 unit: def create_or_update_rule() file: src/core/fraud_detector_utils.py start line: 0 end line: 0 size: 29 LOC McCabe index: 2 number of parameters: 3 id: 8 unit: def update_poll_status() file: infra/src/lambda_poller/lambda_function.py start line: 0 end line: 0 size: 29 LOC McCabe index: 3 number of parameters: 2 id: 9 unit: def __init__() file: infra/src/custom_constructs/ci_pipeline_construct.py start line: 0 end line: 0 size: 26 LOC McCabe index: 2 number of parameters: 6 id: 10 unit: def get_stage_actions() file: infra/src/stages/deploy_stage_codebuild.py start line: 0 end line: 0 size: 25 LOC McCabe index: 2 number of parameters: 7 id: 11 unit: def create_or_retrieve_features() file: src/features/feature_variables_dynamic.py start line: 0 end line: 0 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: def delete_all_detector_versions() file: src/core/fraud_detector_undeploy.py start line: 0 end line: 0 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 13 unit: def _set_common_params() file: infra/src/stages/deploy_stage_codebuild.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 14 unit: def get_stage_actions() file: infra/src/stages/generic_stage_codebuild.py start line: 0 end line: 0 size: 22 LOC McCabe index: 1 number of parameters: 6 id: 15 unit: def delete_all_rules() file: src/core/fraud_detector_undeploy.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 16 unit: def _add_env_stage() file: infra/src/custom_constructs/ml_pipeline_construct.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 7 id: 17 unit: def _get_max_rule_version() file: src/core/fraud_detector_utils.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 18 unit: def wait_until_model_status() file: src/core/fraud_detector_utils.py start line: 0 end line: 0 size: 19 LOC McCabe index: 7 number of parameters: 6 id: 19 unit: def lambda_handler() file: infra/src/lambda_poller/lambda_function.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 20 unit: def __init__() file: infra/src/stages/repo_action_bitbucket.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: def parse_deploy_params() file: infra/src/app_config_parser.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 22 unit: def __init__() file: infra/src/stacks/environment_bootstrap_stack.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 23 unit: def create_event() file: src/core/fraud_detector_event.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 6 id: 24 unit: def __init__() file: infra/src/custom_constructs/ml_pipeline_construct.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 8 id: 25 unit: def poll_training_status() file: infra/src/lambda_poller/frauddetector_poller.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 26 unit: def run() file: infra/src/app.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: def parse_design() file: infra/src/app_config_parser.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 28 unit: def _feature_details() file: src/feature_variables_demo.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: def deploy() file: infra/src/app_deploy_config.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 5 id: 30 unit: def _run_shell() file: infra/src/app_deploy_config.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: def __init__() file: infra/src/stages/repo_action_codecommit.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 32 unit: def train() file: src/main_demo_fraud_detector_train.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 33 unit: def deploy() file: src/main_demo_fraud_detector_deploy.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 6 id: 34 unit: def create_or_retrieve_label() file: src/features/feature_variables_dynamic.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: def put_continuation_token() file: infra/src/lambda_poller/lambda_function.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 36 unit: def _set_common_params() file: infra/src/stages/approval_stage.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: def __init__() file: infra/src/custom_constructs/fraud_detector_service_role_construct.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 6 id: 38 unit: def __init__() file: infra/src/stacks/ci_pipeline_stack.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 6 id: 39 unit: def _is_email() file: src/features/feature_variables_dynamic.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 40 unit: def _is_ip() file: src/features/feature_variables_dynamic.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 41 unit: def undeploy_model() file: src/core/fraud_detector_undeploy.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 42 unit: def get_credentials_for_role() file: infra/src/lambda_poller/lambda_function.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: def environment_specific_params() file: infra/src/stages/train_stage_codebuild_long_polling.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 44 unit: def _environment_specific_params() file: infra/src/stages/deploy_stage_codebuild.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 45 unit: def __init__() file: infra/src/custom_constructs/data_bucket_construct.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 46 unit: def __init__() file: infra/src/stacks/data_stack.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 47 unit: def generate_random_ip() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 48 unit: def __init__() file: src/features/feature_variables_dynamic.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 5 id: 49 unit: def generate_random_data() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: def undeploy() file: src/main_demo_fraud_detector_undeploy.py start line: 0 end line: 0 size: 8 LOC McCabe index: 7 number of parameters: 3 id: 51 unit: def get() file: infra/src/train_factory_locator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: def main() file: infra/src/app_deploy_config.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: def get() file: infra/src/repo_factory_locator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: def get() file: infra/src/deploy_factory_locator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: def get_rule_expression() file: src/rules/detector_rule_model_score_no_threshold.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: def generate_random_date() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 57 unit: def _get_env_parameters() file: infra/src/app_config_parser.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 58 unit: def delete_detector() file: src/core/fraud_detector_undeploy.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: def create_or_retrieve_label() file: src/feature_variables_demo.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: def _get_variables() file: infra/src/app_config_parser.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 61 unit: def _variable_substitute() file: infra/src/app_config_parser.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 3 id: 62 unit: def _get_deploy_actions_builder() file: infra/src/custom_constructs/ml_pipeline_construct.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: def __init__() file: infra/src/stacks/fraud_detector_role_stack.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 64 unit: def __init__() file: src/rules/detector_rule_model_score_positive.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 5 id: 65 unit: def write_csv_s3() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 66 unit: def generate_random_email() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 3 id: 67 unit: def _is_custom_numeric() file: src/features/feature_variables_dynamic.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 68 unit: def _is_custom_categorical() file: src/features/feature_variables_dynamic.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 69 unit: def _validate_rules() file: src/core/fraud_detector_model_based_deploy.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 70 unit: def create_or_retrieve_features() file: src/feature_variables_demo.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: def get_stage() file: infra/src/stages/approval_stage.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 72 unit: def __init__() file: infra/src/stacks/machine_learning_pipeline_stack.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 10 id: 73 unit: def get_rule_expression() file: src/rules/detector_rule_model_score_positive.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: def __init__() file: src/rules/detector_rule_model_score_no_threshold.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 4 id: 75 unit: def write_csv() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 76 unit: def generate_binary_label() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 77 unit: def deploy() file: src/core/fraud_detector_deploy_base.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 7 id: 78 unit: def create_or_update_label() file: src/core/fraud_detector_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 79 unit: def output_variables() file: infra/src/stages/train_stage_codebuild_long_polling.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: def get_stage_actions() file: infra/src/stages/deploy_stage_base.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 7 id: 81 unit: def _get_train_actions_builder() file: infra/src/custom_constructs/ml_pipeline_construct.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: def transform() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: def run_pipeline() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: def __init__() file: src/core/fraud_detector_undeploy.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 3 id: 85 unit: def __init__() file: src/core/fraud_detector_model_based_deploy.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 3 id: 86 unit: def __init__() file: src/core/fraud_detector_train.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 3 id: 87 unit: def get_stage_actions() file: infra/src/stages/train_stage_base.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 88 unit: def validate() file: src/rules/detector_rule_model_score_positive.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: def rule_id() file: src/rules/detector_rule_model_score_positive.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: def outcomes() file: src/rules/detector_rule_model_score_positive.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: def description() file: src/rules/detector_rule_model_score_positive.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: def validate() file: src/rules/detector_rule_model_score_no_threshold.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: def rule_id() file: src/rules/detector_rule_model_score_no_threshold.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: def outcomes() file: src/rules/detector_rule_model_score_no_threshold.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: def description() file: src/rules/detector_rule_model_score_no_threshold.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: def validate() file: src/rules/detector_rule_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: def rule_id() file: src/rules/detector_rule_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: def description() file: src/rules/detector_rule_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: def outcomes() file: src/rules/detector_rule_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: def get_rule_expression() file: src/rules/detector_rule_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: def __init__() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: def _logger() file: src/main_demo_data_transformer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: def create_or_retrieve_features() file: src/features/feature_variables_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: def create_or_retrieve_label() file: src/features/feature_variables_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: def _logger() file: src/core/fraud_detector_undeploy.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: def _logger() file: src/core/fraud_detector_model_based_deploy.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: def __init__() file: src/core/fraud_detector_utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: def _logger() file: src/core/fraud_detector_utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: def _logger() file: src/core/fraud_detector_train.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: def __init__() file: src/core/fraud_detector_event.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 111 unit: def _logger() file: src/core/fraud_detector_event.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: def __init__() file: src/feature_variables_demo.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 113 unit: def fraud_detector_utils() file: src/feature_variables_demo.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: def _logger() file: src/feature_variables_demo.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: def poll_training_status() file: infra/src/lambda_poller/base_poller.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 116 unit: def get_stack_name() file: infra/src/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 117 unit: def name() file: infra/src/stages/train_stage_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: def output_variables() file: infra/src/stages/train_stage_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: def __init__() file: infra/src/stages/train_stage_codebuild_long_polling.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: def variable_namespace() file: infra/src/stages/train_stage_codebuild_long_polling.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: def __init__() file: infra/src/stages/deploy_stage_codebuild.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: def name() file: infra/src/stages/deploy_stage_codebuild.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: def output_variables() file: infra/src/stages/deploy_stage_codebuild.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: def name() file: infra/src/stages/deploy_stage_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: def output_variables() file: infra/src/stages/deploy_stage_base.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: def __init__() file: infra/src/stages/approval_stage.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1