<commit_before><?xml version="1.0" encoding="UTF-8"?>
<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:annotation-config/>
    <context:component-scan base-package="org.motechproject.server.alerts"/>

    <import resource="classpath:applicationPlatformCommon.xml"/>

    <bean id="alertDbConnector" class="org.ektorp.impl.StdCouchDbConnector">
        <constructor-arg value="motech-alert"/>
        <constructor-arg ref="couchDbInstance"/>
    </bean>

    <bean id="allAlerts" class="org.motechproject.server.alerts.repository.AllAlerts">
        <constructor-arg ref="alertDbConnector"/>
    </bean>

    <bean id="alertService" class="org.motechproject.server.alerts.service.AlertServiceImpl">
        <constructor-arg ref="allAlerts"/>
    </bean>
</beans>
<commit_msg>Sanchit | #000 | Removed duplicate definition of alerts repository.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<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:annotation-config/>
    <context:component-scan base-package="org.motechproject.server.alerts"/>

    <import resource="classpath:applicationPlatformCommon.xml"/>

    <bean id="alertDbConnector" class="org.ektorp.impl.StdCouchDbConnector">
        <constructor-arg value="motech-alert"/>
        <constructor-arg ref="couchDbInstance"/>
    </bean>

    <bean id="alertService" class="org.motechproject.server.alerts.service.AlertServiceImpl">
        <constructor-arg ref="allAlerts"/>
    </bean>
</beans>

{'fraction_non_alphanumeric': 0.16343612334801763, 'fraction_numerical': 0.011894273127753305, 'mean_word_length': 4.30607476635514, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 2, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 10}, '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': '4153381', 'n_tokens_mistral': 715, 'n_tokens_neox': 686, 'n_words': 75}