<commit_before><?xml version="1.0" encoding="UTF-8"?>
<doctrine-mongo-mapping xmlns="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xsi:schemaLocation="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping
                        http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">

    <mapped-superclass name="Stof\DoctrineExtensionsBundle\Document\AbstractLogEntry">

        <field fieldName="id" id="true" />

        <field fieldName="action" type="string" />

        <field fieldName="loggedAt" type="date" index="true" />

        <field fieldName="objectId" type="string" nullable="true" />

        <field fieldName="objectClass" type="string" index="true" />

        <field fieldName="version" type="integer" />

        <field fieldName="data" type="string" nullable="true" />

        <field fieldName="username" type="string" nullable="true" index="true" />

    </mapped-superclass>

</doctrine-mongo-mapping>
<commit_msg>The type integer gives the following error on ODM while waming up the cache: `[InvalidArgumentException] Invalid type specified "integer".` This fixes that issue.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<doctrine-mongo-mapping xmlns="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xsi:schemaLocation="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping
                        http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">

    <mapped-superclass name="Stof\DoctrineExtensionsBundle\Document\AbstractLogEntry">

        <field fieldName="id" id="true" />

        <field fieldName="action" type="string" />

        <field fieldName="loggedAt" type="date" index="true" />

        <field fieldName="objectId" type="string" nullable="true" />

        <field fieldName="objectClass" type="string" index="true" />

        <field fieldName="version" type="int" />

        <field fieldName="data" type="string" nullable="true" />

        <field fieldName="username" type="string" nullable="true" index="true" />

    </mapped-superclass>

</doctrine-mongo-mapping>

{'fraction_non_alphanumeric': 0.1569390402075227, 'fraction_numerical': 0.006917423259835711, 'mean_word_length': 3.2303473491773307, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 2, '>': 29, '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': '3638640', 'n_tokens_mistral': 723, 'n_tokens_neox': 676, 'n_words': 106}