<commit_before>!!!

%html
  %head
    %title Best Signatures WoW Character Image Auto-Updater

    %script{ src: url("/sorttable.js") }
  %body
    %a{ href: "https://github.com/jbhannah/bestsigs-wow-cacher/", target: "_blank" }
      %img{ src: "https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png",
            alt: "Fork me on GitHub",
          style: "position: absolute; top: 0; right: 0; border: 0;" }

    %h1 Best Signatures WoW Character Image Auto-Updater

    %h2 Stats

    %ul
      %li
        Number of characters:
        = @stats[:count]

      %li
        Number of realms:
        = @stats[:realms].count

    %h3 Regions
    %table#regions.sortable
      %thead
        %tr
          %th Region
          %th Realms
          %th Characters
      %tbody
        - @stats[:regions].each do |region|
          %tr
            %td= region[0].upcase
            %td= region[2].to_s
            %td= region[1].to_s

    %h3 Realms
    %table#realms.sortable
      %thead
        %tr
          %th Region
          %th Realm
          %th Characters
      %tbody
        - @stats[:realms].each do |realm|
          %tr
            %td= realm[0].upcase
            %td= realm[1]
            %td= realm[2].to_s

    %p
      %a{ href: url("/") } Back to index<commit_msg>No need for to_s in stats template<commit_after>!!!

%html
  %head
    %title Best Signatures WoW Character Image Auto-Updater

    %script{ src: url("/sorttable.js") }
  %body
    %a{ href: "https://github.com/jbhannah/bestsigs-wow-cacher/", target: "_blank" }
      %img{ src: "https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png",
            alt: "Fork me on GitHub",
          style: "position: absolute; top: 0; right: 0; border: 0;" }

    %h1 Best Signatures WoW Character Image Auto-Updater

    %h2 Stats

    %ul
      %li
        Number of characters:
        = @stats[:count]

      %li
        Number of realms:
        = @stats[:realms].count

    %h3 Regions
    %table#regions.sortable
      %thead
        %tr
          %th Region
          %th Realms
          %th Characters
      %tbody
        - @stats[:regions].each do |region|
          %tr
            %td= region[0].upcase
            %td= region[2]
            %td= region[1]

    %h3 Realms
    %table#realms.sortable
      %thead
        %tr
          %th Region
          %th Realm
          %th Characters
      %tbody
        - @stats[:realms].each do |realm|
          %tr
            %td= realm[0].upcase
            %td= realm[1]
            %td= realm[2]

    %p
      %a{ href: url("/") } Back to index
{'fraction_non_alphanumeric': 0.12691717791411042, 'fraction_numerical': 0.01303680981595092, 'mean_word_length': 1.6514227642276422, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2436399', 'n_tokens_mistral': 908, 'n_tokens_neox': 873, 'n_words': 219}