<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/osgi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:beans="http://www.springframework.org/schema/beans"
	xsi:schemaLocation="http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<service ref="dataflowActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="beanshellActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="rshellActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="spreadsheetActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="stringConstantActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="biomobyActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="soaplabActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="wsdlActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="wsdlXMLSplitterParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="biomartActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="apiConsomerActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	
	<service ref="externalToolActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="restActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	
	<service ref="parallelizeParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="errorBounceParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="failoverParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="retryParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="loopParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="invokeParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />

	<set id="t2Parsers" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" cardinality="0..N" />

	<service ref="t2FlowReader" interface="uk.org.taverna.scufl2.api.io.WorkflowBundleReader" />

</beans:beans><commit_msg>Set a mediaType property when registering T2FlowReader as a service so that bundles consuming the service can filter by media type.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/osgi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:beans="http://www.springframework.org/schema/beans"
	xsi:schemaLocation="http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<service ref="dataflowActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="beanshellActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="rshellActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="spreadsheetActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="stringConstantActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="biomobyActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="soaplabActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="wsdlActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="wsdlXMLSplitterParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="biomartActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="apiConsomerActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />

	<service ref="externalToolActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="restActivityParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />

	<service ref="parallelizeParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="errorBounceParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="failoverParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="retryParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="loopParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />
	<service ref="invokeParser" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" />

	<set id="t2Parsers" interface="uk.org.taverna.scufl2.translator.t2flow.T2Parser" cardinality="0..N" />

	<service ref="t2FlowReader" interface="uk.org.taverna.scufl2.api.io.WorkflowBundleReader">
		<service-properties>
			<beans:entry key="mediaType" value="application/vnd.taverna.t2flow+xml" />
		</service-properties>
	</service>

</beans:beans>
{'fraction_non_alphanumeric': 0.1557061732918117, 'fraction_numerical': 0.026744825059534714, 'mean_word_length': 6.788873038516405, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 2, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 9}, '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': '4558511', 'n_tokens_mistral': 2032, 'n_tokens_neox': 1985, 'n_words': 177}