<commit_before><!-- The view-test view -->
<section id="take-test" ng-controller="QuestionsController" ng-init="loadQuestions()">
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12 test-con">
				<h2 class="test-title">{{testName}}</h2>
		  </div>

		<div class="row" >
			<div class="col-md-5">
			<!--ng-progressbar directive -->
				<ng-progressbar type="info" max="{{max_count}}" start="{{timer_running}}" on-stop="stopProgress()">
				</ng-progressbar> 
			</div>
			<span class="label label-success" ng-if="timer_running">Test in Session</span>
			<span class="label label-danger" ng-if="!timer_running">Test Not in Session</span>
		</div>

				<a ng-click="openCalcWindow()" class="btn btn-default"><i class="fa fa-calculator"></i> <span class="network-name">Calculator</span></a>


				<!--<div>-->
				    <script type="text/ng-template" id="formulaModal.html">
				        <div class="modal-header">
				            <h3 class="modal-title">Formula Sheet</h3>
				        </div>
				        <div class="modal-body">
				            <ul>
				                <div>
				                <iframe class="pdfSize" align="center" src="modules/core/client/img/formulaSheet.png"></iframe>
				                </div>
				            </ul>
				        </div>
				    </script>
					
				    <button class="btn btn-default" ng-click="openFormula('lg')"><i class="fa fa-list-ol"></i>Formula Sheet</button>
				<!--</div> -->

				<button class="btn btn-default" ng-disabled="currentPage == 0" ng-click="previousQuestion()"><span class="glyphicon glyphicon-arrow-left"></span></button>

				 <div class="btn-group" dropdown keyboard-nav>
			        <button id="simple-btn-keyboard-nav" type="button" class="btn btn-primary" dropdown-toggle>
			            {{currentPage+1}}/{{numberOfPages()}} <span class="caret"></span>
			        </button>
			        <ul class="dropdown-menu" role="menu" aria-labelledby="simple-btn-keyboard-nav">
			             <li ng-repeat="question in testQuestions.questions">
				          <a ng-click="jumpTo($index)">{{$index + 1 }} <span class="glyphicon glyphicon-flag" ng-if="checkForReview($index)"></span></a>
				        </li>
			        </ul>
			    </div>

				<button class="btn btn-default" ng-disabled="currentPage >= testQuestions.questions.length - 1" ng-click="nextQuestion()"><span class="glyphicon glyphicon-arrow-right"></span></button>
				<button class="btn btn-default" ng-click="showTextArea()"><span class="glyphicon glyphicon-pencil"></span> Notepad</button>
				<button class="btn {{marked}}" ng-click="mark_unmark()"><span class="glyphicon glyphicon-flag"></span> {{reviewButtonText}}</button>
				

				<!-- DROP DOWN MENU WITH NOTEPAD/MARK FOR REVIEW/TUTORIAL/STRIKETHOUGH/etc/ --
				<button class='btn btn-default'> <span uib-dropdown on-toggle="toggled(open)"> 
      <a href id="simple-dropdown" uib-dropdown-toggle>
        <span class="glyphicon glyphicon-align-justify"></span>
      </a>

      <ul class="notepad uib-dropdown-menu" aria-labelledby="simple-dropdown">
        <!--<li ng-repeat="choice in items">
          <a href>{{choice}}</a>- ->
          <li class="notepad"><!--<span class="glyphicon glyphicon-align-calendar"></span> - -><a href>Notepad</a></li><commit_msg>Add Space<commit_after><!-- The view-test view -->
<section id="take-test" ng-controller="QuestionsController" ng-init="loadQuestions()">
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12 test-con">
				<h2 class="test-title">{{testName}}</h2>
		  </div>

		<div class="row" >
			<div class="col-md-5">
			<!--ng-progressbar directive -->
				<ng-progressbar type="info" max="{{max_count}}" start="{{timer_running}}" on-stop="stopProgress()">
				</ng-progressbar> 
			</div>
			<span class="label label-success" ng-if="timer_running">Test in Session</span>
			<span class="label label-danger" ng-if="!timer_running">Test Not in Session</span>
		</div>

				<a ng-click="openCalcWindow()" class="btn btn-default"><i class="fa fa-calculator"></i> <span class="network-name">Calculator</span></a>


				<!--<div>-->
				    <script type="text/ng-template" id="formulaModal.html">
				        <div class="modal-header">
				            <h3 class="modal-title">Formula Sheet</h3>
				        </div>
				        <div class="modal-body">
				            <ul>
				                <div>
				                <iframe class="pdfSize" align="center" src="modules/core/client/img/formulaSheet.png"></iframe>
				                </div>
				            </ul>
				        </div>
				    </script>
					
				    <button class="btn btn-default" ng-click="openFormula('lg')"><i class="fa fa-list-ol"></i> Formula Sheet</button>
				<!--</div> -->

				<button class="btn btn-default" ng-disabled="currentPage == 0" ng-click="previousQuestion()"><span class="glyphicon glyphicon-arrow-left"></span></button>

				 <div class="btn-group" dropdown keyboard-nav>
			        <button id="simple-btn-keyboard-nav" type="button" class="btn btn-primary" dropdown-toggle>
			            {{currentPage+1}}/{{numberOfPages()}} <span class="caret"></span>
			        </button>
			        <ul class="dropdown-menu" role="menu" aria-labelledby="simple-btn-keyboard-nav">
			             <li ng-repeat="question in testQuestions.questions">
				          <a ng-click="jumpTo($index)">{{$index + 1 }} <span class="glyphicon glyphicon-flag" ng-if="checkForReview($index)"></span></a>
				        </li>
			        </ul>
			    </div>

				<button class="btn btn-default" ng-disabled="currentPage >= testQuestions.questions.length - 1" ng-click="nextQuestion()"><span class="glyphicon glyphicon-arrow-right"></span></button>
				<button class="btn btn-default" ng-click="showTextArea()"><span class="glyphicon glyphicon-pencil"></span> Notepad</button>
				<button class="btn {{marked}}" ng-click="mark_unmark()"><span class="glyphicon glyphicon-flag"></span> {{reviewButtonText}}</button>
				

				<!-- DROP DOWN MENU WITH NOTEPAD/MARK FOR REVIEW/TUTORIAL/STRIKETHOUGH/etc/ --
				<button class='btn btn-default'> <span uib-dropdown on-toggle="toggled(open)"> 
      <a href id="simple-dropdown" uib-dropdown-toggle>
        <span class="glyphicon glyphicon-align-justify"></span>
      </a>

      <ul class="notepad uib-dropdown-menu" aria-labelledby="simple-dropdown">
        <!--<li ng-repeat="choice in items">
          <a href>{{choice}}</a>- ->
          <li class="notepad"><!--<span class="glyphicon glyphicon-align-calendar"></span> - -><a href>Notepad</a></li>
{'fraction_non_alphanumeric': 0.19518921403401257, 'fraction_numerical': 0.003370614371074, 'mean_word_length': 3.0521415270018624, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, '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': '7320235', 'n_tokens_mistral': 2410, 'n_tokens_neox': 1981, 'n_words': 367}