<commit_before><svg xmlns="http://www.w3.org/2000/svg" width="91" height="20">
  <linearGradient id="b" x2="0" y2="100%">
    <stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
    <stop offset="1" stop-opacity=".1"/>
  </linearGradient>

  <mask id="a">
    <rect width="91" height="20" rx="3" fill="#fff"/>
  </mask>

  <g mask="url(#a)">
    <path fill="#555" d="M0 0h37v20H0z"/>
    <path fill="#4c1" d="M37 0h54v20H37z"/>
    <path fill="url(#b)" d="M0 0h91v20H0z"/>
  </g>

  <g fill="#fff" text-anchor="middle">
    <g font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
      <text x="18" y="15" fill="#010101" fill-opacity=".3">build</text>
      <text x="18" y="14">build</text>
      <text x="63" y="15" fill="#010101" fill-opacity=".3">success</text>
      <text x="63" y="14">success</text>
    </g>
  </g>
</svg>
<commit_msg>Add badge template to generic badge view template<commit_after><svg xmlns="http://www.w3.org/2000/svg" width="<%= badge.width %>" height="20">
  <linearGradient id="b" x2="0" y2="100%">
    <stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
    <stop offset="1" stop-opacity=".1"/>
  </linearGradient>

  <mask id="a">
    <rect width="<%= badge.width %>" height="20" rx="3" fill="#fff"/>
  </mask>

  <g mask="url(#a)">
    <path fill="<%= badge.key_color%>" d="M0 0h <%= badge.key_width%>v 20H 0z"/>
    <path fill="#4c1" d="M<%= badge.key_width%> 0h <%= badge.value_width %>v 20H <%= badge.key_width%>z"/>
    <path fill="url(#b)" d="M0 0h <%= badge.width %>v 20H 0z"/>
  </g>

  <g fill="#fff" text-anchor="middle">
    <g font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
      <text x="<%= badge.key_text_anchor %>" y="15" fill="#010101" fill-opacity=".3"><%= badge.key_text %></text>
      <text x="<%= badge.key_text_anchor %>" y="14"><%= badge.key_text %></text>
      <text x="<%= badge.value_text_anchor %>" y="15" fill="#010101" fill-opacity=".3"><%= badge.value_text %></text>
      <text x="<%= badge.value_text_anchor %>" y="14"><%= badge.value_text %></text>
    </g>
  </g>
</svg>

{'fraction_non_alphanumeric': 0.2621452621452621, 'fraction_numerical': 0.06878306878306878, 'mean_word_length': 4.0608272506082725, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '4611987', 'n_tokens_mistral': 967, 'n_tokens_neox': 826, 'n_words': 164}