Add scales to framework. Change calculations to first group and then

average those groupings and the way up the framework.  Likert scores for
a survey_item are averaged.  Then all the survey_items in a scale are
averaged.  Then student scales in a measure are averaged.  And teacher
scales in a measure are averaged.  Then the average of those two
calculations becomes the score for a measure.  Then the measures in a
subcategory are averaged.
This commit is contained in:
rebuilt 2022-02-16 20:40:32 +01:00
parent 1ca88bf6d1
commit d4df7cbc06
44 changed files with 1053 additions and 856 deletions

View file

@ -26,10 +26,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump ruby version to 3.1.0
- Add previous year data.
remove AcademicYear "2021-22"
`ay = AcademicYear.find_by_range("2021-22") `
`ay.destroy`
seed database with new AcademicYear
`bundle exec rake db:seed`
load previous year survey responses
`bundle exec rake data:load_survey_responses`
- Add scale to framework. Calculations for scores bubble up through the framework.