<commit_before>{{ title this.category.category ' - Categories' }}

<div class="crates-heading">
  <LinkTo @route="categories" aria-label="Categories">{{svg-jar "crate"}}</LinkTo>
  <h1>
    {{#each this.category.parent_categories as |parent|}}<LinkTo @route="category" @model={{parent.slug}}>{{parent.category}}</LinkTo>::{{/each}}
    {{~ this.category.category }}
  </h1>
</div>

<div>
  <p>{{ this.category.description }}</p>
</div>

{{#if this.category.subcategories }}
  <div id='subcategories'>
    <h2>Subcategories</h2>
    <div local-class="subcategories">
      {{#each this.category.subcategories as |subcategory| }}
        <div local-class="subcategory">
          <div>
            <LinkTo @route="category" @model={{subcategory.slug}}>{{subcategory.category}}</LinkTo>
            <span local-class="crate-count">
              {{ pluralize (format-num subcategory.crates_cnt) "crate" }}
            </span>
          </div>
          <div local-class="category-description"><commit_msg>category.index: Remove unused `id` assignment<commit_after>{{ title this.category.category ' - Categories' }}

<div class="crates-heading">
  <LinkTo @route="categories" aria-label="Categories">{{svg-jar "crate"}}</LinkTo>
  <h1>
    {{#each this.category.parent_categories as |parent|}}<LinkTo @route="category" @model={{parent.slug}}>{{parent.category}}</LinkTo>::{{/each}}
    {{~ this.category.category }}
  </h1>
</div>

<div>
  <p>{{ this.category.description }}</p>
</div>

{{#if this.category.subcategories }}
  <div>
    <h2>Subcategories</h2>
    <div local-class="subcategories">
      {{#each this.category.subcategories as |subcategory| }}
        <div local-class="subcategory">
          <div>
            <LinkTo @route="category" @model={{subcategory.slug}}>{{subcategory.category}}</LinkTo>
            <span local-class="crate-count">
              {{ pluralize (format-num subcategory.crates_cnt) "crate" }}
            </span>
          </div>
          <div local-class="category-description">
{'fraction_non_alphanumeric': 0.19583539910758552, 'fraction_numerical': 0.0039662865642042635, 'mean_word_length': 3.494432071269488, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '1188076', 'n_tokens_mistral': 641, 'n_tokens_neox': 638, 'n_words': 106}