<commit_before># This file is managed by Puppet, any changes will be overwritten

<%- @cfg.each_pair do |key, value|
  if value.is_a?(Hash) -%>

[<%= key %>]
    <%- value.each_pair do |key, value| -%>
<%= key %> = <%= value %>
    <%- end -%>
  <%- else -%>
<%= key %> = <%= value %>
  <%- end
end -%><commit_msg>changed ini template to sort the key<commit_after># This file is managed by Puppet, any changes will be overwritten

<%- @cfg.keys.sort.each do |key|
  if @cfg[key].is_a?(Hash) -%>

[<%= key %>]
    <%- @cfg[key].keys.sort.each do |valkey| -%>
<%= valkey %> = <%= @cfg[key][valkey] %>
    <%- end -%>
  <%- else -%>
<%= key %> = <%= @cfg[key] %>
  <%- end
end -%>
{'fraction_non_alphanumeric': 0.2511078286558346, 'fraction_numerical': 0.0, 'mean_word_length': 2.9649122807017543, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '4859351', 'n_tokens_mistral': 306, 'n_tokens_neox': 274, 'n_words': 66}