<commit_before>%div{:xmlns => "http://www.w3.org/1999/xhtml"}
  - event.commits.first(15).each do |commit|
    %p
      %strong= commit.author_name
      = link_to "(##{commit.short_id})", project_commit_path(event.project, :id => commit.id)
      %i
        at
        = commit.committed_date.strftime("%Y-%m-%d %H:%M:%S")
    %blockquote= simple_format commit.safe_message
  - if event.commits_count > 15
    %p
      %i
        \... and
        = pluralize(event.commits_count - 15, "more commit")<commit_msg>Escape html entities in commit messages<commit_after>%div{:xmlns => "http://www.w3.org/1999/xhtml"}
  - event.commits.first(15).each do |commit|
    %p
      %strong= commit.author_name
      = link_to "(##{commit.short_id})", project_commit_path(event.project, :id => commit.id)
      %i
        at
        = commit.committed_date.strftime("%Y-%m-%d %H:%M:%S")
    %blockquote= simple_format(escape_once(commit.safe_message))
  - if event.commits_count > 15
    %p
      %i
        \... and
        = pluralize(event.commits_count - 15, "more commit")
{'fraction_non_alphanumeric': 0.16729323308270677, 'fraction_numerical': 0.020676691729323307, 'mean_word_length': 2.790035587188612, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '6631017', 'n_tokens_mistral': 397, 'n_tokens_neox': 378, 'n_words': 63}