<commit_before>- case tip.reason
- when Commit
  - commit = tip.reason
  Commit #{link_to truncate_commit(commit.sha), "https://github.com/#{commit.project.full_name}/commit/#{commit.sha}"}:
  %pre= commit.message
- when nil
  - if tip.commit.present?
    - if tip.project
      Commit #{link_to truncate_commit(tip.commit), "https://github.com/#{tip.project.full_name}/commit/#{tip.commit}"}:
    - else
      Commit #{tip.commit}
    %pre= tip.commit_message
  - else
    = render_markdown tip.comment<commit_msg>hide pre block when commit message is missing<commit_after>- case tip.reason
- when Commit
  - commit = tip.reason
  Commit #{link_to truncate_commit(commit.sha), "https://github.com/#{commit.project.full_name}/commit/#{commit.sha}"}:
  %pre= commit.message
- when nil
  - if tip.commit.present?
    - if tip.project
      Commit #{link_to truncate_commit(tip.commit), "https://github.com/#{tip.project.full_name}/commit/#{tip.commit}"}:
    - else
      Commit #{tip.commit}
    - if tip.commit_message.present?
      %pre= tip.commit_message
  - else
    = render_markdown tip.comment
{'fraction_non_alphanumeric': 0.15258855585831063, 'fraction_numerical': 0.0, 'mean_word_length': 3.443548387096774, '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': '2353904', 'n_tokens_mistral': 360, 'n_tokens_neox': 361, 'n_words': 70}