<commit_before>module UserHelper

  def vaccinate?(user)
  	return "No" if user.vaccinate == nil
  	user.vaccinate ? "Yes" : "No"
  end


  def format_music_choices(user)
    user.music ?  user.music.join(", ") : "None"
  end

end<commit_msg>start on helper to display age<commit_after>module UserHelper

  def vaccinate?(user)
  	return "No" if user.vaccinate == nil
  	user.vaccinate ? "Yes" : "No"
  end


  def format_music_choices(user)
    user.music ?  user.music.join(", ") : "None"
  end

  def age(t)
  dob = self.date_of_birth
  months = (t.year * 12 + t.month) - (dob.year * 12 + dob.month)
  readable_age(months / 12, 15 % 12)
end
end
{'fraction_non_alphanumeric': 0.13446676970633695, 'fraction_numerical': 0.015455950540958269, 'mean_word_length': 3.263157894736842, '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': '3797522', 'n_tokens_mistral': 273, 'n_tokens_neox': 246, 'n_words': 60}