<commit_before><h1>Completed Projects</h1>

<table class="table table-grid">
<thead>
  <tr>
      <th>Initiative Name</th>
      <th>Project Name</th>
      <th>Dates</th>
      <th>Project Length</th>
      <th>Retro?</th>
  </tr>      
<% @projects.each do |p| %>
  <tr>
    <td><%= p.initiative.name %></td>
    <td><%= link_to p.name, edit_board_project_path(@board, p) %></td>
    <td><%= short_date(p.start_date) %> → <%= short_date(p.end_date) %></td>
    <td><%= project_length(p) %> weeks</td>
    <td><%= p.retro? %></td>
<% end %>
  </tr>
</thead>
</table>



<commit_msg>order completed projects by end date, most recently finished projects show up first<commit_after><h1>Completed Projects</h1>

<table class="table table-grid">
<thead>
  <tr>
      <th>Initiative Name</th>
      <th>Project Name</th>
      <th>Dates</th>
      <th>Project Length</th>
      <th>Retro?</th>
  </tr>      
<% @projects.sort{|a,b| b.end_date <=> a.end_date}.each do |p| %>
  <tr>
    <td><%= p.initiative.name %></td>
    <td><%= link_to p.name, edit_board_project_path(@board, p) %></td>
    <td><%= short_date(p.start_date) %> → <%= short_date(p.end_date) %></td>
    <td><%= project_length(p) %> weeks</td>
    <td><%= p.retro? %></td>
<% end %>
  </tr>
</thead>
</table>




{'fraction_non_alphanumeric': 0.23547880690737832, 'fraction_numerical': 0.0031397174254317113, 'mean_word_length': 3.207920792079208, 'pattern_counts': {'":': 0, '<': 80, '<?xml version=': 0, '>': 80, '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': '7040141', 'n_tokens_mistral': 550, 'n_tokens_neox': 511, 'n_words': 102}