<commit_before><join table="instrumentsummary">
	<key column="InstrID"/>		
	<property name="summary" column="Summary" type="string"/>
</join>	

<!-- set optional="true" to outer-join this table, since only instruments that upload files use it -->
<join table="uploadedfiles" optional="true">
	<key column="InstrID"/>
	<!-- note that because this table is joined using option="true", at least one property 
		must be not null for a row to be inserted when an instrument row is inserted. thus,
		each instrument class that does file upload typically sets the filename to the empty string
		in its constructor -->
	<property name="filename" column="FileName" type="string"/>
	<!-- initially used "clob" for fileContents, but when retrieved it is always null, resulting in: 
		java.lang.illegalStateException:Clob can not be accessed after serialization
		changed to "string" and works. java.lang.String and SQL Server "text" can both hold 2^31-1 bytes, so should be fine -->
	<property name="fileContents" column="FileContents" type="string"/>
	</join>	

<filter name="patientAuth"/> <commit_msg>not using the uploadedFiles table anymore<commit_after><join table="instrumentsummary">
	<key column="InstrID"/>		
	<property name="summary" column="Summary" type="string"/>
</join>	

<filter name="patientAuth"/> 
{'fraction_non_alphanumeric': 0.12327718223583461, 'fraction_numerical': 0.0030627871362940277, 'mean_word_length': 5.107476635514018, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2495070', 'n_tokens_mistral': 365, 'n_tokens_neox': 348, 'n_words': 143}