Commit graph

23 commits

Author SHA1 Message Date
Nelson Jovel
d0340c8a52 feat: Add parent button to overview page and alter 'School Quality Framework Indicators' section to show parent scales 2024-11-19 17:15:17 -08:00
Nelson Jovel
a14110b883 chore: performance fixes for response rate calculation 2024-01-12 13:38:43 -08:00
Nelson Jovel
77193cdf35 fix: reduce number of n+1 queries 2024-01-12 13:36:01 -08:00
Nelson Jovel
6a2723af84 chore: performance fixes for response rate calculation 2024-01-12 13:31:09 -08:00
Nelson Jovel
586c6f4b4c fix: reduce number of n+1 queries 2023-12-21 13:35:02 -08:00
rebuilt
46b5cbef2d perf: Reduce number of queries. Remove unneeded methods. Combine
subcategory and measure queries in controller
2023-06-19 20:51:54 -07:00
rebuilt
05f535ed5c perf: include survey items with measures to avoid n+1 queries when scoring by student/teacher survey items 2023-06-11 14:40:33 -07:00
rebuilt
8a23296ca5 perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb 2023-06-10 10:29:28 -07:00
rebuilt
a71ebbc4e4 Add Overall Response Rate 2023-05-22 16:03:34 +00:00
rebuilt
65b8599c6e Update logic for calculating student response rate. Remove references
to survey table.  We no longer check or keep track of the survey type.
Instead we look in the database to see if a survey item has at least 10
responses.  If it does, that survey item was presented to the respondent
and we count it, and all responses when calculating the response rate.

Remove response rate timestamp from caching logic because we no longer
add the response rate to the database. All response rates are calculated
on the fly

Update three_b_two scraper to use teacher only numbers

swap over to using https://profiles.doe.mass.edu/statereport/gradesubjectstaffing.aspx as the source of staffing information
2023-04-08 10:59:48 -07:00
rebuilt
e89358dacc implement suggestions from static code analysis tools 2022-07-12 19:15:54 -07:00
rebuilt
bb5f668497 Refactor code based on rubocop and reek suggestions 2022-07-11 16:46:30 -07:00
rebuilt
a1689a3550 Switch the logic of empty dataset detection from none? to any? 2022-06-17 12:13:45 -07:00
rebuilt
0dc99486f8 remove async queries 2022-06-16 17:08:55 -07:00
rebuilt
0593f53fb4 Add async queries 2022-06-16 16:59:29 -07:00
rebuilt
c03615cb43 Rename ResponseRate to ResponseRateCalculator. Create a new response
rate model.  Create a loader to refresh response rates for all
subcategories.

Use precalculated response rates in views

Wrap more elements in page caching

Calculate a response rate for a subcategory if one does not already
exist
2022-06-16 08:19:26 -07:00
Nelson Jovel
a134de3fdd Implement bullet suggestions and cache overview graph 2022-05-23 21:44:25 -07:00
Nelson Jovel
7a9830915b Create grouped bar chart on analyze page 2022-05-20 20:24:23 -07:00
Nelson Jovel
cb5fe56c30 Create analyze page. Finishes #182097292 2022-05-12 19:33:26 -07:00
Nelson Jovel
ed7a3b8a3d Autoformat code with rubocop 2022-03-04 15:29:54 +01:00
rebuilt
d4df7cbc06 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.
2022-02-24 14:53:06 +01:00
Nelson Jovel
ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
2021-12-28 14:10:34 +01:00
Nelson Jovel
f553c3c11c Rename 'Dashboard' to overview in page text and also modify 'dashboard' routes to be 'overview'. Finishes #180076071 2021-12-14 13:20:18 +01:00
Renamed from app/controllers/dashboard_controller.rb (Browse further)