Commit graph

157 commits

Author SHA1 Message Date
Nelson Jovel
e5e969b968 feat: add parent survey gauges 2024-09-16 15:24:43 -07:00
Nelson Jovel
d8d2f0f91d fix: correctly load survey items from sample framework file. Fix broken tests 2024-08-27 12:45:52 -07:00
Nelson Jovel
aee0bc9883 feat: add ability to filter export data by student survey item type. Ability added to 'by grade' 'by item' and 'survey item responses' reports 2024-08-21 14:04:44 -07:00
Nelson Jovel
1413ab72b9 feat: allow selecting a subset of student survey items for the survey item report 2024-08-12 16:21:38 -07:00
Nelson Jovel
3f2aa63bfd fix: correctly memoize student_survey_items_with_sufficient_responses so that on the analyze page, when the first year has insufficient responses, it doesn't affect all subsequent years 2024-06-12 16:28:15 -07:00
Nelson Jovel
3b3bb52523 chore: refactor analyze page 2024-06-12 10:35:03 -07:00
Nelson Jovel
ccb04511bf feat: switch analyze page to use hotwire. Fix n_size count for teacher 2024-06-11 13:48:02 -07:00
2f1cf8b9fd Chore: Reduce queries 2024-05-10 14:00:31 -04:00
Nelson Jovel
33da0859b9 Split academic year into seasons if the academic year's range is
initialized with a season, i.e. "2024-25 Fall".  Update scapers for
admin data, enrollment and staffing to use the new range standard
correctly.   Update the loaders for admin data, enrollment and staffing
so that it populates all seasons in a given year.  So admin data for
2024-25 gets loaded into "2024-25 Fall" and "2024-25 Spring".  Add tests
for the new range format.  Set the default cutoff for the start of Spring season will be the last Sunday in February
2024-04-25 09:21:04 -07:00
Nelson Jovel
51e71a7f83 fix: Fixes #187294757. Data is hidden when selecting multiple years if the default year has no student data to show 2024-03-26 15:31:48 -07:00
Nelson Jovel
4c017cf857 fix: add pre-k to list of grades 2024-03-05 22:31:56 -08:00
Nelson Jovel
3c210e0ab6 chore: rename admin data to school data on analyze page 2024-01-31 14:25:10 -08:00
Nelson Jovel
90d1419d9c feat: change 'school admin data' to 'school data' 2024-01-31 10:59:39 -08:00
Nelson Jovel
8fb0a280ca perf: reduce number of queries for respondents 2023-12-26 16:23:29 -08:00
Nelson Jovel
5df890923f feat: don't show collection date of response rate if there is no survey data 2023-12-18 15:16:56 -08:00
Nelson Jovel
ea079e927b chore: rename counts_by_grade to enrollment_by_grade for clarity 2023-12-18 15:01:33 -08:00
Nelson Jovel
a75373f6f2 feat: don't double count early ed students who are taking survey in parts 2023-12-18 14:57:15 -08:00
rebuilt
8baaa67730 fix: make sure sped is taken into account when caching analyze page 2023-10-11 11:15:13 -07:00
rebuilt
83661540b7 chore: upgrade to rails 7.1.
upgrade rspec

fix failing tests

upgrade devise
2023-10-11 10:58:52 -07:00
rebuilt
48e795fcfb feat: add special education disaggregation 2023-10-06 11:41:52 -07:00
rebuilt
060d7aa55a Add disaggregation by ELL 2023-09-29 19:29:23 -07:00
rebuilt
8d33095a48 fix: fix crash when viewing income graph on analyze page 2023-08-31 10:43:54 -07:00
rebuilt
463e4c9452 fix: hide scores on analyze page for scores that don't meet the student threshold of 25% 2023-08-23 15:56:46 -07:00
rebuilt
315b398a5a fix: Overall response rate was incorrectly using the updated_at date instead of the recorded date. Also, it was just using the last date for all academic years instead of the last date the survey was taken per academic year. 2023-08-17 07:05:15 -07:00
a8db6c5ecf Add Overall Response Rate Popover 2023-08-09 15:35:40 -07:00
rebuilt
b3efbdeb33 The overall response rate is artifically lower because we are including the number of all the students at the school, not just the number of students that took the survey. Updated the overall response rate presenter to return the count of only the grades that took the student survey. 2023-08-09 15:22:05 -07:00
rebuilt
65ca0fd1ac Move color definitions out of response rate presenter and into _colors.scss 2023-08-09 15:16:06 -07:00
rebuilt
a785c69c44 Add Overall Response Rate 2023-08-09 15:13:58 -07:00
rebuilt
4afa030141 chore: remove precalculated race scores. Calculate race scores on every reload 2023-08-07 16:02:59 -07:00
Nelson Jovel
0bacac6962 fix: fix teacher n_size so instead of counting all the indivual teacher responses for a measure, it only counts the unique respondents 2023-08-03 12:40:42 -07:00
rebuilt
5f49746bf4 feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged' 2023-07-31 16:47:34 -07:00
rebuilt
67e469a66c feat: add popover to analyze graphs that displays the n-size of the different columns. Make sure to only calculate a score for a race if there are more than 10 respondents to a question. 2023-07-27 16:17:46 -07:00
rebuilt
bec80b405a fix: revert rounding up the response rate so we can make sure to patch a bug first. Only show gender/race/grade/income graphs if the the school meets the minimum response rate of 25% 2023-07-13 13:04:11 -07:00
rebuilt
35c8199887 Reorder gender columns 2023-07-07 15:44:09 -07:00
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
fae530d21f perf: Reduce number of queries. Remove unneeded methods. Combine
subcategory and measure queries in controller
2023-06-19 20:51:24 -07:00
rebuilt
d48a4efda2 Round all averages to two decimal places 2023-05-12 13:08:25 -07:00
rebuilt
541f29108b Rename DataAvailability to Summary 2023-04-20 20:58:15 -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
2305e32f6d Make sure when checking for sufficient gender responses that we only check student survey items 2023-04-04 16:59:39 -07:00
rebuilt
5e88c8be1b Transition from Lowell to ECP. Update text and links to reflect the new Organization. 2023-03-16 16:25:09 -07:00
rebuilt
10bf7177e4 Fix icon not showing up on category page 2023-03-16 16:23:17 -07:00
rebuilt
7a5e02eed9 Remove unused method item_descriptions from admin_data_presenter and
student_survey_presenter.
2023-02-13 17:57:07 -08:00
rebuilt
a72fd373dc Remove unused method; item_descriptions 2023-02-13 17:49:38 -08:00
rebuilt
669fb7f1f0 Correct grade level for kindergarten and add one off task to load test data 2023-02-09 14:51:53 -08:00
rebuilt
3a744db975 Start adding kindergarten 2023-01-17 15:27:15 -08:00
rebuilt
b0e84ed82a Modify names and descriptions of subcategories and measures 2023-01-13 12:05:02 -08:00
rebuilt
10515893ff Add elementary school questions to framework. 2023-01-12 17:05:00 -08:00
rebuilt
b884021f66 Rename race column from 'Race/Ethnicity not listed' to 'Not Listed' 2022-12-14 14:25:19 -08:00
rebuilt
c58686c032 rename race and gender modules to avoid naming collision with race and gender classes 2022-12-12 16:38:37 -08:00