<commit_before>xml.id variant.id.to_s
xml.title "#{variant.product.name} #{variant_options variant}"
xml.description CGI.escapeHTML(strip_tags(variant.product.description))
xml.link @production_domain + 'products/' + variant.product.permalink
xml.tag! "g:mpn", variant.sku.to_s
xml.tag! "g:id", variant.id.to_s
xml.tag! "g:price", number_to_currency(variant.price)
xml.tag! "g:condition", "new"
xml.tag! "g:image_link", @production_domain.sub(/\/$/, '') + variant.product.images.first.attachment.url(:product) unless variant.product.images.empty?
xml.tag! "g:availability", variant.count_on_hand > 0 ? 'in stock' : 'out of stock'
xml.tag! "g:gtin", variant.google_merchant_gtin
xml.tag! "g:brand", variant.product.google_merchant_brand
xml.tag! "g:google_product_category", variant.product.google_merchant_product_category
xml.tag! "g:product_type", variant.product.google_merchant_product_type<commit_msg>remove zml fields<commit_after>xml.id variant.id.to_s
xml.title "#{variant.product.name} #{variant_options variant}"
xml.description CGI.escapeHTML(strip_tags(variant.product.description))
xml.link @production_domain + 'products/' + variant.product.permalink
xml.tag! "g:mpn", variant.sku.to_s
xml.tag! "g:id", variant.id.to_s
xml.tag! "g:price", number_to_currency(variant.price)
xml.tag! "g:condition", "new"
xml.tag! "g:image_link", variant.product.images.first.attachment.url(:product) unless variant.product.images.empty?
xml.tag! "g:availability", variant.count_on_hand > 0 ? 'in stock' : 'out of stock'
xml.tag! "g:google_product_category", variant.product.google_merchant_product_category
{'fraction_non_alphanumeric': 0.1560549313358302, 'fraction_numerical': 0.0012484394506866417, 'mean_word_length': 7.348958333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 25}, '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': '2556874', 'n_tokens_mistral': 556, 'n_tokens_neox': 551, 'n_words': 93}