|
|
|
@ -169,7 +169,7 @@ module ExercisesHelper
|
|
|
|
|
user_wrong_count = 0
|
|
|
|
|
user_ids.each do |s|
|
|
|
|
|
user_score = effictive_users.where(user_id: s).pluck(:score).sum
|
|
|
|
|
unless user_score.to_s >= ex&.question_score.to_f
|
|
|
|
|
unless user_score.to_f >= ex&.question_score.to_f
|
|
|
|
|
user_wrong_count + 1
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|