<commit_before><h1>Colony status as of <%= Time.now.strftime('%d %B, %Y') %></h1>

<p>Bats in <%= link_to 'colony', :controller => 'bats', :action => 'list' %> : <%= Bat.active.length %> </p>
<p>Bats in <%= link_to 'medical care', :controller => 'medical_problems', :action => 'list_current' %> : <%= Bat.sick.length %> </p>
<p><b>Movers and shakers</b></p>
<table>
<tr>
<td>Month</td>
<td>Left</td>
<td>Arrived</td>
</tr>
<% for n in 1..Time.now.month %>
<tr>
<td><%= Date::MONTHNAMES[n] %></td>
<td><%= Bat.left_on_month(n).length %></td>
<td><%= Bat.arrived_on_month(n).length %></td>
</tr>
<% end %>
</table><commit_msg>totals now displayed<commit_after><h1>Colony status as of <%= Time.now.strftime('%d %B, %Y') %></h1>

<p>Bats in <%= link_to 'colony', :controller => 'bats', :action => 'list' %> : <%= Bat.active.length %> </p>
<p>Bats in <%= link_to 'medical care', :controller => 'medical_problems', :action => 'list_current' %> : <%= Bat.sick.length %> </p>
<p><b>Movers and shakers</b></p>
<% total_left = 0 %>
<% total_arrived = 0 %>
<table>
<tr>
<td>Month</td>
<td>Left</td>
<td>Arrived</td>
</tr>
<% for n in 1..Time.now.month %>
<tr>
<% total_left = total_left + Bat.left_on_month(n).length %>
<% total_arrived = total_arrived + Bat.arrived_on_month(n).length %>
<td><%= Date::MONTHNAMES[n] %></td>
<td><%= Bat.left_on_month(n).length %></td>
<td><%= Bat.arrived_on_month(n).length %></td>
</tr>
<% end %>
<tr><td colspan=3><hr/></tr>
<tr>
<td>Total</td>
<td>-<%= total_left %></td>
<td>+<%= total_arrived %></td>
<td><%= total_arrived - total_left %></td>
</tr>
</table>
{'fraction_non_alphanumeric': 0.2812105926860025, 'fraction_numerical': 0.005674653215636823, 'mean_word_length': 5.1038461538461535, 'pattern_counts': {'":': 0, '<': 100, '<?xml version=': 0, '>': 108, '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': '5703615', 'n_tokens_mistral': 737, 'n_tokens_neox': 669, 'n_words': 136}