<commit_before>require 'geo_certs/parsers/order_parser'

module GeoCerts
  module Endpoints # :nodoc:

    module Orders # :nodoc:

      ELEMENTS = <<-ORDER
      element :id,                                              :type => Integer
      element 'geotrust-order-id',  :as => :geotrust_order_id
      element :domain
      element "status-major",       :as => :status_major
      element "status-minor",       :as => :status_minor
      element :years,                                           :type => Integer
      element :licenses,                                        :type => Integer
      element 'created-at',         :as => :created_at,         :type => DateTime
      element 'completed-at',       :as => :completed_at,       :type => DateTime
      element :trial
      element :renewal
      element :sans
      element :state
      element 'total-price',        :as => :total_price,        :type => Float
      element 'pending-audit',      :as => :pending_audit

      element :product do
        element :sku
      end

      element :warnings do
        elements :warning do
          element :code, :type => Float
          element :message<commit_msg>Removed the Order ID integer conversion (for order number)<commit_after>require 'geo_certs/parsers/order_parser'

module GeoCerts
  module Endpoints # :nodoc:

    module Orders # :nodoc:

      ELEMENTS = <<-ORDER
      element :id
      element 'geotrust-order-id',  :as => :geotrust_order_id
      element :domain
      element "status-major",       :as => :status_major
      element "status-minor",       :as => :status_minor
      element :years,                                           :type => Integer
      element :licenses,                                        :type => Integer
      element 'created-at',         :as => :created_at,         :type => DateTime
      element 'completed-at',       :as => :completed_at,       :type => DateTime
      element :trial
      element :renewal
      element :sans
      element :state
      element 'total-price',        :as => :total_price,        :type => Float
      element 'pending-audit',      :as => :pending_audit

      element :product do
        element :sku
      end

      element :warnings do
        elements :warning do
          element :code, :type => Float
          element :message
{'fraction_non_alphanumeric': 0.09837467921300257, 'fraction_numerical': 0.0, 'mean_word_length': 1.6549375709421112, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '343886', 'n_tokens_mistral': 625, 'n_tokens_neox': 595, 'n_words': 177}