<commit_before>%h1= t(".title")
- if @threads.count == 0 and @issues.count == 0 and @library_items.count == 0
  %p= t(".no_results_found", query: @query)
- else
  %section.content-no-sidebar#content
    %ul.tabs.styled-tabs.with-history
      %li= link_to t(".thread_results"), "#thread-results"
      %li= link_to t(".issue_results"), "#issue-results"
      %li= link_to t(".library_results"), "#library-results"
    .panes
      #thread-results.pane
        %p= t(".threads_found", count: @threads.count, query: @query)
        - if @threads.count > 0
          %ul.thread-list
            = render partial: "message_threads/list", collection: @threads, as: :thread
      #issue-results.pane
        %p= t(".issues_found", count: @issues.count, query: @query)
        - if @issues.count > 0
          %ul.issue-list
            = render partial: "issues/compact", collection: @issues, as: :issue
      #library-results.pane
        %p= t(".library_items_found", count: @library_items.count, query: @query)<commit_msg>Change order of tabs as per #105<commit_after>%h1= t(".title")
- if @threads.count == 0 and @issues.count == 0 and @library_items.count == 0
  %p= t(".no_results_found", query: @query)
- else
  %section.content-no-sidebar#content
    %ul.tabs.styled-tabs.with-history
      %li= link_to t(".issue_results"), "#issue-results"
      %li= link_to t(".thread_results"), "#thread-results"
      %li= link_to t(".library_results"), "#library-results"
    .panes
      #issue-results.pane
        %p= t(".issues_found", count: @issues.count, query: @query)
        - if @issues.count > 0
          %ul.issue-list
            = render partial: "issues/compact", collection: @issues, as: :issue
      #thread-results.pane
        %p= t(".threads_found", count: @threads.count, query: @query)
        - if @threads.count > 0
          %ul.thread-list
            = render partial: "message_threads/list", collection: @threads, as: :thread
      #library-results.pane
        %p= t(".library_items_found", count: @library_items.count, query: @query)
{'fraction_non_alphanumeric': 0.1648031113271755, 'fraction_numerical': 0.007292173067574137, 'mean_word_length': 2.905123339658444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3088734', 'n_tokens_mistral': 679, 'n_tokens_neox': 664, 'n_words': 153}