<commit_before><h1>Summary page for <%= @user.name %></h1>

<h2>Cages</h2>
<p>
<blockquote>
<% if @mycages.length == 0 %> 
You have no cages
<% else %>
<div id= "my_cages">
<% @div_id = "my_cages" %>
<%= render :partial => 'cages/cage_list', :locals => {:cage_list => @mycages} %>
</div>
<% end %>
</blockquote>
</p>

<h2>Current Medical Problems</h2>
<p>
<blockquote>
<% if @mymedicalproblems.length == 0 %>
You are responsible for no medical problems.
<% else %>
<table>
<th>Bat</th>
<th>Medical Problem</th>
<th>User</th>
<th>Date Opened</th>
<% if @list_all %>
<th>Date Closed</th>
<% end %>
<th></th><th></th>
<th>Treatment</th>
<% @show_bat = true %>
<% for problem in @mymedicalproblems %>
<% @bat = problem.bat %>
<%= render :partial => 'medical_problems/medical_problem_for_bat', :locals => {:medical_problem_for_bat => problem} %>
<% end %>
</table>
<% end %>
</blockquote>
</p>

<h2>Tasks</h2>
<blockquote>

  <h3>Feeding Tasks</h3>
  <p>
  <blockquote>
  <% if @my_feeding_tasks.length == 0 %>
    You have no cage feeding tasks.
  <% else %>
  <%= render :partial => 'tasks/tasks_list', :locals => {:tasks_list => nil, :tasks => @my_feeding_tasks} %>
  <% end %>
  </blockquote>
  </p>

  <h3>Weighing Tasks</h3>
  <p>
  <blockquote>
  <% if @my_weighing_tasks.length == 0 %>
    You have no cage weighing tasks.
  <% else %>
  <%= render :partial => 'tasks/tasks_list', :locals => {:tasks_list => nil, :tasks => @my_weighing_tasks} %>
  <% end %>
  </blockquote>
  </p>

  <h3>General Tasks</h3>
  <p>
  <blockquote>
  <% if @my_general_tasks.length == 0 %>
    You have no general tasks.
  <% else %>
  <%= render :partial => 'tasks/tasks_list', :locals => {:tasks_list => nil, 'tasks' => @my_general_tasks} %>
  <% end %>
  </blockquote>
  </p><commit_msg>render_partial => render :partial<commit_after><h1>Summary page for <%= @user.name %></h1>

<h2>Cages</h2>
<p>
<blockquote>
<% if @mycages.length == 0 %> 
You have no cages
<% else %>
<div id= "my_cages">
<% @div_id = "my_cages" %>
<%= render :partial => 'cages/cage_list', :locals => {:cage_list => @mycages} %>
</div>
<% end %>
</blockquote>
</p>

<h2>Current Medical Problems</h2>
<p>
<blockquote>
<% if @mymedicalproblems.length == 0 %>
You are responsible for no medical problems.
<% else %>
<table>
<th>Bat</th>
<th>Medical Problem</th>
<th>User</th>
<th>Date Opened</th>
<% if @list_all %>
<th>Date Closed</th>
<% end %>
<th></th><th></th>
<th>Treatment</th>
<% @show_bat = true %>
<% for problem in @mymedicalproblems %>
<% @bat = problem.bat %>
<%= render :partial => 'medical_problems/medical_problem_for_bat', :locals => {:medical_problem_for_bat => problem} %>
<% end %>
</table>
<% end %>
</blockquote>
</p>

<h2>Tasks</h2>
<blockquote>

  <h3>Feeding Tasks</h3>
  <p>
  <blockquote>
  <% if @my_feeding_tasks.length == 0 %>
    You have no cage feeding tasks.
  <% else %>
  <%= render :partial => 'tasks/tasks_list', :locals => {:tasks_list => nil, :tasks => @my_feeding_tasks} %>
  <% end %>
  </blockquote>
  </p>

  <h3>Weighing Tasks</h3>
  <p>
  <blockquote>
  <% if @my_weighing_tasks.length == 0 %>
    You have no cage weighing tasks.
  <% else %>
  <%= render :partial => 'tasks/tasks_list', :locals => {:tasks_list => nil, :tasks => @my_weighing_tasks} %>
  <% end %>
  </blockquote>
  </p>

  <h3>General Tasks</h3>
  <p>
  <blockquote>
  <% if @my_general_tasks.length == 0 %>
    You have no general tasks.
  <% else %>
  <%= render :partial => 'tasks/tasks_list', :locals => {:tasks_list => nil, :tasks => @my_general_tasks} %>
  <% end %>
  </blockquote>
  </p>
{'fraction_non_alphanumeric': 0.2194779680044906, 'fraction_numerical': 0.010665169800729722, 'mean_word_length': 4.033898305084746, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 206, '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': '5834', 'n_tokens_mistral': 1579, 'n_tokens_neox': 1404, 'n_words': 313}