<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!-- 
  ~ ModeShape (http://www.modeshape.org)
  ~
  ~ See the COPYRIGHT.txt file distributed with this work for information
  ~ regarding copyright ownership.  Some portions may be licensed
  ~ to Red Hat, Inc. under one or more contributor license agreements.
  ~ See the AUTHORS.txt file in the distribution for a full listing of 
  ~ individual contributors.
  ~
  ~ ModeShape is free software. Unless otherwise indicated, all code in ModeShape
  ~ is licensed to you under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ ModeShape is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
  ~ for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public License
  ~ along with this distribution; if not, write to:
  ~ Free Software Foundation, Inc.
  ~ 51 Franklin Street, Fifth Floor
  ~ Boston, MA  02110-1301  USA
  -->
<configuration xmlns:mode="http://www.modeshape.org/1.0"
               xmlns:jcr="http://www.jcp.org/jcr/1.0"
               xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
    <!-- Define the sources from which content is made available.  -->
    <mode:sources jcr:primaryType="nt:unstructured">
        <mode:source jcr:name="Cars" mode:classname="org.modeshape.graph.connector.inmemory.InMemoryRepositorySource" mode:retryLimit="3" defaultWorkspaceName="default"/>
        <mode:source jcr:name="Aircraft" mode:classname="org.modeshape.graph.connector.inmemory.InMemoryRepositorySource">
            <defaultWorkspaceName>default</defaultWorkspaceName>
        </mode:source>
        <mode:source jcr:name="Cache" mode:classname="org.modeshape.graph.connector.inmemory.InMemoryRepositorySource">
            <defaultWorkspaceName>default</defaultWorkspaceName>
        </mode:source>
    </mode:sources>
    <!-- Define the sequencers. This is an optional section. -->
    <mode:sequencers>
        <!--mode:sequencer jcr:name="Image Sequencer" mode:classname="org.modeshape.sequencer.image.ImageMetadataSequencer">
            <mode:description>Image metadata sequencer</mode:description>        
            <mode:pathExpression>/foo/source => /foo/target</mode:pathExpression>
            <mode:pathExpression>/bar/source => /bar/target</mode:pathExpression>
        </mode:sequencer-->
    </mode:sequencers>
    <!-- Define the mime type detectors. This is an optional section. -->
    <mode:mimeTypeDetectors>
        <mode:mimeTypeDetector jcr:name="Detector">
            <mode:description>Standard extension-based MIME type detector</mode:description>        
            <!-- 
            Specify the implementation class (required), as a child element or attribute on parent element.
            -->
            <mode:classname>org.modeshape.graph.mimetype.ExtensionBasedMimeTypeDetector</mode:classname>
            <!-- 
            Specify the classpath (optional) as an ordered list of 'names', where each name is significant to 
            the classpath factory.  For example, a name could be an OSGI identifier or a Maven coordinate,
            depending upon the classpath factory being used.  If there is only one 'name' in the classpath,
            it may be specified as an attribute on the 'mimeTypeDetector' element.  If there is more than one
            'name', then they must be specified as child 'classpath' elements. Blank or empty values are ignored. 
             -->
            <mode:classpath></mode:classpath>
            <mode:classpath></mode:classpath>
        </mode:mimeTypeDetector>
    </mode:mimeTypeDetectors>
    <!-- JCR Repositories.  This is required, with a separate repository for each JCR repository instance. -->
    <mode:repositories>
        <mode:repository jcr:name="Car Repository" mode:source="Cars">
            <mode:options>
                <mode:option jcr:name="projectNodeTypes" mode:value="true"/>
                <mode:option jcr:name="jaasLoginConfigName" mode:value="modeshape-jcr"/>
                <mode:option jcr:name="repositoryJndiLocaation" mode:value="jcr/CarRepository"/>
            </mode:options>
            <mode:descriptors>
                <mode:descriptor jcr:name="query.xpath.doc.order" mode:value="false"/>
                <mode:descriptor jcr:name="myDescriptor" mode:value="foo"/>
            </mode:descriptors>
        </mode:repository>
    </mode:repositories>
</configuration>
<commit_msg>MODE-998 Removed JNDI location from the test file, as tests will not run in a bindable InitialContext.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!-- 
  ~ ModeShape (http://www.modeshape.org)
  ~
  ~ See the COPYRIGHT.txt file distributed with this work for information
  ~ regarding copyright ownership.  Some portions may be licensed
  ~ to Red Hat, Inc. under one or more contributor license agreements.
  ~ See the AUTHORS.txt file in the distribution for a full listing of 
  ~ individual contributors.
  ~
  ~ ModeShape is free software. Unless otherwise indicated, all code in ModeShape
  ~ is licensed to you under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ ModeShape is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
  ~ for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public License
  ~ along with this distribution; if not, write to:
  ~ Free Software Foundation, Inc.
  ~ 51 Franklin Street, Fifth Floor
  ~ Boston, MA  02110-1301  USA
  -->
<configuration xmlns:mode="http://www.modeshape.org/1.0"
               xmlns:jcr="http://www.jcp.org/jcr/1.0"
               xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
    <!-- Define the sources from which content is made available.  -->
    <mode:sources jcr:primaryType="nt:unstructured">
        <mode:source jcr:name="Cars" mode:classname="org.modeshape.graph.connector.inmemory.InMemoryRepositorySource" mode:retryLimit="3" defaultWorkspaceName="default"/>
        <mode:source jcr:name="Aircraft" mode:classname="org.modeshape.graph.connector.inmemory.InMemoryRepositorySource">
            <defaultWorkspaceName>default</defaultWorkspaceName>
        </mode:source>
        <mode:source jcr:name="Cache" mode:classname="org.modeshape.graph.connector.inmemory.InMemoryRepositorySource">
            <defaultWorkspaceName>default</defaultWorkspaceName>
        </mode:source>
    </mode:sources>
    <!-- Define the sequencers. This is an optional section. -->
    <mode:sequencers>
        <!--mode:sequencer jcr:name="Image Sequencer" mode:classname="org.modeshape.sequencer.image.ImageMetadataSequencer">
            <mode:description>Image metadata sequencer</mode:description>        
            <mode:pathExpression>/foo/source => /foo/target</mode:pathExpression>
            <mode:pathExpression>/bar/source => /bar/target</mode:pathExpression>
        </mode:sequencer-->
    </mode:sequencers>
    <!-- Define the mime type detectors. This is an optional section. -->
    <mode:mimeTypeDetectors>
        <mode:mimeTypeDetector jcr:name="Detector">
            <mode:description>Standard extension-based MIME type detector</mode:description>        
            <!-- 
            Specify the implementation class (required), as a child element or attribute on parent element.
            -->
            <mode:classname>org.modeshape.graph.mimetype.ExtensionBasedMimeTypeDetector</mode:classname>
            <!-- 
            Specify the classpath (optional) as an ordered list of 'names', where each name is significant to 
            the classpath factory.  For example, a name could be an OSGI identifier or a Maven coordinate,
            depending upon the classpath factory being used.  If there is only one 'name' in the classpath,
            it may be specified as an attribute on the 'mimeTypeDetector' element.  If there is more than one
            'name', then they must be specified as child 'classpath' elements. Blank or empty values are ignored. 
             -->
            <mode:classpath></mode:classpath>
            <mode:classpath></mode:classpath>
        </mode:mimeTypeDetector>
    </mode:mimeTypeDetectors>
    <!-- JCR Repositories.  This is required, with a separate repository for each JCR repository instance. -->
    <mode:repositories>
        <mode:repository jcr:name="Car Repository" mode:source="Cars">
            <mode:options>
                <mode:option jcr:name="projectNodeTypes" mode:value="true"/>
                <mode:option jcr:name="jaasLoginConfigName" mode:value="modeshape-jcr"/>
            </mode:options>
            <mode:descriptors>
                <mode:descriptor jcr:name="query.xpath.doc.order" mode:value="false"/>
                <mode:descriptor jcr:name="myDescriptor" mode:value="foo"/>
            </mode:descriptors>
        </mode:repository>
    </mode:repositories>
</configuration>

{'fraction_non_alphanumeric': 0.10505007457916045, 'fraction_numerical': 0.005220541231621564, 'mean_word_length': 3.025300171526587, 'pattern_counts': {'":': 0, '<': 114, '<?xml version=': 2, '>': 118, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 8}, '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': '3832891', 'n_tokens_mistral': 2567, 'n_tokens_neox': 2517, 'n_words': 767}