<commit_before>sylius_admin_product_attribute:
    resource: |
        alias: sylius.product_attribute
        section: admin
        templates: SyliusAdminBundle:Crud
        except: ['show', 'create']
        redirect: update
        grid: sylius_admin_product_attribute
        vars:
            all:
                subheader: sylius.ui.manage_attributes_of_your_produts
                templates:
                    form: SyliusAdminBundle:ProductAttribute:_form.html.twig
            index:
                icon: cubes
    type: sylius.resource

sylius_admin_product_attribute_create:
    path: /product-attributes/{type}/new
    methods: [GET, POST]
    defaults:
        _controller: sylius.controller.product_attribute:createAction
        type: text
        _sylius:
            section: admin
            factory:
                method: createTyped
                arguments:
                    type: $type
            template: SyliusAdminBundle:Crud:create.html.twig
            redirect: sylius_admin_product_attribute_update
            vars:
                subheader: sylius.ui.manage_attributes_of_your_produts
                templates:
                    form: SyliusAdminBundle:ProductAttribute:_form.html.twig

sylius_admin_get_attribute_types:
    path: /attribute-types
    methods: [GET]<commit_msg>[Admin] Fix typo in the translation key for product attributes<commit_after>sylius_admin_product_attribute:
    resource: |
        alias: sylius.product_attribute
        section: admin
        templates: SyliusAdminBundle:Crud
        except: ['show', 'create']
        redirect: update
        grid: sylius_admin_product_attribute
        vars:
            all:
                subheader: sylius.ui.manage_attributes_of_your_products
                templates:
                    form: SyliusAdminBundle:ProductAttribute:_form.html.twig
            index:
                icon: cubes
    type: sylius.resource

sylius_admin_product_attribute_create:
    path: /product-attributes/{type}/new
    methods: [GET, POST]
    defaults:
        _controller: sylius.controller.product_attribute:createAction
        type: text
        _sylius:
            section: admin
            factory:
                method: createTyped
                arguments:
                    type: $type
            template: SyliusAdminBundle:Crud:create.html.twig
            redirect: sylius_admin_product_attribute_update
            vars:
                subheader: sylius.ui.manage_attributes_of_your_products
                templates:
                    form: SyliusAdminBundle:ProductAttribute:_form.html.twig

sylius_admin_get_attribute_types:
    path: /attribute-types
    methods: [GET]
{'fraction_non_alphanumeric': 0.06280014776505356, 'fraction_numerical': 0.0, 'mean_word_length': 1.988962472406181, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4769645', 'n_tokens_mistral': 744, 'n_tokens_neox': 716, 'n_words': 132}