<commit_before>When(/^the monitor is watching "(.*?)"$/) do |directory|
  Philbot.run "tmp/aruba/%s" % directory
end

Then(/^the upload of file "(.*?)" should be queued$/) do |filename|
  Resque.should_receive(:enqueue)#.with(Philbot::Uploader, filename).once
end

When(/^I wait for the monitor to notice$/) do
  sleep 1
end<commit_msg>Correct aruba tmp path<commit_after>When(/^the monitor is watching "(.*?)"$/) do |directory|
  Philbot.run aruba_tmp + '/' + directory
end

Then(/^the upload of file "(.*?)" should be queued$/) do |filename|
  Resque.should_receive(:enqueue).with(Philbot::Uploader, [File.expand_path(aruba_tmp + '/' + filename)]).once
end

When(/^I wait for the monitor to notice$/) do
  sleep 1
end
{'fraction_non_alphanumeric': 0.17246175243393602, 'fraction_numerical': 0.0027816411682892906, 'mean_word_length': 4.76, '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': '5384131', 'n_tokens_mistral': 251, 'n_tokens_neox': 244, 'n_words': 69}