<commit_before>module ApplicationHelper
  def page_banner
    banner_image_url = @con && @con.banner_image.try(:url)
    
    if banner_image_url
      image_tag banner_image_url, :class => "page_banner"
    else
      content_tag(:div, :class => "page_banner", 
        :style => "background-color: black; color: white; height: 120px; width: 800px;
                   text-align: center;") do
          
        content_tag(:h1, @con ? @con.name : "Welcome to Intercode", :style => "display: inline-block;")
      end
    end
  end

  def intercode_mail_to(address, name=nil, html_options={})
    if user_signed_in?
      mail_to(address, name, html_options)
    else
      address.gsub('.', ' DOT ').gsub('@', ' AT ')
    end
  end
end<commit_msg>It helps to commit *with* the comment written to disk...<commit_after>module ApplicationHelper
  def page_banner
    banner_image_url = @con && @con.banner_image.try(:url)
    
    if banner_image_url
      image_tag banner_image_url, :class => "page_banner"
    else
      content_tag(:div, :class => "page_banner", 
        :style => "background-color: black; color: white; height: 120px; width: 800px;
                   text-align: center;") do
          
        content_tag(:h1, @con ? @con.name : "Welcome to Intercode", :style => "display: inline-block;")
      end
    end
  end

  # Generate an obfuscated email address if the user is not logged in.
  # Note that we may not need this.  Rails has other mechanisms to
  # prevent the harvesting of email addresses. But this way all of the
  # code to generate mailto links will be gathered in one place so we
  # can easily modify them.
  def intercode_mail_to(address, name=nil, html_options={})
    if user_signed_in?
      mail_to(address, name, html_options)
    else
      address.gsub('.', ' DOT ').gsub('@', ' AT ')
    end
  end
end
{'fraction_non_alphanumeric': 0.11255411255411256, 'fraction_numerical': 0.007575757575757576, 'mean_word_length': 2.8682008368200838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4311503', 'n_tokens_mistral': 614, 'n_tokens_neox': 586, 'n_words': 177}