<commit_before>class DefaultShippingCalculator
  # Calculates the shipping for an order. This is a stubbed out implementation
  # which gives free shipping. Yay?
  #
  # @param Order order
  #
  # @return Float
  def calculate(order)
    if !order.shipping_postcode.blank?
      15.0
    end
  end
end<commit_msg>Default shipping calculator provides free shipping as per the docs<commit_after>class DefaultShippingCalculator
  # Calculates the shipping for an order. This is a stubbed out implementation
  # which gives free shipping. Yay?
  #
  # @param Order order
  #
  # @return Float
  def calculate(order)
    if !order.shipping_postcode.blank?
      0
    end
  end
end
{'fraction_non_alphanumeric': 0.060650887573964495, 'fraction_numerical': 0.005917159763313609, 'mean_word_length': 3.4248366013071894, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7647135', 'n_tokens_mistral': 207, 'n_tokens_neox': 201, 'n_words': 72}