<commit_before>%h2
  Past #{pluralize days, 'day'}
  %small
    %span{day_links}

%table.table.table-striped.table-hover.table-bordered
  %tbody
    %tr
      %th Total commits
      %td= number_with_delimiter(commit_set.count)
    %tr
      %th Breakdown by project
      %td= breakdown(commit_set)

.bar-chart= haml :'shared/progress'

%h2= pluralize commit_set.count, 'commit'
= haml :'shared/commit_list', locals: { commit_set: commit_set }

-# this one could clearly be a backbone view with data-view attribute, no JS needed here?
-# just need a way to pass in the frickin' JSON
- content_for :footer do
  :javascript
    Twigg.Profile.loadCommitsPerDay('.bar-chart');<commit_msg>Remove embarrassing comment<commit_after>%h2
  Past #{pluralize days, 'day'}
  %small
    %span{day_links}

%table.table.table-striped.table-hover.table-bordered
  %tbody
    %tr
      %th Total commits
      %td= number_with_delimiter(commit_set.count)
    %tr
      %th Breakdown by project
      %td= breakdown(commit_set)

.bar-chart= haml :'shared/progress'

%h2= pluralize commit_set.count, 'commit'
= haml :'shared/commit_list', locals: { commit_set: commit_set }

- content_for :footer do
  :javascript
    Twigg.Profile.loadCommitsPerDay('.bar-chart');
{'fraction_non_alphanumeric': 0.12038523274478331, 'fraction_numerical': 0.0032102728731942215, 'mean_word_length': 3.8521400778210118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4654716', 'n_tokens_mistral': 435, 'n_tokens_neox': 432, 'n_words': 104}