<commit_before><div class="page-header">
  <h2>
    <%= t 'key_pairs.key_pairs' %>
    <small>
      <%= ('for '+ link_to(@project.name, projects_path(client_id: @project.client_id, project_id: @project_id))).html_safe if @project_id %>
    </small>
  </h2>
</div>

<div id="key-pairs-page" v-cloak>
  <div class="col-md-2">
    <div class="panel-group">
      <div class="form-group">
        <label><%= t('key_pairs.region') %></label>
        <button class="btn btn-default btn-sm" style="float: right" v-attr="disabled: loading" v-on="click: reload"><span class="glyphicon glyphicon-refresh"></span></button>
      </div>
      <div class="panel panel-primary" v-if="regions">
        <div class="list-group">
          <a href="#" v-on="click: switch_region(region.name)" v-repeat="region: regions" v-class="active: region.selected, disabled: has_no_key_pairs(region.name)" class="list-group-item">
            {{region.name}}
            <span class="badge" v-text="number_of_key_pairs(region.name) | zero_as_blank"></span>
          </a><commit_msg>Fix a reference variable that does not exist<commit_after><div class="page-header">
  <h2>
    <%= t 'key_pairs.key_pairs' %>
    <small>
      <%= ('for '+ link_to(@project.name, projects_path(client_id: @project.client_id, project_id: @project_id))).html_safe if @project %>
    </small>
  </h2>
</div>

<div id="key-pairs-page" v-cloak>
  <div class="col-md-2">
    <div class="panel-group">
      <div class="form-group">
        <label><%= t('key_pairs.region') %></label>
        <button class="btn btn-default btn-sm" style="float: right" v-attr="disabled: loading" v-on="click: reload"><span class="glyphicon glyphicon-refresh"></span></button>
      </div>
      <div class="panel panel-primary" v-if="regions">
        <div class="list-group">
          <a href="#" v-on="click: switch_region(region.name)" v-repeat="region: regions" v-class="active: region.selected, disabled: has_no_key_pairs(region.name)" class="list-group-item">
            {{region.name}}
            <span class="badge" v-text="number_of_key_pairs(region.name) | zero_as_blank"></span>
          </a>
{'fraction_non_alphanumeric': 0.19439252336448598, 'fraction_numerical': 0.002803738317757009, 'mean_word_length': 3.6543478260869566, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '7371426', 'n_tokens_mistral': 761, 'n_tokens_neox': 736, 'n_words': 136}