<commit_before><div id="bottom-panel-resizer"
     resizer="horizontal"
     resizer-height="6"
     resizer-bottom="#bottom-panel">
</div>
<div ng-controller="PinboardCtrl"
     id="pinboard-panel"
     ng-show="isPinboardVisible"
     ng-include src="'partials/main/thPinboardPanel.html'">
</div>
<div id="bottom-panel-content">
  <div id="bottom-left-panel">
    <div id="bottom-left-top">
      <nav class="navbar navbar-dark">
        <ul class="nav navbar-nav">

          <li ng-repeat="job_log_url in job_log_urls">
            <a ng-if="job_log_url.parse_status == 'parsed'"
               title="Open the log viewer in a new window"
               target="_blank"
               href="{{::lvUrl}}"
               copy-value="{{::lvFullUrl}}"
               class="">
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
            <a ng-if="job_log_url.parse_status == 'failed'"
               title="Log parsing has failed"
               class="disabled" >
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
            <a ng-if="job_log_url.parse_status == 'pending'"
               class="disabled"
               title="Log parsing in progress">
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
          </li>
          <li>
            <a ng-if="!job_log_urls.length"
               class="disabled"
               title="No logs available for this job">
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
          </li>

          <li ng-repeat="job_log_url in job_log_urls">
            <a title="Open the raw log in a new window"
               target="_blank"
               href="{{::job_log_url.url}}"
               copy-value="{{::job_log_url.url}}">
              <span class="glyphicon glyphicon-align-left"></span>
            </a>
          </li>
          <li>
            <a ng-if="!job_log_urls.length"
               class="disabled"
               title="No logs available for this job">
              <span class="glyphicon glyphicon-align-left"></span>
            </a>
          </li>
          <li>
            <!--the first 3 items are in the same box-->
            <ul class="nav navbar-nav">
              <li>
                <a href="" prevent-default-on-left-click
                   title="Add this job to the pinboard"
                   ng-click="pinboard_service.pinJob(selectedJob)">
                  <span class="glyphicon glyphicon-pushpin"
                        ng-class="{'icon-blue': (pinboard_service.count.numPinnedJobs > 0)}">
                  </span>
                  <span ng-show="pinboard_service.count.numPinnedJobs"
                        class="pinned-job-count">{{getCountPinnedJobs()}}</span>
                </a>
              </li>

            </ul>
          </li>
          <li ng-show="canCancel()">
            <a title="Cancel this job"
               href="" prevent-default-on-left-click
               target="_blank"
               ng-click="cancelJob()">
              <span class="fa fa-times-circle cancel-job-icon dim-half"></span>
            </a>
          </li>
          <li>
            <a title="Retrigger this job"
               class="icon-green"
               href="" prevent-default-on-left-click
               target="_blank"
               ng-click="retriggerJob()">
              <span class="fa fa-repeat"></span>
            </a>
          </li>
          <li ng-show="isReftest()" ng-repeat="job_log_url in job_log_urls">
            <a title="Launch the Reftest Analyser in a new page"
               target="_blank"
               href="http://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl={{::job_log_url.url}}&only_show_unexpected=1">
              <span class="fa fa-bar-chart-o"></span>
            </a>
          </li>
        </ul>
      </nav>
    </div>
    <div id="bottom-left-bottom">
      <ul ng-if="classifications.length > 0 || bugs.length > 0"
          class="list-unstyled content-spacer">
        <li ng-if="classifications.length > 0">
          <span th-failure-classification failure-id="classifications[0].failure_classification_id"></span>

          <a target="_blank" ng-repeat="bug in bugs"
             href="https://bugzilla.mozilla.org/show_bug.cgi?id={{bug.bug_id}}"
             title="Bug {{bug.bug_id}}"><em> {{bug.bug_id}}</em></a>
        </li>
        <li ng-if="classifications[0].note.length > 0"><em>{{classifications[0].note}}</em></li>
        <li class="revision-comment">
          {{classifications[0].note_timestamp*1000|date:'EEE MMM d, H:mm:ss'}}</li>
        <li class="revision-comment">
          {{classifications[0].who}}</li>
      </ul>
      <ul class="list-unstyled">
        <li id="result-status-pane" class="small {{resultStatusShading}}">
          <div>
            <label>Result:</label>
            <span>{{ job.result }}</span>
          </div>
          <div>
            <label>State:</label>
            <span>{{ job.state }}</span>
          </div>
          <div ng-if="job.state =='pending' || job.state =='running'">
            <span ng-if="eta < 0">ETA to completed: ~ {{eta_abs}} minutes</span>
            <span ng-if="eta > 0">{{eta}} mins overdue, typically takes ~ {{typical_eta}} mins</span>
            <span ng-if="eta == 0">ETA any minute now, typically takes ~ {{typical_eta}} mins</span>
          </div>
        </li>
      </ul>
      <ul class="content-spacer">
        <li class="small">
          <label>Job:</label>
          <a title="Filter by job data strings"
             href="{{jobSearchStrHref}}"
             prevent-default-on-left-click
             ng-click="filterByJobSearchStr(jobSearchStr)"
             copy-value="{{jobSearchStr}}">
            {{jobSearchStr}}</a>
        </li>
        </li>
        <li class="small">
          <label>Machine name:</label>
          <span ng-switch on="job.machine_name">
            <span ng-switch-when='unknown'>{{job.machine_name}}</span>
            <a title="Open buildbot slave health report" target="_blank"
               href="https://secure.pub.build.mozilla.org/builddata/reports/slave_health/slave.html?name={{job.machine_name}}"
               ng-switch-default>
               {{job.machine_name}}
            </a>
          </span>
        </li>

        <li class="small" ng-repeat="(label, value) in visibleFields">
          <label>{{label}}:</label>
          <span ng-switch on="label">
              <a ng-switch-when="Build"
                 ng-repeat="job_log_url in job_log_urls"
                 title="Open build directory in a new tab"
                 href={{job_log_url.buildUrl}} target="_blank">{{value}}</a>
              <span ng-switch-default>{{value}}</span><commit_msg>Bug 1150734 - add a link to filter jobs by job signature<commit_after><div id="bottom-panel-resizer"
     resizer="horizontal"
     resizer-height="6"
     resizer-bottom="#bottom-panel">
</div>
<div ng-controller="PinboardCtrl"
     id="pinboard-panel"
     ng-show="isPinboardVisible"
     ng-include src="'partials/main/thPinboardPanel.html'">
</div>
<div id="bottom-panel-content">
  <div id="bottom-left-panel">
    <div id="bottom-left-top">
      <nav class="navbar navbar-dark">
        <ul class="nav navbar-nav">

          <li ng-repeat="job_log_url in job_log_urls">
            <a ng-if="job_log_url.parse_status == 'parsed'"
               title="Open the log viewer in a new window"
               target="_blank"
               href="{{::lvUrl}}"
               copy-value="{{::lvFullUrl}}"
               class="">
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
            <a ng-if="job_log_url.parse_status == 'failed'"
               title="Log parsing has failed"
               class="disabled" >
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
            <a ng-if="job_log_url.parse_status == 'pending'"
               class="disabled"
               title="Log parsing in progress">
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
          </li>
          <li>
            <a ng-if="!job_log_urls.length"
               class="disabled"
               title="No logs available for this job">
              <img src="./img/logviewerIcon.svg"
                   class="logviewer-icon"><img>
            </a>
          </li>

          <li ng-repeat="job_log_url in job_log_urls">
            <a title="Open the raw log in a new window"
               target="_blank"
               href="{{::job_log_url.url}}"
               copy-value="{{::job_log_url.url}}">
              <span class="glyphicon glyphicon-align-left"></span>
            </a>
          </li>
          <li>
            <a ng-if="!job_log_urls.length"
               class="disabled"
               title="No logs available for this job">
              <span class="glyphicon glyphicon-align-left"></span>
            </a>
          </li>
          <li>
            <!--the first 3 items are in the same box-->
            <ul class="nav navbar-nav">
              <li>
                <a href="" prevent-default-on-left-click
                   title="Add this job to the pinboard"
                   ng-click="pinboard_service.pinJob(selectedJob)">
                  <span class="glyphicon glyphicon-pushpin"
                        ng-class="{'icon-blue': (pinboard_service.count.numPinnedJobs > 0)}">
                  </span>
                  <span ng-show="pinboard_service.count.numPinnedJobs"
                        class="pinned-job-count">{{getCountPinnedJobs()}}</span>
                </a>
              </li>

            </ul>
          </li>
          <li ng-show="canCancel()">
            <a title="Cancel this job"
               href="" prevent-default-on-left-click
               target="_blank"
               ng-click="cancelJob()">
              <span class="fa fa-times-circle cancel-job-icon dim-half"></span>
            </a>
          </li>
          <li>
            <a title="Retrigger this job"
               class="icon-green"
               href="" prevent-default-on-left-click
               target="_blank"
               ng-click="retriggerJob()">
              <span class="fa fa-repeat"></span>
            </a>
          </li>
          <li ng-show="isReftest()" ng-repeat="job_log_url in job_log_urls">
            <a title="Launch the Reftest Analyser in a new page"
               target="_blank"
               href="http://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl={{::job_log_url.url}}&only_show_unexpected=1">
              <span class="fa fa-bar-chart-o"></span>
            </a>
          </li>
        </ul>
      </nav>
    </div>
    <div id="bottom-left-bottom">
      <ul ng-if="classifications.length > 0 || bugs.length > 0"
          class="list-unstyled content-spacer">
        <li ng-if="classifications.length > 0">
          <span th-failure-classification failure-id="classifications[0].failure_classification_id"></span>

          <a target="_blank" ng-repeat="bug in bugs"
             href="https://bugzilla.mozilla.org/show_bug.cgi?id={{bug.bug_id}}"
             title="Bug {{bug.bug_id}}"><em> {{bug.bug_id}}</em></a>
        </li>
        <li ng-if="classifications[0].note.length > 0"><em>{{classifications[0].note}}</em></li>
        <li class="revision-comment">
          {{classifications[0].note_timestamp*1000|date:'EEE MMM d, H:mm:ss'}}</li>
        <li class="revision-comment">
          {{classifications[0].who}}</li>
      </ul>
      <ul class="list-unstyled">
        <li id="result-status-pane" class="small {{resultStatusShading}}">
          <div>
            <label>Result:</label>
            <span>{{ job.result }}</span>
          </div>
          <div>
            <label>State:</label>
            <span>{{ job.state }}</span>
          </div>
          <div ng-if="job.state =='pending' || job.state =='running'">
            <span ng-if="eta < 0">ETA to completed: ~ {{eta_abs}} minutes</span>
            <span ng-if="eta > 0">{{eta}} mins overdue, typically takes ~ {{typical_eta}} mins</span>
            <span ng-if="eta == 0">ETA any minute now, typically takes ~ {{typical_eta}} mins</span>
          </div>
        </li>
      </ul>
      <ul class="content-spacer">
        <li class="small">
          <label>Job:</label>
          <a title="Filter by job data strings"
             href="{{jobSearchStrHref}}"
             prevent-default-on-left-click
             ng-click="filterByJobSearchStr(jobSearchStr)"
             copy-value="{{jobSearchStr}}">
            {{jobSearchStr}}</a>
        </li>
        <li class="small">
          <label>Filter:</label>
          <a title="Filter by job signature SHA (more precise)"
             href="{{jobSearchSignatureHref}}"
             prevent-default-on-left-click
             ng-click="filterByJobSearchStr(jobSearchSignature)"
             copy-value="{{jobSearchSignature}}">
            signature</a>
        </li>
        <li class="small">
          <label>Machine name:</label>
          <span ng-switch on="job.machine_name">
            <span ng-switch-when='unknown'>{{job.machine_name}}</span>
            <a title="Open buildbot slave health report" target="_blank"
               href="https://secure.pub.build.mozilla.org/builddata/reports/slave_health/slave.html?name={{job.machine_name}}"
               ng-switch-default>
               {{job.machine_name}}
            </a>
          </span>
        </li>

        <li class="small" ng-repeat="(label, value) in visibleFields">
          <label>{{label}}:</label>
          <span ng-switch on="label">
              <a ng-switch-when="Build"
                 ng-repeat="job_log_url in job_log_urls"
                 title="Open build directory in a new tab"
                 href={{job_log_url.buildUrl}} target="_blank">{{value}}</a>
              <span ng-switch-default>{{value}}</span>
{'fraction_non_alphanumeric': 0.15903698534542918, 'fraction_numerical': 0.0032798325191905095, 'mean_word_length': 1.7240068428055502, 'pattern_counts': {'":': 0, '<': 298, '<?xml version=': 0, '>': 308, 'https://': 4, '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': '5420940', 'n_tokens_mistral': 4320, 'n_tokens_neox': 4177, 'n_words': 773}