<commit_before>Given /^I have the (?:yaml |csv )?file "([^\"]*)" containing:$/ do |file_name, file_contents|
  create_file(file_name, file_contents)
end

Given /^I have the file "([^\"]*)"$/ do |filename|
  Given %Q{I have the file "#{filename}" containing:}, ""
end

Given /^I have a folder "([^\"]*)"$/ do |folder_name|
  create_folder(folder_name)
end

When /^I run (.+)$/ do |command|
  run(command)
end

Then /^I should see the output$/ do |text|
  last_stdout.should == text
end

Then /^I should see in the output$/ do |string|<commit_msg>depreciate way of calling steps removed<commit_after>Given /^I have the (?:yaml |csv )?file "([^\"]*)" containing:$/ do |file_name, file_contents|
  create_file(file_name, file_contents)
end

Given /^I have the file "([^\"]*)"$/ do |filename|
  step %Q{I have the file "#{filename}" containing:}, ""
end

Given /^I have a folder "([^\"]*)"$/ do |folder_name|
  create_folder(folder_name)
end

When /^I run (.+)$/ do |command|
  run(command)
end

Then /^I should see the output$/ do |text|
  last_stdout.should == text
end

Then /^I should see in the output$/ do |string|
{'fraction_non_alphanumeric': 0.18475336322869956, 'fraction_numerical': 0.0, 'mean_word_length': 4.314285714285714, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6073947', 'n_tokens_mistral': 419, 'n_tokens_neox': 398, 'n_words': 134}