<commit_before>require 'test/unit'
require File.expand_path(File.dirname(__FILE__) + "/test_helper")
require File.expand_path(File.dirname(__FILE__) + "/leprechaun")

class CachedValuesTest < Test::Unit::TestCase
  
  def setup
    @mc_nairn = Leprechaun.find(:first)
    @mc_nairn.favorite_color_in_rot_13.clear
    @mc_nairn.favorite_color_turned_uppercase.clear
    @mc_nairn.id_of_first_leprechaun_with_same_favorite_color.clear
    @mc_nairn.favorite_color_in_rot_13_without_cache.clear<commit_msg>fixing paths<commit_after>require 'test/unit'
require File.expand_path(File.dirname(__FILE__) + "/../test_helper")

class CachedValuesTest < Test::Unit::TestCase
  
  def setup
    @mc_nairn = Leprechaun.find(:first)
    @mc_nairn.favorite_color_in_rot_13.clear
    @mc_nairn.favorite_color_turned_uppercase.clear
    @mc_nairn.id_of_first_leprechaun_with_same_favorite_color.clear
    @mc_nairn.favorite_color_in_rot_13_without_cache.clear
{'fraction_non_alphanumeric': 0.09650053022269353, 'fraction_numerical': 0.008483563096500531, 'mean_word_length': 6.492063492063492, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1653150', 'n_tokens_mistral': 367, 'n_tokens_neox': 360, 'n_words': 35}