<commit_before>namespace :shifts do
  task (:import_kilroys => :environment) do
    kilroys = "<NAME>,6,BR
<NAME>,6,CC
<NAME>,6,DC
<NAME>,6,ES
<NAME>,6,JE
<NAME>,6,MC
<NAME>,6,PC
<NAME>,6,SY
<NAME>,6,SM
<NAME>,6,TD
<NAME>,6,TC
<NAME>,7,BK
<NAME>,7,BR
<NAME>,7,CC
<NAME>,7,DC
<NAME>,7,ES
<NAME>,7,MC
<NAME>,7,PC
<NAME>,7,SY
<NAME>,7,SM
<NAME>,7,TD
<NAME>,7,TC
<NAME>,1,BR
<NAME>,1,CC
<NAME>,1,DC
<NAME>,1,ES
<NAME>,1,JE
<NAME>,1,MC
<NAME>,1,PC
<NAME>,1,SY
<NAME>,1,SY
<NAME>,1,SM
<NAME>,1,TD
<NAME>,1,TC
<NAME>,1,TC"

    message = ""


    kilroys.split("\n").each do |kilroy|
      kilroy = kilroy.split(",")
      location = Location.find_by_short_name(kilroy[2])
      user = User.search(kilroy[0])
      day = kilroy[1]
      day = 0 if day == 7
      if user == nil
      	message += "#{kilroy[0]} wasn't added.\n"
      else	<commit_msg>updated kilroys<commit_after>namespace :shifts do
  task (:import_kilroys => :environment) do
    kilroys = "<NAME>,2,BK
<NAME>,2,BR
<NAME>,2,CC
<NAME>,2,DC
<NAME>,2,ES
<NAME>,2,JE
<NAME>,2,MC
<NAME>,2,PC
<NAME>,2,SY
<NAME>,2,SM
<NAME>,2,TD
<NAME>,2,TC
<NAME>,3,BK
<NAME>,3,BR
<NAME>,3,CC
<NAME>,3,DC
<NAME>,3,ES
<NAME>,3,JE
<NAME>,3,MC
<NAME>,3,PC
<NAME>,3,SY
<NAME>,3,SM
<NAME>,3,TD
<NAME>,3,TC"

    message = ""


    kilroys.split("\n").each do |kilroy|
      kilroy = kilroy.split(",")
      location = Location.find_by_short_name(kilroy[2])
      user = User.search(kilroy[0])
      day = kilroy[1]
      day = 0 if day == 7
      if user == nil
      	message += "#{kilroy[0]} wasn't added.\n"
      else	
{'fraction_non_alphanumeric': 0.23393316195372751, 'fraction_numerical': 0.04562982005141388, 'mean_word_length': 4.207357859531773, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 64, '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': '4013680', 'n_tokens_mistral': 724, 'n_tokens_neox': 702, 'n_words': 126}