mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
fix: make sure all likert scores get counted even when the survey item id has different capitalization. Add tests for uploading parent data. Change the parent response rate calcuation to count all students in the school instead of just for the grades that were given the student survey
This commit is contained in:
parent
8984023aa4
commit
e741b60bec
10 changed files with 118 additions and 8 deletions
|
|
@ -47,10 +47,6 @@ class Overview::OverviewPresenter
|
|||
ParentResponseRatePresenter.new(school: @school, academic_year: @academic_year)
|
||||
end
|
||||
|
||||
def parent_response_rate_presenter
|
||||
ResponseRatePresenter.new(focus: :parent, school: @school, academic_year: @academic_year)
|
||||
end
|
||||
|
||||
def presenter_for_measure(measure)
|
||||
score = measure.score(school: @school, academic_year: @academic_year)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,3 +22,4 @@ class ParentResponseRatePresenter < ResponseRatePresenter
|
|||
"parent"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -40,3 +40,4 @@ class StudentResponseRatePresenter < ResponseRatePresenter
|
|||
"student"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -18,3 +18,4 @@ class TeacherResponseRatePresenter < ResponseRatePresenter
|
|||
"teacher"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue