<commit_before><div id="search-page" class="clearfix">


	<%= render :partial => "shared/search_sidebar" %>
	
	<div id="content">
	
		<div class="content-box-holder no-bg">
			<div class="search-holder">
				<%= form_tag items_path, :method => 'get' do %>
	        <div>
	          <%= text_field_tag :search, params[:search] %>
	          <button type="submit" title="Search">Search</button>
	        </div>
	      <% end %>
			</div>
				<h2>
					<%= link_to image_tag('ic-items-community.png', :alt => "Items", :title => "Items") + " Items" if items_search %>
					<%= link_to image_tag('ic-village-comm.png', :alt => "Village", :title => "Village") + " People" if people_search %>
					<%= link_to image_tag('ic-items-community.png', :alt => "All results", :title => "All results") + " All results" if all_search %>
				</h2>
		
			<% if (((@items.empty? && items_search) || (@people.empty? && people_search)) && !all_search) || (all_search && @items.empty? && @people.empty? )%>
			  <h3>Search term not found</h3>
			<% end %>
			<% unless @items.empty? -%><commit_msg>Search field under the main one is working now, path updated<commit_after><div id="search-page" class="clearfix">


	<%= render :partial => "shared/search_sidebar" %>
	
	<div id="content">
	
		<div class="content-box-holder no-bg">
			<div class="search-holder">
				<%= form_tag search_index_path, :method => 'get' do %>
	        <div>
	          <%= text_field_tag :search, params[:search] %>
	          <button type="submit" title="Search">Search</button>
	        </div>
	      <% end %>
			</div>
				<h2>
					<%= link_to image_tag('ic-items-community.png', :alt => "Items", :title => "Items") + " Items" if items_search %>
					<%= link_to image_tag('ic-village-comm.png', :alt => "Village", :title => "Village") + " People" if people_search %>
					<%= link_to image_tag('ic-items-community.png', :alt => "All results", :title => "All results") + " All results" if all_search %>
				</h2>
		
			<% if (((@items.empty? && items_search) || (@people.empty? && people_search)) && !all_search) || (all_search && @items.empty? && @people.empty? )%>
			  <h3>Search term not found</h3>
			<% end %>
			<% unless @items.empty? -%>
{'fraction_non_alphanumeric': 0.20897552130553038, 'fraction_numerical': 0.003626473254759746, 'mean_word_length': 3.3359528487229864, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 65, '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': '3373652', 'n_tokens_mistral': 883, 'n_tokens_neox': 740, 'n_words': 162}