<commit_before><div class="span10">
  <h3>Data bags</h3>

Data bag, find "certs": <pre><%= data_bag = @chef_server.data_bag.find("certs") %></pre>
Data bag items for "certs": <pre><%= chef_server.data_bag.find("certs").item.all %></pre>

All data bad item names for "certs":
<ul>
<% data_bag.item.all.each do |item| -%>
  <li><%= item[:id].to_json %></li>
<% end %>

  <ul class="nav nav-pills">
<% chef_server.data_bag.all.each do |bag| -%>
    <li><a href="#<%= bag[:name] %>" data-toggle="tab"><%= bag[:name] %></a></li>
<% end -%>
  </ul>

  <div class="tab-content">
    <ul>
<% chef_server.data_bag.all.each do |bag| -%>
      <div class="tab-pane" id="<%= bag[:name] %>">
        <li>Bag id: <% chef_server.data_bag.find(bag[:name]).item.all %></li>
      </div>
<% end -%>
    </ul>
  </div>

</div>
<commit_msg>[NFY] Data bag items snapshot.<commit_after><div class="span10">
  <h3>Data bags</h3>

Data bag, find "certs": <pre><%= data_bag = @chef_server.data_bag.find("certs") %></pre>
Data bag items for "certs": <pre><%= chef_server.data_bag.find("certs").item.all %></pre>

All data bad item names for "certs":
<ul>
<% data_bag.item.all.each do |item| -%>
  <li><%= item[:id].to_json %></li>
<% end %>

  <ul class="nav nav-pills">
<% chef_server.data_bag.all.each do |bag| -%>
    <li><a href="#<%= bag[:name] %>" data-toggle="tab"><%= bag[:name] %></a></li>
<% end -%>
  </ul>

  <div class="tab-content">
    <ul>
<% @chef_server.data_bag.all.each do |bag| -%>
      <div class="tab-pane" id="<%= bag[:name] %>">
        <p>Data bag items for <strong><%= bag[:name] %></strong>:</p>
        <ul>
<%   @chef_server.data_bag.find(bag[:name]).item.all.each do |item| %>
          <li><%= item[:id] -%></li>
<%   end -%>
        </ul>
      </div>
<% end -%>
    </ul>
  </div>

</div>

{'fraction_non_alphanumeric': 0.2675194660734149, 'fraction_numerical': 0.004449388209121246, 'mean_word_length': 3.4419753086419753, 'pattern_counts': {'":': 6, '<': 88, '<?xml version=': 0, '>': 88, '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': '83432', 'n_tokens_mistral': 785, 'n_tokens_neox': 744, 'n_words': 152}