<commit_before><% @search_query="Enter search here" unless @search_query %>
<% @search_type="People" unless @search_type %>

<%# if logged_in? && current_user.is_admin? -%>
  <%#= icon "lock", admin_url, "Admin enabled", {:id=>"adminmode"}, "Admin enabled" -%>
<%# end -%>

<% if SOLR_ENABLED && logged_in? && current_user.person %>

  <% form_tag '/search/' do -%>
    <%= text_field_tag :search_query, @search_query %>
    <%= select_tag :search_type, options_for_select(search_type_options,@search_type)  %>
    <%= submit_tag "Go"  %>
  <% end  -%>
<% end %>
<commit_msg>removing side bar, adding cart button in survey view<commit_after><% @search_query="Enter search here" unless @search_query -%>
<% @search_type="People" unless @search_type -%>

<%# if logged_in? && current_user.is_admin? -%>
  <%#= icon "lock", admin_url, "Admin enabled", {:id=>"adminmode"}, "Admin enabled" -%>
<%# end -%>

<% if SOLR_ENABLED && logged_in? && current_user.person -%>

  <% form_tag '/search/' do -%>
    <%= text_field_tag :search_query, @search_query -%>
    <%= select_tag :search_type, options_for_select(search_type_options,@search_type)  -%>
    <%= submit_tag "Go"  -%>
  <% end  -%>
<% end %>

{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.0, 'mean_word_length': 4.722488038277512, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, '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': '3862937', 'n_tokens_mistral': 471, 'n_tokens_neox': 436, 'n_words': 84}