<commit_before><div class="row">
  <div class="col-lg-12">
      <h2 id="wpt">WebPageTest</h2>
      <p>{{{wptData.response.data.from}}}</p> {{wptData.response.data.runs}}

      {{wptData.response.data.median.firstView.browser_name}} {{wptData.response.data.median.firstView.browser_version}}

      <p><a href="{{wptData.response.data.summary}}">WPT summary</a> - <a href="../data/webpagetest/{{getFileName this.url}}-wpt.har">Download HAR</a></p></p>

      <div class="table-responsive">
        <table class="table table-condensed table-striped table-bordered">
          <thead>
           <tr>
            <th>View</th>
            <th>Load Time</th>
            <th>TTFB</th>
            <th>First paint</th>
            <th>Fully Loaded</th>
            <th>Last Visual Change</th>
            <th>Speed Index</th>
            <th>Visual Complete</th>
           </tr>
          </thead>
         <tbody>
             <tr>
               <td><strong>First View</strong></td>
               <td>{{wptData.response.data.median.firstView.loadTime}}</td>
               <td>{{wptData.response.data.median.firstView.TTFB}}</td>
               <td>{{wptData.response.data.median.firstView.firstPaint}}</td>
               <td>{{wptData.response.data.median.firstView.fullyLoaded}}</td>
               <td>{{wptData.response.data.median.firstView.lastVisualChange}}</td>
               <td>{{wptData.response.data.median.firstView.SpeedIndex}}</td>
               <td>{{wptData.response.data.median.firstView.visualComplete}}</td>
             </tr>
             <tr>
               <td><strong>Repeat View</strong></td>
               <td>{{wptData.response.data.median.repeatView.loadTime}}</td>
               <td>{{wptData.response.data.median.repeatView.TTFB}}</td>
               <td>{{wptData.response.data.median.repeatView.firstPaint}}</td>
               <td>{{wptData.response.data.median.repeatView.fullyLoaded}}</td>
               <td>{{wptData.response.data.median.repeatView.lastVisualChange}}</td>
               <td>{{wptData.response.data.median.repeatView.SpeedIndex}}</td>
               <td>{{wptData.response.data.median.repeatView.visualComplete}}</td>
             </tr>
         </tbody>
       </table>


      <h3>Waterfall first view</h3>

  <p>
      <img src="../data/webpagetest/{{getFileName this.url}}-waterfall.png" class="img-responsive" alt="Waterfall first view"/>
    </p>
    <p><!--TODO check that we have repatedView -->
      <h3>Waterfall repeated view</h3>
        <img src="../data/webpagetest/{{getFileName this.url}}-waterfall-repeat.png" class="img-responsive" alt="Waterfall repeated view"/>
    </p>
  </div>
</div><commit_msg>Only show WPT repeated view if there's data.<commit_after><div class="row">
  <div class="col-lg-12">
      <h2 id="wpt">WebPageTest</h2>
      <p>{{{wptData.response.data.from}}}</p> {{wptData.response.data.runs}}

      {{wptData.response.data.median.firstView.browser_name}} {{wptData.response.data.median.firstView.browser_version}}

      <p><a href="{{wptData.response.data.summary}}">WPT summary</a> - <a href="../data/webpagetest/{{getFileName this.url}}-wpt.har">Download HAR</a></p></p>

      <div class="table-responsive">
        <table class="table table-condensed table-striped table-bordered">
          <thead>
           <tr>
            <th>View</th>
            <th>Load Time</th>
            <th>TTFB</th>
            <th>First paint</th>
            <th>Fully Loaded</th>
            <th>Last Visual Change</th>
            <th>Speed Index</th>
            <th>Visual Complete</th>
           </tr>
          </thead>
         <tbody>
             <tr>
               <td><strong>First View</strong></td>
               <td>{{wptData.response.data.median.firstView.loadTime}}</td>
               <td>{{wptData.response.data.median.firstView.TTFB}}</td>
               <td>{{wptData.response.data.median.firstView.firstPaint}}</td>
               <td>{{wptData.response.data.median.firstView.fullyLoaded}}</td>
               <td>{{wptData.response.data.median.firstView.lastVisualChange}}</td>
               <td>{{wptData.response.data.median.firstView.SpeedIndex}}</td>
               <td>{{wptData.response.data.median.firstView.visualComplete}}</td>
             </tr>
             {{#if wptData.response.data.median.repeatView}}
             <tr>
               <td><strong>Repeat View</strong></td>
               <td>{{wptData.response.data.median.repeatView.loadTime}}</td>
               <td>{{wptData.response.data.median.repeatView.TTFB}}</td>
               <td>{{wptData.response.data.median.repeatView.firstPaint}}</td>
               <td>{{wptData.response.data.median.repeatView.fullyLoaded}}</td>
               <td>{{wptData.response.data.median.repeatView.lastVisualChange}}</td>
               <td>{{wptData.response.data.median.repeatView.SpeedIndex}}</td>
               <td>{{wptData.response.data.median.repeatView.visualComplete}}</td>
             </tr>
             {{/if}}
         </tbody>
       </table>


      <h3>Waterfall first view</h3>

    <p>
      <img src="../data/webpagetest/{{getFileName this.url}}-waterfall.png" class="img-responsive" alt="Waterfall first view"/>
    </p>
    {{#if wptData.response.data.median.repeatView}}
    <p>
      <h3>Waterfall repeated view</h3>
        <img src="../data/webpagetest/{{getFileName this.url}}-waterfall-repeat.png" class="img-responsive" alt="Waterfall repeated view"/>
    </p>
    {{/if}}
  </div>
</div>
{'fraction_non_alphanumeric': 0.18176855895196506, 'fraction_numerical': 0.002911208151382824, 'mean_word_length': 2.266191325014854, 'pattern_counts': {'":': 0, '<': 184, '<?xml version=': 0, '>': 184, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2728754', 'n_tokens_mistral': 1851, 'n_tokens_neox': 1715, 'n_words': 205}