<commit_before>use v6;
use Panda::Common;
use Panda::Builder;
use Shell::Command;
use LibraryMake;

class Build is Panda::Builder {

  #| Call out to Ruby to figure out what compile flags we should use
  sub ruby-cc-config {
    my $rb-config-cmd = shell(q{
      ruby -rmkmf -e '
        print RbConfig::CONFIG["LIBS"]
        print " " + RbConfig::CONFIG["LIBRUBYARG_SHARED"]
        print " -Wl,-rpath," + RbConfig::CONFIG["archlibdir"]
        print " -L" + RbConfig::CONFIG["libdir"]
        print " -L" + RbConfig::CONFIG["archlibdir"]
        print " -I" + RbConfig::CONFIG["rubyarchhdrdir"]
        print " -I" + RbConfig::CONFIG["rubyhdrdir"]
      '
    }, :out);
    my $rb-config = $rb-config-cmd.out.slurp;

    $rb-config;
  }
<commit_msg>Remove Panda deps<commit_after>use v6;
use Shell::Command;
use LibraryMake;

class Build {

  #| Call out to Ruby to figure out what compile flags we should use
  sub ruby-cc-config {
    my $rb-config-cmd = shell(q{
      ruby -rmkmf -e '
        print RbConfig::CONFIG["LIBS"]
        print " " + RbConfig::CONFIG["LIBRUBYARG_SHARED"]
        print " -Wl,-rpath," + RbConfig::CONFIG["archlibdir"]
        print " -L" + RbConfig::CONFIG["libdir"]
        print " -L" + RbConfig::CONFIG["archlibdir"]
        print " -I" + RbConfig::CONFIG["rubyarchhdrdir"]
        print " -I" + RbConfig::CONFIG["rubyhdrdir"]
      '
    }, :out);
    my $rb-config = $rb-config-cmd.out.slurp;

    $rb-config;
  }

{'fraction_non_alphanumeric': 0.15691672401927048, 'fraction_numerical': 0.0013764624913971094, 'mean_word_length': 2.816272965879265, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2505738', 'n_tokens_mistral': 530, 'n_tokens_neox': 515, 'n_words': 114}