<commit_before><table>
<!-- ratings row -->
<tr>
  <td id="current_rating">
    <%= render :partial => 'current_rating', :locals => { :resp => @response } %>
  </td>
  <td id="your_rating">
  	<h3 class='alert'>Your Rating Of This Response</h3>
    <div class="rate_bar round">
      <%= render :partial => 'rating_bar' %>
    </div>

    <%= @survey_notice %>
    <%= link_to_remote("Skip To Next"[:survey_skip_next]+ARROW, js_next_response_options(@rating)) %>
  </td>
</tr>
<tr><td colspan='2'>&nbsp;</td></tr>
<!-- survey data row -->
<tr>
  <td id="user_info">
    <%= render :partial => 'user_info', :locals => { :resp => @response} %>
  </td>

  <td id="response">
    <%= render :partial => 'response', :locals => {:resp => @response, :rating => @rating} %>
  </td>
</tr>
</table>
<commit_msg>fixed bug with the display of survey when rating<commit_after><table>
<!-- ratings row -->
<tr>
  <td id="current_rating">
    <%= render :partial => 'current_rating', :locals => { :resp => @response } %>
  </td>
  <td id="your_rating">
  	<h3 class='alert'>Your Rating Of This Response</h3>
    <div class="rate_bar round">
      <%= render :partial => 'rating_bar' %>
    </div>

    <%= @survey_notice %>
    <%= link_to_remote("Skip To Next"[:survey_skip_next]+ARROW, js_next_response_options(@rating)) %>
  </td>
</tr>
<tr><td colspan='2'>&nbsp;</td></tr>
<!-- survey data row -->
<tr>
  <td id="user_info">
    <%= render :partial => 'user_info', :locals => { :resp => @response} %>
  </td>

  <td id="response">
    <%= render :partial => 'answers' %>
  </td>
</tr>
</table>

{'fraction_non_alphanumeric': 0.23436512950094757, 'fraction_numerical': 0.003790271636133923, 'mean_word_length': 3.728358208955224, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 82, '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': '978967', 'n_tokens_mistral': 604, 'n_tokens_neox': 571, 'n_words': 129}