mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
cap response rate per grade at 100
This commit is contained in:
parent
798ba1f340
commit
c42b569e78
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class StudentResponseRateCalculator < ResponseRateCalculator
|
|||
next nil
|
||||
end
|
||||
|
||||
actual_response_count_for_grade / count_of_survey_items_with_sufficient_responses / num_of_students_in_grade * 100
|
||||
cap_at_one_hundred(actual_response_count_for_grade / count_of_survey_items_with_sufficient_responses / num_of_students_in_grade * 100)
|
||||
end.compact
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue