<commit_before><link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

<script>
  $(document).ready(function() {
    $("#accordion").accordion({ autoHeight: false });
  });
</script>
<h1><%= @header %> <%= @title %> for <%= @map.assignment.name %></h1>
<% if !@map.contributor.nil?   %>
  <% if !@topic_id.nil? %>
    <h2>You are reviewing <%= @signedUpTopic %></h2>
  <% end %>
  <%= render :partial => 'submitted_content/main', :locals => {:participant => @map.contributor, :stage =>  @assignment.get_current_stage()} %>
<% end %>

<%= @map.show_review() %>

<%= form_tag :action => @next_action, :id => @modified_object %>

  <%
  i = 0
  current_topic = nil
  questions = @questionnaire.questions
  questions.each {
    | question | %>
    <%= get_accordion_title(current_topic, @question_type[i].parameters.split("::")[0]) %>
    <%= find_question_type(question, @question_type[i], i, false, nil, (@questionnaire.min_question_score..@questionnaire.max_question_score).to_a) %>
    <% current_topic = @question_type[i].parameters.split("::")[0]

    advices = QuestionAdvice.find_all_by_question_id(question.id)
    advices = remove_empty_advice(advices)
    if advices.length > 0 %>
        <%= render :partial => 'custom_advice', :locals => {:i => i, :advice_list => advices} %>
    <% end

   i += 1
  } %>

  </p>
  </div>
  </div>
  <br/>
<%if @map.assignment.id == 562%>
	<%= label_tag 'save_option_label', "Automated suggestions/advice:" %> <br>
	<%= radio_button_tag :save_options,'WithMeta', true %>Yes<br/>
	<%= radio_button_tag :save_options,'WithoutMeta' %>No<br/>
<!-- 	<%= radio_button_tag :save_options,'EmailMeta' %>Email Metareview <br/>	 -->
<%end%> 
<br>
  <%= submit_tag "Save "+@title, :name=>"save" %>
</form><commit_msg>Missed the custom_response.html file Making the automated metareview feature available to Writing assignment 1b, Spring 2013 (assignment ID: 592) in CSC517.<commit_after><link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

<script>
  $(document).ready(function() {
    $("#accordion").accordion({ autoHeight: false });
  });
</script>
<h1><%= @header %> <%= @title %> for <%= @map.assignment.name %></h1>
<% if !@map.contributor.nil?   %>
  <% if !@topic_id.nil? %>
    <h2>You are reviewing <%= @signedUpTopic %></h2>
  <% end %>
  <%= render :partial => 'submitted_content/main', :locals => {:participant => @map.contributor, :stage =>  @assignment.get_current_stage()} %>
<% end %>

<%= @map.show_review() %>

<%= form_tag :action => @next_action, :id => @modified_object %>

  <%
  i = 0
  current_topic = nil
  questions = @questionnaire.questions
  questions.each {
    | question | %>
    <%= get_accordion_title(current_topic, @question_type[i].parameters.split("::")[0]) %>
    <%= find_question_type(question, @question_type[i], i, false, nil, (@questionnaire.min_question_score..@questionnaire.max_question_score).to_a) %>
    <% current_topic = @question_type[i].parameters.split("::")[0]

    advices = QuestionAdvice.find_all_by_question_id(question.id)
    advices = remove_empty_advice(advices)
    if advices.length > 0 %>
        <%= render :partial => 'custom_advice', :locals => {:i => i, :advice_list => advices} %>
    <% end

   i += 1
  } %>

  </p>
  </div>
  </div>
  <br/>
<%if @map.assignment.id == 562 or @map.assignment.id == 592%>
	<%= label_tag 'save_option_label', "Automated suggestions/advice:" %> <br>
	<%= radio_button_tag :save_options,'WithMeta', true %>Yes<br/>
	<%= radio_button_tag :save_options,'WithoutMeta' %>No<br/>
<!-- 	<%= radio_button_tag :save_options,'EmailMeta' %>Email Metareview <br/>	 -->
<%end%> 
<br>
  <%= submit_tag "Save "+@title, :name=>"save" %>
</form>
{'fraction_non_alphanumeric': 0.21236171236171236, 'fraction_numerical': 0.012025012025012025, 'mean_word_length': 4.52324037184595, 'pattern_counts': {'":': 4, '<': 95, '<?xml version=': 0, '>': 119, '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': '402360', 'n_tokens_mistral': 1638, 'n_tokens_neox': 1484, 'n_words': 246}