Don't check standard deviation for early education surveys

This commit is contained in:
rebuilt 2023-06-02 16:05:45 -07:00
parent 89295f8832
commit 3589878700

View file

@ -169,6 +169,8 @@ class SurveyItemValues
end
def valid_sd?
return true if survey_type == :early_education
survey_item_headers = headers.filter(&:present?).filter { |header| header.start_with?('s-', 't-') }
likert_scores = []
survey_item_headers.each do |header|