<commit_before><ul class="metric-details-list">
   {% for metric in product.metrics.values() | sort(reverse=True, attribute="award.display_order") %}

   <li class="metric-detail">
      <span class="badge-container">
         <span class="ti-badge">
            <span class="badge-part text new-metrics-false {{ metric.award.is_highly_classname }} {{metric.award.audience}} {{metric.award.engagement_type}}">
               {% if metric.award.is_highly %}
                  <span class="modifier">highly</span>
               {% endif %}
               <span class="engagement-type">{{metric.award.engagement_type}}</span>
               <span class="audience">by {{metric.award.audience}}</span>
            </span>
         </span>
      </span>

      <span class="text">
         <a class="value-and-name"
            href="{{ metric.provenance_url }}"
            target="_blank"
            data-content="{{ metric.static_meta.description }}. Click to see more details on {{ metric.environment }}.">
            <img src="/static/img/favicons/{{ metric.name | replace(':','_') }}.ico" >
            <span class="raw-value">{{ metric.actual_count }}</span>
            <span class="environment">{{ metric.environment | replace("Altmetric.com", '') }}</span>
            <span class="interaction">{{ metric.display_interaction }}</span>
            <i class="icon-external-link-sign"></i>
         </a>
         {% if metric.historical_values.raw_diff_7_days > 0 %}
            <span class="new-metrics"
                  data-content="{{ metric.historical_values.raw_diff_7_days }} new {{ metric.environment | replace('Altmetric.com', '') }} {{ metric.display_interaction }} in the last 7 days">
             +{{ metric.historical_values.raw_diff_7_days }}
            </span><commit_msg>update raw_diff_7_days<commit_after><ul class="metric-details-list">
   {% for metric in product.metrics.values() | sort(reverse=True, attribute="award.display_order") %}

   <li class="metric-detail">
      <span class="badge-container">
         <span class="ti-badge">
            <span class="badge-part text new-metrics-false {{ metric.award.is_highly_classname }} {{metric.award.audience}} {{metric.award.engagement_type}}">
               {% if metric.award.is_highly %}
                  <span class="modifier">highly</span>
               {% endif %}
               <span class="engagement-type">{{metric.award.engagement_type}}</span>
               <span class="audience">by {{metric.award.audience}}</span>
            </span>
         </span>
      </span>

      <span class="text">
         <a class="value-and-name"
            href="{{ metric.provenance_url }}"
            target="_blank"
            data-content="{{ metric.static_meta.description }}. Click to see more details on {{ metric.environment }}.">
            <img src="/static/img/favicons/{{ metric.name | replace(':','_') }}.ico" >
            <span class="raw-value">{{ metric.actual_count }}</span>
            <span class="environment">{{ metric.environment | replace("Altmetric.com", '') }}</span>
            <span class="interaction">{{ metric.display_interaction }}</span>
            <i class="icon-external-link-sign"></i>
         </a>
         {% if metric.historical_values.diff.raw > 0 %}
            <span class="new-metrics"
                  data-content="{{ metric.historical_values.diff.raw }} new {{ metric.environment | replace('Altmetric.com', '') }} {{ metric.display_interaction }} in the last 7 days">
             +{{ metric.historical_values.diff.raw }}
            </span>
{'fraction_non_alphanumeric': 0.17197986577181207, 'fraction_numerical': 0.0022371364653243847, 'mean_word_length': 2.4829600778967866, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 61, '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': '5929382', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1012, 'n_words': 178}