Commit graph

30 commits

Author SHA1 Message Date
rebuilt
4f035f6a63 feat: Add income table to the database. Add seeder for income. Add a reference to income from survey item response. Update the loader to import income data from the survey response csv. Refactor analyze controller to extract presenter. Add corresponding specs. Add income graph to analyze page 2023-07-07 09:14:36 -07:00
rebuilt
128748addd 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-18 13:59:29 -07:00
rebuilt
5e0ba556bf Automatically detect the survey type by grade 2023-02-23 14:20:21 -08:00
rebuilt
87802c034e Add specs for admin bar messages 2022-12-13 10:10:32 -08:00
rebuilt
8cdd1b6285 Create gender class. Load genders to database from demographics file 2022-10-21 17:47:52 -07:00
rebuilt
105f30f220 Change race score calculations so the average bubbles up through survey_items
-> scales -> measure.
Precalculate averages for performance.
2022-08-10 09:58:11 -07:00
rebuilt
50b3bc678c Columns for students by group graph change when corresponding race checkboxes are clicked 2022-08-04 21:21:22 -07:00
rebuilt
12e4e3f177 import students 2022-07-29 15:34:56 -07:00
rebuilt
765ad6a624 Create ui for data filters. Add listeners to direct to the correct url. Update ui based on the list of selected params 2022-07-26 06:52:50 -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
61aad20cb2 Create response rate model 2022-06-14 15:28:20 -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
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
59865cd874 Show response rate for students 2022-01-27 22:43:10 +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
Liam Morley
915a4c1aaf Remove associated survey item responses when we remove schools 2021-12-01 12:37:25 -05:00
Liam Morley
1186579d1b Add migration to make DESE IDs unique, update one-off script accordingly 2021-11-22 15:37:38 -05:00
rebuilt
b5badfaef5 Add DESE ID to schools
- Add migration
- Create one-off script `rake one_off:add_dese_ids` to add the DESE ID to schools
- Update seeder to seed schools based on DESE IDs
2021-11-18 16:54:08 -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
cf6e80ce6b Show modal when no measures for a school/year have meet their threshold 2021-11-10 15:46:49 -05: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
Liam Morley
4fd6dac791 Add category/subcategory ID columns to uniquely identify records 2021-11-04 16:39:49 -04:00
Alex Basson
228cf137ad Finishes #179904795. Adds prompts to measures section on browse page 2021-11-01 20:33:45 +01:00
Alex Basson
10e70557bd Display insufficient data note. TODO: remove measures from variance chart 2021-10-21 21:30:55 -04:00
Liam Morley
a406205e20 Completes Sub Categories and Measures for "All " Category Tabs -
Milford High School (Milford District).  Add tabs to top navigation [#179727241]
2021-10-08 22:37:19 +02:00
Alex Basson
000bb52e1d Display subcategory descriptions on browse page
[Finishes #179426091]
2021-10-05 16:43:42 -04:00
Liam Morley
25578a896f we have a gauge! next up, let's style the page 2021-10-01 13:32:10 -04:00