<commit_before><!-- The choose-test view -->
<section id="choose-test" class="container admin-analysis">
	<div class="alert alert-warning" ng-repeat="attempt in attempts" ng-if="!attempt.submitted">
		<div ng-if="attempt != null">
			<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
	  		<strong>Warning!</strong> You have a test in session right now. Click <a ng-click="start_exam(attempt.exam)">here</a> to return to {{attempt.exam.title}}
  		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div class="page-header">
				<h1 class="black-text">Choose Your Exam</h1>
			</div>
		</div>
	</div>
	<!-- choosing which test you want -->
	<div class="row">
		<div class="col-md-6 test-con">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 1</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="exam in exams" ng-if="exam.class==='Algebra 1'">
					<td class="exam-name">{{exam.title}}</td>
					<td nowrap>
						<i ng-click="start_exam(exam)" class="btn btn-primary glyphicon glyphicon-share"></i>
						<i class="btn btn-primary glyphicon glyphicon-search"></i>
					</td>
				</tr>
			</table>
		</div>
		<div class ="col-md-6 test-con">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 2</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="exam in exams" ng-if="exam.class==='Algebra 2'">
					<td class="exam-name">{{exam.title}}</td>
					<td nowrap>
						<i ng-click="start_exam(exam)" class="btn btn-primary glyphicon glyphicon-share"></i>
						<i class="btn btn-primary glyphicon glyphicon-search"></i>
					</td>
				</tr>
			</table>
		</div>
	</div>
		<br>
		<br>
		<span><h2 class = "black-text prev-attempt"> View Your Previous Attempts</h2></span>
		<br><br>
		<div class = "row">
		<div class="test-con col-md-6 ">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 1</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="attempt in attempts" ng-if="attempt.submitted && attempt.exam.class==='Algebra 1'">
					<td class="exam-name">{{attempt.exam_title}}</td>
					<td><i ng-click="review_attempt(attempt)"class="btn btn-primary glyphicon glyphicon-share"></i></td>
				</tr>
			</table>
		</div>
		<div class="test-con col-md-6 ">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 2</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="attempt in attempts" ng-if="attempt.submitted && attempt.exam.class==='Algebra 2'">
					<td class="exam-name">{{attempt.exam_title}}</td>
					<td><i ng-click="review_attempt(attempt)"class="btn btn-primary glyphicon glyphicon-share"></i></td>
				</tr>
			</table>
		</div>
	</div>
</section>


<!-- <div class="container">
<div class="row">

<div class="col-md-8">
	<table>
		<th> title </th>
		<th> class </th>
		<tr ng-repeat="exam in exams">
			<td>{{exam.title}}</td>
			<td>{{exam.class}}</td>
			<td style="padding-bottom:20px" class="btn btn-primary" ng-click="start_exam(exam)">
				begin
			</td>
		</tr>
	</table>
</div>

<div class="col-md-4">
	<table>
		<th>Submitted Attempts:</th>
		<tr ng-repeat="attempt in attempts" ng-if="attempt.submitted">
			<td>{{attempt.exam_title}}</td>
			<td>
				<button class="btn btn-primary" type="button" ng-click="review_attempt(attempt)">
						View
				</button>	
			<td>
		</tr>
	</table>
</div>

</div>
</div>
 --><commit_msg>House Keeping and Safety Testing<commit_after><!-- The choose-test view -->
<section id="choose-test" class="container admin-analysis">
	<div class="alert alert-warning" ng-repeat="attempt in attempts" ng-if="!attempt.submitted">
		<div ng-if="attempt != null">
			<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
	  		<strong>Warning!</strong> You have a test in session right now. Click <a ng-click="start_exam(attempt.exam)">here</a> to return to {{attempt.exam.title}}
  		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div class="page-header">
				<h1 class="black-text">Choose Your Exam</h1>
			</div>
		</div>
	</div>
	<!-- choosing which test you want -->
	<div class="row">
		<div class="col-md-6 test-con">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 1</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="exam in exams" ng-if="exam.class==='Algebra 1'">
					<td class="exam-name">{{exam.title}}</td>
					<td nowrap>
						<i ng-click="start_exam(exam)" class="btn btn-primary glyphicon glyphicon-share"></i>
						<i class="btn btn-primary glyphicon glyphicon-search"></i>
					</td>
				</tr>
			</table>
		</div>
		<div class ="col-md-6 test-con">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 2</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="exam in exams" ng-if="exam.class==='Algebra 2'">
					<td class="exam-name">{{exam.title}}</td>
					<td nowrap>
						<i ng-click="start_exam(exam)" class="btn btn-primary glyphicon glyphicon-share"></i>
						<i class="btn btn-primary glyphicon glyphicon-search"></i>
					</td>
				</tr>
			</table>
		</div>
	</div>
		<br>
		<br>
		<span><h2 class = "black-text prev-attempt"> View Your Previous Attempts</h2></span>
		<br><br>
		<div class = "row">
		<div class="test-con col-md-6 ">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 1</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="attempt in attempts" ng-if="attempt.submitted && attempt.exam.class==='Algebra 1'">
					<td class="exam-name">{{attempt.exam_title}}</td>
					<td><i ng-click="review_attempt(attempt)"class="btn btn-primary glyphicon glyphicon-share"></i></td>
				</tr>
			</table>
		</div>
		<div class="test-con col-md-6 ">
			<h3 class="black-text" style="border-bottom:1px solid #e2e2e2;">Algebra 2</h3>
			<table class="table table-hover table-striped table-bordered">
				<tr ng-repeat="attempt in attempts" ng-if="attempt.submitted && attempt.exam.class==='Algebra 2'">
					<td class="exam-name">{{attempt.exam_title}}</td>
					<td><i ng-click="review_attempt(attempt)"class="btn btn-primary glyphicon glyphicon-share"></i></td>
				</tr>
			</table>
		</div>
	</div>
</section>
{'fraction_non_alphanumeric': 0.20653022965161694, 'fraction_numerical': 0.013747851898140916, 'mean_word_length': 3.8684410646387835, 'pattern_counts': {'":': 0, '<': 226, '<?xml version=': 0, '>': 226, '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': '3954202', 'n_tokens_mistral': 2801, 'n_tokens_neox': 2358, 'n_words': 496}