<commit_before>{%extends "master.html"%}
{%block title%}History{%endblock%}
{%block header%}Audit History{%endblock%}
{%block headextra%}
<script type="text/javascript">
$(function(){
	$('#showunchanged').change(function(){
		if ($(this).prop('checked'))
			$('tr.nochange').show();
		else
			$('tr.nochange').hide();
	}).change();
})
</script>
{%endblock%}
{%block content%}
<div class="historyhead">
	{%if headdata['prevkey']%}<div class="prevlink"><a href="{{url_for('history_show', historykey=headdata['prevkey'])|e}}">&larr; Previous</a> (<a href="{{url_for('history_diff', fromkey=headdata['prevkey'], tokey=headdata['fromkey'])|e}}">diff</a>)</div>{%endif%}
	{%if headdata['nextkey']%}<div class="nextlink"><a href="{{url_for('history_show', historykey=headdata['nextkey'])|e}}">Next &rarr;</a> (<a href="{{url_for('history_diff', fromkey=headdata['tokey'], tokey=headdata['nextkey'])|e}}">diff</a>)</div>{%endif%}
	Change by {{headdata['user']|e}} on {{headdata['time']|timestamp}}
</div>
<div class="clear"></div>
{%if headdata['isdiff']%}<label><input id="showunchanged" type="checkbox"> Show unchanged</label>{%endif%}
{%if headdata['page'] in ('responses', 'explanations')%}
<table class="historyshow nicetable">
<thead>
	<tr>
		<th class="key">Key</th>
		<th class="response">Response</th>
		<th class="access" colspan="2">Access</th>
	</tr><commit_msg>Show section being diffed on audit page<commit_after>{%extends "master.html"%}
{%block title%}History{%endblock%}
{%block header%}Audit History{%endblock%}
{%block headextra%}
<script type="text/javascript">
$(function(){
	$('#showunchanged').change(function(){
		if ($(this).prop('checked'))
			$('tr.nochange').show();
		else
			$('tr.nochange').hide();
	}).change();
})
</script>
{%endblock%}
{%block content%}
<div class="historyhead">
	{%if headdata['prevkey']%}<div class="prevlink"><a href="{{url_for('history_show', historykey=headdata['prevkey'])|e}}">&larr; Previous</a> (<a href="{{url_for('history_diff', fromkey=headdata['prevkey'], tokey=headdata['fromkey'])|e}}">diff</a>)</div>{%endif%}
	{%if headdata['nextkey']%}<div class="nextlink"><a href="{{url_for('history_show', historykey=headdata['nextkey'])|e}}">Next &rarr;</a> (<a href="{{url_for('history_diff', fromkey=headdata['tokey'], tokey=headdata['nextkey'])|e}}">diff</a>)</div>{%endif%}
	Change to {{headdata['page']|e}} by {{headdata['user']|e}} on {{headdata['time']|timestamp}}
</div>
<div class="clear"></div>
{%if headdata['isdiff']%}<label><input id="showunchanged" type="checkbox"> Show unchanged</label>{%endif%}
{%if headdata['page'] in ('responses', 'explanations')%}
<table class="historyshow nicetable">
<thead>
	<tr>
		<th class="key">Key</th>
		<th class="response">Response</th>
		<th class="access" colspan="2">Access</th>
	</tr>
{'fraction_non_alphanumeric': 0.2661637931034483, 'fraction_numerical': 0.0007183908045977011, 'mean_word_length': 9.92156862745098, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, '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': '1339587', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1003, 'n_words': 161}