<commit_before><!--Detail header start-->
<div class="detail-header">
  <div class="text-badge">
    <%= link_to participant.name,
          participant_path(participant.id),
          class: "color-accent" %>
    <% if participant.admin? %>
      <span class="badge badge-accent">Admin</span>
    <% end %>
  </div>
  <%= link_to challenge_path(challenge) do %>
    <h4>Submission: <%= challenge.challenge %></h4>
  <% end %>
  <br/>
  <% if @submission.grading_status_cd == 'graded' %>
    <h5><%= "#{@challenge.score_title}: #{@submission.score}" %></h5>
    <% unless @challenge.secondary_sort_order_cd == 'not_used' %>
      <h5><%= "#{@challenge.score_secondary_title}: #{@submission.score_secondary}" %></h5>
    <% end %>
  <% end %>  

  <div class='flex-row'>
    <div class='grading_status_cd'>
      <i class="fa fa-square <%= @submission.grading_status_cd %>" aria-hidden="true"></i>
      <strong class="<%= @submission.grading_status_cd %>">
        <%= @submission.grading_status_cd %>
      </strong>
    </div>
    <% if policy(@submission).update? %>
      <%= link_to edit_challenge_submission_path(@challenge,@submission) do %>
      <i class="fa fa-pencil-square-o fa-lg" aria-hidden="true"></i>
      <% end %>
    <% end %>
  </div>

</div>
<!--Detail header end-->

<!--Detail media start-->
<% if challenge.media_on_leaderboard %>
  <div class="detail-media"><commit_msg>correct precision issue<commit_after><!--Detail header start-->
<div class="detail-header">
  <div class="text-badge">
    <%= link_to participant.name,
          participant_path(participant.id),
          class: "color-accent" %>
    <% if participant.admin? %>
      <span class="badge badge-accent">Admin</span>
    <% end %>
  </div>
  <%= link_to challenge_path(challenge) do %>
    <h4>Submission: <%= challenge.challenge %></h4>
  <% end %>
  <br/>
  <% if @submission.grading_status_cd == 'graded' %>
    <h5><%= "#{@challenge.score_title}: #{@submission.score_display}" %></h5>
    <% unless @challenge.secondary_sort_order_cd == 'not_used' %>
      <h5><%= "#{@challenge.score_secondary_title}: #{@submission.score_secondary_display}" %></h5>
    <% end %>
  <% end %>  

  <div class='flex-row'>
    <div class='grading_status_cd'>
      <i class="fa fa-square <%= @submission.grading_status_cd %>" aria-hidden="true"></i>
      <strong class="<%= @submission.grading_status_cd %>">
        <%= @submission.grading_status_cd %>
      </strong>
    </div>
    <% if policy(@submission).update? %>
      <%= link_to edit_challenge_submission_path(@challenge,@submission) do %>
      <i class="fa fa-pencil-square-o fa-lg" aria-hidden="true"></i>
      <% end %>
    <% end %>
  </div>

</div>
<!--Detail header end-->

<!--Detail media start-->
<% if challenge.media_on_leaderboard %>
  <div class="detail-media">
{'fraction_non_alphanumeric': 0.2049645390070922, 'fraction_numerical': 0.00425531914893617, 'mean_word_length': 3.4706814580031695, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '4218557', 'n_tokens_mistral': 1064, 'n_tokens_neox': 953, 'n_words': 165}