<commit_before>module BusinessCatalyst
  module CSV
    class CatalogRow < Row

      COLUMNS = [
        ["Catalog Name/Heirarchy", :catalog_name_hierarchy, nil, CatalogTransformer],
        ["Description", :description],
        ["Image", :image],
        ["Weighting", :weighting],
        ["Release Date", :release_date],
        ["Expiry Date", :expiration_date],
        ["Template ID", :template_id, 0, TemplateIDTransformer],
        ["Enabled", :enabled?, true, BooleanTransformer],
        ["Enable XML Feed", :enable_xml_feed?, false, BooleanTransformer],
        ["Show Product Prices", :show_product_prices?, true, BooleanTransformer],
        ["Catalog Title", :catalog_title],
        ["Browse Panel Min Price", :browse_panel_min_price, nil, CurrencyTransformer],
        ["Browse Panel Max Price", :browse_panel_max_price, nil, CurrencyTransformer],
        ["Browse Panel Slots", :browse_panel_min_slots],
        ["SEO Friendly URL", :seo_friendly_url] # Must be globally unique
      ]

      def self.columns
        COLUMNS
      end

    end
  end
end<commit_msg>change enable_xml_feed default to true<commit_after>module BusinessCatalyst
  module CSV
    class CatalogRow < Row

      COLUMNS = [
        ["Catalog Name/Heirarchy", :catalog_name_hierarchy, nil, CatalogTransformer],
        ["Description", :description],
        ["Image", :image],
        ["Weighting", :weighting],
        ["Release Date", :release_date],
        ["Expiry Date", :expiration_date],
        ["Template ID", :template_id, 0, TemplateIDTransformer],
        ["Enabled", :enabled?, true, BooleanTransformer],
        ["Enable XML Feed", :enable_xml_feed?, true, BooleanTransformer],
        ["Show Product Prices", :show_product_prices?, true, BooleanTransformer],
        ["Catalog Title", :catalog_title],
        ["Browse Panel Min Price", :browse_panel_min_price, nil, CurrencyTransformer],
        ["Browse Panel Max Price", :browse_panel_max_price, nil, CurrencyTransformer],
        ["Browse Panel Slots", :browse_panel_min_slots],
        ["SEO Friendly URL", :seo_friendly_url] # Must be globally unique
      ]

      def self.columns
        COLUMNS
      end

    end
  end
end
{'fraction_non_alphanumeric': 0.11941659070191431, 'fraction_numerical': 0.0009115770282588879, 'mean_word_length': 3.262135922330097, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '238088', 'n_tokens_mistral': 661, 'n_tokens_neox': 638, 'n_words': 167}