feat: Round up response rate. Survey response rates above 24.5 will now meet sufficiency

This commit is contained in:
rebuilt 2023-07-13 11:42:15 -07:00
parent b58ff3e519
commit 6edc0db868
2 changed files with 43 additions and 43 deletions

View file

@ -18,7 +18,7 @@ class ResponseRateCalculator
return 0 unless total_possible_responses.positive?
cap_at_one_hundred(raw_response_rate)
cap_at_one_hundred(raw_response_rate).round
end
def meets_student_threshold?