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
2 years ago
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
2 years ago
Nelson Jovel
0c87e20095
perf: reduce number of calls for student and teacher survey items in response rate calculators
2 years ago
Nelson Jovel
978b69b095
fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation
2 years ago
Nelson Jovel
946b0833fd
perf: reduce time spent in sql query for student response rate
2 years ago
Nelson Jovel
6bea0bc2d0
chore: refactor teacher response rate
2 years ago
Nelson Jovel
af82f6999a
perf: reduce number of queries for teacher survey_items
2 years ago
Nelson Jovel
f3fddd67b0
perf: reduce number of queries for respondents
2 years ago
Nelson Jovel
b2e866a895
perf: reduce number of queries by requesting grouped_responses once instead of for each measure
2 years ago
Nelson Jovel
a14110b883
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
77193cdf35
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
61f861a4f7
chore: remove method that wasn't needed
2 years ago
Nelson Jovel
6a2723af84
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
7ba124ac91
chore: prevent multiple lookups for the boston district by inlining the
...
sql
2 years ago
Nelson Jovel
b29e6a75ec
chore: memoize grades for school
2 years ago
Nelson Jovel
586c6f4b4c
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
080a054cad
chore: move code that normalizes race data to the Race class
2 years ago
Nelson Jovel
2aff49516b
chore: remove todo
2 years ago
Nelson Jovel
6e7e64c039
chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
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'
2 years ago
Nelson Jovel
8a0ba0dbea
chore: various fixes for race and gender categorization during cleaning.
...
Also add tests for race and gender categorization
2 years ago
Nelson Jovel
ed755c6732
chore: refactor code so we use a hash instead of a switch statement for long-term performance
2 years ago
rebuilt
85ba1218e3
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
Nelson Jovel
6365cad71b
chore: refactor code to put logic into models
2 years ago
Nelson Jovel
b983f1e144
chore: fix categorization of gender
2 years ago
Nelson Jovel
3da6016635
chore: add prefer not to disclose to gender. Add code of 7 as an option for prefer to self describe
2 years ago
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
2 years ago
Nelson Jovel
4c32b8f253
fix: catch null condition that was causing a crash
2 years ago
rebuilt
ef44c41965
feat: add special education disaggregation
2 years ago
rebuilt
4850f4a2f7
mergeable commit
2 years ago
rebuilt
18ab51c860
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
2fd56047d4
Add disaggregation by ELL
2 years ago
rebuilt
ce5340648f
fix: hide scores on analyze page for scores that don't meet the student threshold of 25%
2 years ago
rebuilt
e58ea3f1af
feat: Round up response rate. Survey response rates above 24.5 will now meet sufficiency
2 years ago
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
2 years ago
rebuilt
4450b5f331
chore: remove twilio require statement
2 years ago
rebuilt
60c04d768d
Add date range to subcategory report export
2 years ago
rebuilt
46b5cbef2d
perf: Reduce number of queries. Remove unneeded methods. Combine
...
subcategory and measure queries in controller
3 years ago
rebuilt
3dd8631083
perf: memoize function when calculating response rates
3 years ago
rebuilt
8a23296ca5
perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb
3 years ago
rebuilt
7cf6c6cc24
Modify subcategory report to be threaded
3 years ago
rebuilt
f29d72abff
Add District, School Code, and Grade columns to subcategory report
3 years ago
rebuilt
ed421ceea8
Fix: Ensure proper detection of survey type. Make sure to remove any survey item ids that end with the survey variant style of '-1'
3 years ago
Gabe Farrell
8f0deab53b
Use weighted average instead of simple average when calculating response rates
3 years ago
rebuilt
391cfdc49a
specify that we are using the top level Subcategory class instead of the Report::Subcategory class
3 years ago
rebuilt
08c946a469
Add subcategory report
3 years ago
rebuilt
f590bc9dd5
Add subcategory report
3 years ago
rebuilt
dbfc9d1d3a
Add automated data cleaning. Modify SurveyItemValues class to use regex
...
instead of hard coded values. Produce a clean csv and a csv with all
the removed values and columns with reason for removal. Add script for
running cleaning for each project
3 years ago
rebuilt
1a27b980d0
Round all averages to two decimal places
3 years ago
rebuilt
9f21a76ba4
Fix response rates for small schools by accounting for expected minimum counts of responses less than 10
3 years ago