<commit_before>
    <tr  id="item<%=offer.id%>">
      <td>
        <%= link_to item.name, offer_path(offer)%> 
      </td>
      <td>
        <%= offer.buyer.name %>
      </td>
      <td>
        $<%= offer.offer_price %>
      </td>
      <td>
        <%= offer.comment %>
      </td>
      <td>
        <%= time_ago_in_words(offer.updated_at) %>
      </td>
      <td>
        <%= offer.status.upcase %>
      </td>
      <% if offer.status == 'accepted' || offer.status == 'rejected'%>
      <% else %>
        <td><a href="#" class="accept-button btn btn-success btn-xs" id="accept-<%=offer.id%>">ACCEPT</a></td>
        <td><a href="#" class="reject-button btn btn-danger btn-xs" id="reject-<%=offer.id%>">REJECT</a></td>
      <% end %>
    </tr>
<commit_msg>allows user to accept or reject offers from button on index page<commit_after>
    <tr  id="item<%=offer.id%>">
      <td>
        <%= link_to item.name, offer_path(offer)%> 
      </td>
      <td>
        <%= offer.buyer.name %>
      </td>
      <td>
        $<%= offer.offer_price %>
      </td>
      <td>
        <%= offer.comment %>
      </td>
      <td>
        <%= time_ago_in_words(offer.updated_at) %>
      </td>
      <td>
        <%= offer.status.upcase %>
      </td>
      <% if offer.status == 'accepted' || offer.status == 'rejected'%>
      <% else %>
        <td><a href="/offers/<%= offer.id %>/accepted" class="accept-button btn btn-success btn-xs" id="accept-<%=offer.id%>">ACCEPT</a></td>
        <td><a href="/offers/<%= offer.id %>/rejected" class="reject-button btn btn-danger btn-xs" id="reject-<%=offer.id%>">REJECT</a></td>
      <% end %>
    </tr>

{'fraction_non_alphanumeric': 0.2222222222222222, 'fraction_numerical': 0.0, 'mean_word_length': 2.0294117647058822, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '3419657', 'n_tokens_mistral': 663, 'n_tokens_neox': 603, 'n_words': 105}