<commit_before><!DOCTYPE html>
<html>
  <head>
    <link href="<%= cijoe_root %>/screen.css" media="screen" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="<%= cijoe_root %>/favicon.ico" type="image/x-icon" />
    <title><%= h(joe.project) %>: CI Joe</title>
  </head>
  <body>
    <div class="site">
      <div class="title">
        <a href="<%= cijoe_root %>/">CI Joe</a>
        <span class="extra">because knowing is half the battle</span>
      </div>

      <div id="home">
        <div id="refreshed_at_container">
          Last Refreshed at <span id="refreshed_at"></span>
        </div>
        
        <h1><a href="<%= joe.url %>"><%= joe.project %></a></h1>
        
        <ul class="posts">
          <% if joe.current_build %>
            <li>
              <span class="date"><%= pretty_time(joe.current_build.started_at.getlocal("-07:00")) if joe.current_build %></span> &raquo;
              <% if joe.current_build.sha %>
                Building <%= joe.current_build.branch %> at <a href="<%= joe.current_build.commit.url %>"><%= joe.current_build.short_sha %></a> <small>(pid: <%= joe.pid %>)</small>
              <% else %>
                Build starting...
              <% end %>
            </li>
          <% else %>
            <li>
              <form method="POST">
                <input type="hidden", name="rebuild" value="true">
                <input type="hidden", name="branch" value="staging">
                <input type="submit" value="Build"/>
              </form>
            </li>
          <% end %>
          
          <% if joe.last_build %>
            <li>
              <span class="date"><%= pretty_time(joe.last_build.finished_at.getlocal("-07:00")) %></span> &raquo;
              <% if joe.last_build.sha %>
                Built <%= joe.last_build.branch %> at <a href="<%= joe.last_build.commit.url %>"><%= joe.last_build.short_sha %></a>
              <% end %>
              <span class="<%= joe.last_build.status %>">(<%= joe.last_build.status %>)</span>
              <% if joe.last_build.duration %>
                in <span class="duration"><%= joe.last_build.duration %></span> seconds.
              <% end %>
            </li>
            <% if joe.last_build.failed? %>
              <li><pre class="terminal"><code><%=ansi_color_codes h(joe.last_build.output) %></code></pre></li>
            <% end %>
          <% end %>
        </ul>
      </div>

      <div class="footer">
        <div class="contact">
          <p>
            <a href="https://github.com/defunkt/cijoe#readme">Documentation</a><br/>
            <a href="https://github.com/defunkt/cijoe">Source</a><br/>
            <a href="https://github.com/defunkt/cijoe/issues">Issues</a><br/>
            <a href="https://github.com/defunkt/cijoe/tree/v<%= CIJoe::VERSION %>">v<%= CIJoe::VERSION %></a>
          </p>
        </div>
        <div class="contact">
          <p>
            Designed by <a href="http://tom.preston-werner.com/"><NAME></a><br/>
            Influenced by <a href="http://integrityapp.com/">Integrity</a><br/>
            Built with <a href="http://sinatrarb.com/">Sinatra</a><br/>
            Keep it simple, Sam.
          </p>
        </div>        
        <div class="rss">
          <a href="http://github.com/defunkt/cijoe">
            <img src="<%= cijoe_root %>/octocat.png" alt="Octocat!" />
          </a>
        </div>
      </div>
    </div>
    <script type="text/javascript">
      document.onload = refresh_page();

      function refresh_page() {
        update_refreshed_at();
        setTimeout(function() {
          location.reload(true);
        }, 60 * 1000);
      }
      
      function update_refreshed_at() {
        var now = new Date();<commit_msg>Auto refresh changed to 10 seconds.<commit_after><!DOCTYPE html>
<html>
  <head>
    <link href="<%= cijoe_root %>/screen.css" media="screen" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="<%= cijoe_root %>/favicon.ico" type="image/x-icon" />
    <title><%= h(joe.project) %>: CI Joe</title>
  </head>
  <body>
    <div class="site">
      <div class="title">
        <a href="<%= cijoe_root %>/">CI Joe</a>
        <span class="extra">because knowing is half the battle</span>
      </div>

      <div id="home">
        <div id="refreshed_at_container">
          Last Refreshed at <span id="refreshed_at"></span>
        </div>
        
        <h1><a href="<%= joe.url %>"><%= joe.project %></a></h1>
        
        <ul class="posts">
          <% if joe.current_build %>
            <li>
              <span class="date"><%= pretty_time(joe.current_build.started_at.getlocal("-07:00")) if joe.current_build %></span> &raquo;
              <% if joe.current_build.sha %>
                Building <%= joe.current_build.branch %> at <a href="<%= joe.current_build.commit.url %>"><%= joe.current_build.short_sha %></a> <small>(pid: <%= joe.pid %>)</small>
              <% else %>
                Build starting...
              <% end %>
            </li>
          <% else %>
            <li>
              <form method="POST">
                <input type="hidden", name="rebuild" value="true">
                <input type="hidden", name="branch" value="staging">
                <input type="submit" value="Build"/>
              </form>
            </li>
          <% end %>
          
          <% if joe.last_build %>
            <li>
              <span class="date"><%= pretty_time(joe.last_build.finished_at.getlocal("-07:00")) %></span> &raquo;
              <% if joe.last_build.sha %>
                Built <%= joe.last_build.branch %> at <a href="<%= joe.last_build.commit.url %>"><%= joe.last_build.short_sha %></a>
              <% end %>
              <span class="<%= joe.last_build.status %>">(<%= joe.last_build.status %>)</span>
              <% if joe.last_build.duration %>
                in <span class="duration"><%= joe.last_build.duration %></span> seconds.
              <% end %>
            </li>
            <% if joe.last_build.failed? %>
              <li><pre class="terminal"><code><%=ansi_color_codes h(joe.last_build.output) %></code></pre></li>
            <% end %>
          <% end %>
        </ul>
      </div>

      <div class="footer">
        <div class="contact">
          <p>
            <a href="https://github.com/defunkt/cijoe#readme">Documentation</a><br/>
            <a href="https://github.com/defunkt/cijoe">Source</a><br/>
            <a href="https://github.com/defunkt/cijoe/issues">Issues</a><br/>
            <a href="https://github.com/defunkt/cijoe/tree/v<%= CIJoe::VERSION %>">v<%= CIJoe::VERSION %></a>
          </p>
        </div>
        <div class="contact">
          <p>
            Designed by <a href="http://tom.preston-werner.com/"><NAME></a><br/>
            Influenced by <a href="http://integrityapp.com/">Integrity</a><br/>
            Built with <a href="http://sinatrarb.com/">Sinatra</a><br/>
            Keep it simple, Sam.
          </p>
        </div>        
        <div class="rss">
          <a href="http://github.com/defunkt/cijoe">
            <img src="<%= cijoe_root %>/octocat.png" alt="Octocat!" />
          </a>
        </div>
      </div>
    </div>
    <script type="text/javascript">
      document.onload = refresh_page();

      function refresh_page() {
        update_refreshed_at();
        setTimeout(function() {
          location.reload(true);
        }, 10 * 1000);
      }
      
      function update_refreshed_at() {
        var now = new Date();
{'fraction_non_alphanumeric': 0.19494441503440973, 'fraction_numerical': 0.004499735309687666, 'mean_word_length': 1.8506224066390042, 'pattern_counts': {'":': 0, '<': 269, '<?xml version=': 0, '>': 269, 'https://': 8, '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': '4484502', 'n_tokens_mistral': 2598, 'n_tokens_neox': 2417, 'n_words': 440}