<commit_before><a ui-sref="build_details({build_id: build.id})" class="indicator">#{{build.number}}</a>
<h5><a ui-sref="build_details({build_id: build.id})">{{buildTitle}}</a></h5>
<div class="info">
    <span class="branch" ng-repeat="branch in build.source.revision.branches">{{branch}}</span>
    <a ui-sref="project_source_details({source_id: build.source.id})">{{build.target}}</a>
    <span ng-if="build.author">&mdash; {{build.author.name}}</span>
</div>
<div class="date" time-since="build.dateCreated"></div>
<div class="tests">
    {{build.stats.test_count}}
</div>
<div class="coverage" ng-if="build.stats.lines_covered">
    {{coveragePercent}}%<br>
    <small>{{build.stats.diff_lines_covered}} lines</small>
</div>
<div class="duration" ng-if="!isFinished">
    <span type="{{build.result.id}}"
          value="estimatedProgress"
          animate="false"
          progressbar>&nbsp;</span>
</div>
<div class="duration" ng-if="build.duration && isFinished">
  <span duration="build.duration"></span>
</div><commit_msg>Only show coverage when build is finished<commit_after><a ui-sref="build_details({build_id: build.id})" class="indicator">#{{build.number}}</a>
<h5><a ui-sref="build_details({build_id: build.id})">{{buildTitle}}</a></h5>
<div class="info">
    <span class="branch" ng-repeat="branch in build.source.revision.branches">{{branch}}</span>
    <a ui-sref="project_source_details({source_id: build.source.id})">{{build.target}}</a>
    <span ng-if="build.author">&mdash; {{build.author.name}}</span>
</div>
<div class="date" time-since="build.dateCreated"></div>
<div class="tests">
    {{build.stats.test_count}}
</div>
<div ng-if="isFinished">
  <div class="coverage" ng-if="build.stats.lines_covered">
      {{coveragePercent}}%<br>
      <small>{{build.stats.diff_lines_covered}} lines</small>
  </div>

  <div class="duration" ng-if="build.duration">
    <span duration="build.duration"></span>
  </div>
</div>
<div class="duration" ng-if="!isFinished">
    <span type="{{build.result.id}}"
          value="estimatedProgress"
          animate="false"
          progressbar>&nbsp;</span>
</div>
{'fraction_non_alphanumeric': 0.22404884922498824, 'fraction_numerical': 0.0018788163457022077, 'mean_word_length': 5.24633431085044, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '1762916', 'n_tokens_mistral': 746, 'n_tokens_neox': 730, 'n_words': 109}