<commit_before><beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
	http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
	http://www.springframework.org/schema/context
	http://www.springframework.org/schema/context/spring-context-3.0.xsd">

    <context:component-scan base-package="dk.statsbiblioteket.newspaper.processmonitor.backend"/>

    <bean id="mpPakConfig" class="dk.statsbiblioteket.newspaper.mfpakintegration.configuration.MfPakConfiguration">
        <property name="databaseUrl" value="${mfpak.postgres.url}"/>
        <property name="databaseUser" value="${mfpak.postgres.user}"/>
        <property name="databasePassword" value="<PASSWORD>}"/>
    </bean>
    <bean id="mfPak" class="dk.statsbiblioteket.newspaper.mfpakintegration.MfPakDataSource">
        <constructor-arg ref="mpPakConfig"/>
    </bean>

    <bean id="dataSourceMockup"
          class="dk.statsbiblioteket.newspaper.processmonitor.datasources.DataSourceMockup"
          init-method="init">
        <property name="username" value="${fedora.admin.username}"/>
        <property name="password" value="${<PASSWORD>}"/>
    </bean>


    <!--Reserved name for the data sources list-->
    <bean id="dataSourcesList" class="java.util.ArrayList">
        <constructor-arg>
            <list>
                <ref bean="mfPak"/>
                <ref bean="dataSourceMockup"/>
            </list>
        </constructor-arg>
    </bean>


</beans><commit_msg>Better way of making spring lists<commit_after><beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
	http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context
	http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

    <context:component-scan base-package="dk.statsbiblioteket.newspaper.processmonitor.backend"/>

    <bean id="mpPakConfig" class="dk.statsbiblioteket.newspaper.mfpakintegration.configuration.MfPakConfiguration">
        <property name="databaseUrl" value="${mfpak.postgres.url}"/>
        <property name="databaseUser" value="${mfpak.postgres.user}"/>
        <property name="databasePassword" value="<PASSWORD>}"/>
    </bean>
    <bean id="mfPak" class="dk.statsbiblioteket.newspaper.mfpakintegration.MfPakDataSource">
        <constructor-arg ref="mpPakConfig"/>
    </bean>

    <bean id="dataSourceMockup"
          class="dk.statsbiblioteket.newspaper.processmonitor.datasources.DataSourceMockup"
          init-method="init">
        <property name="username" value="${fedora.admin.username}"/>
        <property name="password" value="<PASSWORD>}"/>
    </bean>

    <!--Reserved name for the data sources list-->
    <util:list id="dataSourcesList" list-class="java.util.ArrayList">
        <ref bean="mfPak"/>
        <ref bean="dataSourceMockup"/>
    </util:list>


</beans>
{'fraction_non_alphanumeric': 0.16128084606345475, 'fraction_numerical': 0.005287896592244419, 'mean_word_length': 3.71606648199446, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 17, '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': '2145012', 'n_tokens_mistral': 1069, 'n_tokens_neox': 1023, 'n_words': 123}