Commit graph

1200 commits

Author SHA1 Message Date
Nelson Jovel
db90ce2ac1 feat: update staffing and enrollment numbers 2024-02-22 11:32:10 -08:00
Nelson Jovel
0a32fb50ff fix: no longer support 'form' in filename when cleaning. Only look for 'part X' and add that to the filename if it exists 2024-02-22 10:55:48 -08:00
Nelson Jovel
ed07114a91 fix: fix failing tests 2024-02-22 10:41:42 -08:00
Nelson Jovel
e48c95784c feat: update framework with new teacher survey items 2024-02-22 10:03:57 -08:00
Nelson Jovel
725bef2a8f fix: Support true/false column values when categorizing income status. True is categorized as Economically Disadvantaged. False is categorized as Not Economically Disadvantaged 2024-02-20 21:26:02 -08:00
Nelson Jovel
48e1f941f5 fix: change the default to not an english language learner. Blank columns are treated as Not ELL. Only mark student as an english language learner if it's marked as such. Columns marked with 'NA' are treated as unknown 2024-02-20 21:24:14 -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
683ece6cf1 feat: add Triton and Tyngsborough districts and schools 2024-01-12 13:14:43 -08:00
Nelson Jovel
115b00145d perf: add pghero and implement pghero suggestions. Remove unneeded indexes 2023-12-27 10:58:51 -08:00
Nelson Jovel
6558ed491a perf: reduce number of calls for student and teacher survey items in response rate calculators 2023-12-27 07:37:03 -08:00
Nelson Jovel
ec53cc9ae4 fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation 2023-12-26 22:14:56 -08:00
Nelson Jovel
c0b8c408ea perf: reduce time spent in sql query for student response rate 2023-12-26 21:01:12 -08:00
Nelson Jovel
2f74153114 chore: refactor teacher response rate 2023-12-26 20:58:08 -08:00
Nelson Jovel
b0c9a0451e perf: reduce number of queries for teacher survey_items 2023-12-26 17:32:39 -08:00
Nelson Jovel
8fb0a280ca perf: reduce number of queries for respondents 2023-12-26 16:23:29 -08:00
Nelson Jovel
54ea72898d perf: update to ruby 3.3.0 so I can enable yjit in prod 2023-12-26 15:30:03 -08:00
Nelson Jovel
f026ea22ef perf: reduce number of queries by requesting grouped_responses once instead of for each measure 2023-12-23 21:18:09 -08:00
Nelson Jovel
55601020a0 chore: update rails and puma 2023-12-22 13:15:51 -08:00
Nelson Jovel
ed8e621333 chore: remove method that wasn't needed 2023-12-21 20:29:18 -08:00
Nelson Jovel
9e8f917457 chore: performance fixes for response rate calculation 2023-12-21 20:15:11 -08:00
Nelson Jovel
6a283b1fc8 chore: prevent multiple lookups for the boston district by inlining the
sql
2023-12-21 13:54:54 -08:00
Nelson Jovel
cc5e0b142c chore: memoize grades for school 2023-12-21 13:44:07 -08:00
Nelson Jovel
60927e3271 fix: reduce number of n+1 queries 2023-12-21 13:34:16 -08:00
Nelson Jovel
ebf4ca4166 chore: move code that normalizes race data to the Race class 2023-12-20 19:07:16 -08:00
Nelson Jovel
56b512810c chore: remove lowell seeding rules 2023-12-20 14:03:15 -08:00
Nelson Jovel
880b438eb4 chore: reenable test spec that tests data loader for races 2023-12-20 12:39:44 -08:00
Nelson Jovel
36e21515c3 chore: refactor Race out of survey_item_values 2023-12-20 12:25:23 -08:00
Nelson Jovel
e7fb009425 chore: refactor Gender out out of survey_item_values row 2023-12-20 11:08:23 -08:00
Nelson Jovel
8a3c6d9821 chore: fix binstubs 2023-12-19 15:56:38 -08:00
Nelson Jovel
f9717f80c7 chore: remove todo 2023-12-19 15:51:13 -08:00
Nelson Jovel
8bb97c8f2f chore: slight improvement to test execution time by disabling all but the most fatal of logging 2023-12-19 15:22:59 -08:00
Nelson Jovel
a3ab83fb56 chore: remove cypress 2023-12-19 14:05:13 -08:00
Nelson Jovel
031034edad fix: binstubs 2023-12-19 13:49:20 -08:00
Nelson Jovel
ebc037c65d chore: update gem versions 2023-12-19 13:03:21 -08:00
Nelson Jovel
593a597bac chore: install binstubs 2023-12-19 13:03:04 -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
Nelson Jovel
ac1a3ab3e5 chore: update devise 2023-12-12 15:14:23 -08:00
Nelson Jovel
934f2d7f30 fix: Correctly navigate the user to the latest academic year when no data exists for the school 2023-12-12 10:57:46 -08:00
Nelson Jovel
41d942c214 chore: Make sure 'hispanic' column only gets applied when using SIS race information 2023-12-12 10:53:07 -08:00
Nelson Jovel
2d6bbe0e5a feat: add Hampden-Wilbraham schools 2023-12-12 10:29:08 -08:00
Nelson Jovel
24dbf33bcd chore: remove unneeded comment 2023-12-11 15:55:00 -08:00
Nelson Jovel
f028e6c884 feat: if the filename includes the words 'form' or 'part' add that to the resulting cleaned filename 2023-12-11 15:39:20 -08:00
Nelson Jovel
d90a83e510 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-08 14:16:50 -08:00
Nelson Jovel
3f44613085 chore: various fixes for race and gender categorization during cleaning.
Also add tests for race and gender categorization
2023-12-08 13:12:19 -08:00
Nelson Jovel
242192e2f3 feat: add early ed survey items to the framework source of truth 2023-12-07 14:52:47 -08:00
Nelson Jovel
883731bce1 feat: Support SIS categories for race in the form of 'White and Asian'
or 'Black, Asian, and white'
2023-12-07 13:40:02 -08:00
Nelson Jovel
0931950eaf chore: make sure to output race and gender columns during cleaning 2023-12-07 13:39:25 -08:00