<commit_before><?php
//Get values to save from multiple calls
$balance = API::getBalance();
$balance_all = API::getBalanceAll();
$ticket_count = API::getTicketCount();
$relayfee = API::getRelayFee();
?>		
		    
		<section class="light">
			<div class="container">
				<div class="raw-stat single-box">
					<h1>Balance</h1>
							
					<div class="stat-wrapper">
						<h5><?php echo $balance; ?></h5>
						<span class="normal-font">Available</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo ($balance_all - $balance); ?></h5>
						<span class="normal-font">Locked</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo $balance_all; ?></h5>
						<span class="normal-font">Total</span>
					</div>

					<div class="cb"></div>
				</div>
				
				<div class="raw-stat single-box">
					<h1>Tickets</h1>
					<label for="show-tickets" class="show-tickets" title="Show tickets"></label>
					<input type="checkbox" id="show-tickets" name="show-tickets"/>
					
					<div class="stat-wrapper">
						<h5><?php echo $ticket_count; ?></h5>
						<span class="normal-font">Count</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo -($ticket_count * $relayfee); ?></h5>
						<span class="normal-font">Fees</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo $ticket_count > 0  ? ($ticket_count * 1.85) : "0"; ?></h5>
						<span class="normal-font">Estimated worth</span>
					</div>

					<div class="cb"></div>
					
					<div id="transactions" class="ticket-wrapper">
						
					</div>
				</div>
			</div>
		</section>
		<commit_msg>Changed hardcoded value used for Estimated Ticket Worth<commit_after><?php
//Get values to save from multiple calls
$balance = API::getBalance();
$balance_all = API::getBalanceAll();
$ticket_count = API::getTicketCount();
$relayfee = API::getRelayFee();
?>		
		    
		<section class="light">
			<div class="container">
				<div class="raw-stat single-box">
					<h1>Balance</h1>
							
					<div class="stat-wrapper">
						<h5><?php echo $balance; ?></h5>
						<span class="normal-font">Available</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo ($balance_all - $balance); ?></h5>
						<span class="normal-font">Locked</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo $balance_all; ?></h5>
						<span class="normal-font">Total</span>
					</div>

					<div class="cb"></div>
				</div>
				
				<div class="raw-stat single-box">
					<h1>Tickets</h1>
					<label for="show-tickets" class="show-tickets" title="Show tickets"></label>
					<input type="checkbox" id="show-tickets" name="show-tickets"/>
					
					<div class="stat-wrapper">
						<h5><?php echo $ticket_count; ?></h5>
						<span class="normal-font">Count</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo -($ticket_count * $relayfee); ?></h5>
						<span class="normal-font">Fees</span>
					</div>
							
					<div class="stat-wrapper">
						<h5><?php echo $ticket_count > 0  ? ($ticket_count * 3.87174959) : "0"; ?></h5>
						<span class="normal-font">Estimated worth</span>
					</div>

					<div class="cb"></div>
					
					<div id="transactions" class="ticket-wrapper">
						
					</div>
				</div>
			</div>
		</section>
		
{'fraction_non_alphanumeric': 0.19964136282127914, 'fraction_numerical': 0.01434548714883443, 'mean_word_length': 2.669956140350877, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 133, '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': '6223109', 'n_tokens_mistral': 1587, 'n_tokens_neox': 1157, 'n_words': 227}