Commit graph

639 commits

Author SHA1 Message Date
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
Nelson Jovel
c0a8905fba Cap response rate at 100 for both students and teachers 2022-03-04 14:53:51 +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
1ca88bf6d1 Bump versions of rails, actionpack and puma to address security vulnerabilities 2022-02-11 23:30:44 +01:00
rebuilt
378ea7dda9 Small fix to assignment operator in student response rate 2022-02-11 23:18:49 +01:00
rebuilt
5122b5b204 Add mini profiler 2022-02-11 23:06:03 +01:00
rebuilt
5cccbcdf9b Refactor student_response_rate 2022-02-11 23:05:03 +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
48581b990a Install and configure stimulus and turbo 2022-02-09 21:54:14 +01:00
rebuilt
412687b9e0 Add 2019-20 student survey responses 2022-02-07 18:32:18 +01:00
rebuilt
8ce50c45c8 Change admin data response rate from 0/0 to N/A 2022-02-07 17:28:45 +01:00
rebuilt
54f4cee3fa Show score temporarily 2022-02-07 16:21:10 +01:00
rebuilt
e1f50fef9e Add 2019-20 year teacher surveys and activate the year selector 2022-02-07 15:04:25 +01:00
rebuilt
93aa8df41a Bump ruby version to 3.1.0 2022-02-03 17:59:13 +01:00
rebuilt
f04bc3ebcb Moved rspec-rails declaration to development/test section of Gemfile. now runs tests without having to alter Rakefile. 2022-02-03 16:31:18 +01:00
rebuilt
ad14563460 Browse page displays the admin data collection rate 2022-02-02 13:03:28 +01:00
rebuilt
67d51aff5e Refactor response rate 2022-02-02 11:04:30 +01:00
rebuilt
0c5fbea203 Remove survey_rake_spec from the simplecov reports. Also remove some dead code from variance_helper 2022-02-01 22:58:38 +01:00
rebuilt
e69f850cc5 Add missing tests. Remove unused code. Filter out legacy specs from code coverage report 2022-02-01 19:33:24 +01:00
rebuilt
3ae0d02462 Cap teacher response rate at 100 percent 2022-02-01 16:58:05 +01:00
rebuilt
2655a36bfc Replace integer devision with float division for accurate response rate calculation 2022-02-01 15:28:25 +01:00
rebuilt
b3172a9a43 Ignore spec output file 2022-02-01 15:27:15 +01:00
rebuilt
c293581868 Add parallel tests gem 2022-01-31 19:59:24 +01:00
rebuilt
5c2b81c846 Add simplecov gem 2022-01-31 16:04:43 +01:00
rebuilt
f30f359406 Add teacher response rate 2022-01-28 17:10:46 +01:00
rebuilt
59865cd874 Show response rate for students 2022-01-27 22:43:10 +01:00
Nelson Jovel
b111b2f106 Bump rails to 7 and get tests passing. Also modified rakefile so rake
command would continue to run rspec as the default command.  Added
stylesheets to assets.rb so they'll be included when precompiling
assets in production.
2022-01-21 11:49:35 +01:00
rebuilt
24f22d3c46 Upgrade rails to 6.1.4.4 to patch security vulnerability 2022-01-18 16:32:51 +01:00
Nelson Jovel
e96509c749 Increase capybara max wait time 2022-01-15 12:21:16 +01:00
Nelson Jovel
75d9d9e891 Add rubocop 2022-01-15 12:06:59 +01:00
Nelson Jovel
cc698add07 bump markdownlint version 2022-01-15 12:01:19 +01:00
Nelson Jovel
c1622ddc32 Moved overview file to partials folder 2022-01-13 13:52:07 +01:00
Nelson Jovel
64054d8ffa moved partials into folders 2022-01-13 13:45:45 +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
d2c2eb8994 Refactored guage graph and presenter to make variable names clearer 2021-12-30 16:11:31 +01:00
Nelson Jovel
03a63cb568 Add zone boundary legends to gauge graph. 2021-12-29 17:50:47 +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
1a6c81e240 remove fontawesome symlinked directory from public folder 2021-12-17 14:09:02 +01:00
Nelson Jovel
8bebf106e6 Merge branch 'dev-design' 2021-12-17 13:51:00 +01:00
Nelson Jovel
6931428d8f Make measure name responsive 2021-12-17 13:38:29 +01:00
Nelson Jovel
99f45ac45f Remove package-lock.json because the app uses yarn(yarn.lock) not npm. 2021-12-16 17:37:48 +01:00
Nelson Jovel
ea4acdf983 Update sqm_framework web copy 2021-12-16 17:25:29 +01:00
rebuilt
1f07b821b3 Add prettier as a dependency 2021-12-16 15:40:14 +01:00
Nelson Jovel
70e8fafc35 Categories, Subcategories, and Measures are ordered by thier ids 2021-12-15 12:14:18 +01:00
Nelson Jovel
eb4c699f60 Modifies the overview page so when there is an empty dataset, there is clearer explanatory text and an empty version of the variance chart. Finishes #180118088 2021-12-14 15:52:09 +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