<commit_before><h1><%= @policy.name %></h1>
<h3>Updated on <%= @policy.created_at.to_date.to_formatted_s(:long) %></h3>
<div class="row">
	<div class="span3">
		<div id="policy_sites">
			<h4>Belongs to:</h4>
			<%= render 'shared/list_each_as_link', list_object: @sites, ul_class: "sites" %>
			<%= will_paginate @sites, param_name: 'site_page' %>
		</div>
		<div id="policy_versions">
			<h4>View version from:</h4>
			<ul class="versions">
				<% @versions.each do |v| %>
					<li><%= link_to v.created_at.to_date.to_formatted_s(:long), policy_version_path(@policy,v.id) %></li>
				<% end %>
			</ul>
			<%= link_to "View all versions...", policy_versions_path(@policy) %>
		</div>
	</div>
	<div class="span9">
		<div id="policy_current">
			<%= @policy.detail %>
		</div>
	</div>
</div>
<commit_msg>update policy view to display the same way as version view<commit_after><h1><%= @policy.name %></h1>
<h3>Updated on <%= @policy.created_at.to_date.to_formatted_s(:long) %></h3>
<div class="row">
	<div class="span3">
		<div id="policy_sites">
			<h4>Belongs to:</h4>
			<%= render 'shared/list_each_as_link', list_object: @sites, ul_class: "sites" %>
			<%= will_paginate @sites, param_name: 'site_page' %>
		</div>
		<div id="policy_versions">
			<h4>View version from:</h4>
			<ul class="versions">
				<% @versions.each do |v| %>
					<li><%= link_to v.created_at.to_date.to_formatted_s(:long), policy_version_path(@policy,v.id) %></li>
				<% end %>
			</ul>
			<%= link_to "View all versions...", policy_versions_path(@policy) %>
		</div>
	</div>
	<div class="span9">
		<div id="policy_current">
			<%= @policy.detail.html_safe %>
		</div>
	</div>
</div>

{'fraction_non_alphanumeric': 0.21707757065544198, 'fraction_numerical': 0.012026458208057728, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '7297787', 'n_tokens_mistral': 763, 'n_tokens_neox': 658, 'n_words': 126}