<commit_before><div class="row">

  <div class="col-md-6"> 
    <h1>Goals</h1>

    <table class="table table-striped">
      <thead>
        <tr>
          <th>Description</th>
          <th>Time frame</th>
          <th>Complete</th>
          <th colspan="3"></th>
        </tr>
      </thead>

      <tbody>
        <% @goals.each do |goal| %>
          <tr>
            <td><%= goal.description %></td>
            <td><%= goal.time_frame %></td>
            <td><%= goal.complete %></td>
            <td><%= link_to 'Show', goal %></td>
            <td><%= link_to 'Edit', edit_goal_path(goal) %></td>
            <td><%= link_to 'Destroy', goal, method: :delete, data: { confirm: 'Are you sure?' } %></td>
          </tr><commit_msg>adds completion logic to goal table<commit_after><div class="row">

  <div class="col-md-6"> 
    <h1>Goals</h1>

    <table class="table table-striped">
      <thead>
        <tr>
          <th>Description</th>
          <th>Time frame</th>
          <th>Complete</th>
          <th colspan="3"></th>
        </tr>
      </thead>

      <tbody>
        <% @goals.each do |goal| %>
          <tr>
            <% if goal.complete != true %> 
            <td><%= goal.description %></td>
            <td><%= goal.time_frame %></td>
            <td><%= goal.complete %></td>
            <td><%= link_to 'Show', goal %></td>
            <td><%= link_to 'Edit', edit_goal_path(goal) %></td>
            <td><%= link_to 'Destroy', goal, method: :delete, data: { confirm: 'Are you sure?' } %></td>
          </tr>
          <% end %> 
{'fraction_non_alphanumeric': 0.209955328653478, 'fraction_numerical': 0.005105296745373325, 'mean_word_length': 1.7317073170731707, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '2464533', 'n_tokens_mistral': 565, 'n_tokens_neox': 523, 'n_words': 118}