Records Lost from Random Chance Activity

This page uses a Hashtag List to show all Chance Records flagged as lost.   The list is styled using Bootstrap 3 default theme classes.  
Name Loss Date Cause Reloads Attributes
Record #4 01/04/2025 Large 24 Small Large
Record #6 01/04/2025 Small 19 Small Medium
Record #9 01/04/2025 Large 19 Small Large
Record #10 01/04/2025 Large 18 Large
Record #22 01/12/2025 Large 15 Small Large
Record #5 01/04/2025 Medium 14 Medium
Record #18 01/06/2025 Small 13 Small
Record #7 01/04/2025 Large 13 Small Large
Record #11 01/04/2025 Medium 13 Medium
Record #13 01/04/2025 Small 12 Small
Record #23 01/12/2025 Small 12 Small Large
Record #25 01/12/2025 Medium 11 Small Medium
Record #1 01/04/2025 Small 10 Small
Record #14 01/04/2025 Large 10 Medium Large
Record #26 01/12/2025 Medium 8 Medium
Record #16 01/04/2025 Medium 8 Medium
Record #28 01/12/2025 Large 8 Large
Record #3 01/04/2025 Large 7 Large
Record #30 01/12/2025 Medium 7 Medium Large
Record #12 01/04/2025 Large 7 Small Large
Record #19 01/04/2025 Small 4 Small Large
Record #2 01/04/2025 Large 3 Large
Record #29 01/08/2025 Small 3 Small
Record #20 01/04/2025 Large 2 Large
Record #15 01/04/2025 Large 1 Large


Processed this Hashtag Markup:
<# start list for chance_records;
	include when status is "lost";
	relate id to chance_record_attributes.record_id;
	relate chance_record_attributes.attribute_id to chance_attributes.id;
	sort by counter descending as number, id, chance_attributes.loss_percent as number;
	show 50 rows per page;
#>

<# start header #>
<table class="table table-striped table-hover">
	<thead>
	<tr>
		<th>Name</th>
		<th>Loss Date</th>
		<th class="text-center">Cause</th>
		<th class="text-center">Reloads</th>
		<th>Attributes</th>
	</tr>
	</thead>
	<tbody>
<# end header #>

<# start row #>
	<tr>
		<td>Record #<# chance_records.instance_id #></td>
		<td><# chance_records.updated_on as date #></td>
		<td class="text-center">
			<span class="label label-danger"><# loss_cause as html #></span>
		</td>
		<td class="text-center"><# counter as integer #></td>
		<td><# start row loop for chance_records.id; #>
			<span class="label label-danger"><# chance_attributes.name as html #></span>
			<# end row loop #>
		</td>
	</tr>
<# end row #>

<# start footer #>
	</tbody>
</table>
<# end footer #>

<# start no results #>
<h4 class="alert alert-warning text-center">No Lost Chance Records</h4>
<# end no results #>

<# end list #>

The Random Chance Mini-App uses Hashtag Markup to demonstrate an arbitrary non‑deterministic process.

Records are created on a reload count schedule, and randomly obtain negative attributes that can lead to the record being flagged as lost.

All records are stored in an SQL Database.