<commit_before><div class="text-center">
  <h1>Home</h1>
  <br>
    <%= form_tag({action: 'search', :controller=>"users"}, {method: 'get', class: "form-inline"} ) do |f| %>
      <div class="field form-group">
        <%= text_field :query, '', class: "form-control col-xs-1" %>
        <%= submit_tag 'Search', :class => "btn btn-default"%>
      </div>
    <% end %>
  <br>
  <div class="row">
    <div class="col-xs-6 text-right">
      <%= button_to "Create Token", users_select_path, method: :get , :class => 'btn btn-lg btn-success'%>
    </div>
    <div class="col-xs-6 text-left">
      <%= button_to "Scan Token", scan_path, method: :get , :class => 'btn btn-lg btn-primary'%>
    </div>
  </div>
  <br>
  <%= button_to "Scanned Tokens", scannedtokens_scanned_path, method: :get , :class => 'btn btn-info'%>
  <br>
  <% if user_signed_in? %>
    Logged in as <strong><%= current_user.email %></strong>.<br>
    <%= link_to "Logout", destroy_user_session_path, method: :delete, :class => 'navbar-link'  %> |
    <%= link_to "my Profile", users_myprofile_path  %>
  <% end %>
</div>
<commit_msg>graphics<commit_after><div class="text-center">
  <h1>Home</h1>
  <br>
    <%= form_tag({action: 'search', :controller=>"users"}, {method: 'get', class: "form-inline"} ) do |f| %>
      <div class="field form-group">
        <%= text_field :query, '', class: "form-control col-xs-1" %>
        <%= submit_tag 'Search', :class => "btn btn-default"%>
      </div>
    <% end %>
  <br>
  <div class="row">
    <div class="col-xs-6 text-right">
      <%= button_to users_select_path, method: :get , :class => 'btn btn-lg btn-success' do %>
      <span class="fa fa-plus"></span> Create Token
    <% end %>
    </div>
    <div class="col-xs-6 text-left">
      <%= button_to scan_path, method: :get , :class => 'btn btn-lg btn-primary' do%>
        <span class="fa fa-camera-retro"></span> Scan Token
      <% end %>
    </div>
  </div>
  <br>
  <%= button_to "Scanned Tokens", scannedtokens_scanned_path, method: :get , :class => 'btn btn-primary'%>
  <br>
  <% if user_signed_in? %>
    Logged in as <strong><%= current_user.email %></strong>.<br>
    <%= link_to "Logout", destroy_user_session_path, method: :delete, :class => 'navbar-link'  %> |
    <%= link_to "my Profile", users_myprofile_path  %>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.2115467470917708, 'fraction_numerical': 0.004308487720809996, 'mean_word_length': 3.307977736549165, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 83, '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': '5313720', 'n_tokens_mistral': 897, 'n_tokens_neox': 854, 'n_words': 194}