<commit_before><% if current_user = _current_user %>
<div class="user_info">
  <img src="http://www.gravatar.com/avatar/<%=Digest::MD5.hexdigest current_user.email %>?s=30" alt="" />
  <ul>
    <li>
      <strong><a href="#"><%= current_user.email %></a></strong>
    </li>
    <li class="desc">
      <a href="<%= destroy_session_path(current_user) %>"><%= t("admin.credentials.log_out")%></a>
    </li>
  </ul>
</div>
<% end %>
<commit_msg>use https for the "gravatar" if the page is served using https<commit_after><% if current_user = _current_user %>
<div class="user_info">
  <%= image_tag "#{request.ssl? ? "https" : "http"}://www.gravatar.com/avatar/#{Digest::MD5.hexdigest current_user.email}?s=30", :alt => "" %>
  <ul>
    <li>
      <strong><a href="#"><%= current_user.email %></a></strong>
    </li>
    <li class="desc">
      <a href="<%= destroy_session_path(current_user) %>"><%= t("admin.credentials.log_out")%></a>
    </li>
  </ul>
</div>
<% end %>

{'fraction_non_alphanumeric': 0.2443298969072165, 'fraction_numerical': 0.006185567010309278, 'mean_word_length': 4.057291666666667, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7311999', 'n_tokens_mistral': 389, 'n_tokens_neox': 366, 'n_words': 68}