<commit_before><div class="card--stats-coverage card--stats-half">
  <h2 class="card__h2"><%= t("stats.#{type}-title") %></h2>

  <div class="card__content">
    <div class="card__chart">
      <div class="chart--square">
        
      </div>
    </div>

    <div>
      <div class="card__stat-large">
        <span class="card__number-large block"><%= stats[:protected_percentage] %>%</span> <%= t("stats.coverage") %>
      </div>

      <div>
        <p class="card__stat">
          <span class="card__number block"><%= commaify stats[:protected_km2] %>km<sup>2</sup></span> <%= t("stats.#{type}-protected") %>
        </p>
        <p class="card__stat">
          <span class="card__number block"><%= stats[:total_km2] %>km<sup>2</sup></span> <%= t("stats.#{type}-total") %>
        </p>
      </div>

      <div>
        <% if stats[:protected_national_report] && stats[:national_report_version] %>
          <p class="card__stat">
            <span class="card__number block"><%= stats[:protected_national_report] %>%</span>
            <%= stats[:national_report_version] %><%= t("stats.nr-report-title") %>
          </p>
        <% end %>
        
        <% if stats[:pame_percentage] &&  stats[:pame_km2] %>
          <div class="card__subsection">
            <p class="card__subtitle">PAME</p>

            <p class="card__stat">
              <span class="card__number block"><%= stats[:pame_percentage] %>%</span> <%= t("stats.pame.with-assessments") %>
            </p>
            <p class="card__stat">
              <span class="card__number block"><%= stats[:pame_km2] %>km<sup>2</sup></span> <%= t("stats.pame.areas-assessed") %>
            </p>
          </div>
        <% end %>
      </div>
    </div>
  </div>
</div><commit_msg>Put back code for square chart<commit_after><div class="card--stats-coverage card--stats-half">
  <h2 class="card__h2"><%= t("stats.#{type}-title") %></h2>

  <div class="card__content">
    <div class="card__chart">
      <div class="chart--square">
        <span 
          class="chart__area theme--<%= type %>" 
          style="width: <%= get_square_side(stats[:protected_percentage]) %>%; height: <%= get_square_side(stats[:protected_percentage]) %>%;"
        ></span>
      </div>
    </div>

    <div>
      <div class="card__stat-large">
        <span class="card__number-large block"><%= stats[:protected_percentage] %>%</span> <%= t("stats.coverage") %>
      </div>

      <div>
        <p class="card__stat">
          <span class="card__number block"><%= commaify stats[:protected_km2] %>km<sup>2</sup></span> <%= t("stats.#{type}-protected") %>
        </p>
        <p class="card__stat">
          <span class="card__number block"><%= stats[:total_km2] %>km<sup>2</sup></span> <%= t("stats.#{type}-total") %>
        </p>
      </div>

      <div>
        <% if stats[:protected_national_report] && stats[:national_report_version] %>
          <p class="card__stat">
            <span class="card__number block"><%= stats[:protected_national_report] %>%</span>
            <%= stats[:national_report_version] %><%= t("stats.nr-report-title") %>
          </p>
        <% end %>
        
        <% if stats[:pame_percentage] &&  stats[:pame_km2] %>
          <div class="card__subsection">
            <p class="card__subtitle">PAME</p>

            <p class="card__stat">
              <span class="card__number block"><%= stats[:pame_percentage] %>%</span> <%= t("stats.pame.with-assessments") %>
            </p>
            <p class="card__stat">
              <span class="card__number block"><%= stats[:pame_km2] %>km<sup>2</sup></span> <%= t("stats.pame.areas-assessed") %>
            </p>
          </div>
        <% end %>
      </div>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.2114819759679573, 'fraction_numerical': 0.0053404539385847796, 'mean_word_length': 2.540642722117202, 'pattern_counts': {'":': 0, '<': 144, '<?xml version=': 0, '>': 144, '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': '4885421', 'n_tokens_mistral': 1302, 'n_tokens_neox': 1202, 'n_words': 197}