<commit_before><style type="text/css">
	<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__.'/toolbar.css')) ?>
</style>

<script type="text/javascript">
	<?= file_get_contents(__DIR__.'/toolbar.js') ?>
</script>

<div id="debug-bar">
	<div class="toolbar">
		<h1>Debug Bar</h1>

		<span class="ci-label"><?= $totalTime ?> ms</span>
		<span class="ci-label"><?= $totalMemory ?> MB</span>
		<span class="ci-label"><a href="javascript: void(0)" data-tab="ci-timeline">Timeline</a></span>
		<span class="ci-label"><a href="javascript: void(0)" data-tab="ci-request">Request</a></span>
		<span class="ci-label"><a href="javascript: void(0)" data-tab="ci-response">Response</a></span>
	</div>

	<!-- Timeline -->
	<div id="ci-timeline" class="tab">

	</div>

	<!-- Request -->
	<div id="ci-request" class="tab">
		<h2>Request <span>( <?= ($request->isSecure() ? 'HTTPS' : 'HTTP').'/'.$request->getProtocolVersion() ?> )</span></h2>

		<?php if ($get = $request->getGet()) : ?>
			<h3>$_GET</h3>

			<table>
				<tbody>
				<?php foreach ($get as $name => $value) : ?>
					<tr>
						<td><?= esc($name) ?></td>
						<td><?= esc($value) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>

		<?php if ($post = $request->getPost()) : ?>
			<h3>$_POST</h3>

			<table>
				<tbody>
				<?php foreach ($post as $name => $value) : ?>
					<tr>
						<td><?= esc($name) ?></td>
						<td><?= esc($value) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>

		<?php if ($headers = $request->getHeaders()) : ?>
			<h3>Headers</h3>

			<table>
				<tbody>
				<?php foreach ($headers as $header => $value) : ?>
					<tr>
						<td><?= esc($header) ?></td>
						<td><?= esc($request->getHeaderLine($header)) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>

		<?php if ($get = $request->getCookie()) : ?>
			<h3>Cookies</h3>

			<table>
				<tbody>
				<?php foreach ($get as $name => $value) : ?>
					<tr>
						<td><?= esc($name) ?></td>
						<td><?= esc($value) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>
	</div>

	<!-- Response -->
	<div id="ci-response" class="tab">
		<h2>Response</h2>

		<?php if ($headers = $response->getHeaders()) : ?>
			<h3>Headers</h3>

			<table>
				<tbody>
				<?php foreach ($headers as $header => $value) : ?>
					<tr>
						<td><?= esc($header) ?></td>
						<td><?= esc($response->getHeaderLine($header)) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif; ?>
	</div>
</div>

<script>
	ciDebugBar.init();
</script><commit_msg>Showing Response status code and reason in toolbar.<commit_after><style type="text/css">
	<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__.'/toolbar.css')) ?>
</style>

<script type="text/javascript">
	<?= file_get_contents(__DIR__.'/toolbar.js') ?>
</script>

<div id="debug-bar">
	<div class="toolbar">
		<h1>Debug Bar</h1>

		<span class="ci-label"><?= $totalTime ?> ms</span>
		<span class="ci-label"><?= $totalMemory ?> MB</span>
		<span class="ci-label"><a href="javascript: void(0)" data-tab="ci-timeline">Timeline</a></span>
		<span class="ci-label"><a href="javascript: void(0)" data-tab="ci-request">Request</a></span>
		<span class="ci-label"><a href="javascript: void(0)" data-tab="ci-response">Response</a></span>
	</div>

	<!-- Timeline -->
	<div id="ci-timeline" class="tab">

	</div>

	<!-- Request -->
	<div id="ci-request" class="tab">
		<h2>Request <span>( <?= ($request->isSecure() ? 'HTTPS' : 'HTTP').'/'.$request->getProtocolVersion() ?> )</span></h2>

		<?php if ($get = $request->getGet()) : ?>
			<h3>$_GET</h3>

			<table>
				<tbody>
				<?php foreach ($get as $name => $value) : ?>
					<tr>
						<td><?= esc($name) ?></td>
						<td><?= esc($value) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>

		<?php if ($post = $request->getPost()) : ?>
			<h3>$_POST</h3>

			<table>
				<tbody>
				<?php foreach ($post as $name => $value) : ?>
					<tr>
						<td><?= esc($name) ?></td>
						<td><?= esc($value) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>

		<?php if ($headers = $request->getHeaders()) : ?>
			<h3>Headers</h3>

			<table>
				<tbody>
				<?php foreach ($headers as $header => $value) : ?>
					<tr>
						<td><?= esc($header) ?></td>
						<td><?= esc($request->getHeaderLine($header)) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>

		<?php if ($get = $request->getCookie()) : ?>
			<h3>Cookies</h3>

			<table>
				<tbody>
				<?php foreach ($get as $name => $value) : ?>
					<tr>
						<td><?= esc($name) ?></td>
						<td><?= esc($value) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif ?>
	</div>

	<!-- Response -->
	<div id="ci-response" class="tab">
		<h2>Response <span>( <?= $response->getStatusCode().' - '. esc($response->getReason()) ?> )</span></h2>

		<?php if ($headers = $response->getHeaders()) : ?>
			<h3>Headers</h3>

			<table>
				<tbody>
				<?php foreach ($headers as $header => $value) : ?>
					<tr>
						<td><?= esc($header) ?></td>
						<td><?= esc($response->getHeaderLine($header)) ?></td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		<?php endif; ?>
	</div>
</div>

<script>
	ciDebugBar.init();
</script>
{'fraction_non_alphanumeric': 0.270509977827051, 'fraction_numerical': 0.007021433850702144, 'mean_word_length': 3.0185597624350406, 'pattern_counts': {'":': 0, '<': 282, '<?xml version=': 0, '>': 312, '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': '6707827', 'n_tokens_mistral': 2458, 'n_tokens_neox': 2063, 'n_words': 410}