Commit Graph

17 Commits (34451ab7cfe2ac96247e63a5dd81985eab8c952c)

Author SHA1 Message Date
Gabe Farrell a44956bd09 rename SurveyItemResponse method for clarity
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 a960202d66 chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel 0359dae88a chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
Gabe Farrell 459e4b8d21 Use weighted average instead of simple average when calculating response rates
3 years ago
rebuilt f9d4b28969 perf: memoize function when calculating response rates
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 c42b569e78 cap response rate per grade at 100
3 years ago
rebuilt 982f216c6c rename counts_by_grade method to the more descriptive enrollment_by_grade
3 years ago
rebuilt 07ed8dd259 Update logic for calculating student response rate. Remove references
3 years ago
Nelson Jovel 757638f6ca continue refactoring
3 years ago
rebuilt e89358dacc implement suggestions from static code analysis tools
3 years ago
rebuilt bb5f668497 Refactor code based on rubocop and reek suggestions
3 years ago
rebuilt c03615cb43 Rename ResponseRate to ResponseRateCalculator. Create a new response
4 years ago
rebuilt a769996054 Refactor response rate into response rate calculator
4 years ago