<commit_before>security:
    encoders:
        Openl10n\Bundle\UserBundle\Security\User\User: sha512
        Openl10n\Domain\User\Model\User: sha512

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    providers:
        main:
            id: openl10n.security.user_provider

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false

        api:
            pattern:    ^/api
            anonymous: ~
            stateless: true
            http_basic:
                realm: "API access"

        main:
            pattern:    ^/
            security: false

    access_control:
        - { path: ^/api, roles: ROLE_USER }
        - { path: ^/, roles: ROLE_USER }
<commit_msg>Remove security on /api/docs path<commit_after>security:
    encoders:
        Openl10n\Bundle\UserBundle\Security\User\User: sha512
        Openl10n\Domain\User\Model\User: sha512

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    providers:
        main:
            id: openl10n.security.user_provider

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false

        api_docs:
            pattern:    ^/api/docs
            security: false

        api:
            pattern:    ^/api
            anonymous: ~
            stateless: true
            http_basic:
                realm: "API access"

        main:
            pattern:    ^/
            security: false

    access_control:
        - { path: ^/api, roles: ROLE_USER }
        - { path: ^/, roles: ROLE_USER }

{'fraction_non_alphanumeric': 0.09216589861751152, 'fraction_numerical': 0.013824884792626729, 'mean_word_length': 1.5469208211143695, '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': '3791709', 'n_tokens_mistral': 578, 'n_tokens_neox': 545, 'n_words': 99}