<commit_before>- context = request.path_info.include?("search") ? "/search/#{@query}/" : "/"

-# puts @tweets.total_pages
-# puts @tweets.previous_page
-# puts @tweets.next_page

-# 7
-# nil
-# 2

-# 1-5 of 32 tweets found.

-# ((page - 1) * pp + 1) - (pp * page)

#pagination
  #stats
    = pagination_stats(@tweets.total_entries,@page,@per_page)
  
  #nextprevious
    - if @tweets.next_page
      %a{:href=>context+(@tweets.next_page).to_s} « Older
    - else
      « Older
    - if @tweets.previous_page
      %a{:href=>context+(@tweets.previous_page).to_s} Newer »
    - else
      Newer »<commit_msg>Removed some extraneous comments<commit_after>- context = request.path_info.include?("search") ? "/search/#{@query}/" : "/"

#pagination
  #stats
    = pagination_stats(@tweets.total_entries,@page,@per_page)
  
  #nextprevious
    - if @tweets.next_page
      %a{:href=>context+(@tweets.next_page).to_s} « Older
    - else
      « Older
    - if @tweets.previous_page
      %a{:href=>context+(@tweets.previous_page).to_s} Newer »
    - else
      Newer »
{'fraction_non_alphanumeric': 0.17264150943396225, 'fraction_numerical': 0.007547169811320755, 'mean_word_length': 3.080769230769231, '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': '2813311', 'n_tokens_mistral': 432, 'n_tokens_neox': 421, 'n_words': 71}