<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005 Sakai Foundation Licensed under the
    Educational Community License, Version 2.0 (the "License"); you may
    not use this file except in compliance with the License. You may
    obtain a copy of the License at

    http://www.osedu.org/licenses/ECL-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an "AS IS"
    BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
    or implied. See the License for the specific language governing
    permissions and limitations under the License.

-->
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<!-- <NAME> (<EMAIL>) -->
<beans>
	
	<!-- tool entity providers -->
	<bean
		parent="org.sakaiproject.entitybroker.entityprovider.AbstractEntityProvider"
		class="org.sakaiproject.evaluation.tool.entity.EvalResourcesProvider">		
	</bean>

    <!-- Configure the location of the messages files -->
    <bean id="messageLocator" class="uk.org.ponder.springutil.SpringMessageLocator">
        <property name="messageSource">
            <bean
                class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
                <property name="basename"
                    value="classpath:org/sakaiproject/evaluation/tool/bundle/messages" />
                <property name="cacheSeconds" value="10" />
            </bean>
        </property>
        <property name="localeGetter" ref="requestLocaleProxy" />
    </bean>

    <!-- turns on the error logging in the browser (when set false), REMOVE THIS WHEN IN PRODUCTION -->
    <bean id="redirectOnLevel1Error" class="uk.org.ponder.springutil.BooleanFactory">
        <property name="value" value="false" />
    </bean>

    <!-- the beans listed here are allowed access to values (security) -->
    <bean parent="requestAddressibleParent">
        <property name="value"
            value="id-defunnel, adhocGroupsBean, adhocGroupMemberRemovalBean, providerSyncBean,
		      setupEvalBean, reportsBean, templateBBean, importBean, itemsBean, expertItemsBean, 
		      templateBeanLocator, templateItemWBL, answersBeanLocator, responseAnswersBeanLocator, responseBeanLocator, 
		      evaluationBeanLocator, takeEvalBean, settingsBean, emailSettingsBean, scaleBean, scaleBeanLocator, itemWBL, 
		      hierNodeLocator, hierNodeLocatorInvoker, hierNodeGroupsLocator, hierNodeGroupsLocatorInvoker,
              emailTemplateWBL, administrateSearchBean, sendEmailsBean, selectedEvaluationUsersLocator, 
              assignGroupSelectionSettings, evalAdminBean, hierarchyBean, propertiesFileParser, overwriteSettingsHandler, iso8601DateTransit" /><commit_msg>EVALSYS-1305 use ResourceLoaderMessageSource instead of Spring message loader so we get correct internationalization<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005 Sakai Foundation Licensed under the
    Educational Community License, Version 2.0 (the "License"); you may
    not use this file except in compliance with the License. You may
    obtain a copy of the License at

    http://www.osedu.org/licenses/ECL-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an "AS IS"
    BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
    or implied. See the License for the specific language governing
    permissions and limitations under the License.

-->
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<!-- <NAME> (<EMAIL>) -->
<beans>
	
	<!-- tool entity providers -->
	<bean
		parent="org.sakaiproject.entitybroker.entityprovider.AbstractEntityProvider"
		class="org.sakaiproject.evaluation.tool.entity.EvalResourcesProvider">		
	</bean>

    <!-- Configure the location of the messages files -->
    <bean id="messageLocator" class="uk.org.ponder.springutil.SpringMessageLocator">
        <property name="messageSource">
            <bean
                class="org.sakaiproject.util.ResourceLoaderMessageSource">
                <property name="basename"
                    value="classpath:org/sakaiproject/evaluation/tool/bundle/messages" />
                <property name="cacheSeconds" value="10" />
            </bean>
        </property>
        <property name="localeGetter" ref="requestLocaleProxy" />
    </bean>

    <!-- turns on the error logging in the browser (when set false), REMOVE THIS WHEN IN PRODUCTION -->
    <bean id="redirectOnLevel1Error" class="uk.org.ponder.springutil.BooleanFactory">
        <property name="value" value="false" />
    </bean>

    <!-- the beans listed here are allowed access to values (security) -->
    <bean parent="requestAddressibleParent">
        <property name="value"
            value="id-defunnel, adhocGroupsBean, adhocGroupMemberRemovalBean, providerSyncBean,
		      setupEvalBean, reportsBean, templateBBean, importBean, itemsBean, expertItemsBean, 
		      templateBeanLocator, templateItemWBL, answersBeanLocator, responseAnswersBeanLocator, responseBeanLocator, 
		      evaluationBeanLocator, takeEvalBean, settingsBean, emailSettingsBean, scaleBean, scaleBeanLocator, itemWBL, 
		      hierNodeLocator, hierNodeLocatorInvoker, hierNodeGroupsLocator, hierNodeGroupsLocatorInvoker,
              emailTemplateWBL, administrateSearchBean, sendEmailsBean, selectedEvaluationUsersLocator, 
              assignGroupSelectionSettings, evalAdminBean, hierarchyBean, propertiesFileParser, overwriteSettingsHandler, iso8601DateTransit" />
{'fraction_non_alphanumeric': 0.09798068481123792, 'fraction_numerical': 0.007023705004389816, 'mean_word_length': 3.6497959183673467, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 2, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '3946465', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1466, 'n_words': 414}