<% @guide = @exercise.guide @stats = @guide.stats_for(current_user) %>
<%= render partial: 'exercise_solutions/results_title', locals: {assignment: assignment} unless @exercise.input_kids? %> <% if assignment.manual_evaluation_comment? %> <%= Mumukit::ContentType::Markdown.to_html assignment.manual_evaluation_comment %> <% else %> <% if assignment.results_visible? %>
<% if assignment.expectation_results_visible? %>
<%= t :unmeet_expectations %>:
    <% assignment.visible_expectation_results.each do |it| %>
  • <%= status_icon(it[:result]) %> <%= t_expectation it %>
  • <% end %>
<% end %> <% if render_feedback?(assignment) %>
<%= t :feedback %>:
<%= assignment.feedback_html %>
<%= fa_icon 'question-circle' %> <%= t :details %>
<% end %>
<%= render_test_results assignment %>
<% else %>
<% end %> <% unless assignment.passed? %>
<% end %> <% end %> <%= solution_download_link assignment %>
<%= corollary_box @exercise unless assignment.should_retry? %> <%= render partial: 'exercise_solutions/results_button', locals: {assignment: assignment} unless @exercise.input_kids? %>