<commit_before><cftry>
<cfobject component="#application.site.codePath#" name="e">
<cfset loc = {}>
<cfset loc.thisBasket = (session.till.isTranOpen) ? session.basket : session.till.prevtran>

<cfoutput>
	<div class="basket_relative">
		<script>
			$(document).ready(function(e) {<commit_msg>prevent cf errors if basket empty<commit_after><cftry>
<cfobject component="#application.site.codePath#" name="e">

<cfif StructKeyExists(session,"user") AND session.user.ID eq 0>
	<div class="basket_error">Your session timed out. Please login again.</div>
	<cfexit>
</cfif>
<cfset loc = {}>
<cfset loc.thisBasket = (session.till.isTranOpen) ? session.basket : session.till.prevtran>
<cfif StructIsEmpty(loc.thisBasket)>
	<!--- nothing to show --->
	<cfexit>
</cfif>

<cfoutput>
	<div class="basket_relative">
		<script>
			$(document).ready(function(e) {
{'fraction_non_alphanumeric': 0.17355371900826447, 'fraction_numerical': 0.0011806375442739079, 'mean_word_length': 5.838709677419355, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, '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': '4582505', 'n_tokens_mistral': 318, 'n_tokens_neox': 312, 'n_words': 60}