Commit graph

213 commits

Author SHA1 Message Date
Nelson Jovel
c49dee0a63 Do not show question prompts for measure 1B-1. Finishes #181921933 2022-04-21 12:06:50 -07:00
Nelson Jovel
0b502ce826 When calculating response rate, only take into account survey items with associated responses. Ignore any survey items with no responses. Finishes #181922483 2022-04-20 13:53:45 -07:00
Nelson Jovel
c475744939 Modify score calculations. Ignore any survey item scores of 0.
Never include zero when performing calculations for scores.
2022-04-20 13:49:27 -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
9ecc501e24 Display measure scores. Finishes #181754978 2022-04-06 13:09:33 -07:00
Nelson Jovel
448e883f39 Add new csv for student and teacher metadata. Finishes #181530310 2022-04-01 10:46:05 -07:00
Nelson Jovel
101c252896 Import survey item responses based on DESE ID instead of qualtrics school code. Finishes #181704978 2022-03-30 17:19:06 -07:00
Nelson Jovel
78fb737f5a Make measure titles clickable on the variance chart 2022-03-29 14:02:43 -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
5a9e8a9b01 Add metadata for 2019-20 year. Finishes #181530277 2022-03-23 19:13:52 -07:00
Nelson Jovel
36da912253 Modify survey item response csv files for 2019-20 to correct incorrect likert scores 2022-03-15 21:31:11 -07:00
Nelson Jovel
c98c0f1e30 Add metadata for 2019-2020 school year. Finishes #181530277 2022-03-14 20:37:29 -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
e1f50fef9e Add 2019-20 year teacher surveys and activate the year selector 2022-02-07 15:04:25 +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
Nelson Jovel
e96509c749 Increase capybara max wait time 2022-01-15 12:21:16 +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
8bebf106e6 Merge branch 'dev-design' 2021-12-17 13:51:00 +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
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
Nelson Jovel
bde992c96b Finishes #180264854. Prevents empty dataset modal from displaying on browse page 2021-12-10 13:52:50 +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
915a4c1aaf Remove associated survey item responses when we remove schools 2021-12-01 12:37:25 -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
Liam Morley
75c3a1fccc Remove old schools during the seed process 2021-11-29 14:40:52 -05:00