<commit_before>post '/' do
  if params[:body].downcase == 'nerdy'
    send_nerdy_text
  elsif params[:body].downcase == 'dirty'
    send_dirty_text
  else
    send_joke_text<commit_msg>update route to check for keywords in text body<commit_after>post '/' do
  if params['body'].downcase.include? 'nerdy' == true
    send_nerdy_text
  elsif params['body'].downcase.include? 'dirty' == true
    send_dirty_text
  else
    send_joke_text
{'fraction_non_alphanumeric': 0.1152073732718894, 'fraction_numerical': 0.0, 'mean_word_length': 4.240963855421687, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '322109', 'n_tokens_mistral': 149, 'n_tokens_neox': 148, 'n_words': 33}