<commit_before>bash "install roundup" do |s|
  s.env = { "ROUNDUP_VERSION" => "v0.0.5" }
  s.code = <<-STR.dent
    cd /usr/src
    curl -sL https://github.com/bmizerany/roundup/tarball/$ROUNDUP_VERSION | tar xvzf -
    cd bmizerany-roundup-*
    ./configure
    make && make install
  STR
  s.not_if = "test -d /usr/src/roundup"
end

file "/home/vagrant/run-tests" do |f|
  f.content = <<-STR.dent
    #!/bin/bash
    cd /tmp/config/test/acceptance/tests
    color=always sudo /usr/src/roundup/roundup
  STR
  f.mode = 0755
end<commit_msg>fix roundup path<commit_after>bash "install roundup" do |s|
  s.env = { "ROUNDUP_VERSION" => "v0.0.5" }
  s.code = <<-STR.dent
    cd /usr/src
    curl -sL https://github.com/bmizerany/roundup/tarball/$ROUNDUP_VERSION | tar xvzf -
    cd bmizerany-roundup-*
    ./configure
    make && make install
  STR
  s.not_if = "test -d /usr/src/roundup"
end

file "/home/vagrant/run-tests" do |f|
  f.content = <<-STR.dent
    #!/bin/bash
    cd /tmp/config/test/acceptance/tests
    color=always sudo /usr/local/bin/roundup
  STR
  f.mode = 0755
end
{'fraction_non_alphanumeric': 0.15541165587419056, 'fraction_numerical': 0.012950971322849213, 'mean_word_length': 2.643097643097643, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '6522337', 'n_tokens_mistral': 457, 'n_tokens_neox': 440, 'n_words': 91}