<commit_before>- @title = root

= partial("header", :locals => { :file => true, :idx => idx  })

- if revisions && revisions.any?
  %table.condensed-table.zebra-striped
    %thead
      %tr
        %th Commit
        %th Subject
        %th Author
        %th Committed
        %th Revert

    %tbody
      - revisions.each_with_index do |r, i|
        %tr
          %td.commit
            %a{ :href => "?revision=#{r[:commit]}" }
              = r[:commit]
          %td.subject= r[:subject]
          %td.author= r[:author]
          %td.date.reldate= r[:date]
          %td.revert
            %a{ :href => "?mode=revert&revision=#{r[:commit]}", :onclick => "javascript:return confirm('Are you sure?')" }
              = r[:commit]
- if revisions.empty?<commit_msg>Fix a Javascript error on the revisions page<commit_after>- @title = root

= partial("header", :locals => { :file => true, :idx => idx  })

- if revisions && revisions.any?
  %table.condensed-table.zebra-striped
    %thead
      %tr
        %th Commit
        %th Subject
        %th Author
        %th Committed
        %th Revert

    %tbody
      - revisions.each_with_index do |r, i|
        %tr
          %td.commit
            %a{ :href => "?revision=#{r[:commit]}" }
              = r[:commit]
          %td.subject= r[:subject]
          %td.author= r[:author]
          %td.date.reldate= r[:date].iso8601
          %td.revert
            %a{ :href => "?mode=revert&revision=#{r[:commit]}", :onclick => "javascript:return confirm('Are you sure?')" }
              = r[:commit]
- if revisions.empty?
{'fraction_non_alphanumeric': 0.16338207247298156, 'fraction_numerical': 0.0025429116338207248, 'mean_word_length': 1.9310986964618249, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '2741141', 'n_tokens_mistral': 543, 'n_tokens_neox': 514, 'n_words': 114}