Commit graph

472 commits

Author SHA1 Message Date
Nelson Jovel
f68e8a8c2b Don't show scores in production 2022-05-30 18:47:19 -07:00
Nelson Jovel
143e0237e4 Handle case when category is nil in analyzecontroller 2022-05-30 18:41:56 -07:00
Nelson Jovel
6764024cd2 Show subcategory data when user selects different subcategory from
analyze dropdown.  Finishes #182277850
2022-05-30 16:44:18 -07:00
Nelson Jovel
61978eb45d Change which category is displayed when the category dropdown is changed
on the analyze page.   Finishes #182277818
2022-05-30 14:54:05 -07:00
Nelson Jovel
a04f797f30 Add all measures for a given subcategory to the analyze page. Finishes #182277762 2022-05-26 12:50:09 -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
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
d7b0fe0e36 Add attleboro survey item responses for 2021-22. Finishes #182215755 2022-05-18 13:14:01 -07:00
Nelson Jovel
4952849d96 Prevent negative admin data values from being imported 2022-05-13 15:28:45 -07:00
Nelson Jovel
8c7c73bc72 From the analyze page, selecting a different school should not navigate
away from analyze page.   Finishes story #182178876
2022-05-13 11:27:51 -07:00
Nelson Jovel
cb5fe56c30 Create analyze page. Finishes #182097292 2022-05-12 19:33:26 -07:00
Nelson Jovel
57bfaa51c6 Exclude boston results. Completes #182117456 2022-05-11 11:22:05 -07:00
Nelson Jovel
32dbe4080f Modify message indicating lack of data for a school 2022-05-03 13:59:06 -07:00
Nelson Jovel
9c5e7554f1 Only show numerical scores if environment variable SCORES=SHOW 2022-05-02 15:27:03 -07:00
Nelson Jovel
8450a715e7 Show scores for beta 2022-05-02 09:16:20 -07:00
Nelson Jovel
c2e40fed8d Do not count empty survey items in response rate calculations. Fixes #181922483 2022-04-29 07:40:47 -07:00
Nelson Jovel
15431b09bb Do not display actual scores 2022-04-28 15:58:47 -07:00
Nelson Jovel
cbc8ba59ba remove authentication check. Finishes #181920761 2022-04-21 12:36:28 -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
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
2d945fb696 Print a message when a survey item response is rejected from database import due to an invalid likert score 2022-04-15 12:49:03 -07:00
Nelson Jovel
87e6a998b7 Add one-off script to list scales that lack survey responses 2022-04-13 20:15:39 -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
6f629e2feb Add survey responses from 2016 through 2018. Finishes #181255948 2022-03-31 17:21:27 -07:00
Nelson Jovel
897284a2be Modify quality framework indicator links so that the target of the link gets centered when navigating to it 2022-03-30 18:06:11 -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
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
378ea7dda9 Small fix to assignment operator in student response rate 2022-02-11 23:18:49 +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
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
ad14563460 Browse page displays the admin data collection rate 2022-02-02 13:03:28 +01:00