id: 1 unit: def update_resources() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 44 LOC McCabe index: 9 number of parameters: 0 id: 2 unit: def gdoc_get() file: bots/sdlc-slackbot/sdlc_slackbot/gdoc.py start line: 0 end line: 0 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 3 unit: def risk_and_confidence_to_string() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 4 unit: def predict_category_functions() file: bots/triage-slackbot/triage_slackbot/openai_utils.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 5 unit: def extract_text_from_event() file: shared/openai-slackbot/openai_slackbot/utils/slack.py start line: 0 end line: 0 size: 18 LOC McCabe index: 8 number of parameters: 1 id: 6 unit: def load_config() file: bots/triage-slackbot/triage_slackbot/config.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 7 unit: def read_structural_elements() file: bots/sdlc-slackbot/sdlc_slackbot/gdoc.py start line: 0 end line: 0 size: 17 LOC McCabe index: 9 number of parameters: 1 id: 8 unit: def gdoc_creds() file: bots/sdlc-slackbot/sdlc_slackbot/gdoc.py start line: 0 end line: 0 size: 16 LOC McCabe index: 11 number of parameters: 0 id: 9 unit: def ask_ai() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 14 LOC McCabe index: 9 number of parameters: 2 id: 10 unit: def update_blocks() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 11 unit: def get_form_input() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 13 LOC McCabe index: 6 number of parameters: 2 id: 12 unit: def get_selected_category() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 13 unit: def submit_block() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: def get_response_with_retry() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 15 unit: def render_slack_id_to_mention() file: shared/openai-slackbot/openai_slackbot/utils/slack.py start line: 0 end line: 0 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: def load_config() file: bots/incident-response-slackbot/incident_response_slackbot/config.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: def create_chat_start_section() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 18 unit: def summarize_params() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: def _get_message() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 20 unit: def input_block() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 21 unit: def ask_gpt() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 22 unit: def get_alert_details() file: bots/incident-response-slackbot/scripts/alert_feed.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: def check_category_keys() file: bots/triage-slackbot/triage_slackbot/config.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: def get_selected_conversation() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: def load_config() file: bots/sdlc-slackbot/sdlc_slackbot/config.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: def ask_claude() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 27 unit: def clean_normalized_response() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: def normalize_response() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: def string() file: shared/openai-slackbot/openai_slackbot/utils/envvars.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: def _load_data() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: def get_user_id() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 32 unit: def required() file: bots/sdlc-slackbot/sdlc_slackbot/validate.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 33 unit: def load_alerts() file: bots/incident-response-slackbot/scripts/send_alert.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: def get_config() file: bots/incident-response-slackbot/incident_response_slackbot/config.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 35 unit: def convert_categories() file: bots/triage-slackbot/triage_slackbot/config.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: def get_config() file: bots/triage-slackbot/triage_slackbot/config.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 37 unit: def get_config() file: bots/sdlc-slackbot/sdlc_slackbot/config.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: def read_paragraph_element() file: bots/sdlc-slackbot/sdlc_slackbot/gdoc.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: def decision_msg() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: def get_block_by_id() file: shared/openai-slackbot/openai_slackbot/utils/slack.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 41 unit: def logging_extra() file: shared/openai-slackbot/openai_slackbot/handlers.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: def logging_extra() file: shared/openai-slackbot/openai_slackbot/handlers.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 43 unit: def generate_random_alert() file: bots/incident-response-slackbot/scripts/send_alert.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: def __init__() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: def add() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: def delete() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 47 unit: def check_autorespond() file: bots/triage-slackbot/triage_slackbot/category.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: def validate_channel() file: bots/triage-slackbot/triage_slackbot/config.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: def validate_channel() file: bots/sdlc-slackbot/sdlc_slackbot/config.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: def extract_urls() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: def __init__() file: bots/sdlc-slackbot/sdlc_slackbot/validate.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 52 unit: def messages_to_string() file: bots/incident-response-slackbot/incident_response_slackbot/openai_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: def _save() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: def user_exists() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: def get_ts() file: bots/incident-response-slackbot/incident_response_slackbot/db/database.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 56 unit: def __init__() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: def __init__() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: def __init__() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: def __init__() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: def __init__() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: def _get_oncall_mention() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 62 unit: def model_params_to_str() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 63 unit: def __init__() file: shared/openai-slackbot/openai_slackbot/clients/slack.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 64 unit: def render_blocks_from_template() file: shared/openai-slackbot/openai_slackbot/clients/slack.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 65 unit: def _init_jinja() file: shared/openai-slackbot/openai_slackbot/clients/slack.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 66 unit: def action_id() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: def action_id() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: def action_id() file: bots/incident-response-slackbot/incident_response_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: def route_to_channel() file: bots/triage-slackbot/triage_slackbot/category.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: def to_block_options() file: bots/triage-slackbot/triage_slackbot/category.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: def is_other() file: bots/triage-slackbot/triage_slackbot/category.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: def render_block_if_not_exists() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: def action_id() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: def _get_message() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: def action_id() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: def action_id() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: def action_id() file: bots/triage-slackbot/triage_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: def plain_text() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: def field() file: bots/sdlc-slackbot/sdlc_slackbot/utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 80 unit: def hash_content() file: bots/sdlc-slackbot/sdlc_slackbot/bot.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: def block_id_exists() file: shared/openai-slackbot/openai_slackbot/utils/slack.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: def remove_block_id_if_exists() file: shared/openai-slackbot/openai_slackbot/utils/slack.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 2 id: 83 unit: def render_slack_url() file: shared/openai-slackbot/openai_slackbot/utils/slack.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 84 unit: def __init__() file: shared/openai-slackbot/openai_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 85 unit: def logging_extra() file: shared/openai-slackbot/openai_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 86 unit: def action_id() file: shared/openai-slackbot/openai_slackbot/handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1