Nelson Jovel
9ab5f89ed7
fix: Correctly namespace models to avoid crashing the build process
2 years ago
Nelson Jovel
8dfaa86982
feat: create a score csv report for measures
2 years ago
Nelson Jovel
c4d8b927af
feat: Support two date formats: ISO 8601 and the standard US date format
...
used in google sheets
2 years ago
Nelson Jovel
e2ba084e5b
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
06cb494f45
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
2e0cc3a4d8
fix: make sure response rate gets rounded to nearest integer
2 years ago
Nelson Jovel
edbb84334a
perf: reduce number of calls for student and teacher survey items in response rate calculators
2 years ago
Nelson Jovel
ec5c1bd1ef
fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation
2 years ago
Nelson Jovel
cf9dd9042d
perf: reduce time spent in sql query for student response rate
2 years ago
Nelson Jovel
b70755aef1
chore: refactor teacher response rate
2 years ago
Nelson Jovel
45ea735fa5
perf: reduce number of queries for teacher survey_items
2 years ago
Nelson Jovel
3718d74e62
perf: reduce number of queries for respondents
2 years ago
Nelson Jovel
277e36429a
perf: reduce number of queries by requesting grouped_responses once instead of for each measure
2 years ago
Nelson Jovel
5b34c2257f
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
47cca3ce1f
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
2dd73f003c
chore: remove method that wasn't needed
2 years ago
Nelson Jovel
a960202d66
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
9e368ae47d
chore: prevent multiple lookups for the boston district by inlining the
...
sql
2 years ago
Nelson Jovel
db7c74479d
chore: memoize grades for school
2 years ago
Nelson Jovel
d2efec1574
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
2a125aa058
chore: bring in some refactoring changes that didn't get copied over from the main branch
2 years ago
Nelson Jovel
75451648e5
chore: move code that normalizes race data to the Race class
2 years ago
Nelson Jovel
0359dae88a
chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
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'
2 years ago
Nelson Jovel
fe039e3d04
chore: various fixes for race and gender categorization during cleaning.
...
Also add tests for race and gender categorization
2 years ago
Nelson Jovel
054e5603b7
chore: fix failing legacy tests
2 years ago
rebuilt
9d680c5159
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
acfdaf5587
feat: add special education disaggregation
2 years ago
rebuilt
245cde85cd
Add disaggregation by ELL
2 years ago
rebuilt
2a8148b8cd
fix: hide scores on analyze page for scores that don't meet the student threshold of 25%
2 years ago
rebuilt
6db93cb116
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
rebuilt
a1b580048b
chore: remove precalculated race scores. Calculate race scores on every reload
2 years ago
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
2 years ago
rebuilt
7373e2e52f
fix: Filter out responses that don't correspond to the grades the school serves
2 years ago
rebuilt
0c18aa2083
chore: Add cypress to codebase
2 years ago
rebuilt
0ed3af8a1f
Add date range to subcategory report export
2 years ago
Gabe Farrell
459e4b8d21
Use weighted average instead of simple average when calculating response rates
3 years ago
rebuilt
cee1c5fbc9
perf: Reduce number of queries. Remove unneeded methods. Combine
...
subcategory and measure queries in controller
3 years ago
rebuilt
f9d4b28969
perf: memoize function when calculating response rates
3 years ago
rebuilt
77e8d12a3b
perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb
3 years ago
rebuilt
fb6f43e815
Modify subcategory report to be threaded
3 years ago
rebuilt
4dae0cb565
Add District, School Code, and Grade columns to subcategory report
3 years ago
rebuilt
81f8738d59
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
rebuilt
6022739f07
use district short name when writing filename
3 years ago
rebuilt
0dfc9726d0
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
b5dc933187
Add subcategory report
3 years ago
rebuilt
c57ec6157c
Round all averages to two decimal places
3 years ago
rebuilt
6b2555c1f0
Fix response rates for small schools by accounting for expected minimum counts of responses less than 10
3 years ago
rebuilt
a066f464c7
fix failing tests
3 years ago
rebuilt
c42b569e78
cap response rate per grade at 100
3 years ago