<commit_before>- if @search.results
  - if @people and !@people.empty? and params[:speaker] == nil
    =haml(:"_people", :locals => {:people => @people})
  -if @timeline
    =haml(:"timeline/_timeline", :locals => {:timeline => @timeline})
  - unless @filters.nil? or @filters.empty?
    =haml(:"_filters")
  - if @date_match
    %div#sitting-date-matches
      Jump to: 
      %a{:href => "#{PARENT_URL}/sittings/#{@date_match.date.year}/#{@date_match.date.month}/#{@date_match.date.day}"}= "Sitting of #{@date_match.date_to_s}"

  - if @search.results_size < 1
    =haml(:"_no_results")
  - else
    %div#search-results
      %div#sort-links
        - if params[:sort] == "reverse_date"
          Sort by MOST RECENT
        - else
          %a{:href=>"#{querystring_builder({"sort"=>"reverse_date"})}"} Sort by MOST RECENT
        |
        - if params[:sort] == "date"
          Sort by EARLIEST
        - else
          %a{:href=>"#{querystring_builder({"sort"=>"date"})}"} Sort by EARLIEST
        |
        - unless params[:sort]
          Sort by MOST RELEVANT
        - else
          %a{:href=>"#{querystring_builder({"sort"=>nil})}"} Sort by MOST RELEVANT
      %h3#results-header
        - if @search.results_size < 11
          - if @search.results_size == 1
            1 result<commit_msg>added speaker facets<commit_after>- if @search.results
  - if @people and !@people.empty? and params[:speaker] == nil
    =haml(:"_people", :locals => {:people => @people})
  -if @timeline
    =haml(:"timeline/_timeline", :locals => {:timeline => @timeline})
  - unless @filters.nil? or @filters.empty?
    =haml(:"_filters")
  - if @date_match
    %div#sitting-date-matches
      Jump to: 
      %a{:href => "#{PARENT_URL}/sittings/#{@date_match.date.year}/#{@date_match.date.month}/#{@date_match.date.day}"}= "Sitting of #{@date_match.date_to_s}"

  - if @search.any_facets?
    - @query = @search.query
    - if @search.display_speaker_facets.size > 1
      %ol#by-member-facet
        Show only contributions by: 
        - @search.display_speaker_facets.each do |speaker, times|
          %li
            %a{:href => "#{querystring_builder({"speaker" => speaker.slug})}"}= "#{speaker.name} (#{times})"

  - if @search.results_size < 1
    =haml(:"_no_results")
  - else
    %div#search-results
      %div#sort-links
        - if params[:sort] == "reverse_date"
          Sort by MOST RECENT
        - else
          %a{:href=>"#{querystring_builder({"sort"=>"reverse_date"})}"} Sort by MOST RECENT
        |
        - if params[:sort] == "date"
          Sort by EARLIEST
        - else
          %a{:href=>"#{querystring_builder({"sort"=>"date"})}"} Sort by EARLIEST
        |
        - unless params[:sort]
          Sort by MOST RELEVANT
        - else
          %a{:href=>"#{querystring_builder({"sort"=>nil})}"} Sort by MOST RELEVANT
      %h3#results-header
        - if @search.results_size < 11
          - if @search.results_size == 1
            1 result
{'fraction_non_alphanumeric': 0.17322569794820047, 'fraction_numerical': 0.004372687521022536, 'mean_word_length': 2.5531660692951017, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 28, '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': '2530884', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1041, 'n_words': 197}