<commit_before>module VTEX
  class ProductBuilder
    class << self

      # Do not change the order of fields
      def build_product(product, client)
        {
          'vtex:AdWordsRemarketingCode' => nil,
          'vtex:BrandId'                => client.find_or_create_brand(product['brand']) || 1,
          'vtex:CategoryId'             => client.find_or_create_category(product['taxons']) || 1000000,
          'vtex:DepartmentId'           => 1000000,
          'vtex:Description'            => product['description'],
          'vtex:DescriptionShort'       => nil,
          'vtex:Id'                     => clear_id(product['id']),
          'vtex:IsActive'               => nil,
          'vtex:IsVisible'              => true,
          'vtex:KeyWords'               => product['meta_keywords'],
          'vtex:LinkId'                 => product['permalink'],
          'vtex:ListStoreId'            => nil,
          'vtex:LomadeeCampaignCode'    => nil,
          'vtex:MetaTagDescription'     => product['meta_description'],
          'vtex:Name'                   => product['name'],
          'vtex:RefId'                  => product['id'],
          'vtex:ReleaseDate'            => product['available_on'],
          'vtex:ShowWithoutStock'       => nil,
          'vtex:SupplierId'             => nil,
          'vtex:TaxCode'                => nil,<commit_msg>changes the product builder to use codigo_produto_abacos as the product id<commit_after>module VTEX
  class ProductBuilder
    class << self

      # Do not change the order of fields
      def build_product(product, client)
        {
          'vtex:AdWordsRemarketingCode' => nil,
          'vtex:BrandId'                => client.find_or_create_brand(product['brand']) || 1,
          'vtex:CategoryId'             => client.find_or_create_category(product['taxons']) || 1000000,
          'vtex:DepartmentId'           => 1000000,
          'vtex:Description'            => product['description'],
          'vtex:DescriptionShort'       => nil,
          'vtex:Id'                     => product['abacos']['codigo_produto_abacos'].to_i,
          'vtex:IsActive'               => nil,
          'vtex:IsVisible'              => true,
          'vtex:KeyWords'               => product['meta_keywords'],
          'vtex:LinkId'                 => product['permalink'],
          'vtex:ListStoreId'            => nil,
          'vtex:LomadeeCampaignCode'    => nil,
          'vtex:MetaTagDescription'     => product['meta_description'],
          'vtex:Name'                   => product['name'],
          'vtex:RefId'                  => product['id'],
          'vtex:ReleaseDate'            => product['available_on'],
          'vtex:ShowWithoutStock'       => nil,
          'vtex:SupplierId'             => nil,
          'vtex:TaxCode'                => nil,
{'fraction_non_alphanumeric': 0.12854640980735552, 'fraction_numerical': 0.010507880910683012, 'mean_word_length': 1.620183486238532, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 43, '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': '6245495', 'n_tokens_mistral': 832, 'n_tokens_neox': 777, 'n_words': 125}