<commit_before>%section#log
  %aside#log_panel
    Found
    = @message_count
    results.

    - if @message_count > @limit
      %span.pagination
        Pages:
        - 1.upto(@message_count / @limit) do |page|
          - if page == (params[:page] || 1).to_i
            %span.current= page
          - else
            %a{:href => "/#{params[:channel]}/search?q=#{params[:q]}&page=#{page}"}= page

  = haml :_messages, locals: { :messages => @messages, :dates => true }

  - if @messages.nil? || @messages.empty?
    - if params[:q].length < 3
      Enter at least three letters as a keyword.
    - else
      No messages are found.
<commit_msg>Pagination is a bit off.<commit_after>%section#log
  %aside#log_panel
    Found
    = @message_count
    results.

    - if @message_count > @limit
      %span.pagination
        Pages:
        - 1.upto(@message_count / @limit + 1) do |page|
          - if page == (params[:page] || 1).to_i
            %span.current= page
          - else
            %a{:href => "/#{params[:channel]}/search?q=#{params[:q]}&page=#{page}"}= page

  = haml :_messages, locals: { :messages => @messages, :dates => true }

  - if @messages.nil? || @messages.empty?
    - if params[:q].length < 3
      Enter at least three letters as a keyword.
    - else
      No messages are found.

{'fraction_non_alphanumeric': 0.15793470007593013, 'fraction_numerical': 0.005315110098709187, 'mean_word_length': 2.2146341463414636, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '7203326', 'n_tokens_mistral': 439, 'n_tokens_neox': 428, 'n_words': 105}