<commit_before><% @title = "DedaWiki search results for: #{params[:q]}" %>

<% if @results.length > 0 %>
<ul class="searchresults">
<% @results.each do |r| %>
  <li><%= page_link(r) -%></li>
<% end %>
</ul>
<% else %>
<strong>No results found for "<%= params[:q] -%>"</strong>
<% end %><commit_msg>* searchresults.rhtml: Avoid null results.<commit_after><% @title = "DedaWiki search results for: #{params[:q]}" %>

<% if !@results.nil? && @results.length > 0 %>
<ul class="searchresults">
<% @results.each do |r| %>
  <li><%= page_link(r) -%></li>
<% end %>
</ul>
<% else %>
<strong>No results found for "<%= params[:q] -%>"</strong>
<% end %>
{'fraction_non_alphanumeric': 0.27060653188180406, 'fraction_numerical': 0.003110419906687403, 'mean_word_length': 4.75, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, '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': '6418755', 'n_tokens_mistral': 266, 'n_tokens_neox': 238, 'n_words': 61}