<commit_before># This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

<% if auto.any? %>
auto <%= auto.join(" ") %>
<% end %>

<% mappings.each do |name, options| -%>
mapping <%= name %>
  script <%= options["script"] %>
  <% options["maps"].each do |value| -%>
  map <%= value %>
  <% end %>
<% end -%>

<% interfaces.each do |name, options| -%>
iface <%= name %> inet <%= options["method"] %>
  <% options.reject { |k, v| k == "method" }.each do |key, value| -%>
  <%= key %> <%= value %>
  <% end -%>
<% end -%><commit_msg>Better layout of rendered template.<commit_after># This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

<% if auto.any? %>
auto <%= auto.join(" ") %>
<% end %>

<% mappings.each do |name, options| %>
mapping <%= name %>
  script <%= options["script"] %>
  <% options["maps"].each do |value| -%>
  map <%= value %>
  <% end -%>
<% end %>

<% interfaces.each do |name, options| %>
iface <%= name %> inet <%= options["method"] %>
  <% options.reject { |k, v| k == "method" }.each do |key, value| -%>
  <%= key %> <%= value %>
  <% end -%>
<% end %>
{'fraction_non_alphanumeric': 0.20568927789934355, 'fraction_numerical': 0.0014587892049598833, 'mean_word_length': 3.6508474576271186, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '6506227', 'n_tokens_mistral': 514, 'n_tokens_neox': 433, 'n_words': 148}