<commit_before>class EnjuQuestion::SetupGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  def setup
    rake("enju_question_engine:install:migrations")
    inject_into_file 'app/models/user.rb',
      "  enju_question_user_model\n", :after => "enju_leaf_user_model\n"
    inject_into_class 'app/models/manifestation.rb', Manifestation,
      "  enju_question_manifestation_model\n"
    inject_into_class 'app/models/item.rb', Item,
      "  enju_question_item_model\n"
  end
end
<commit_msg>updated generator<commit_after>class EnjuQuestion::SetupGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  def setup
    rake("enju_question_engine:install:migrations")
    inject_into_file 'app/models/user.rb',
      "  enju_question_user_model\n", :after => "enju_leaf_user_model\n"
  end
end

{'fraction_non_alphanumeric': 0.11630558722919042, 'fraction_numerical': 0.0, 'mean_word_length': 5.183098591549296, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4436594', 'n_tokens_mistral': 302, 'n_tokens_neox': 295, 'n_words': 41}