<commit_before>{{remove-log-popup job=view.job}}

<section id="log-container" class="log">
  {{#if view.job.notStarted}}
    <div class="log-notice">Hang tight, the log cannot be shown until the build has started.</div>
  {{/if}}
  

  {{#if view.job.isLegacyInfrastructure}}
    {{#if view.job.isFinished}}
      <p class="notice"><span class="icon-flag"></span>
      This job ran on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
    {{else}}
      <p class="notice"><span class="icon-flag"></span>
      This job is running on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
    {{/if}}
  {{/if}}


  <div {{bind-attr class="view.job.notStarted:hidden"}}>
    <menu class="log-header">
      {{#if view.canRemoveLog}}
        <a href="#" class="button button--grey open-popup" {{action "removeLogPopup" target=view}}><span class="icon icon--removeLog"></span> Remove Log</a>
      {{/if}}
      <a class="button button--grey" {{bind-attr href="view.plainTextLogUrl"}}><span class="icon icon--downloadLog"></span> Download Log</a>
    </menu>
    <div class="log-body">
      {{#if view.showTailing}}
        <a href="#" id="tail" class="log-tail" {{action "toggleTailing" target=view}}>
          <span class="tail-status"></span>
          <span class="tail-label button button--grey"><span class="icon icon--down"></span>
            {{#if view.job.isFinished}}
              Scroll to End of Log
            {{else}}
              Follow Log
            {{/if}}
          </span>
        </a>
      {{/if}}

      <pre id="log" class="ansi"></pre>

      {{#if view.showToTop}}
        <a href='#' class="to-top" {{action "toTop" target=view}}>Top</a>
      {{/if}}

      {{#if view.limited}}
        <p class="warning"><commit_msg>only show legacy note when logged in<commit_after>{{remove-log-popup job=view.job}}

<section id="log-container" class="log">
  {{#if view.job.notStarted}}
    <div class="log-notice">Hang tight, the log cannot be shown until the build has started.</div>
  {{/if}}
  
{{#if auth.signedIn}}
  {{#if view.job.isLegacyInfrastructure}}
    {{#if view.job.isFinished}}
      <p class="notice"><span class="icon-flag"></span>
      This job ran on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
    {{else}}
      <p class="notice"><span class="icon-flag"></span>
      This job is running on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
    {{/if}}
  {{/if}}
{{/if}}


  <div {{bind-attr class="view.job.notStarted:hidden"}}>
    <menu class="log-header">
      {{#if view.canRemoveLog}}
        <a href="#" class="button button--grey open-popup" {{action "removeLogPopup" target=view}}><span class="icon icon--removeLog"></span> Remove Log</a>
      {{/if}}
      <a class="button button--grey" {{bind-attr href="view.plainTextLogUrl"}}><span class="icon icon--downloadLog"></span> Download Log</a>
    </menu>
    <div class="log-body">
      {{#if view.showTailing}}
        <a href="#" id="tail" class="log-tail" {{action "toggleTailing" target=view}}>
          <span class="tail-status"></span>
          <span class="tail-label button button--grey"><span class="icon icon--down"></span>
            {{#if view.job.isFinished}}
              Scroll to End of Log
            {{else}}
              Follow Log
            {{/if}}
          </span>
        </a>
      {{/if}}

      <pre id="log" class="ansi"></pre>

      {{#if view.showToTop}}
        <a href='#' class="to-top" {{action "toTop" target=view}}>Top</a>
      {{/if}}

      {{#if view.limited}}
        <p class="warning">
{'fraction_non_alphanumeric': 0.1886924150767799, 'fraction_numerical': 0.0, 'mean_word_length': 3.2023460410557183, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7526537', 'n_tokens_mistral': 1427, 'n_tokens_neox': 1395, 'n_words': 314}