<commit_before># Maybe we don't need this any more? Commenting out during upgrade process

# module Spree
#   module Core
#     module CalculatedAdjustments
#       module ClassMethods
#         def calculated_adjustments_with_explicit_class_name
#           calculated_adjustments_without_explicit_class_name
#           # Class name is mis-inferred outside of Spree namespace
#           has_one :calculator, as: :calculable, dependent: :destroy, class_name: 'Spree::Calculator'
#         end
#         alias_method_chain :calculated_adjustments, :explicit_class_name
#       end
#     end
#   end
# end<commit_msg>Reinstate explicit class name Spree::Calculator on calculated_adjustments association<commit_after>module Spree
  module Core
    module CalculatedAdjustments
      class << self
        def included_with_explicit_class_name(klass)
          included_without_explicit_class_name(klass)

          klass.class_eval do
            has_one :calculator, as: :calculable, dependent: :destroy, class_name: 'Spree::Calculator'
          end
        end
        alias_method_chain :included, :explicit_class_name
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.057441253263707574, 'fraction_numerical': 0.0, 'mean_word_length': 3.2279411764705883, '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': '6640850', 'n_tokens_mistral': 332, 'n_tokens_neox': 324, 'n_words': 84}