@ -84,8 +84,6 @@ class ExercisePublishTask
end
total_score_subjective_score = subjective_score < 0.0 ? 0.0 : subjective_score
total_score = s_score + total_score_subjective_score
Rails.logger.info("log-------------total_score-------------------total_scoretotal_scoretotal_scoretotal_score#{total_score}")
commit_option = {
:status => 1,
:commit_status => 1,
@ -1,5 +1,6 @@
json.question_id question.id
json.question_number question.question_number
# json.question_number question.question_number
json.q_position question.question_number
json.question_title question.question_title
json.question_type question.question_type
json.question_score question.question_score.round(1).to_s