<commit_before><cftry>

<cfloop collection="#session.epos_archive#" item="key">
	<cfset ref = StructFind(session.epos_archive, key)>
	<cfset frame = StructCopy(ref)>
	<cfset StructDelete(session, "basket")>
	<cfset StructInsert(session, "basket", frame)>
	<cfset StructDelete(session.epos_archive, key)>
</cfloop>

<cfcatch type="any">
	<cfset writeDumpToFile(cfcatch)>
</cfcatch>
</cftry><commit_msg>Fix basket total on resume basket<commit_after><cftry>

	<cfloop collection="#session.epos_archive#" item="key">
		<cfset ref = StructFind(session.epos_archive, key)>
		<cfset frame = StructCopy(ref)>
		<cfset StructDelete(session, "basket")>
		<cfset StructInsert(session, "basket", frame)>
		<cfset StructDelete(session.epos_archive, key)>
	</cfloop>
	<cfset session.till.isTranOpen = true>

<cfcatch type="any">
	<cfset writeDumpToFile(cfcatch)>
</cfcatch>
</cftry>
{'fraction_non_alphanumeric': 0.15995397008055237, 'fraction_numerical': 0.0, 'mean_word_length': 7.2075471698113205, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '6677055', 'n_tokens_mistral': 329, 'n_tokens_neox': 324, 'n_words': 63}