<commit_before>module ActiveResource
  class ClientResourceInvalid < ActiveResourceError
    attr_reader :resource

    def initialize(resource)
      @resource = resource
      errors = @resource.errors.full_messages.join(I18n.t('support.array.words_connector', :default => ', '))
      super(I18n.t('activerecord.errors.messages.record_invalid', :errors => errors)) # use AR translate key
    end
  end

  module More
    class Error  < ActiveRecord::Error;  end<commit_msg>ClientResourceInvalid inherited from ActiveRecord::RecordInvalid<commit_after>module ActiveResource
  class ClientResourceInvalid < ActiveRecord::RecordInvalid; end

  module More
    class Error  < ActiveRecord::Error;  end
{'fraction_non_alphanumeric': 0.08857142857142856, 'fraction_numerical': 0.005714285714285714, 'mean_word_length': 4.890756302521009, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4426559', 'n_tokens_mistral': 189, 'n_tokens_neox': 181, 'n_words': 43}