<commit_before><h2>Chores for the <%= @family.name %> Family</h2>
<div class="chore"><%= link_to "New Chore", new_chore_path(@family) %></div>

</div>
<% current_family.chores_by_due_date.each do |chore| %>
<div class="chore" data-id="<%= chore.id %>"><%= chore.name %></div>
<% end %>
<div id="chore-display">

</div>

<script id="chore-template" type="text/x-handlebars-template">
  <h2>{{ name }}</h2>
  <p>{{ notes }}</p>
  <p>This chore should be done every {{ formatFrequency }}.</p>
  <p> This chore should be completed
  {{#if last_completed }}
  by
    {{#if isOverdue }}
    <span class="overdue">{{ formatDueDate }}</span>.
    {{else}}
    {{ formatDueDate }}.
    {{/if}}
  {{else}}
  ASAP.
  {{/if}}
  </p>
  <p>
  {{#if isClaimed }}
  <p>
  CLAIMED
  </p>
  {{/if}}
  </p>

  <button onclick="createTask();">Claim Chore</button>

  {{#if tasks.length}}
  <button onclick="showTasks();">Show Tasks</button>
  <div id="tasks-display"></div>
  {{/if}}
</script>

<script id="tasks-template" type="text/x-handlebars-template">
  <table>
    <tr>
      <th>Name</th>
      <th>Due Date</th>
      <th>Completion Date</th>
      <th>Status</th><commit_msg>remove suerfluous p tag<commit_after><h2>Chores for the <%= @family.name %> Family</h2>
<div class="chore"><%= link_to "New Chore", new_chore_path(@family) %></div>

</div>
<% current_family.chores_by_due_date.each do |chore| %>
<div class="chore" data-id="<%= chore.id %>"><%= chore.name %></div>
<% end %>
<div id="chore-display">

</div>

<script id="chore-template" type="text/x-handlebars-template">
  <h2>{{ name }}</h2>
  <p>{{ notes }}</p>
  <p>This chore should be done every {{ formatFrequency }}.</p>
  <p> This chore should be completed
  {{#if last_completed }}
  by
    {{#if isOverdue }}
    <span class="overdue">{{ formatDueDate }}</span>.
    {{else}}
    {{ formatDueDate }}.
    {{/if}}
  {{else}}
  ASAP.
  {{/if}}
  </p>
  <p>
  {{#if isClaimed }}
  <p>
  CLAIMED
  </p>
  {{/if}}

  <button onclick="createTask();">Claim Chore</button>

  {{#if tasks.length}}
  <button onclick="showTasks();">Show Tasks</button>
  <div id="tasks-display"></div>
  {{/if}}
</script>

<script id="tasks-template" type="text/x-handlebars-template">
  <table>
    <tr>
      <th>Name</th>
      <th>Due Date</th>
      <th>Completion Date</th>
      <th>Status</th>
{'fraction_non_alphanumeric': 0.23446206600942993, 'fraction_numerical': 0.0034290612944706386, 'mean_word_length': 3.6126482213438735, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 98, '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': '223606', 'n_tokens_mistral': 955, 'n_tokens_neox': 900, 'n_words': 193}