<commit_before>#!/usr/bin/env ruby
#
system("ssh ci@whatscooking 'sudo shutdown -r now; exit'")
sleep 100
system("ssh ci@whatscooking 'curl https://raw.github.com/gist/6e7b9ed566721b738dac/c3ddbebb9ece1ac634718904428f50e9e4e52477/ci_build.sh > run.sh && chmod a+x run.sh'")
now = Time.new.to_i;
if now % 986 != 0
  # copy the cache from lilac to the target
  # to populate the cache on lilac, run the following after a *successful* run
  # rsync -avH --delete bacon:/Volumes/bacon/var/chef/cache/ /var/chef/cache/
  # rsync -avH --delete bacon:/Volumes/bacon/Users/pivotal/Library/Caches/Homebrew/ ~/Library/Caches/Homebrew/
  system("ssh ci@whatscooking 'sudo mkdir -p /var/chef/cache; sudo chown ci:admin /var/chef/cache'")
  system("rsync -avH /var/chef/cache/ ci@whatscooking:/var/chef/cache/")
  system("rsync -avH ~/Library/Caches/Homebrew ci@whatscooking:Library/Caches/")
end
system("ssh ci@whatscooking './run.sh'");<commit_msg>pre-populates cache 2/3 of the time<commit_after>#!/usr/bin/env ruby
#
system("ssh ci@whatscooking 'sudo shutdown -r now; exit'")
sleep 100
system("ssh ci@whatscooking 'curl https://raw.github.com/gist/6e7b9ed566721b738dac/c3ddbebb9ece1ac634718904428f50e9e4e52477/ci_build.sh > run.sh && chmod a+x run.sh'")
now = Time.new.to_i;
if now % 3 != 0
  # copy the cache from lilac to the target
  # to populate the cache on lilac, run the following after a *successful* run
  # rsync -acvH --delete ci@whatscooking:/var/chef/cache/ /var/chef/cache/
  # rsync -acvH --delete ci@whatscooking:/Users/ci/Library/Caches/Homebrew/ ~/Library/Caches/Homebrew/
  system("ssh ci@whatscooking 'sudo mkdir -p /var/chef/cache; sudo chown ci:admin /var/chef/cache'")
  system("rsync -avH /var/chef/cache/ ci@whatscooking:/var/chef/cache/")
  system("rsync -avH ~/Library/Caches/Homebrew ci@whatscooking:Library/Caches/")
end
system("ssh ci@whatscooking './run.sh'");
{'fraction_non_alphanumeric': 0.14976101964949548, 'fraction_numerical': 0.04567180031864047, 'mean_word_length': 4.445086705202312, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3044626', 'n_tokens_mistral': 828, 'n_tokens_neox': 755, 'n_words': 160}