<commit_before>- if paginate && num_pages > 1
  .pagination-centered
    %ul.pagination
      - if prev_page
        %li{:class => "arrow#{prev_page.nil? ? ' unavailable' : ''}"}= link_to '&laquo; 更新', prev_page
      - (1..num_pages).each do |i|
        - if i == page_number
          %li.current.unavailable= link_to "#{i}", '#'
        - else
          - p = nil
          - if i < page_number
            = (i...page_number).each do p = p ? p.metadata[:locals]['prev_page'] : prev_page; end
          - else
            = (page_number...i).each do p = p ? p.metadata[:locals]['next_page'] : next_page; end
          %li= link_to "#{i}", p && p.url
      - if next_page
        %li{:class => "arrow#{next_page.nil? ? ' unavailable' : ''}"}= link_to '更早 &raquo;', next_page<commit_msg>prettier pagination<commit_after>- if paginate && num_pages > 1
  .pagination-centered
    %ul.pagination
      - if prev_page
        %li{:class => "arrow#{prev_page.nil? ? ' unavailable' : ''}"}= link_to '&laquo; 更新', prev_page
      - (1..num_pages).each do |i|
        - if i == page_number
          %li.current.unavailable= link_to "#{i}", '#'
        - else
          - p = nil
          - if i < page_number
            - (i...page_number).each do p = p ? p.metadata[:locals]['prev_page'] : prev_page; end
          - else
            - (page_number...i).each do p = p ? p.metadata[:locals]['next_page'] : next_page; end
          %li= link_to "#{i}", p && p.url
      - if next_page
        %li{:class => "arrow#{next_page.nil? ? ' unavailable' : ''}"}= link_to '更早 &raquo;', next_page
{'fraction_non_alphanumeric': 0.179519595448799, 'fraction_numerical': 0.0025284450063211127, 'mean_word_length': 2.1161417322834644, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5899692', 'n_tokens_mistral': 565, 'n_tokens_neox': 559, 'n_words': 120}