<commit_before>require_relative '../junit_sender'
desc "load Junit style xml results into test suite,FILE=results_file, PROJECT_ID=X, SUITE_ID=Y, optional SUB_SECTION=Z"
task :load_junit_results_to_test_suite do
 junit = Cukerail::JunitSender.new(ENV['FILE'])
 junit.load
 # junit.get_sections
end

desc "load Junit style xml results into test run,FILE=results_file, TESTRUN=R, PROJECT_ID=X, SUITE_ID=Y, optional SUB_SECTION=Z"
task :load_junit_results_to_test_run do
end<commit_msg>response to comments on PR<commit_after>require_relative '../junit_sender'
desc "load Junit style xml results into test suite,FILE=results_file, PROJECT_ID=X, SUITE_ID=Y, optional SUB_SECTION=Z"
task :load_junit_results_to_test_suite do
 raise 'PROJECT_ID is required' unless ENV['PROJECT_ID']
 raise 'SUITE_ID is required' unless ENV['SUITE_ID']
 raise 'SUB_SECTION is required' unless ENV['SUB_SECTION']
 raise 'FILE is required' unless ENV['FILE']
 junit = Cukerail::JunitSender.new(ENV['FILE'])
 junit.load
end

desc "load Junit style xml results into tesrun,FILE=results_file, PROJECT_ID=X, SUITE_ID=Y, optional SUB_SECTION=Z, TESTRUN=A"
task :load_junit_results_to_test_suite do
 raise 'PROJECT_ID is required' unless ENV['PROJECT_ID']
 raise 'SUITE_ID is required' unless ENV['SUITE_ID']
 raise 'SUB_SECTION is required' unless ENV['SUB_SECTION']
 raise 'TESTRUN is required' unless ENV['TESTRUN']
 raise 'FILE is required' unless ENV['FILE']
 junit = Cukerail::JunitSender.new(ENV['FILE'])
 junit.load
end
{'fraction_non_alphanumeric': 0.10227272727272728, 'fraction_numerical': 0.0, 'mean_word_length': 7.554285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1508086', 'n_tokens_mistral': 521, 'n_tokens_neox': 520, 'n_words': 140}