<commit_before># @author <NAME>
module Magenthor
    class Catalog < Base

        class << self
            # Get the list of all products sets
            #
            # @return [Array] a list of all attribute sets
            def attribute_set_list
                commit('catalog_product_attribute_set.list', [])
            end

            # Get the list of a attribute set
            #
            # @param set_id [String, Integer] the set id to get the attributes from
            # @return [Array] a list of all attributes of the set
            def attribute_list set_id
                commit('catalog_product_attribute.list', [set_id])
            end
        end

    end
end
<commit_msg>Added retrieve additional attributes + comment fix<commit_after># @author <NAME>
module Magenthor
    class Catalog < Base

        class << self
            # Get the list of all products sets
            #
            # @return [Array, FalseClass] a list of all attribute sets or false
            def attribute_set_list
                commit('catalog_product_attribute_set.list', [])
            end

            # Get the list of a attribute set
            #
            # @param set_id [String, Integer] the set id to get the attributes from
            # @return [Array, FalseClass] a list of all attributes of the set or false
            def attribute_list set_id
                commit('catalog_product_attribute.list', [set_id])
            end

            # Get the list of all additional attributes
            #
            # @param product_type [String] the type of the product
            # @param set_id [String, Integer] the attribute set id
            # @return [Array, FalseClass] a list of all additional attributes or false
            def additional_attribute_list product_type, set_id
                commit('product.listOfAdditionalAttributes', [product_type, set_id])
            end
        end

    end
end

{'fraction_non_alphanumeric': 0.0592478104070067, 'fraction_numerical': 0.0, 'mean_word_length': 1.7663817663817665, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 5, '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': '6115089', 'n_tokens_mistral': 479, 'n_tokens_neox': 463, 'n_words': 187}