<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>
        <!-- Doctrine ODM -->
        <parameter key="admingenerator.doctrine_odm.class">Admingenerator\GeneratorBundle\Generator\DoctrineODMGenerator</parameter>
        <parameter key="admingenerator.fieldguesser.doctrine_odm.class">Admingenerator\GeneratorBundle\Guesser\DoctrineODMFieldGuesser</parameter>
        <parameter key="admingenerator.queryfilter.doctrine_odm.class">Admingenerator\GeneratorBundle\QueryFilter\DoctrineODMQueryFilter</parameter>
        <parameter key="admingenerator.sessionserializer.doctrine_odm.class">Admingenerator\GeneratorBundle\SessionSerializer\DoctrineODMSessionSerializer</parameter>
    </parameters>
    
    <services>
        <!-- Doctine MongoDB -->
        <service id="admingenerator.fieldguesser.doctrine_odm" class="%admingenerator.fieldguesser.doctrine_odm.class%"
            public="false">
            <argument type="service" id="doctrine.odm.mongodb.document_manager"></argument>
            <call method="setContainer">
                <argument type="service" id="service_container" />
            </call>
        </service>

        <service id="admingenerator.generator.doctrine_odm"
            class="%admingenerator.doctrine_odm.class%">
            <argument type="string">%kernel.root_dir%</argument>
            <argument type="string">%kernel.cache_dir%</argument>
            <!-- @TODO: Remove container injection -->
            <call method="setContainer">
                <argument type="service" id="service_container" />
            </call>
            <call method="setFieldGuesser">
                <argument type="service" id="admingenerator.fieldguesser.doctrine_odm" />
            </call>
        </service>

        <service id="admingenerator.sessionserializer.doctrine_odm" class="%admingenerator.sessionserializer.doctrine_odm.class%">
            <argument type="service" id="doctrine.odm.mongodb.document_manager"></argument>
        </service>
        
    </services>
</container>
<commit_msg>Update doctrine_odm.xml<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>
        <!-- Doctrine ODM -->
        <parameter key="admingenerator.doctrine_odm.class">Admingenerator\GeneratorBundle\Generator\DoctrineODMGenerator</parameter>
        <parameter key="admingenerator.fieldguesser.doctrine_odm.class">Admingenerator\GeneratorBundle\Guesser\DoctrineODMFieldGuesser</parameter>
        <parameter key="admingenerator.queryfilter.doctrine_odm.class">Admingenerator\GeneratorBundle\QueryFilter\DoctrineODMQueryFilter</parameter>
        <parameter key="admingenerator.sessionserializer.doctrine_odm.class">Admingenerator\GeneratorBundle\SessionSerializer\DoctrineODMSessionSerializer</parameter>
    </parameters>
    
    <services>
        <!-- Doctine MongoDB -->
        <service id="admingenerator.fieldguesser.doctrine_odm" class="%admingenerator.fieldguesser.doctrine_odm.class%"
            public="false">
            <argument type="service" id="doctrine.odm.mongodb.document_manager"></argument>
            <call method="setContainer">
                <argument type="service" id="service_container" />
            </call>
        </service>

        <service id="admingenerator.generator.doctrine_odm"
            class="%admingenerator.doctrine_odm.class%">
            <argument type="string">%kernel.root_dir%</argument>
            <argument type="string">%kernel.cache_dir%</argument>
            <call method="setTwigParams">
                <argument type="expression">parameter('admingenerator.twig')</argument>
            </call>
            <call method="setDefaultActionAfterSave">
                <argument type="expression">parameter('admingenerator.default_action_after_save')</argument>
            </call>
            <call method="setFieldGuesser">
                <argument type="service" id="admingenerator.fieldguesser.doctrine_odm" />
            </call>
        </service>

        <service id="admingenerator.sessionserializer.doctrine_odm" class="%admingenerator.sessionserializer.doctrine_odm.class%">
            <argument type="service" id="doctrine.odm.mongodb.document_manager"></argument>
        </service>
        
    </services>
</container>

{'fraction_non_alphanumeric': 0.1340271877655055, 'fraction_numerical': 0.0038232795242141037, 'mean_word_length': 3.3440959409594098, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 2, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 7}, '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': '1535518', 'n_tokens_mistral': 1382, 'n_tokens_neox': 1374, 'n_words': 139}