<commit_before><div class="rk-at-bats">
	<div class="text-center" ng-show="loading">
		<br>
		<br> <i class="fa fa-spinner fa-spin fa-4x"></i>
		<h3>Loading at-bats...</h3>
	</div>
	<div ng-hide="loading || stats.plateAppearances" class="alert alert-danger jumbotron" style="margin-top:1em;">
	   <strong>Hold up!</strong> There are no atbats available for this player based on your filter. Try adjusting your dates or other criteria. 
	</div>
	<div ng-hide="loading || !stats.plateAppearances">
	   <div class="table-responsive">
			<table class="table table-condensed">
				<thead>
					<tr>
						<th>PA</th>
						<th>AB</th>
						<th>H</th>
						<th>2B</th>
						<th>3B</th>
						<th>HR</th>
						<th>RBI</th>
						<th>SO</th>
						<th>BB</th>
						<th>iBB</th>
						<th>HBP</th>
						<th>Sac</th>
						<th>RBOE</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>{{stats.plateAppearances}}</td>
						<td>{{stats.atbats}}</td>
						<td>{{stats.singles + stats.doubles + stats.triples + stats.homeRuns}}</td>
						<td>{{stats.doubles}}</td>
						<td>{{stats.triples}}</td>
						<td>{{stats.homeRuns}}</td>
						<td>{{stats.rbi}}</td>
						<td>{{stats.strikeouts}}</td>
						<td>{{stats.walks}}</td>
						<td>{{stats.iWalks}}</td>
						<td>{{stats.hitByPitch}}</td>
						<td>{{stats.sacBunts + stats.sacFlies}}</td>
						<td>{{stats.rboe}}</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="row">
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.wOBA | number:3 }} <small>wOBA</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						style="width: {{stats.wOBA*100}}%"></div>
				</div>
			</div>
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.BA | number:3 }} <small>BA</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						style="width: {{stats.BA*100}}%"></div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.obp | number:3 }} <small>OBP</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						style="width: {{stats.obp*100}}%"></div>
				</div>
			</div>
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.slg | number:3 }} <small>SLG</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						style="width: {{stats.slg*100}}%"></div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.babip | number:3 }} <small>BABIP</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						style="width: {{stats.babip*100}}%"></div>
				</div>
			</div>
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.rmi | number:3 }} <small
						tooltip="Runner Movement Indicator (RMI), measures the ability for a batter to move their runners around the bases. For example, with a runner on first, the batter can move them a potential three bases. If they actually move them one base, they are awarded a 0.333 RMI.">RMI</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						style="width: {{stats.rmi*100}}%"></div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-6">
			    <div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">BIP by Trajectory</h3>
				  </div>
				  <div class="panel-body">
				    <div id="hipTypes"></div>
				  </div>
				</div>
			</div>
			<div id="hipScatterContainer" class="col-sm-6">
			    <div class="panel panel-default">
                  <div class="panel-heading">
                    <h3 class="panel-title">Balls in Play</h3>
                  </div>
                  <div class="panel-body">
				    <div id="hipScatter"></div>
                  </div>
                </div>
			</div><commit_msg>fixes #28: use ngStyle directive for progress bar widths as IE doesn't like you injecting updated styles on the fly<commit_after><div class="rk-at-bats">
	<div class="text-center" ng-show="loading">
		<br>
		<br> <i class="fa fa-spinner fa-spin fa-4x"></i>
		<h3>Loading at-bats...</h3>
	</div>
	<div ng-hide="loading || stats.plateAppearances" class="alert alert-danger jumbotron" style="margin-top:1em;">
	   <strong>Hold up!</strong> There are no atbats available for this player based on your filter. Try adjusting your dates or other criteria. 
	</div>
	<div ng-hide="loading || !stats.plateAppearances">
	   <div class="table-responsive">
			<table class="table table-condensed">
				<thead>
					<tr>
						<th>PA</th>
						<th>AB</th>
						<th>H</th>
						<th>2B</th>
						<th>3B</th>
						<th>HR</th>
						<th>RBI</th>
						<th>SO</th>
						<th>BB</th>
						<th>iBB</th>
						<th>HBP</th>
						<th>Sac</th>
						<th>RBOE</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>{{stats.plateAppearances}}</td>
						<td>{{stats.atbats}}</td>
						<td>{{stats.singles + stats.doubles + stats.triples + stats.homeRuns}}</td>
						<td>{{stats.doubles}}</td>
						<td>{{stats.triples}}</td>
						<td>{{stats.homeRuns}}</td>
						<td>{{stats.rbi}}</td>
						<td>{{stats.strikeouts}}</td>
						<td>{{stats.walks}}</td>
						<td>{{stats.iWalks}}</td>
						<td>{{stats.hitByPitch}}</td>
						<td>{{stats.sacBunts + stats.sacFlies}}</td>
						<td>{{stats.rboe}}</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="row">
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.wOBA | number:3 }} <small>wOBA</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						ng-style="{'width':stats.wOBA*100 + '%'}"></div>
				</div>
			</div>
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.BA | number:3 }} <small>BA</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						ng-style="{'width':stats.BA*100 + '%'}"></div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.obp | number:3 }} <small>OBP</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						ng-style="{'width':stats.obp*100 + '%'}"></div>
				</div>
			</div>
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.slg | number:3 }} <small>SLG</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						ng-style="{'width':stats.slg*100 + '%'}"></div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.babip | number:3 }} <small>BABIP</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						ng-style="{'width':stats.babip*100 + '%'}"></div>
				</div>
			</div>
			<div class="col-xs-6 form-group">
				<h4>
					{{stats.rmi | number:3 }} <small
						tooltip="Runner Movement Indicator (RMI), measures the ability for a batter to move their runners around the bases. For example, with a runner on first, the batter can move them a potential three bases. If they actually move them one base, they are awarded a 0.333 RMI.">RMI</small>
				</h4>
				<div class="progress">
					<div class="progress-bar progress-bar-info" role="progressbar"
						ng-style="{'width':stats.rmi*100 + '%'}"></div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-6">
			    <div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">BIP by Trajectory</h3>
				  </div>
				  <div class="panel-body">
				    <div id="hipTypes"></div>
				  </div>
				</div>
			</div>
			<div id="hipScatterContainer" class="col-sm-6">
			    <div class="panel panel-default">
                  <div class="panel-heading">
                    <h3 class="panel-title">Balls in Play</h3>
                  </div>
                  <div class="panel-body">
				    <div id="hipScatter"></div>
                  </div>
                </div>
			</div>
{'fraction_non_alphanumeric': 0.20769973449191406, 'fraction_numerical': 0.014240888245232923, 'mean_word_length': 2.5505569837189372, 'pattern_counts': {'":': 0, '<': 341, '<?xml version=': 0, '>': 341, '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': '5088777', 'n_tokens_mistral': 3951, 'n_tokens_neox': 3015, 'n_words': 610}