Commit graph

63 commits

Author SHA1 Message Date
rebuilt
93486eb132 Fix failing tests 2022-08-03 11:11:26 -07:00
Nelson Jovel
757638f6ca continue refactoring 2022-07-13 15:32:48 -07:00
rebuilt
fc853c4fbc Fix regression where we accidentally list the questions for measure 1B-i 2022-07-08 13:48:44 -07:00
rebuilt
deaf13c976 Modify behavior of insufficient data indicators for admin data items. Now we show indicators in line with the admin data item descriptions to indicate which items are missing data 2022-07-06 15:54:29 -07:00
rebuilt
3778aeb1d6 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`.
2022-06-14 11:17:59 -07:00
rebuilt
1155f74ca9 Set a minimum bar height for analyze graphs 2022-06-10 09:45:52 -07:00
rebuilt
50256cacce Create academic year checkbox selectors. Refresh page with years selected on
checkbox change.  Draw bar graphs for each academic year selected.
Center bar graphs in their column.  Color the columns to match the
sample colors on the checkboxes.  Add scores on beta to top of graph.
Automatically display the most recent year of data for the district.
Modify logic for the insufficient data message or the 'measure not based
on student/teacher surveys' message so it only shows if there are no
bars with data to display.
2022-06-08 15:42:54 -07:00
Nelson Jovel
30c97f4428 Refactor grouped_bar_column_presenter so it calculates the score from
the measure given to the initializer
2022-06-02 13:10:31 -07:00
Nelson Jovel
9837fbf0d0 If the measure is not based on a type of data(student/teacher) or if there is insufficent data to calculate a score, show a message on the graph indicating such 2022-05-26 12:05:25 -07:00
Nelson Jovel
3d7e62f21f Draw the teacher survey data bar. Finishes #182226823 2022-05-25 19:44:29 -07:00
Nelson Jovel
c49dee0a63 Do not show question prompts for measure 1B-1. Finishes #181921933 2022-04-21 12:06:50 -07:00
Nelson Jovel
9c954f97ec Update admin data collection rate numbers on browse page. Also, if all admin data has been collected, do not show 'insufficient data' indicator. Finishes #181754853 2022-04-13 20:14:25 -07:00
Nelson Jovel
bf8b824ab8 Add links to subcategories from overview page framework indicator
section.   Finishes #181681266
2022-03-28 14:53:48 -07:00
Nelson Jovel
ed7a3b8a3d Autoformat code with rubocop 2022-03-04 15:29:54 +01:00
Nelson Jovel
91308b93e5 Visualize survey responses even when a response rate cannot be
calculated.  Set the response rate to N / A for data that has no total
student and teacher data for a certain year and school
2022-03-04 15:17:43 +01:00
rebuilt
286e74b651 Seed db with surveys to keep track of school, year, and survey type
Seed db with survey_item information to keep track of which survey_item is on the short form survey.  REcalculate response rate depending on whether school to regular survey or short form survey.

Correct score for short form schools.  Finishes #181284202
2022-03-03 10:44:41 +01:00
rebuilt
2a2777745a Change the sufficiency threshold from a static number of minimum responses to a minimum response rate of 25 percent 2022-02-28 15:36:49 +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
rebuilt
fcec3de233 Modify collection rate for admin data items. Take into account if a
school is a high school and if the admin data item is for high schools
only.  Finishes: #181154375.
2022-02-11 18:54:14 +01:00
rebuilt
8ce50c45c8 Change admin data response rate from 0/0 to N/A 2022-02-07 17:28:45 +01:00
rebuilt
ad14563460 Browse page displays the admin data collection rate 2022-02-02 13:03:28 +01:00
rebuilt
59865cd874 Show response rate for students 2022-01-27 22:43:10 +01:00
Nelson Jovel
bb20ff506b Correct error affecting subcategory scores where teacher or student survey items below the threshold were still being included in the score for the subcategory.
Ensure queries for survey item responses take into account the school
and academic year.
2022-01-12 20:32:24 +01:00
Nelson Jovel
5a8d032dd0 Set up bullet gem. Implement bullet gem suggestions. 2022-01-07 16:58:35 +01:00
Nelson Jovel
3408ecd749 Show benchmark boundaries for subcategories that only include admin data 2022-01-03 13:14:22 +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
70e8fafc35 Categories, Subcategories, and Measures are ordered by thier ids 2021-12-15 12:14:18 +01:00
Nelson Jovel
2753888f11 Add category, subcategory and measure ids to the page. Finishes #179986325 2021-12-14 11:39:15 +01:00
Nelson Jovel
cacc853518 Adds category short description to database and renders descriptions in
their corresponding locations to the site.  Finishes #180090033.
2021-12-13 21:15:59 +01:00
Liam Morley
0af26e25f2 Display gauges with no benchmarks as "Insufficient Data" with no key benchmark indicator 2021-12-09 16:44:26 -05:00
Nelson Jovel
aeb6a45a45 Show partial data indicators on variance chart 2021-12-09 14:51:28 -05:00
Liam Morley
eff22d2ac8 Report that admin data is not included 2021-12-02 16:37:24 -05:00
Liam Morley
aa4ce86eaa Show icon/explanation in measure accordion when a section has insufficient data 2021-12-01 11:44:07 -05:00
rebuilt
221f0cb0bf Replace harvey balls with new SVGs 2021-11-19 16:24:15 -05:00
Liam Morley
413096dfe2 Extract legacy parts of the codebase into its own module 2021-11-16 17:19:05 +01:00
Liam Morley
f8523f1e6a Display measure data if student data is sufficient OR teacher data is sufficient 2021-11-05 15:14:04 -04:00
rebuilt
7461377066 Makes sure that subcategory displays all measures 2021-11-01 21:58:18 +01:00
Alex Basson
228cf137ad Finishes #179904795. Adds prompts to measures section on browse page 2021-11-01 20:33:45 +01:00
Liam Morley
ad7dd85524 Refactor variance chart to make view responsible for sorting measures 2021-10-28 12:05:41 -04:00
Liam Morley
4fafe2cb50 Display popover on harvey balls not in a zone
This wraps bootstrap styles in `sqm_bootstrap` which can now selectively
import specific desired pieces of bootstrap styling
2021-10-27 15:21:34 -04:00
Liam Morley
dfc49d109a Display harvey balls with white backgrounds and display no-zone harvey balls 2021-10-27 09:11:33 -04:00
Liam Morley
934d0bda0e Seed database selectively in tests, not always 2021-10-26 14:18:06 -04:00
Liam Morley
f3a86c6145 Add cateory icon to home page 2021-10-25 15:54:29 -04:00
Liam Morley
332043c6fb Use CategoryPresenter in welcome page instead of SqmCategory 2021-10-25 14:08:22 -04:00
Liam Morley
31a9f3f0a4 Adjust dashboard layout as per dev/design story 2021-10-21 11:37:46 -04:00
rebuilt
5d0c9f2c0d Rename SqmCategory 'Citizenship & Wellbeing' -> 'Community & Wellbeing' 2021-10-19 16:04:03 -04:00
Alex Basson
8f9d30a762 SQM Indicators View Details button sends user to browse page [Finishes #179728459] 2021-10-19 08:35:02 -04:00
Chad Serrant
5595af15b6 Harvey balls depicting how a sub-category is performing quickly [179843984] 2021-10-08 13:25:32 -04:00
Chad Serrant
ae525fdb2a Completes Measures on the "Teachers & Leadership" Category Tab -
Milford High School (Milford District) [#179728008]
2021-10-07 22:45:39 +02:00
rebuilt
bb1f6aa972 Complete styling for _quality_framework_indicators 2021-10-07 17:33:17 +02:00