<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="acme_blog.document.user.class">Acme\BlogBundle\Document\User</parameter>
        <parameter key="acme_blog.model.user_manager.class">Acme\BlogBundle\Model\UserManager</parameter>

        <parameter key="acme_blog.document.post.class">Acme\BlogBundle\Document\Post</parameter>
        <parameter key="acme_blog.model.post_manager.class">Acme\BlogBundle\Model\PostManager</parameter>

        <parameter key="acme_blog.security.provider_key">users</parameter>
    </parameters>

    <services>
        <service id="acme_blog.object_manager"
                 factory-service="doctrine_mongodb"
                 factory-method="getManager"
                 class="Doctrine\ODM\MongoDB\DocumentManager"/>

        <service id="acme_blog.user_repository"
                 factory-service="acme_blog.object_manager"
                 factory-method="getRepository"
                 class="Doctrine\Common\Persistence\ObjectRepository"
                 public="false">
            <argument>%acme_blog.document.user.class%</argument>
        </service>

        <service id="acme_blog.post_repository"
                 factory-service="acme_blog.object_manager"
                 factory-method="getRepository"
                 class="Acme\BlogBundle\Repository\PostRepositoryInterface"
                 public="false">
            <argument>%acme_blog.document.post.class%</argument>
        </service>

        <service id="acme_blog.user_manager" class="%acme_blog.model.user_manager.class%">
            <argument type="service" id="acme_blog.user_repository"/>
            <argument type="service" id="security.encoder_factory"/>
            <argument>%acme_blog.document.user.class%</argument>
        </service>

        <service id="acme_blog.post_manager" class="%acme_blog.model.post_manager.class%">
            <argument type="service" id="acme_blog.post_repository"/>
            <argument type="service" id="security.encoder_factory"/><commit_msg>Updated declaration of user repository service<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="acme_blog.document.user.class">Acme\BlogBundle\Document\User</parameter>
        <parameter key="acme_blog.model.user_manager.class">Acme\BlogBundle\Model\UserManager</parameter>

        <parameter key="acme_blog.document.post.class">Acme\BlogBundle\Document\Post</parameter>
        <parameter key="acme_blog.model.post_manager.class">Acme\BlogBundle\Model\PostManager</parameter>

        <parameter key="acme_blog.security.provider_key">users</parameter>
    </parameters>

    <services>
        <service id="acme_blog.object_manager"
                 factory-service="doctrine_mongodb"
                 factory-method="getManager"
                 class="Doctrine\ODM\MongoDB\DocumentManager"/>

        <service id="acme_blog.user_repository"
                 factory-service="acme_blog.object_manager"
                 factory-method="getRepository"
                 class="Acme\BlogBundle\Repository\UserRepositoryInterface"
                 public="false">
            <argument>%acme_blog.document.user.class%</argument>
        </service>

        <service id="acme_blog.post_repository"
                 factory-service="acme_blog.object_manager"
                 factory-method="getRepository"
                 class="Acme\BlogBundle\Repository\PostRepositoryInterface"
                 public="false">
            <argument>%acme_blog.document.post.class%</argument>
        </service>

        <service id="acme_blog.user_manager" class="%acme_blog.model.user_manager.class%">
            <argument type="service" id="acme_blog.user_repository"/>
            <argument type="service" id="security.encoder_factory"/>
            <argument>%acme_blog.document.user.class%</argument>
        </service>

        <service id="acme_blog.post_manager" class="%acme_blog.model.post_manager.class%">
            <argument type="service" id="acme_blog.post_repository"/>
            <argument type="service" id="security.encoder_factory"/>
{'fraction_non_alphanumeric': 0.13365363616510156, 'fraction_numerical': 0.003930989298973575, 'mean_word_length': 2.9347079037800685, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 2, '>': 69, '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': '7480734', 'n_tokens_mistral': 1328, 'n_tokens_neox': 1296, 'n_words': 126}