<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="lexik_currency.adapter_collector.class">Lexik\Bundle\CurrencyBundle\Adapter\AdapterCollector</parameter>
        <parameter key="lexik_currency.adapter_factory.class">Lexik\Bundle\CurrencyBundle\Adapter\AdapterFactory</parameter>
        <parameter key="lexik_currency.abstract_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\AbstractCurrencyAdapter</parameter>
        <parameter key="lexik_currency.ecb_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\EcbCurrencyAdapter</parameter>
        <parameter key="lexik_currency.oer_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\OerCurrencyAdapter</parameter>
        <parameter key="lexik_currency.doctrine_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\DoctrineCurrencyAdapter</parameter>
        <parameter key="lexik_currency.doctrine.orm.entity_manager">default</parameter>
    </parameters>

    <services>
        <!-- Adapter collector -->
        <service id="lexik_currency.adapter_collector" class="%lexik_currency.adapter_collector.class%" />

        <!-- Factory -->
        <service id="lexik_currency.adapter_factory" class="%lexik_currency.adapter_factory.class%">
            <argument type="service" id="doctrine" />
            <argument>%lexik_currency.currencies.default%</argument>
            <argument>%lexik_currency.currencies.managed%</argument>
            <argument>%lexik_currency.currency_class%</argument>
        </service>

        <!-- Adapters -->
        <service id="lexik_currency.abstract_adapter" class="%lexik_currency.abstract_adapter.class%" abstract="true" />

        <service id="lexik_currency.doctrine_adapter" 
                 class="%lexik_currency.doctrine_adapter.class%"  
                 parent="lexik_currency.abstract_adapter"
                 factory-service="lexik_currency.adapter_factory"
                 factory-method="createDoctrineAdapter"
        >
            <argument>%lexik_currency.doctrine_adapter.class%</argument>
            <argument>%lexik_currency.doctrine.orm.entity_manager%</argument>
            <tag name="lexik_currency.adapter" alias="doctrine_currency_adapter" />
        </service>

        <service id="lexik_currency.ecb_adapter" 
                 class="%lexik_currency.ecb_adapter.class%" 
                 parent="lexik_currency.abstract_adapter"
                 factory-service="lexik_currency.adapter_factory"
                 factory-method="createEcbAdapter"
        >
            <call method="setEcbUrl">
                <argument>%lexik_currency.ecb_url%</argument>
            </call>
            <tag name="lexik_currency.adapter" alias="ecb_currency_adapter" />
        </service>

        <service id="lexik_currency.oer_adapter"
                 class="%lexik_currency.oer_adapter.class%"
                 parent="lexik_currency.abstract_adapter"
                 factory-service="lexik_currency.adapter_factory"
                 factory-method="createOerAdapter"
        >
            <call method="setOerUrl">
                <argument>%lexik_currency.oer_url%</argument>
            </call>
            <call method="setOerAppId">
                <argument>%lexik_currency.oer_app_id%</argument>
            </call>
            <tag name="lexik_currency.adapter" alias="oer_currency_adapter" />
        </service>
    </services>

</container><commit_msg>updated service definition syntax<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="lexik_currency.adapter_collector.class">Lexik\Bundle\CurrencyBundle\Adapter\AdapterCollector</parameter>
        <parameter key="lexik_currency.adapter_factory.class">Lexik\Bundle\CurrencyBundle\Adapter\AdapterFactory</parameter>
        <parameter key="lexik_currency.abstract_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\AbstractCurrencyAdapter</parameter>
        <parameter key="lexik_currency.ecb_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\EcbCurrencyAdapter</parameter>
        <parameter key="lexik_currency.oer_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\OerCurrencyAdapter</parameter>
        <parameter key="lexik_currency.doctrine_adapter.class">Lexik\Bundle\CurrencyBundle\Adapter\DoctrineCurrencyAdapter</parameter>
        <parameter key="lexik_currency.doctrine.orm.entity_manager">default</parameter>
    </parameters>

    <services>
        <!-- Adapter collector -->
        <service id="lexik_currency.adapter_collector" class="%lexik_currency.adapter_collector.class%" />

        <!-- Factory -->
        <service id="lexik_currency.adapter_factory" class="%lexik_currency.adapter_factory.class%">
            <argument type="service" id="doctrine" />
            <argument>%lexik_currency.currencies.default%</argument>
            <argument>%lexik_currency.currencies.managed%</argument>
            <argument>%lexik_currency.currency_class%</argument>
        </service>

        <!-- Adapters -->
        <service id="lexik_currency.abstract_adapter" class="%lexik_currency.abstract_adapter.class%" abstract="true" />

        <service id="lexik_currency.doctrine_adapter" class="%lexik_currency.doctrine_adapter.class%" parent="lexik_currency.abstract_adapter">
            <factory service="lexik_currency.adapter_factory" method="createDoctrineAdapter" />
            <argument>%lexik_currency.doctrine_adapter.class%</argument>
            <argument>%lexik_currency.doctrine.orm.entity_manager%</argument>
            <tag name="lexik_currency.adapter" alias="doctrine_currency_adapter" />
        </service>

        <service id="lexik_currency.ecb_adapter" class="%lexik_currency.ecb_adapter.class%" parent="lexik_currency.abstract_adapter">
            <factory service="lexik_currency.adapter_factory" method="createEcbAdapter" />
            <call method="setEcbUrl">
                <argument>%lexik_currency.ecb_url%</argument>
            </call>
            <tag name="lexik_currency.adapter" alias="ecb_currency_adapter" />
        </service>

        <service id="lexik_currency.oer_adapter" class="%lexik_currency.oer_adapter.class%" parent="lexik_currency.abstract_adapter">
            <factory service="lexik_currency.adapter_factory" method="createOerAdapter" />
            <call method="setOerUrl">
                <argument>%lexik_currency.oer_url%</argument>
            </call>
            <call method="setOerAppId">
                <argument>%lexik_currency.oer_app_id%</argument>
            </call>
            <tag name="lexik_currency.adapter" alias="oer_currency_adapter" />
        </service>
    </services>

</container>

{'fraction_non_alphanumeric': 0.12780047907566577, 'fraction_numerical': 0.0025362829364520218, 'mean_word_length': 3.3175182481751824, 'pattern_counts': {'":': 0, '<': 126, '<?xml version=': 2, '>': 126, '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': '7293462', 'n_tokens_mistral': 2034, 'n_tokens_neox': 2008, 'n_words': 187}