<commit_before>#!/usr/bin/env ruby

require 'csv'

file = CSV.read("courses.csv")

system("mkdir syllabi")

file.each do |row|
    if (row[15])
#        print row[2] + ': ' + row[5] + "\n"
        system("wget -nc -O syllabi/" + row[15] + " https://peak.d.umn.edu/ieo/upload/" + row[15])
    end
end<commit_msg>added quotes to syllabi fetcher<commit_after>#!/usr/bin/env ruby

require 'csv'

file = CSV.read("courses.csv")

system("mkdir syllabi")

file.each do |row|
    if (row[15])
#        print row[2] + ': ' + row[5] + "\n"
        system("wget -nc -O \"syllabi/" + row[15] + "\" \"https://peak.d.umn.edu/ieo/upload/" + row[15] + "\"")
    end
end
{'fraction_non_alphanumeric': 0.222052067381317, 'fraction_numerical': 0.02450229709035222, 'mean_word_length': 2.7803468208092488, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '730310', 'n_tokens_mistral': 287, 'n_tokens_neox': 264, 'n_words': 55}