From fe8af52732870b05943c5bce491f3d95031d1370 Mon Sep 17 00:00:00 2001 From: Jared Cosulich Date: Fri, 21 Dec 2018 13:22:39 -0500 Subject: [PATCH] fixing typo --- lib/tasks/data.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/data.rake b/lib/tasks/data.rake index 3240c93f..6680f41b 100644 --- a/lib/tasks/data.rake +++ b/lib/tasks/data.rake @@ -477,7 +477,7 @@ namespace :data do year: school_category.year, attempt_count: available_responders, response_count: attempts.count, - response_rate: attempts.count.to_f / available_responders.to_f + response_rate: attempts.count.to_f / available_responders.to_f, response_total: attempts.sum do |a| question.reverse? ? 6 - a.answer_index : a.answer_index end