<commit_before>module Quizzy
  class Response < ActiveRecord::Base
    belongs_to :question, class_name: Quizzy::Response
    has_and_belongs_to_many :choices, class_name: Quizzy::Choices
    validates :question, presence: true
    validates_uniqueness_of :question_id, scope: :quiz_response_id

    def good?
      choices == question.good_choices
    end

    def many_good?
      (question.good_choices & choices).size == choices.size<commit_msg>fix wrong class_name in Quizzy::Response<commit_after>module Quizzy
  class Response < ActiveRecord::Base
    belongs_to :question, class_name: Quizzy::Response
    has_and_belongs_to_many :choices, class_name: Quizzy::Choice
    validates :question, presence: true
    validates_uniqueness_of :question_id, scope: :quiz_response_id

    def good?
      choices == question.good_choices
    end

    def many_good?
      (question.good_choices & choices).size == choices.size
{'fraction_non_alphanumeric': 0.08008658008658008, 'fraction_numerical': 0.0, 'mean_word_length': 4.4733727810650885, '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': '6933206', 'n_tokens_mistral': 295, 'n_tokens_neox': 293, 'n_words': 65}