<commit_before><div>
  <!-- Nav tabs -->
  <ul class="nav nav-tabs" role="tablist">
    <li role="presentation" class="active"><a href="#problem" aria-controls="problem" role="tab" data-toggle="tab">Problem</a></li>
    <li role="presentation"><a href="#hints" aria-controls="hints" role="tab" data-toggle="tab">Hints</a></li>
  </ul>

  <!-- Tab panes -->
  <div class="tab-content">
    <div role="tabpanel" class="tab-pane active" id="problem">
			<h4 class="text-center"> Solves: <%= Submission.get_solves_for_problem(@problem.id) %> </h4>
			<p>  <%= @problem.description %> </p>
			<p ><%= image_tag @problem.picture.url if @problem.picture? %> </p>
			<% if @problem.solved_by?(current_user.team_id) %>
				<p>Your team has solved this challenge!</p>
			<% else %>
				<%= render 'submit' %>
			<% end %>
		</div>
    <div role="tabpanel" class="tab-pane" id="hints">
			<%= content_tag :div, class: 'row' do %>
				<% if !current_user.admin? && @problem.number_of_hints_available > 0 %><commit_msg>Differentiating between problems<commit_after><div>
  <!-- Nav tabs -->
  <ul class="nav nav-tabs" role="tablist">
    <li role="presentation" class="active"><a href="#problem_<%= @problem.id %>" aria-controls="problem_<%= @problem.id %>" role="tab" data-toggle="tab">Problem</a></li>
    <li role="presentation"><a href="#hints_<%= @problem.id %>" aria-controls="hints_<%= @problem.id %>" role="tab" data-toggle="tab">Hints</a></li>
  </ul>

  <!-- Tab panes -->
  <div class="tab-content">
    <div role="tabpanel" class="tab-pane active" id="problem_<%= @problem.id %>">
			<h4 class="text-center"> Solves: <%= Submission.get_solves_for_problem(@problem.id) %> </h4>
			<p>  <%= @problem.description %> </p>
			<p ><%= image_tag @problem.picture.url if @problem.picture? %> </p>
			<% if @problem.solved_by?(current_user.team_id) %>
				<p>Your team has solved this challenge!</p>
			<% else %>
				<%= render 'submit' %>
			<% end %>
		</div>
    <div role="tabpanel" class="tab-pane" id="hints_<%= @problem.id %>">
			<%= content_tag :div, class: 'row' do %>
				<% if !current_user.admin? && @problem.number_of_hints_available > 0 %>
{'fraction_non_alphanumeric': 0.22843822843822845, 'fraction_numerical': 0.002797202797202797, 'mean_word_length': 4.2727272727272725, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 79, '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': '4536718', 'n_tokens_mistral': 893, 'n_tokens_neox': 763, 'n_words': 148}