<commit_before>Feature: Test json inspection edge cases
    In order to check my json files
    As a developper
    I want to be able to have meaning error messages for edge cases

    Background:
        Given a file named "behat.yml" with:
        """
        default:
            suites:
                default:
                    contexts:
                        - Rezzza\RestApiBehatExtension\RestApiContext
                        - Rezzza\RestApiBehatExtension\Json\JsonContext:
                            jsonSchemaBaseUrl: %paths.base%/features/bootstrap

            extensions:
                Rezzza\RestApiBehatExtension\Extension:
                    rest:
                        base_url: http://localhost:8888
                        store_response: true
        """

    Scenario: Reading json before loading json
        Given a file named "features/read_json.feature" with:
        """
        Feature: Read Json before Load json
            In order to validate the inspection steps
            As a context developer
            I need to see a meanful exception when I try to read json without loading it
<commit_msg>Use quote around jsonSchemaBaseUrl<commit_after>Feature: Test json inspection edge cases
    In order to check my json files
    As a developper
    I want to be able to have meaning error messages for edge cases

    Background:
        Given a file named "behat.yml" with:
        """
        default:
            suites:
                default:
                    contexts:
                        - Rezzza\RestApiBehatExtension\RestApiContext
                        - Rezzza\RestApiBehatExtension\Json\JsonContext:
                            jsonSchemaBaseUrl: '%paths.base%/features/bootstrap'

            extensions:
                Rezzza\RestApiBehatExtension\Extension:
                    rest:
                        base_url: http://localhost:8888
                        store_response: true
        """

    Scenario: Reading json before loading json
        Given a file named "features/read_json.feature" with:
        """
        Feature: Read Json before Load json
            In order to validate the inspection steps
            As a context developer
            I need to see a meanful exception when I try to read json without loading it

{'fraction_non_alphanumeric': 0.04759844223279965, 'fraction_numerical': 0.0034617048896581565, 'mean_word_length': 1.5406593406593407, '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': '6427740', 'n_tokens_mistral': 542, 'n_tokens_neox': 517, 'n_words': 195}