<commit_before><!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Vending Machine</title>
  <link rel="stylesheet" href="style.css" type="text/css" />
  <meta http-equiv="refresh" content="30" />
</head>
<body>
  <img src="vm.png" />

  <p>This software controls the Vending Machine.</p>

  <p>It is programmed to continually scan the headlines on the BBC News RSS Feed, looking for terms relating to the recession.</p>

  <p>As soon as a search term appears, then Vending Machine is commanded to release a packet of crisps. Visitors to the exhibition may take these crisps free of charge.</p>

  <h2>BBC News RSS feed recent headlines:</h2>

  <% if @headlines.nil? %>
    <p>No news to display (yet) </p>
  <% else %>
    <ul>
      <% @headlines.each do |h| %>
        <li class="<%= h[:triggered] === true ? 'triggered' : 'normal' %>"><span class="timestamp"><%= h[:timestamp].strftime("%a %e %b %H:%M:%S") + " " + Time.now.zone %></span><a href="<%= h[:url] %>"><%= h[:headline] %></a></li>
      <% end %>
    </ul>
  <% end %>

</body>
</html>
<commit_msg>Tweak linebreaks<commit_after><!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Vending Machine</title>
  <link rel="stylesheet" href="style.css" type="text/css" />
  <meta http-equiv="refresh" content="30" />
</head>
<body>
  <img src="vm.png" />

  <p>This software controls the Vending Machine.</p>

  <p>
    It is programmed to continually scan the headlines on the BBC News RSS feed,<br />
    looking for search terms relating to the recession.
  </p>

  <p>
    As soon as a search term appears, the Vending Machine is commanded to<br />
    release a packet of crisps. Visitors to the exhibition may take these crisps<br />
    free of charge.
  </p>

  <h2>BBC News RSS feed recent headlines:</h2>

  <% if @headlines.nil? %>
    <p>No news to display (yet) </p>
  <% else %>
    <ul>
      <% @headlines.each do |h| %>
        <li class="<%= h[:triggered] === true ? 'triggered' : 'normal' %>"><span class="timestamp"><%= h[:timestamp].strftime("%a %e %b %H:%M:%S") + " " + Time.now.zone %></span><a href="<%= h[:url] %>"><%= h[:headline] %></a></li>
      <% end %>
    </ul>
  <% end %>

</body>
</html>

{'fraction_non_alphanumeric': 0.1979301423027167, 'fraction_numerical': 0.004312203536006899, 'mean_word_length': 3.5224171539961016, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 88, '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': '7277587', 'n_tokens_mistral': 864, 'n_tokens_neox': 796, 'n_words': 246}