<commit_before><ul class="tabs">
  <li id="tab_current" {{bindAttr class="view.classCurrent"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showRepo view.repo href=true}}>
        {{t repositories.tabs.current}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_builds" {{bindAttr class="view.classBuilds"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showBuilds view.repo href=true}}>
        {{t repositories.tabs.build_history}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_pull_requests" {{bindAttr class="view.classPullRequests"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showPullRequests view.repo href=true}}>
        {{t repositories.tabs.pull_requests}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_branches" {{bindAttr class="view.classBranches"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showBranches view.repo href=true}}>
        {{t repositories.tabs.branches}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_build" {{bindAttr class="view.classBuild"}}>
    <h5>
      {{#with view.build}}
      <a {{action showBuild repo this href=true}}>
        {{t repositories.tabs.build}} #{{number}}
      </a>
      {{/with}}
    </h5>
  </li>
  <li id="tab_job" {{bindAttr class="view.classJob"}}>
    <h5>
      {{#with view.job}}
      <a {{action showJob repo this href=true}}>
        {{t repositories.tabs.job}} #{{number}}
      </a>
      {{/with}}
    </h5>
  </li>
</ul><commit_msg>Display link to build/job only if id is present already<commit_after><ul class="tabs">
  <li id="tab_current" {{bindAttr class="view.classCurrent"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showRepo view.repo href=true}}>
        {{t repositories.tabs.current}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_builds" {{bindAttr class="view.classBuilds"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showBuilds view.repo href=true}}>
        {{t repositories.tabs.build_history}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_pull_requests" {{bindAttr class="view.classPullRequests"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showPullRequests view.repo href=true}}>
        {{t repositories.tabs.pull_requests}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_branches" {{bindAttr class="view.classBranches"}}>
    <h5>
      {{#if view.repo.slug}}
      <a {{action showBranches view.repo href=true}}>
        {{t repositories.tabs.branches}}
      </a>
      {{/if}}
    </h5>
  </li>
  <li id="tab_build" {{bindAttr class="view.classBuild"}}>
    <h5>
      {{#with view.build}}
        {{#if id}}
          <a {{action showBuild repo this href=true}}>
            {{t repositories.tabs.build}} #{{number}}
          </a>
        {{/if}}
      {{/with}}
    </h5>
  </li>
  <li id="tab_job" {{bindAttr class="view.classJob"}}>
    <h5>
      {{#with view.job}}
        {{#if id}}
          <a {{action showJob repo this href=true}}>
            {{t repositories.tabs.job}} #{{number}}
          </a>
        {{/if}}
      {{/with}}
    </h5>
  </li>
</ul>
{'fraction_non_alphanumeric': 0.2093989769820972, 'fraction_numerical': 0.0076726342710997444, 'mean_word_length': 2.311111111111111, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '7384154', 'n_tokens_mistral': 1177, 'n_tokens_neox': 1162, 'n_words': 244}