<commit_before><thead>
  <th>Year</th>
  <th>Regulation</th>
  <th>Country or Territory</th>
  <th>Type</th>
  <th>Term</th>
  <th>Source</th>
  <th>Notes</th>
  <th>Internal notes</th>
  <th>Current</th>
  <th>Actions</th>
  <th>Info</th>
</thead>
<tbody>
  <% collection.each do |opinion| -%>
    <tr class="<%= if opinion.is_current? then "current_listing" end %>">
      <td><%= opinion.year %></td>
      <td><%= opinion.start_event.name %></td>
      <td><%= opinion.geo_entity && opinion.geo_entity.name_en %></td>
      <td>
        <%= opinion.eu_decision_type.name %>
        <%= '(' + opinion.eu_decision_type.tooltip + ')' if opinion.
          eu_decision_type.tooltip.present? %>
      </td>
      <td><%= opinion.term && opinion.term.code %></td>
      <td><%= opinion.source && opinion.source.code %></td>
      <td><%= opinion.notes %></td>
      <td><%= opinion.internal_notes %></td>
      <td><%= true_false_icon(opinion.is_current) %></td>
      <td>
        <%= link_to edit_icon,
          edit_admin_taxon_concept_eu_opinion_path(@taxon_concept, opinion)
        %>
        <%= link_to delete_icon,
          admin_taxon_concept_eu_opinion_path(@taxon_concept, opinion),
          :confirm => "Warning: you are about to delete data. Are you sure?", :method => :delete
        %>
      </td>
      <td><%= tracking_info(opinion) %></td>
    </tr>
  <% end -%>
</tbody>

<commit_msg>display internal note as a bubble in opinions list<commit_after><thead>
  <th>Year</th>
  <th>Regulation</th>
  <th>Country or Territory</th>
  <th>Type</th>
  <th>Term</th>
  <th>Source</th>
  <th>Notes</th>
  <th>Current</th>
  <th>Actions</th>
  <th>Info</th>
</thead>
<tbody>
  <% collection.each do |opinion| -%>
    <tr class="<%= if opinion.is_current? then "current_listing" end %>">
      <td><%= opinion.year %></td>
      <td><%= opinion.start_event.name %></td>
      <td><%= opinion.geo_entity && opinion.geo_entity.name_en %></td>
      <td>
        <%= opinion.eu_decision_type.name %>
        <%= '(' + opinion.eu_decision_type.tooltip + ')' if opinion.
          eu_decision_type.tooltip.present? %>
      </td>
      <td><%= opinion.term && opinion.term.code %></td>
      <td><%= opinion.source && opinion.source.code %></td>
      <td><%= opinion.notes %></td>
      <td><%= true_false_icon(opinion.is_current) %></td>
      <td>
        <%= link_to edit_icon,
          edit_admin_taxon_concept_eu_opinion_path(@taxon_concept, opinion)
        %>
        <%= link_to delete_icon,
          admin_taxon_concept_eu_opinion_path(@taxon_concept, opinion),
          :confirm => "Warning: you are about to delete data. Are you sure?", :method => :delete
        %>
      </td>
      <td>
        <%= tracking_info(opinion) %>
        <%= internal_notes(opinion) %>
      </td>
    </tr>
  <% end -%>
</tbody>


{'fraction_non_alphanumeric': 0.1967502649240551, 'fraction_numerical': 0.0, 'mean_word_length': 2.776, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 135, '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': '4030596', 'n_tokens_mistral': 1096, 'n_tokens_neox': 1006, 'n_words': 184}