Commit graph

319 commits

Author SHA1 Message Date
e3bbf1353b Feat: Add item-level reporting by grade 2024-04-19 15:10:52 -04:00
a3854bcce9 Fix: Isolate Report::SurveyItem 2024-04-10 17:06:11 -04:00
bd42f25716 rename SurveyItemResponse method for clarity 2024-04-10 14:41:24 -04:00
deaae5cf65 Feat: Add task to generate item-level survey report 2024-04-10 14:24:30 -04:00
Nelson Jovel
274909dc9f feat: ignore library survey items in csvs 2024-04-02 20:45:40 -07:00
Nelson Jovel
9f5ca007a1 fix: make sure averages for admin data scales are included in report 2024-03-19 08:16:32 -07:00
Nelson Jovel
d90669b74d feat: create beyond learning loss report 2024-03-19 07:16:13 -07:00
Nelson Jovel
259ec29dc2 fix: Correctly namespace models to avoid crashing the build process 2024-03-08 14:17:57 -08:00
Nelson Jovel
c3cb05701f feat: Support two date formats: ISO 8601 and the standard US date format
used in google sheets
2024-02-27 11:57:20 -08:00
Nelson Jovel
de83154342 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:58 -08:00
Nelson Jovel
8c458ae986 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:26:49 -08:00
Nelson Jovel
0c87e20095 perf: reduce number of calls for student and teacher survey items in response rate calculators 2024-01-12 13:41:26 -08:00
Nelson Jovel
978b69b095 fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation 2024-01-12 13:41:17 -08:00
Nelson Jovel
946b0833fd perf: reduce time spent in sql query for student response rate 2024-01-12 13:41:07 -08:00
Nelson Jovel
6bea0bc2d0 chore: refactor teacher response rate 2024-01-12 13:40:56 -08:00
Nelson Jovel
af82f6999a perf: reduce number of queries for teacher survey_items 2024-01-12 13:40:46 -08:00
Nelson Jovel
f3fddd67b0 perf: reduce number of queries for respondents 2024-01-12 13:40:35 -08:00
Nelson Jovel
b2e866a895 perf: reduce number of queries by requesting grouped_responses once instead of for each measure 2024-01-12 13:39:20 -08:00
Nelson Jovel
a14110b883 chore: performance fixes for response rate calculation 2024-01-12 13:38:43 -08:00
Nelson Jovel
77193cdf35 fix: reduce number of n+1 queries 2024-01-12 13:36:01 -08:00
Nelson Jovel
61f861a4f7 chore: remove method that wasn't needed 2024-01-12 13:31:19 -08:00
Nelson Jovel
6a2723af84 chore: performance fixes for response rate calculation 2024-01-12 13:31:09 -08:00
Nelson Jovel
7ba124ac91 chore: prevent multiple lookups for the boston district by inlining the
sql
2024-01-12 13:29:49 -08:00
Nelson Jovel
b29e6a75ec chore: memoize grades for school 2024-01-12 13:28:49 -08:00
Nelson Jovel
586c6f4b4c fix: reduce number of n+1 queries 2023-12-21 13:35:02 -08:00
Nelson Jovel
080a054cad chore: move code that normalizes race data to the Race class 2023-12-20 19:07:39 -08:00
Nelson Jovel
2aff49516b chore: remove todo 2023-12-20 12:27:26 -08:00
Nelson Jovel
6e7e64c039 chore: rename counts_by_grade to enrollment_by_grade for clarity 2023-12-18 15:28:29 -08:00
Nelson Jovel
a15b01a3e1 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:22:43 -08:00
Nelson Jovel
8a0ba0dbea chore: various fixes for race and gender categorization during cleaning.
Also add tests for race and gender categorization
2023-12-08 14:22:33 -08:00
Nelson Jovel
ed755c6732 chore: refactor code so we use a hash instead of a switch statement for long-term performance 2023-12-06 14:58:56 -08:00
rebuilt
85ba1218e3 feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged' 2023-12-06 14:57:51 -08:00
Nelson Jovel
6365cad71b chore: refactor code to put logic into models 2023-12-06 13:55:37 -08:00
Nelson Jovel
b983f1e144 chore: fix categorization of gender 2023-12-01 15:32:48 -08:00
Nelson Jovel
3da6016635 chore: add prefer not to disclose to gender. Add code of 7 as an option for prefer to self describe 2023-12-01 09:05:57 -08:00
Nelson Jovel
f27a590c5a Convert gender and race text into qualtrics codes during cleaning. Abide by 'prefer not to disclose' for self reported race. Give priority to self reported data but use SIS information as backup 2023-11-30 20:57:04 -08:00
Nelson Jovel
4c32b8f253 fix: catch null condition that was causing a crash 2023-11-06 22:23:01 -08:00
rebuilt
ef44c41965 feat: add special education disaggregation 2023-10-24 13:05:57 -07:00
rebuilt
4850f4a2f7 mergeable commit 2023-10-24 13:04:37 -07:00
rebuilt
18ab51c860 chore: upgrade to rails 7.1.
upgrade rspec

fix failing tests

upgrade devise
2023-10-24 13:04:05 -07:00
rebuilt
2fd56047d4 Add disaggregation by ELL 2023-10-24 12:51:12 -07:00
rebuilt
ce5340648f fix: hide scores on analyze page for scores that don't meet the student threshold of 25% 2023-10-24 10:27:25 -07:00
rebuilt
e58ea3f1af feat: Round up response rate. Survey response rates above 24.5 will now meet sufficiency 2023-10-24 09:07:47 -07:00
rebuilt
2ac30bb107 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-10-24 09:05:27 -07:00
rebuilt
4450b5f331 chore: remove twilio require statement 2023-07-19 12:58:07 -07:00
rebuilt
60c04d768d Add date range to subcategory report export 2023-06-23 13:42:42 -07:00
rebuilt
46b5cbef2d perf: Reduce number of queries. Remove unneeded methods. Combine
subcategory and measure queries in controller
2023-06-19 20:51:54 -07:00
rebuilt
3dd8631083 perf: memoize function when calculating response rates 2023-06-10 11:39:19 -07:00
rebuilt
8a23296ca5 perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb 2023-06-10 10:29:28 -07:00
rebuilt
7cf6c6cc24 Modify subcategory report to be threaded 2023-06-09 21:12:55 -07:00