<commit_before>puts "Installing jqGrid, jquery, jqueryui javascripts and stylesheets..."

FileUtils.mkdir_p(js_dir = Rails.root.join('public', 'javascripts', 'grid_widget'))
FileUtils.mkdir_p(css_dir = Rails.root.join('public', 'stylesheets', 'grid_widget'))
FileUtils.mkdir_p(img_dir = Rails.root.join('public', 'stylesheets', 'grid_widget', 'images'))

puts "Copying Javascript to " + js_dir.to_s

FileUtils.cp_r File.join(File.dirname(__FILE__), 'public', 'javascripts'), js_dir

puts "Copying Stylesheets to " + css_dir.to_s

FileUtils.cp_r File.join(File.dirname(__FILE__), 'public', 'stylesheets'), css_dir

puts "Copying Images to " + img_dir.to_s

FileUtils.cp_r File.join(File.dirname(__FILE__), 'public', 'stylesheets', 'images'), img_dir

puts "Files copied."<commit_msg>Fixing install.rb so it doesn't copy the images twice.<commit_after>puts "Installing jqGrid, jquery, jqueryui javascripts and stylesheets..."

FileUtils.mkdir_p(js_dir = Rails.root.join('public', 'javascripts', 'grid_widget'))
FileUtils.mkdir_p(css_dir = Rails.root.join('public', 'stylesheets', 'grid_widget'))

puts "Copying Javascript to " + js_dir.to_s

FileUtils.cp_r File.join(File.dirname(__FILE__), 'public', 'javascripts'), js_dir

puts "Copying Stylesheets and images to " + css_dir.to_s

FileUtils.cp_r File.join(File.dirname(__FILE__), 'public', 'stylesheets'), css_dir

puts "Files copied."
{'fraction_non_alphanumeric': 0.148014440433213, 'fraction_numerical': 0.0, 'mean_word_length': 6.830508474576271, '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': '4897124', 'n_tokens_mistral': 510, 'n_tokens_neox': 476, 'n_words': 103}