<commit_before><%
  # Calls perl to get information about itself.
  # Plugin info about perl into a "perl" component via eRB below.
  perl_info = %q{"{ :version => \"%vd\", :load_path => [ %s ] }", $^V, join(", ", map("\"$_\"", @INC))}
  # puts perl_info
  perl_info = `perl -e 'printf #{perl_info}'`
  # puts perl_info
  perl_info = eval perl_info
  # pp perl_info
  perl_info[:prog] = `which perl`.chomp
  perl_info[:bin] = File.dirname(perl_info[:prog])
  # pp perl_info
 %>
cabar:
  version: '1.0'
  component:
    name: perl
    version: <%= "v#{perl_info[:version]}" %>
    base_directory: <%= File.dirname(perl_info[:bin]).inspect %>
    description: "This is perl as found at <%= perl_info[:prog] %>"
  provides:
    bin:
      abs_path: [ <%= perl_info[:bin].inspect %> ]
    lib/perl:
      abs_path: <%= perl_info[:load_path].inspect %>
<commit_msg>Support for disabling facets.<commit_after><%
  # Calls perl to get information about itself.
  # Plugin info about perl into a "perl" component via eRB below.
  perl_info = %q{"{ :version => \"%vd\", :load_path => [ %s ] }", $^V, join(", ", map("\"$_\"", @INC))}
  # puts perl_info
  perl_info = `perl -e 'printf #{perl_info}'`
  # puts perl_info
  perl_info = eval perl_info
  # pp perl_info
  perl_info[:prog] = `which perl`.chomp
  perl_info[:bin] = File.dirname(perl_info[:prog])
  # pp perl_info
 %>
cabar:
  version: '1.0'
  component:
    name: perl
    version: <%= "v#{perl_info[:version]}" %>
    base_directory: <%= File.dirname(perl_info[:bin]).inspect %>
    description: "This is perl as found at <%= perl_info[:prog] %>"
  provides:
    bin:
      abs_path: [ <%= perl_info[:bin].inspect %> ]
    lib/perl:
      abs_path: <%= perl_info[:load_path].inspect %>
    lib/ruby:
      enabled: false

{'fraction_non_alphanumeric': 0.18181818181818182, 'fraction_numerical': 0.002258610954263128, 'mean_word_length': 3.5552699228791775, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, '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': '4404044', 'n_tokens_mistral': 722, 'n_tokens_neox': 656, 'n_words': 156}