alter logic for insufficiency so that a count of 0 survey item responses is enough to trigger insufficiency

Implement large speed improvements to score calculations.  Add page caching to all pages.  Small speed improvements to response rate by filtering out
survey items without responses with `none?` `method vs count == 0`.
This commit is contained in:
rebuilt 2022-06-10 12:31:58 -07:00
parent ee80867609
commit 3778aeb1d6
11 changed files with 97 additions and 32 deletions

View file

@ -6,7 +6,7 @@ describe 'SQM Application' do
let(:academic_year) { create(:academic_year) }
let(:category) { create(:category) }
let(:measure) { create(:measure) }
let(:scale) { create(:scale, measure:) }
let(:scale) { create(:teacher_scale, measure:) }
before :each do
driven_by :rack_test