<commit_before><template>
  <!-- disable lint errors on line length in template -->
  <!-- eslint-disable max-len -->

  <nav
    ref="container"
    :class="modifierClass"
    aria-label="Breadcrumb"
  >
    <ol
      ref="cdrBreadcrumbList"
      :class="$style['cdr-breadcrumb__list']"
    >
      <li
        v-if="truncate"
        @click="shouldTruncate = false"
        :class="$style['cdr-breadcrumb__item']"
      >
        <button
          aria-expanded="false"
          :class="$style['cdr-breadcrumb__ellipses']"
          aria-label="ellipsis"
        >
          <svg
            :class="$style['cdr-breadcrumb__ellipses-icon']"
            xmlns="http://www.w3.org/2000/svg"
            viewBox="0 0 24 24"
          >
            <title>
              ellipsis
            </title>
            <path d="M17.5 22a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM12 22a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-5.5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z" />
          </svg>
        </button>
        <span
          :class="$style['cdr-breadcrumb__delimiter']"
          aria-hidden="true"
        >
          /
        </span>
      </li>
      <li
        :class="$style['cdr-breadcrumb__item']"
        v-for="(breadcrumb, index) in items"
        :key="index"
        v-show="!truncate || (index >= items.length - 2)"
      >
        <a
          :class="$style['cdr-breadcrumb__link']"
          :href="breadcrumb.item.url"
        >
          {{ breadcrumb.item.name }}<commit_msg>fix(breadcrumb): update v-for key not to use index<commit_after><template>
  <!-- disable lint errors on line length in template -->
  <!-- eslint-disable max-len -->

  <nav
    ref="container"
    :class="modifierClass"
    aria-label="Breadcrumb"
  >
    <ol
      ref="cdrBreadcrumbList"
      :class="$style['cdr-breadcrumb__list']"
    >
      <li
        v-if="truncate"
        @click="shouldTruncate = false"
        :class="$style['cdr-breadcrumb__item']"
      >
        <button
          aria-expanded="false"
          :class="$style['cdr-breadcrumb__ellipses']"
          aria-label="ellipsis"
        >
          <svg
            :class="$style['cdr-breadcrumb__ellipses-icon']"
            xmlns="http://www.w3.org/2000/svg"
            viewBox="0 0 24 24"
          >
            <title>
              ellipsis
            </title>
            <path d="M17.5 22a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM12 22a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-5.5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z" />
          </svg>
        </button>
        <span
          :class="$style['cdr-breadcrumb__delimiter']"
          aria-hidden="true"
        >
          /
        </span>
      </li>
      <li
        :class="$style['cdr-breadcrumb__item']"
        v-for="(breadcrumb, index) in items"
        :key="breadcrumb.item.name.replace(/ /g, '-').toLowerCase()"
        v-show="!truncate || (index >= items.length - 2)"
      >
        <a
          :class="$style['cdr-breadcrumb__link']"
          :href="breadcrumb.item.url"
        >
          {{ breadcrumb.item.name }}
{'fraction_non_alphanumeric': 0.1587716432538386, 'fraction_numerical': 0.05096373734073832, 'mean_word_length': 1.6081771720613287, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '4813269', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1091, 'n_words': 209}