Commit graph

690 commits

Author SHA1 Message Date
Nelson Jovel
2a125aa058 chore: bring in some refactoring changes that didn't get copied over from the main branch 2023-12-20 19:27:06 -08:00
Nelson Jovel
75451648e5 chore: move code that normalizes race data to the Race class 2023-12-20 19:07:52 -08:00
Nelson Jovel
e7f06ef4e9 chore: remove lowell seeding rules 2023-12-20 14:08:38 -08:00
Nelson Jovel
bbefdcb5bb chore: remove student loader since we load race information in data loader 2023-12-20 13:47:09 -08:00
Nelson Jovel
063810a9d7 chore: make sure to load races in data loader instead of student loader 2023-12-20 13:39:03 -08:00
Nelson Jovel
381625f58b chore: reenable test spec that tests data loader for races 2023-12-20 12:40:22 -08:00
Nelson Jovel
317fe3239a chore: refactor Race out of survey_item_values 2023-12-20 12:35:14 -08:00
Nelson Jovel
a295b8afb9 chore: refactor Gender out out of survey_item_values row 2023-12-20 12:33:18 -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
Nelson Jovel
32b05487a1 fix: Correctly navigate the user to the latest academic year when no data exists for the school 2023-12-18 15:59:08 -08:00
Nelson Jovel
ee5e53f992 chore: Make sure 'hispanic' column only gets applied when using SIS race information 2023-12-18 15:58:54 -08:00
Nelson Jovel
6f265302ea feat: if the filename includes the words 'form' or 'part' add that to the resulting cleaned filename 2023-12-18 15:58:40 -08:00
Nelson Jovel
d79635054c fix: instead of looking for 'asian' at the start of a word, look for it
after a word boundary.  This means it still doesn't get confused with
caucasian and it's more flexible whan asian appears inside other text
such as 'Caucasian and Asian and Black'
2023-12-18 15:44:51 -08:00
Nelson Jovel
fe039e3d04 chore: various fixes for race and gender categorization during cleaning.
Also add tests for race and gender categorization
2023-12-18 15:38:31 -08:00
Nelson Jovel
054e5603b7 chore: fix failing legacy tests 2023-11-03 10:18:46 -07:00
rebuilt
a07728fcd6 feat: We no longer trust the progress number that gets exported from qualtrics. Instead during the cleaning progress, perform a manual count of the number of responses to filter out rows that don't meet the minimum threshold. 2023-10-27 15:13:17 -07: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
5bdffec8f9 Add disaggregation by ELL 2023-10-17 12:06:19 -07:00
rebuilt
245cde85cd Add disaggregation by ELL 2023-10-17 11:18:47 -07:00
rebuilt
bcfb52c97a fix: I broke the feature where the site would automatically navigate the user to the latest year that had sufficient data when I made response rates calculate on each page load instead of being precalculated and stored in the database. Instead of a database lookup for response rates that meet the sufficiency threshold, I caculate the latest year when a user chooses a school from the welcome page. 2023-08-28 13:46:50 -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
f9571b14f2 Change subcategory hovers to say 67 instead of 66 questions 2023-08-09 12:20:33 -07:00
433e7c50de Add hovers to browse page response rates 2023-08-09 12:20:18 -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
rebuilt
7373e2e52f fix: Filter out responses that don't correspond to the grades the school serves 2023-08-08 11:46:14 -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
0ceaad3a2b chore: add viewport and context meta tags 2023-08-08 09:27:51 -07:00
rebuilt
39cdb57474 chore: add meta tag to application layout for better SEO 2023-08-08 09:25:48 -07:00
rebuilt
db5206b40a chore: add meta tag for better SEO 2023-08-08 09:23:56 -07:00
rebuilt
f6ede8a230 Fix sizing of partial data indicators 2023-08-08 09:21:15 -07:00
rebuilt
e5af5db755 chore: set doctype to html5 2023-08-08 09:12:19 -07:00
rebuilt
e42aa05324 chore: remove outdated admin data loader file. We now use Dese::Loader to load school level data 2023-07-21 12:58:01 -07:00
rebuilt
8f276a5f1a feat: if admin data value is above 5, round down to 5 2023-07-21 12:55:39 -07:00
rebuilt
0c18aa2083 chore: Add cypress to codebase 2023-07-19 12:43:56 -07:00
rebuilt
b684526bb4 fix: added missing bootstrap files 2023-06-30 15:20:15 -07:00
rebuilt
22cc303a95 fix: There was an n+1 problem where we looked up the list of schools for
every row. Now we query the list of schools just once per file
2023-06-26 11:25:32 -07:00