<commit_before><%- url ||= url_for(:action => 'index') -%>
<%= form_tag(url, :method => :get) do %>
	<div class="search_field">
		<%= render_icon('search') %>
		<%= text_field_tag("query", params['query'], :class => 'thin_border', :id => "search_input_field") %>
		<%= link_to(
				"",
				url,
				:class => "search_field_clear",
				:id => "search_field_clear",
				:title => t("click_to_show_all"),
				:style => (params[:query].nil? ? "display: none" : "display: block")
			) %>
	</div>
	<label><%= t('search') %></label>
<% end %><commit_msg>added url-scope for search-form-partial<commit_after><%- url_scope = begin resource_url_scope rescue NameError; self end -%>
<%- url ||= url_scope.url_for(:action => 'index') -%>
<%= form_tag(url, :method => :get) do %>
	<div class="search_field">
		<%= render_icon('search') %>
		<%= text_field_tag("query", params['query'], :class => 'thin_border', :id => "search_input_field") %>
		<%= link_to(
				"",
				url,
				:class => "search_field_clear",
				:id => "search_field_clear",
				:title => t("click_to_show_all"),
				:style => (params[:query].nil? ? "display: none" : "display: block")
			) %>
	</div>
	<label><%= t('search') %></label>
<% end %>
{'fraction_non_alphanumeric': 0.24459234608985025, 'fraction_numerical': 0.0, 'mean_word_length': 4.468181818181818, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 42, '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': '5624506', 'n_tokens_mistral': 514, 'n_tokens_neox': 441, 'n_words': 82}