<commit_before><p id="notice"><%= notice %></p>

<%= link_to 'Edit', edit_card_activation_path(@card_activation) %> |
<%= link_to 'Back', card_activations_path %><commit_msg>now card activations show has waay more info<commit_after>


<h2>Card Activation</h2>
<table class="table">
  <thead>
    <tr>
      <th colspan="1">Last 4</th>
      <th colspan="1">Batch</th>
      <th colspan="1">Sequence</th>
      <th colspan="1">Status</th>
      <th colspan="1">Re-Run Check</th>
      <% if current_user.admin? %>
      <th colspan='1'>User</th>
      <th colspan='3'>Admin</th>
      <% end %>
    </tr>
  </thead>
  <tbody id='card-activations-large'> 
    <%= render partial: "single_card_activation",
                   locals: {card_activation: @card_activation} %>
  </tbody>
</table>
<h3>Calls</h3>

<table class="table table-striped">
  <thead>
    <tr>
      <th>ID</th>
      <th>type</th>
      <th>status</th>
      <th>twilio status</th>
      <th>created</th>
      <th>updated</th>
      <th colspan='3'>transcript</th>
    </tr>
  </thead>
  <tbody>
    <% @card_activation.calls.each do |call| %>
    <tr>
      <td><%= call.id %></td>
      <td><%= call.call_type %></td>
      <td><%= call.call_status %></td>
      <td><%= call.call&.status %></td>
      <td><%= call.created_at.to_s :short %></td>
      <td><%= call.updated_at.to_s :short %></td>
      <td colspan='3'><%= call.transcript.to_s %></td>
    </tr>
    <% end %>
  </tbody>
</table>
<%= link_to 'Edit', edit_card_activation_path(@card_activation) %> |
<%= link_to 'Back', card_activations_path %>
{'fraction_non_alphanumeric': 0.21835443037974683, 'fraction_numerical': 0.008860759493670886, 'mean_word_length': 3.0025316455696203, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 86, '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': '3211400', 'n_tokens_mistral': 641, 'n_tokens_neox': 589, 'n_words': 111}