<commit_before><div class="masonry">
		<% if @notifications.empty? %>
		  <div class="box sorry">
		    <div class="inner-box">
		      There aren't any notifications for you. <br />You live alone, don't you?
		    </div>
		  </div>
		<% else %>
	<% @notifications.each do |notification| %>
		<div class="box notification">
		  <div class="inner-box">
		    <% if notification.read %>
          <%= link_to(notification_path(notification, :notification => {:read => false} ), :method => :put) do%>
		        <span id="add-button" class="x" aria-hidden="true" data-icon="&#xe603;"></span>
		      <% end %>
        <% else %>
          <%= link_to(notification_path(notification, :notification => {:read => true} ), :method => :put) do%>
		        <span id="add-button" class="x" aria-hidden="true" data-icon="&#xe603;"></span>
		      <% end %>
		    <% end %>
		    <h1><%= notification.body.html_safe %></h1>
		  </div>
      <div class="blue-box">
        <span class="left"><%= notification.created_at.strftime("%r") %></span>
        <span class="right"><%= notification.created_at.strftime("%B %e, %Y") %></span>
      </div>
		</div>
		<% end %>
	<% end %>
</div>
<commit_msg>Add indicators for read / unread status of notifications<commit_after><div class="masonry">
		<% if @notifications.empty? %>
		  <div class="box sorry">
		    <div class="inner-box">
		      There aren't any notifications for you. <br />You live alone, don't you?
		    </div>
		  </div>
		<% else %>
	<% @notifications.each do |notification| %>
		<div class="box notification">
		  <div class="inner-box">
		    <% if notification.read %>
          <%= link_to(notification_path(notification, :notification => {:read => false} ), :method => :put) do%>
            <p class="right x">read</p>
		      <% end %>
        <% else %>
          <%= link_to(notification_path(notification, :notification => {:read => true} ), :method => :put) do%>
            <p class="right x">unread</p>
		      <% end %>
		    <% end %>
		    <h1><%= notification.body.html_safe %></h1>
		  </div>
      <div class="blue-box">
        <span class="left"><%= notification.created_at.strftime("%r") %></span>
        <span class="right"><%= notification.created_at.strftime("%B %e, %Y") %></span>
      </div>
		</div>
		<% end %>
	<% end %>
</div>

{'fraction_non_alphanumeric': 0.20986585893552576, 'fraction_numerical': 0.004327131112072695, 'mean_word_length': 2.8026315789473686, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 91, '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': '6944887', 'n_tokens_mistral': 865, 'n_tokens_neox': 732, 'n_words': 169}