<commit_before><?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="couchbase.host">localhost</parameter>
        <parameter key="couchbase.username"/>
        <parameter key="couchbase.password"/>
        <parameter key="couchbase.bucket"/>
        <parameter key="couchbase.persistent">true</parameter>
    </parameters>

    <services>
        <service id="couchbase" class="Couchbase">
            <argument>%couchbase.host%</argument>
            <argument>%couchbase.username%</argument>
            <argument>%couchbase.password%</argument>
            <argument>%couchbase.bucket%</argument>
            <argument>%couchbase.persistent%</argument>
        </service>
    </services>

</container>
<commit_msg>Define couchbase as lazy service, so you can catch the exception arising if the server’s down<commit_after><?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="couchbase.host">localhost</parameter>
        <parameter key="couchbase.username"/>
        <parameter key="couchbase.password"/>
        <parameter key="couchbase.bucket"/>
        <parameter key="couchbase.persistent">true</parameter>
    </parameters>

    <services>
        <service id="couchbase" class="Couchbase" lazy="true">
            <argument>%couchbase.host%</argument>
            <argument>%couchbase.username%</argument>
            <argument>%couchbase.password%</argument>
            <argument>%couchbase.bucket%</argument>
            <argument>%couchbase.persistent%</argument>
        </service>
    </services>

</container>

{'fraction_non_alphanumeric': 0.16041461006910168, 'fraction_numerical': 0.008884501480750246, 'mean_word_length': 3.249475890985325, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 2, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '943310', 'n_tokens_mistral': 620, 'n_tokens_neox': 615, 'n_words': 78}