<commit_before><div local-class="crate-row" data-test-crate-row ...attributes>
  <div local-class="description-box">
    <div>
      <LinkTo
        @route="crate"
        @model={{@crate.id}}
        local-class="name"
        data-test-crate-link
      >
        {{ @crate.name }}
      </LinkTo>
      <span local-class="version" data-test-version>v{{@crate.max_version}}</span>
      <CopyButton
        @copyText='{{@crate.name}} = "{{@crate.max_version}}"'
        title="Copy Cargo.toml snippet to clipboard"
        local-class="copy-button"
      >
        {{svg-jar "copy" alt="Copy Cargo.toml snippet to clipboard"}}
      </CopyButton>
    </div>
    <div local-class="description" data-test-description>
      {{ truncate-text @crate.description }}
    </div>
  </div>
  <div local-class='stats'>
    <div local-class='downloads' data-test-downloads>
      {{svg-jar "download"}}
      <span><abbr title="Total number of downloads">All-Time:</abbr> {{ format-num @crate.downloads }}</span>
    </div>
    <div local-class="recent-downloads" data-test-recent-downloads>
      {{svg-jar "download"}}
      <span><abbr title="Downloads in the last 90 days">Recent:</abbr> {{ format-num @crate.recent_downloads }}</span>
    </div>
    <div local-class="updated-at" >
      {{svg-jar "latest-updates" height="32" width="32"}}
      <span>
        <abbr title="The last time crate was updated">Updated:</abbr>
        <time title="Last updated: {{ @crate.updated_at }}" datetime="{{ moment-format @crate.updated_at 'YYYY-MM-DDTHH:mm:ssZ' }}" data-test-updated-at>
          {{ moment-from-now @crate.updated_at }}
        </time>
      </span>
    </div>
  </div>
  <ul local-class="quick-links">
    {{#if @crate.homepage}}
      <li><a href="{{@crate.homepage}}">Homepage</a></li>
    {{/if}}
    {{#if @crate.documentation}}
      <li><a href="{{@crate.documentation}}">Documentation</a></li>
    {{/if}}
    {{#if @crate.repository}}
      <li><a href="{{@crate.repository}}">Repository</a></li>
    {{/if}}
  </ul>

</div><commit_msg>CrateRow: Use `ember-link` instead of `LinkTo`<commit_after><div local-class="crate-row" data-test-crate-row ...attributes>
  <div local-class="description-box">
    <div>
      {{#let (link "crate" @crate.id) as |l|}}
        <a href={{l.url}} local-class="name" data-test-crate-link {{on "click" l.transitionTo}}>
          {{@crate.name}}
        </a>
      {{/let}}
      <span local-class="version" data-test-version>v{{@crate.max_version}}</span>
      <CopyButton
        @copyText='{{@crate.name}} = "{{@crate.max_version}}"'
        title="Copy Cargo.toml snippet to clipboard"
        local-class="copy-button"
      >
        {{svg-jar "copy" alt="Copy Cargo.toml snippet to clipboard"}}
      </CopyButton>
    </div>
    <div local-class="description" data-test-description>
      {{ truncate-text @crate.description }}
    </div>
  </div>
  <div local-class='stats'>
    <div local-class='downloads' data-test-downloads>
      {{svg-jar "download"}}
      <span><abbr title="Total number of downloads">All-Time:</abbr> {{ format-num @crate.downloads }}</span>
    </div>
    <div local-class="recent-downloads" data-test-recent-downloads>
      {{svg-jar "download"}}
      <span><abbr title="Downloads in the last 90 days">Recent:</abbr> {{ format-num @crate.recent_downloads }}</span>
    </div>
    <div local-class="updated-at" >
      {{svg-jar "latest-updates" height="32" width="32"}}
      <span>
        <abbr title="The last time crate was updated">Updated:</abbr>
        <time title="Last updated: {{ @crate.updated_at }}" datetime="{{ moment-format @crate.updated_at 'YYYY-MM-DDTHH:mm:ssZ' }}" data-test-updated-at>
          {{ moment-from-now @crate.updated_at }}
        </time>
      </span>
    </div>
  </div>
  <ul local-class="quick-links">
    {{#if @crate.homepage}}
      <li><a href="{{@crate.homepage}}">Homepage</a></li>
    {{/if}}
    {{#if @crate.documentation}}
      <li><a href="{{@crate.documentation}}">Documentation</a></li>
    {{/if}}
    {{#if @crate.repository}}
      <li><a href="{{@crate.repository}}">Repository</a></li>
    {{/if}}
  </ul>

</div>
{'fraction_non_alphanumeric': 0.20635685046954008, 'fraction_numerical': 0.002889477486154587, 'mean_word_length': 2.963740458015267, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '637354', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1449, 'n_words': 257}