<commit_before>facter:
<%-
scope.compiler.topscope.to_hash.reject do |k,v|
  k.to_s =~ /(uptime.*|last_run|timestamp|(memory|swap)free|ssh*)/ or ! v.is_a?(String)
end.sort.each do |fact| -%>
  <%= fact[0] -%>: 
    - <%= fact[1].to_s %>
<% end %><commit_msg>this isn't going to work..<commit_after>facter:
<%-
scope.compiler.topscope.to_hash.reject do |k,v|
  k.to_s =~ /(uptime.*|last_run|timestamp|(memory|swap)free|ssh*)/ or ! v.is_a?(String)
end.sort.each do |fact| -%>
  <%= fact[0] -%>: 
    - <%= fact[1].to_s %>
<% end %>

<%-
 scope.compiler.topscope.to_hash.reject do |k,v|
   k.to_s =~ /(uptime.*|last_run|timestamp|(memory|swap)free|ssh*)/ or ! v.is_a?(String)
 end.sort.each do |fact| -%>
  <%= fact.to_yaml %>
<% end %>
{'fraction_non_alphanumeric': 0.24829467939972716, 'fraction_numerical': 0.005457025920873124, 'mean_word_length': 3.993197278911565, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '5246687', 'n_tokens_mistral': 350, 'n_tokens_neox': 328, 'n_words': 44}