<commit_before><% content_for :path do %>
  > <%= link_to t('views.paths.home'), home_path %>
  > <%= link_to t('activerecord.models.project').pluralize, projects_path -%>
  > <%= link_to @project.name, project_path(@project.name) -%>
  > <%= link_to t('views.shared.evaluations'), project_evaluations_path(@project.name) -%>
  > evaluation
<% end %>

<% if @project %>
  <section>
    <%= render partial: 'projects/titlebar' -%>
<% end %>

<section>
	<h1>
		Evaluation #<%= @evaluation.id %>
		<%= badge_public(@evaluation.is_public).html_safe %>
	  <%= link_to 'List', project_evaluations_path(@project.name), class: 'button' %>
	  <% if @evaluation.changeable?(current_user) -%>
	    <%= link_to 'Edit', edit_evaluation_path(@evaluation), class: 'button' %>
	    <%= link_to 'Destroy', @evaluation, method: :delete, data: { confirm: 'Are you sure?' }, class: 'button' %>
	  <% end %>
	</h1>

	<table class="column-head">
		<tr>
			<th>Study project</th>
			<td><%= @evaluation.study_project.name %></td>
		</tr>

		<tr>
			<th>Reference project</th>
			<td><%= link_to(@evaluation.reference_project.name, project_path(@evaluation.reference_project.name))%></td>
		</tr>

		<tr>
			<th>Evaluator</th>
			<td><%= link_to(@evaluation.evaluator.name, evaluator_path(@evaluation.evaluator.name)) %></td>
		</tr>

		<tr>
			<th>Soft match characters</th>
			<td><%= @evaluation.soft_match_characters %></td>
		</tr>

		<tr>
			<th>Soft match words</th>
			<td><%= @evaluation.soft_match_words %></td>
		</tr>

		<tr>
			<th>Denotations type match</th>
			<td><pre><%= @evaluation.denotations_type_match %></pre></td>
		</tr><commit_msg>REVISED to show note<commit_after><% content_for :path do %>
  > <%= link_to t('views.paths.home'), home_path %>
  > <%= link_to t('activerecord.models.project').pluralize, projects_path -%>
  > <%= link_to @project.name, project_path(@project.name) -%>
  > <%= link_to t('views.shared.evaluations'), project_evaluations_path(@project.name) -%>
  > evaluation
<% end %>

<% if @project %>
  <section>
    <%= render partial: 'projects/titlebar' -%>
<% end %>

<section>
	<h1>
		Evaluation #<%= @evaluation.id %>
		<%= badge_public(@evaluation.is_public).html_safe %>
	  <%= link_to 'List', project_evaluations_path(@project.name), class: 'button' %>
	  <% if @evaluation.changeable?(current_user) -%>
	    <%= link_to 'Edit', edit_evaluation_path(@evaluation), class: 'button' %>
	    <%= link_to 'Destroy', @evaluation, method: :delete, data: { confirm: 'Are you sure?' }, class: 'button' %>
	  <% end %>
	</h1>

	<table class="column-head">
		<tr>
			<th>Note</th>
			<td><%= @evaluation.note %></td>
		</tr>

		<tr>
			<th>Study project</th>
			<td><%= @evaluation.study_project.name %></td>
		</tr>

		<tr>
			<th>Reference project</th>
			<td><%= link_to(@evaluation.reference_project.name, project_path(@evaluation.reference_project.name))%></td>
		</tr>

		<tr>
			<th>Evaluator</th>
			<td><%= link_to(@evaluation.evaluator.name, evaluator_path(@evaluation.evaluator.name)) %></td>
		</tr>

		<tr>
			<th>Soft match characters</th>
			<td><%= @evaluation.soft_match_characters %></td>
		</tr>

		<tr>
			<th>Soft match words</th>
			<td><%= @evaluation.soft_match_words %></td>
		</tr>

		<tr>
			<th>Denotations type match</th>
			<td><pre><%= @evaluation.denotations_type_match %></pre></td>
		</tr>
{'fraction_non_alphanumeric': 0.21603830041891084, 'fraction_numerical': 0.0011968880909634949, 'mean_word_length': 4.264566929133858, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 0, '>': 150, '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': '6326194', 'n_tokens_mistral': 1437, 'n_tokens_neox': 1252, 'n_words': 214}