<commit_before><% if database_instance_counter != 0 %><tr><% end %>
<td class="database-ip center">
  <%= database_instance.listen_address %>
</td>
<td class="database-port center">
  <%= database_instance.listen_port %>
</td>
<td class="database-instance center">
  <abbr title="<%= database_instance.host_alias %>"><%= database_instance.name %></abbr>
  <%= content_tag(:p, database_instance.version, class: 'info') if database_instance.version.present? %>
  <%= link_to_delete database_instance, destroy_instance_database_path(:id => database_instance.database,
                                                                       :instance_id => database_instance) %>
</td>
<td>
  <% if database_instance.present? %>
  <% if databases_view_mode == "normal" %>
  <span class="databases-summary">
    <%= databases_summary(database_instance.databases) %>
  </span>
  <% elsif databases_view_mode == "detailed" %>
  <ul class="databases-details">
  <% database_instance.databases.keys.sort.each do |db| %>
    <% size = database_instance.databases[db] %>
    <li><%= db %><span style="float:right; padding-left:1em"><%= display_size(size) %></span></li>
  <% end %>
    <% if database_instance.databases.any? %>
      <li class="total-size">
        <%= t(:total) %><span style="float:right; padding-left:1em"><%= display_size(database_instance.databases.values.sum) %></span>
      </li>
    <% else %>
      <li><%= t(:information_not_available) %></li>
    <% end %>
  </ul>
  <% end %>
  <% end %>
</td>
<% if database_instance_counter != 0 %></tr><% end %>
<commit_msg>Opacify action links to destroy a database instance<commit_after><% if database_instance_counter != 0 %><tr><% end %>
<td class="database-ip center">
  <%= database_instance.listen_address %>
</td>
<td class="database-port center">
  <%= database_instance.listen_port %>
</td>
<td class="database-instance center has-opaques">
  <abbr title="<%= database_instance.host_alias %>"><%= database_instance.name %></abbr>
  <%= content_tag(:p, database_instance.version, class: 'info') if database_instance.version.present? %>
  <div class="opaque">
    <%= action_links do %>
      <%= link_to_delete database_instance, destroy_instance_database_path(:id => database_instance.database,
                                                                           :instance_id => database_instance) %>
    <% end %>
  </div>
</td>
<td>
  <% if database_instance.present? %>
  <% if databases_view_mode == "normal" %>
  <span class="databases-summary">
    <%= databases_summary(database_instance.databases) %>
  </span>
  <% elsif databases_view_mode == "detailed" %>
  <ul class="databases-details">
  <% database_instance.databases.keys.sort.each do |db| %>
    <% size = database_instance.databases[db] %>
    <li><%= db %><span style="float:right; padding-left:1em"><%= display_size(size) %></span></li>
  <% end %>
    <% if database_instance.databases.any? %>
      <li class="total-size">
        <%= t(:total) %><span style="float:right; padding-left:1em"><%= display_size(database_instance.databases.values.sum) %></span>
      </li>
    <% else %>
      <li><%= t(:information_not_available) %></li>
    <% end %>
  </ul>
  <% end %>
  <% end %>
</td>
<% if database_instance_counter != 0 %></tr><% end %>

{'fraction_non_alphanumeric': 0.18751902587519026, 'fraction_numerical': 0.0024353120243531205, 'mean_word_length': 3.7144906743185078, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3862717', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1027, 'n_words': 194}