<commit_before><div class="maincontent">
  <%= render :partial => "layouts/flash_msg" %>
  <dl class="col2">
    <dd>
      <%# if ["props", "devices"].include?(@display) %>
      <% if @display == "devices" %>
        <table class="style3">
          <thead>
            <tr><th colspan="2" align="left">Devices</th></tr>
          </thead>
          <% unless @devices.empty? %>
            <% @devices.each do |item| %>
              <tr class="<%=cycle('row0','row1',:name=>'rel')%>">
                <td class="label"><%= h(item[:device]) %></td>
                <td><img src="/images/icons/new/hardware-<%= item[:icon].downcase%>.png" ><%= h(item[:description]) %></td>
              </tr>
            <% end %>
          <% end %>
        </table>
      <% end %>
      <%# if ["props", "os_info"].include?(@display) %>
      <% if @display == "os_info" %>
        <% if @osinfo %>
          <table class="style3">
            <thead>
              <tr><th colspan="2" align="left">OS Information</th></tr>
            </thead>
            <% @osinfo.each do |item| %>
              <tr class="<%=cycle('row0','row1',:name=>'rel')%>">
                <td class="label"><%= h(item[:osinfo]) %></td>
                <td><%= h(item[:description]) %></td>
              </tr>
            <% end %>
            <tr class="<%= cycle('row0', 'row1') %>">
              <td class="label">Hostname</td>
              <td><%= h(@host.hostname) %></td>
            </tr>
            <tr class="<%= cycle('row0', 'row1') %>">
              <td class="label">IP Address</td>
              <td><%= h(@host.ipaddress) %></td>
            </tr>
          </table>
        <% end %>
      <% end %>
      <%# if ["props", "hv_info"].include?(@display) %>
      <% if @display == "hv_info" %>
        <% if @vmminfo %>
          <table class="style3">
            <thead>
              <tr><th colspan="2" align="left">OS Information</th></tr>
            </thead>
            <% @vmminfo.each do |item| %>
              <tr class="<%= cycle('row0', 'row1') %>">
                <td  class="label"><%= h(item[:vmminfo]) %></td>
                <td><%= h(item[:description]) %></td>
              </tr>
            <% end %>
          </table>
          <% end %>
        <% end %>
      <% if @display == "network" %><commit_msg>Added missing no-hover class to OS, VMM and Device info pages.<commit_after><div class="maincontent">
  <%= render :partial => "layouts/flash_msg" %>
  <dl class="col2">
    <dd>
      <%# if ["props", "devices"].include?(@display) %>
      <% if @display == "devices" %>
        <table class="style3">
          <thead>
            <tr><th colspan="2" align="left">Devices</th></tr>
          </thead>
          <% unless @devices.empty? %>
            <% @devices.each do |item| %>
              <tr class="<%=cycle('row0 no-hover','row1 no-hover',:name=>'rel')%>">
                <td class="label"><%= h(item[:device]) %></td>
                <td><img src="/images/icons/new/hardware-<%= item[:icon].downcase%>.png" ><%= h(item[:description]) %></td>
              </tr>
            <% end %>
          <% end %>
        </table>
      <% end %>
      <%# if ["props", "os_info"].include?(@display) %>
      <% if @display == "os_info" %>
        <% if @osinfo %>
          <table class="style3">
            <thead>
              <tr><th colspan="2" align="left">OS Information</th></tr>
            </thead>
            <% @osinfo.each do |item| %>
              <tr class="<%=cycle('row0 no-hover','row1 no-hover',:name=>'rel')%>">
                <td class="label"><%= h(item[:osinfo]) %></td>
                <td><%= h(item[:description]) %></td>
              </tr>
            <% end %>
            <tr class="<%= cycle('row0 no-hover', 'row1 no-hover') %>">
              <td class="label">Hostname</td>
              <td><%= h(@host.hostname) %></td>
            </tr>
            <tr class="<%= cycle('row0 no-hover', 'row1 no-hover') %>">
              <td class="label">IP Address</td>
              <td><%= h(@host.ipaddress) %></td>
            </tr>
          </table>
        <% end %>
      <% end %>
      <%# if ["props", "hv_info"].include?(@display) %>
      <% if @display == "hv_info" %>
        <% if @vmminfo %>
          <table class="style3">
            <thead>
              <tr><th colspan="2" align="left">OS Information</th></tr>
            </thead>
            <% @vmminfo.each do |item| %>
              <tr class="<%= cycle('row0 no-hover', 'row1 no-hover') %>">
                <td  class="label"><%= h(item[:vmminfo]) %></td>
                <td><%= h(item[:description]) %></td>
              </tr>
            <% end %>
          </table>
          <% end %>
        <% end %>
      <% if @display == "network" %>
{'fraction_non_alphanumeric': 0.23392670157068063, 'fraction_numerical': 0.0071204188481675396, 'mean_word_length': 1.672635702294348, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 0, '>': 199, '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': '6067357', 'n_tokens_mistral': 1644, 'n_tokens_neox': 1490, 'n_words': 288}