Commit graph

153 commits

Author SHA1 Message Date
Nelson Jovel
74bed5b090 feat: Show parent scales on browse page 2024-09-27 13:50:39 -07:00
Nelson Jovel
c85ddddd8d feat: add parent survey gauges 2024-09-27 13:50:30 -07:00
Nelson Jovel
e989afd90c fix: correctly load survey items from sample framework file. Fix broken tests 2024-09-27 13:49:55 -07:00
Nelson Jovel
b059f88383 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-09-27 13:43:35 -07:00
Nelson Jovel
bca79d1b2b feat: allow selecting a subset of student survey items for the survey item report 2024-08-12 16:27:27 -07:00
Nelson Jovel
8dc503f454 feat: restore hotwire functionality on analyze page 2024-06-27 10:58:45 -07:00
Nelson Jovel
53f3362a34 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-13 09:10:09 -07:00
Nelson Jovel
b77d6134df chore: refactor analyze page 2024-06-13 09:08:15 -07:00
8916779b40 Chore: Reduce queries 2024-05-10 14:22:48 -04:00
Nelson Jovel
ac5c1edfbf feat: 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-27 14:24:05 -07:00
Nelson Jovel
cf48fa611e fix: Fixes #187294757. Data is hidden when selecting multiple years if the default year has no student data to show 2024-03-26 15:36:34 -07:00
Nelson Jovel
a1eb68eaa6 Revert "fix: Fixes #187294757. Data is hidden when selecting multiple years if the default year has no student data to show"
This reverts commit 49a838c060.
2024-03-26 15:36:15 -07:00
Nelson Jovel
59a7dd2e77 Revert "fix: Makes visible the graphs by grade"
This reverts commit 5fc83ac31b.
2024-03-26 15:36:03 -07:00
Nelson Jovel
5fc83ac31b fix: Makes visible the graphs by grade 2024-03-26 14:54:47 -07:00
Nelson Jovel
49a838c060 fix: Fixes #187294757. Data is hidden when selecting multiple years if the default year has no student data to show 2024-03-26 14:42:42 -07:00
Nelson Jovel
03a4697683 fix: add pre-k to list of grades 2024-03-05 22:35:51 -08:00
Nelson Jovel
c6960c957d chore: rename admin data to school data on analyze page 2024-01-31 14:25:59 -08:00
Nelson Jovel
5fc5c21bcb feat: change 'school admin data' to 'school data' 2024-01-31 11:04:00 -08:00
Nelson Jovel
3718d74e62 perf: reduce number of queries for respondents 2024-01-12 13:53:33 -08:00
Nelson Jovel
5514fef62c feat: don't show collection date of response rate if there is no survey data 2023-12-18 15:59:45 -08:00
Nelson Jovel
0359dae88a chore: rename counts_by_grade to enrollment_by_grade for clarity 2023-12-18 15:59:30 -08:00
Nelson Jovel
1d0bac126b feat: don't double count early ed students who are taking survey in parts 2023-12-18 15:59:19 -08:00
rebuilt
4419aea1da fix: make sure sped is taken into account when caching analyze page 2023-10-17 12:34:26 -07:00
rebuilt
9d680c5159 chore: upgrade to rails 7.1.
upgrade rspec

fix failing tests

upgrade devise
2023-10-17 12:34:11 -07:00
rebuilt
acfdaf5587 feat: add special education disaggregation 2023-10-17 12:29:00 -07:00
rebuilt
245cde85cd Add disaggregation by ELL 2023-10-17 11:18:47 -07:00
rebuilt
5ea01ac916 Reorder gender columns 2023-08-22 12:22:51 -07:00
rebuilt
2a8148b8cd fix: hide scores on analyze page for scores that don't meet the student threshold of 25% 2023-08-22 12:18:18 -07:00
rebuilt
aafaeeaf41 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-15 16:13:47 -07:00
rebuilt
6db93cb116 feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged' 2023-08-09 12:13:04 -07:00
rebuilt
fc3f979a58 feat: disable income from dropdown 2023-08-08 15:56:20 -07:00
rebuilt
a1b580048b chore: remove precalculated race scores. Calculate race scores on every reload 2023-08-08 15:54:15 -07:00
rebuilt
76ebcc6ef3 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-08-08 15:52:12 -07:00
Nelson Jovel
4711e16c03 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-08 11:44:19 -07:00
rebuilt
1265a164b9 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-08-08 11:43:40 -07:00
rebuilt
d00288fd71 Move color definitions out of response rate presenter and into _colors.scss 2023-08-08 10:19:59 -07:00
e6c8101d0b Add Overall Response Rate Popover 2023-08-08 10:09:39 -07:00
rebuilt
f6f56367fc 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-08 10:06:39 -07:00
rebuilt
0a5500ecc9 feat: Add overall response rate 2023-08-08 10:01:48 -07:00
rebuilt
cee1c5fbc9 perf: Reduce number of queries. Remove unneeded methods. Combine
subcategory and measure queries in controller
2023-06-19 20:49:57 -07:00
rebuilt
c57ec6157c Round all averages to two decimal places 2023-05-12 13:12:42 -07:00
rebuilt
0ed6cbe6b4 Rename DataAvailability to Summary 2023-04-22 14:24:39 -07:00
rebuilt
07ed8dd259 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-22 14:00:20 -07:00
rebuilt
63b1615bef Make sure when checking for sufficient gender responses that we only check student survey items 2023-04-04 17:03:45 -07: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
rebuilt
bb9ea9b22d Add admin data messages to analyze page for insufficient/irrelevant states 2022-12-11 16:00:44 -08:00
rebuilt
53a08d41bf Change label for unknown race 2022-12-10 15:44:56 -08:00
rebuilt
1f7fa8146c Fix bug that happens when you view gender scores for multiple years 2022-11-30 09:14:04 -08:00
rebuilt
72c90b8f47 Add selector for all data 2022-11-18 08:20:26 -08:00