<commit_before>class Trade::ShipmentApiFromViewSerializer < ActiveModel::Serializer
   attributes :id , :year, :appendix, :taxon, :class, :order, :family, :genus,
              :term, :importer_reported_quantity, :exporter_reported_quantity,
              :unit, :importer, :exporter, :origin, :purpose, :source,
              :compliance_type_taxonomic_rank,
              :import_permit,
              :export_permit, :origin_permit

  def importer_reported_quantity
    object.attributes['importer_reported_quantity'] || object.attributes['importer_quantity']
  end<commit_msg>add issue type attributes to shipments api serializer<commit_after>class Trade::ShipmentApiFromViewSerializer < ActiveModel::Serializer
   attributes :id , :year, :appendix, :taxon, :class, :order, :family, :genus,
              :term, :importer_reported_quantity, :exporter_reported_quantity,
              :unit, :importer, :exporter, :origin, :purpose, :source,
              :import_permit, :export_permit, :origin_permit, :issue_type

  def importer_reported_quantity
    object.attributes['importer_reported_quantity'] || object.attributes['importer_quantity']
  end
{'fraction_non_alphanumeric': 0.10590277777777778, 'fraction_numerical': 0.0, 'mean_word_length': 4.438679245283019, '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': '3136937', 'n_tokens_mistral': 352, 'n_tokens_neox': 325, 'n_words': 66}