<commit_before>require 'taxjar/base'

module Taxjar
  class Rate < Taxjar::Base
    extend ModelAttribute

    attribute :zip,                     :string
    attribute :state,                   :string
    attribute :state_rate,              :float
    attribute :county,                  :string
    attribute :county_rate,             :float
    attribute :city,                    :string
    attribute :city_rate,               :float
    attribute :combined_district_rate,  :float
    attribute :combined_rate,           :float

    # International
    attribute :country,                 :string
    
    # Canada
    attribute :hst,                     :float
    attribute :pst,                     :float
    attribute :gst,                     :float
    attribute :qst,                     :float
    
    # European Union<commit_msg>Add `name` param for countries and remove unused Canadian params<commit_after>require 'taxjar/base'

module Taxjar
  class Rate < Taxjar::Base
    extend ModelAttribute

    attribute :zip,                     :string
    attribute :state,                   :string
    attribute :state_rate,              :float
    attribute :county,                  :string
    attribute :county_rate,             :float
    attribute :city,                    :string
    attribute :city_rate,               :float
    attribute :combined_district_rate,  :float
    attribute :combined_rate,           :float

    # International
    attribute :country,                 :string
    attribute :name,                    :string
    
    # European Union
{'fraction_non_alphanumeric': 0.06309148264984227, 'fraction_numerical': 0.0, 'mean_word_length': 1.4437596302003082, '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': '7347039', 'n_tokens_mistral': 388, 'n_tokens_neox': 368, 'n_words': 108}