<commit_before><div class='dashboard-block-header'>
  {{t 'general.myReports'}}
  <div class="dashboard-block-actions">
    {{#liquid-if selectedReport class='crossFade'}}
      <button {{action 'selectReport' null}}>{{t 'general.allReports'}}</button>
    {{else}}
      {{expand-collapse-button value=myReportEditorOn action="toggleEditor"}}
    {{/liquid-if}}
  </div>
</div>

{{#liquid-if selectedReport class='crossFade'}}
  <h3>{{await selectedReport.displayTitle}}</h3>
  {{#if reportResultsList.isFulfilled}}
    {{#if reportResultsList.length}}
      <ul>
        {{#each reportResultsList as |item|}}
          {{#if item.model2}}
            <li>
              {{#link-to item.route item.model item.model2}}
                {{item.value}}
              {{/link-to}}
            </li>
          {{else if item.model}}
            <li>
              {{#link-to item.route item.model}}
                {{item.value}}
              {{/link-to}}
            </li>
          {{else}}
            <li>{{item.value}}</li>

          {{/if}}
        {{/each}}
      </ul>
    {{else}}
      {{t 'general.none'}}
    {{/if}}
  {{else}}
    <h1>{{fa-icon 'spinner' spin=true}}</h1>
  {{/if}}<commit_msg>updated template to correctly process its input.<commit_after><div class='dashboard-block-header'>
  {{t 'general.myReports'}}
  <div class="dashboard-block-actions">
    {{#liquid-if selectedReport class='crossFade'}}
      <button {{action 'selectReport' null}}>{{t 'general.allReports'}}</button>
    {{else}}
      {{expand-collapse-button value=myReportEditorOn action="toggleEditor"}}
    {{/liquid-if}}
  </div>
</div>

{{#liquid-if selectedReport class='crossFade'}}
  <h3>{{await selectedReport.displayTitle}}</h3>
  {{#if (is-fulfilled reportResultsList)}}
    {{#if (get (await reportResultsList) 'length')}}
      <ul>
        {{#each (await reportResultsList) as |item|}}
          {{#if item.model2}}
            <li>
              {{#link-to item.route item.model item.model2}}
                {{item.value}}
              {{/link-to}}
            </li>
          {{else if item.model}}
            <li>
              {{#link-to item.route item.model}}
                {{item.value}}
              {{/link-to}}
            </li>
          {{else}}
            <li>{{item.value}}</li>

          {{/if}}
        {{/each}}
      </ul>
    {{else}}
      {{t 'general.none'}}
    {{/if}}
  {{else}}
    <h1>{{fa-icon 'spinner' spin=true}}</h1>
  {{/if}}
{'fraction_non_alphanumeric': 0.20016207455429497, 'fraction_numerical': 0.004862236628849271, 'mean_word_length': 2.101758793969849, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '4111834', 'n_tokens_mistral': 818, 'n_tokens_neox': 791, 'n_words': 148}