<commit_before><% if current_user.addresses.present? %>
<h3><%= Spree::Address.model_name.human(:count => 2) %></h3>
<table id="user_addresses">
  <thead>
    <tr>
      <th><%= Spree::Address.model_name.human %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
  <% current_user.addresses.each do |address| %>
    <tr class="<%= cycle('even', 'odd') %>">
      <td><%= address %></td>
      <td>
        <%= link_to t(:edit), edit_address_path(address) %>&nbsp;
        <%= link_to t(:remove), address_path(address), :method => :delete, :confirm => t(:are_you_sure) %>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>
<% end %><commit_msg>not showing billing addresses in list of editable addresses<commit_after><% if current_user.addresses.present? %>
<h3><%= Spree::Address.model_name.human(:count => 2) %></h3>
<table id="user_addresses">
  <thead>
    <tr>
      <th><%= Spree::Address.model_name.human %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
  <% 
    bill_addrs = @cards.all.map(&:address_id)
    addresses = current_user.addresses.reject { |a| bill_addrs.include?(a.id) }
  %>
  <% addresses.each do |address| %>
    <tr class="<%= cycle('even', 'odd') %>">
      <td><%= address %></td>
      <td>
        <%= link_to t(:edit), edit_address_path(address) %>&nbsp;
        <%= link_to t(:remove), address_path(address), :method => :delete, :confirm => t(:are_you_sure) %>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>
<% end %>
{'fraction_non_alphanumeric': 0.23124147339699863, 'fraction_numerical': 0.004092769440654843, 'mean_word_length': 3.302052785923754, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 70, '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': '3420770', 'n_tokens_mistral': 583, 'n_tokens_neox': 546, 'n_words': 106}