<commit_before><div class="row">
  <div class="span6">

    <form action="/notifications/read" method='POST' style="float: right; margin: 18px 120px 0 0;">
      <div>
        <button type="submit" class="btn btn-danger" name="mark-all-read">Mark all as read</button>
      </div>
    </form>

    <h2>Notifications (<%= inbox.notifications.count %>)</h2>

    <p><a href="/looks">Recently viewed submissions.</a></p>

    <ul style="list-style-type: none; margin: 0;">
      <% inbox.notifications.each do |notification| %>
      <li style="padding: 5px 0;">

        <% if notification.regarding == 'code' %>
          <span style="padding-right: 5px;" class="icon-code"></span>
        <% else %>
          <span style="padding-right: 5px;" class="icon-comment-alt"></span>
        <% end %>

        <a href="/submissions/<%= notification.item.key %>">
          <%= notification.language %>:
          <%= notification.slug %> &middot;
          <%= notification.item.user.username %>
        </a>

        <br>

        <p style="padding-left: 24px;">
        <% if notification.regarding == 'code' %>
          New iteration
        <% else %>
          <b><%= notification.creator.username %></b> commented
        <% end %>
        about <%= ago(notification.created_at) %>
        </p>
      </li>
      <% end %>
    </ul>
  </div>

  <div class="span4">
    <% if inbox.has_alerts? %>
      <h2>Alerts</h2>
      <ul style="list-style-type: none; margin: 0;">
        <% inbox.alerts.each do |alert| %>
        <li>
          <form action="/notifications/alert-<%= alert.id %>" method='POST' style="float: right; padding-left: 10px;">
            <input type="hidden" name="_method" value="delete">
            <div>
              <button type="submit" class="btn btn-danger" name="delete">x</button>
            </div><commit_msg>Fix padding on alerts<commit_after><div class="row">
  <div class="span6">

    <form action="/notifications/read" method='POST' style="float: right; margin: 18px 120px 0 0;">
      <div>
        <button type="submit" class="btn btn-danger" name="mark-all-read">Mark all as read</button>
      </div>
    </form>

    <h2>Notifications (<%= inbox.notifications.count %>)</h2>

    <p><a href="/looks">Recently viewed submissions.</a></p>

    <ul style="list-style-type: none; margin: 0;">
      <% inbox.notifications.each do |notification| %>
      <li style="padding: 5px 0;">

        <% if notification.regarding == 'code' %>
          <span style="padding-right: 5px;" class="icon-code"></span>
        <% else %>
          <span style="padding-right: 5px;" class="icon-comment-alt"></span>
        <% end %>

        <a href="/submissions/<%= notification.item.key %>">
          <%= notification.language %>:
          <%= notification.slug %> &middot;
          <%= notification.item.user.username %>
        </a>

        <br>

        <p style="padding-left: 24px;">
        <% if notification.regarding == 'code' %>
          New iteration
        <% else %>
          <b><%= notification.creator.username %></b> commented
        <% end %>
        about <%= ago(notification.created_at) %>
        </p>
      </li>
      <% end %>
    </ul>
  </div>

  <div class="span4">
    <% if inbox.has_alerts? %>
      <h2>Alerts</h2>
      <ul style="list-style-type: none; margin: 0;">
        <% inbox.alerts.each do |alert| %>
        <li style="padding: 5px 0;">
          <form action="/notifications/alert-<%= alert.id %>" method='POST' style="float: right; padding-left: 10px;">
            <input type="hidden" name="_method" value="delete">
            <div>
              <button type="submit" class="btn btn-danger" name="delete">x</button>
            </div>
{'fraction_non_alphanumeric': 0.19176976869284562, 'fraction_numerical': 0.012910166756320602, 'mean_word_length': 2.33542600896861, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '6703441', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1129, 'n_words': 245}