<commit_before><div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.statistics') -%></h1>
<div id="content_list">
  <table class="index">
    <tr>
      <th><%= t('page.model') -%></th>
      <th><%= t('page.number_of_record') -%></th>
      <th><%= t('page.note') -%></th>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.patron'), patrons_path -%></td>
      <td><%= Patron.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.user'), users_path -%></td>
      <td><%= User.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.manifestation'), manifestations_path -%></td>
      <td><%= Manifestation.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.item'), items_path -%></td>
      <td><%= Item.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.search_history'), search_histories_path -%></td>
      <td><%= SearchHistory.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.bookmark'), bookmarks_path -%></td>
      <td>
        <%= Bookmark.count -%>
        (<%= link_to t('activerecord.attributes.bookmark_stat_has_manifestation.bookmarks_count'), bookmark_stats_path -%>)
      </td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.subject'), subjects_path -%></td>
      <td><%= Subject.count -%></td>
      <td></td>
    <tr>
      <td><%= link_to t('activerecord.models.tag'), tags_path -%></td>
      <td><%= Tag.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.checkout'), checkouts_path -%></td>
      <td>
        <%= Checkout.count -%>
        (<%= link_to t('activerecord.attributes.checkout_stat_has_user.checkouts_count'), user_checkout_stats_path -%>)
        (<%= link_to t('activerecord.attributes.checkout_stat_has_manifestation.checkouts_count'), manifestation_checkout_stats_path -%>)
      </td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.reserve'), reserves_path -%></td>
      <td>
        <%= Reserve.count -%>
        (<%= link_to t('activerecord.attributes.reserve_stat_has_user.reserves_count'), user_reserve_stats_path -%>)
        (<%= link_to t('activerecord.attributes.reserve_stat_has_manifestation.reserves_count'), manifestation_reserve_stats_path -%>)
      </td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.purchase_request'), purchase_requests_path -%></td>
      <td><%= PurchaseRequest.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.question'), questions_path -%></td>
      <td><%= Question.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.answer'), answers_path -%></td>
      <td><%= Answer.count -%></td>
      <td></td>
    </tr>
  </table>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
  </ul>
</div>
<commit_msg>refs2920 modifie patrons_count<commit_after><div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.statistics') -%></h1>
<div id="content_list">
  <table class="index">
    <tr>
      <th><%= t('page.model') -%></th>
      <th><%= t('page.number_of_record') -%></th>
      <th><%= t('page.note') -%></th>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.patron'), patrons_path -%></td>
      <td><%= (Patron.count - User.count) -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.user'), users_path -%></td>
      <td><%= User.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.manifestation'), manifestations_path -%></td>
      <td><%= Manifestation.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.item'), items_path -%></td>
      <td><%= Item.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.search_history'), search_histories_path -%></td>
      <td><%= SearchHistory.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.bookmark'), bookmarks_path -%></td>
      <td>
        <%= Bookmark.count -%>
        (<%= link_to t('activerecord.attributes.bookmark_stat_has_manifestation.bookmarks_count'), bookmark_stats_path -%>)
      </td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.subject'), subjects_path -%></td>
      <td><%= Subject.count -%></td>
      <td></td>
    <tr>
      <td><%= link_to t('activerecord.models.tag'), tags_path -%></td>
      <td><%= Tag.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.checkout'), checkouts_path -%></td>
      <td>
        <%= Checkout.count -%>
        (<%= link_to t('activerecord.attributes.checkout_stat_has_user.checkouts_count'), user_checkout_stats_path -%>)
        (<%= link_to t('activerecord.attributes.checkout_stat_has_manifestation.checkouts_count'), manifestation_checkout_stats_path -%>)
      </td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.reserve'), reserves_path -%></td>
      <td>
        <%= Reserve.count -%>
        (<%= link_to t('activerecord.attributes.reserve_stat_has_user.reserves_count'), user_reserve_stats_path -%>)
        (<%= link_to t('activerecord.attributes.reserve_stat_has_manifestation.reserves_count'), manifestation_reserve_stats_path -%>)
      </td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.purchase_request'), purchase_requests_path -%></td>
      <td><%= PurchaseRequest.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.question'), questions_path -%></td>
      <td><%= Question.count -%></td>
      <td></td>
    </tr>
    <tr>
      <td><%= link_to t('activerecord.models.answer'), answers_path -%></td>
      <td><%= Answer.count -%></td>
      <td></td>
    </tr>
  </table>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
  </ul>
</div>

{'fraction_non_alphanumeric': 0.23265569538560826, 'fraction_numerical': 0.0012907389480477573, 'mean_word_length': 2.796080832823025, 'pattern_counts': {'":': 0, '<': 319, '<?xml version=': 0, '>': 319, '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': '5981747', 'n_tokens_mistral': 2485, 'n_tokens_neox': 2306, 'n_words': 379}