<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>

	<bean id="crmsReportViewResolver" class="org.springframework.web.servlet.view.XmlViewResolver">
		<!-- must be ordered to come before jspViewResolver, because InternalResourceViewResolver does not
			report non-existing views and therefore the next view resolver in the chain will not be tried,
			i.e. when chaining view resolvers, InternalResourceViewResolver must be last -->
		<property name="order" value="250"/>
		<property name="location"><value>/WEB-INF/context/crms/crms-reports.xml</value></property>
	</bean>
  
  	
	
<!-- actions -->

	<bean id="crmsReportFlowAction" abstract="true" parent="coreReportFlowAction" class="edu.ucsf.lava.crms.action.model.CrmsAction">
		<property name="patientSectionDefault" value="false"/>
		<property name="patientModuleDefault" value="false"/>
		<property name="parentFlows">
			<list>
				<value>lava.core.reporting.reports.reportLauncher</value>
				<value>lava.crms.reporting.reports.crmsReportLauncher</value>
			</list>
		</property>	
	</bean>	
	
	<bean id="crmsReportLauncherFlowAction" abstract="true" parent="coreReportLauncherFlowAction" class="edu.ucsf.lava.crms.action.model.CrmsAction">
		<property name="patientSectionDefault" value="true"/>
		<property name="patientModuleDefault" value="true"/>
		<property name="moduleDefault" value="true"/>
		<property name="sectionDefault" value="true"/>
		
	</bean>	
	

 	 <bean id="lava.crms.reporting.reports.crmsReportLauncher" parent="crmsReportLauncherFlowAction">
 	</bean>	
	
	<bean id="lava.crms.reporting.reports.projectPatientStatus" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.projectVisitListByDate" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.researchVisitListByDate" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.researchVisitListByPatient" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.projectVisitListByPatient" parent="crmsReportFlowAction"/>



<!--  Form Action Definitions -->					
	<bean id="crmsReportLauncherFormAction" parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean id="reportLauncherHandler" class="edu.ucsf.lava.core.reporting.controller.ReportLauncherComponentHandler" parent="coreHandler"/>
	</list></constructor-arg></bean>		
	
	<bean id="crmsReportComponentHandler" abstract="true" parent="crmsHandler" class="edu.ucsf.lava.crms.reporting.controller.CrmsReportComponentHandler"/>
	
	<bean id="crmsNoCriteriaReportHandler" abstract="true" parent="crmsReportComponentHandler"/>
	
	<bean id="crmsDateCriteriaReportHandler" abstract="true"  parent="crmsReportComponentHandler">
		<property name="dateCriteria"><value>true</value></property>
	</bean>
	
	<bean id="crmsProjectCriteriaReportHandler" abstract="true"  parent="crmsReportComponentHandler">
		<property name="projectCriteria"><value>true</value></property>
	</bean>

	<bean id="crmsDateProjectCriteriaReportHandler" abstract="true"  parent="crmsReportComponentHandler">
		<property name="dateCriteria"><value>true</value></property>
		<property name="projectCriteria"><value>true</value></property>
	</bean>
	
	
	
	<bean id="projectPatientStatusFormAction"  parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsProjectCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="researchVisitListByDateFormAction"  parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsDateCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="researchVisitListByPatientFormAction"  parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsDateCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="projectVisitListByDateFormAction" parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsDateProjectCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="projectVisitListByPatientFormAction" parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsProjectCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	
	
	
</beans><commit_msg>modified crmsReportFlowAction, rmsReportLauncherFlowAction beans to inherit from crmsAction<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>

	<bean id="crmsReportViewResolver" class="org.springframework.web.servlet.view.XmlViewResolver">
		<!-- must be ordered to come before jspViewResolver, because InternalResourceViewResolver does not
			report non-existing views and therefore the next view resolver in the chain will not be tried,
			i.e. when chaining view resolvers, InternalResourceViewResolver must be last -->
		<property name="order" value="250"/>
		<property name="location"><value>/WEB-INF/context/crms/crms-reports.xml</value></property>
	</bean>
  
<!-- actions -->
	
	<bean id="crmsReportFlowAction" abstract="true" parent="crmsAction" class="edu.ucsf.lava.crms.action.model.CrmsAction">
		<property name="flowTypeBuilder"> <ref bean="coreReportFlowTypeBuilder"/></property>
		<property name="patientSectionDefault" value="false"/>
		<property name="patientModuleDefault" value="false"/>
		<property name="parentFlows">
			<list>
				<value>lava.core.reporting.reports.reportLauncher</value>
				<value>lava.crms.reporting.reports.crmsReportLauncher</value>
			</list>
		</property>	
	</bean>	
	
	<bean id="crmsReportLauncherFlowAction" abstract="true" parent="crmsAction" class="edu.ucsf.lava.crms.action.model.CrmsAction">
		<property name="flowTypeBuilder"><ref bean="coreReportLauncherFlowTypeBuilder"/></property>
		<property name="patientSectionDefault" value="true"/>
		<property name="patientModuleDefault" value="true"/>
		<property name="moduleDefault" value="true"/>
		<property name="sectionDefault" value="true"/>
	</bean>	
	
	<bean id="lava.crms.reporting.reports.crmsReportLauncher" parent="crmsReportLauncherFlowAction">
 	</bean>	
	
	<bean id="lava.crms.reporting.reports.projectPatientStatus" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.projectVisitListByDate" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.researchVisitListByDate" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.researchVisitListByPatient" parent="crmsReportFlowAction"/>
	<bean id="lava.crms.reporting.reports.projectVisitListByPatient" parent="crmsReportFlowAction"/>

<!--  Form Action Definitions -->					
	<bean id="crmsReportLauncherFormAction" parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean id="reportLauncherHandler" class="edu.ucsf.lava.core.reporting.controller.ReportLauncherComponentHandler" parent="coreHandler"/>
	</list></constructor-arg></bean>		
	
	<bean id="crmsReportComponentHandler" abstract="true" parent="crmsHandler" class="edu.ucsf.lava.crms.reporting.controller.CrmsReportComponentHandler"/>
	
	<bean id="crmsNoCriteriaReportHandler" abstract="true" parent="crmsReportComponentHandler"/>
	
	<bean id="crmsDateCriteriaReportHandler" abstract="true"  parent="crmsReportComponentHandler">
		<property name="dateCriteria"><value>true</value></property>
	</bean>
	
	<bean id="crmsProjectCriteriaReportHandler" abstract="true"  parent="crmsReportComponentHandler">
		<property name="projectCriteria"><value>true</value></property>
	</bean>

	<bean id="crmsDateProjectCriteriaReportHandler" abstract="true"  parent="crmsReportComponentHandler">
		<property name="dateCriteria"><value>true</value></property>
		<property name="projectCriteria"><value>true</value></property>
	</bean>
	
	
	<bean id="projectPatientStatusFormAction"  parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsProjectCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="researchVisitListByDateFormAction"  parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsDateCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="researchVisitListByPatientFormAction"  parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsDateCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="projectVisitListByDateFormAction" parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsDateProjectCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
	<bean id="projectVisitListByPatientFormAction" parent="crmsEntityComponentFormAction"><constructor-arg><list>
		<bean parent="crmsProjectCriteriaReportHandler"/>
	</list></constructor-arg></bean>	
	
</beans>
{'fraction_non_alphanumeric': 0.14785067873303168, 'fraction_numerical': 0.0013574660633484162, 'mean_word_length': 7.1709796672828094, 'pattern_counts': {'":': 0, '<': 219, '<?xml version=': 2, '>': 219, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '5622089', 'n_tokens_mistral': 2818, 'n_tokens_neox': 2566, 'n_words': 385}