Commit graph

46 commits

Author SHA1 Message Date
rebuilt
3f493727b3 Load a single year of student demographic data and race scores at a time 2022-08-22 11:29:38 -07:00
rebuilt
4a32ea3332 Reduce memory use in race score loader 2022-08-20 22:01:43 -07:00
rebuilt
d89a207c31 Load student data for all years and calculate race scores for all 2022-08-20 15:07:15 -07:00
rebuilt
58f5b01471 Use less memory when loading race scores 2022-08-12 02:56:25 -07:00
rebuilt
2be86a2b13 Disable race score loader tests so it passes github ci 2022-08-10 12:08:11 -07:00
rebuilt
105f30f220 Change race score calculations so the average bubbles up through survey_items
-> scales -> measure.
Precalculate averages for performance.
2022-08-10 09:58:11 -07:00
rebuilt
50b3bc678c Columns for students by group graph change when corresponding race checkboxes are clicked 2022-08-04 21:21:22 -07:00
rebuilt
93486eb132 Fix failing tests 2022-08-03 11:11:26 -07:00
rebuilt
26f739090b add race columns to graph 2022-08-02 21:28:25 -07:00
rebuilt
12e4e3f177 import students 2022-07-29 15:34:56 -07:00
rebuilt
765ad6a624 Create ui for data filters. Add listeners to direct to the correct url. Update ui based on the list of selected params 2022-07-26 06:52:50 -07:00
Nelson Jovel
757638f6ca continue refactoring 2022-07-13 15:32:48 -07:00
rebuilt
e89358dacc implement suggestions from static code analysis tools 2022-07-12 19:15:54 -07:00
rebuilt
bb5f668497 Refactor code based on rubocop and reek suggestions 2022-07-11 16:46:30 -07:00
rebuilt
18b479b8b2 Refactor based on rubocop and reek suggestions 2022-07-08 19:07:23 -07:00
rebuilt
7e5b235668 Print out invalid values when loading admin data 2022-07-05 14:54:31 -07:00
rebuilt
7fcf580591 Load survey responses for revere somerville and wareham for the 2021-22 academic year 2022-06-17 13:45:10 -07:00
rebuilt
a6ad132c81 Add counter caches 2022-06-16 16:14:03 -07:00
rebuilt
c03615cb43 Rename ResponseRate to ResponseRateCalculator. Create a new response
rate model.  Create a loader to refresh response rates for all
subcategories.

Use precalculated response rates in views

Wrap more elements in page caching

Calculate a response rate for a subcategory if one does not already
exist
2022-06-16 08:19:26 -07:00
Nelson Jovel
4952849d96 Prevent negative admin data values from being imported 2022-05-13 15:28:45 -07:00
Nelson Jovel
2d945fb696 Print a message when a survey item response is rejected from database import due to an invalid likert score 2022-04-15 12:49:03 -07:00
Nelson Jovel
9ecc501e24 Display measure scores. Finishes #181754978 2022-04-06 13:09:33 -07:00
Nelson Jovel
6f629e2feb Add survey responses from 2016 through 2018. Finishes #181255948 2022-03-31 17:21:27 -07:00
Nelson Jovel
101c252896 Import survey item responses based on DESE ID instead of qualtrics school code. Finishes #181704978 2022-03-30 17:19:06 -07:00
Nelson Jovel
36da912253 Modify survey item response csv files for 2019-20 to correct incorrect likert scores 2022-03-15 21:31:11 -07:00
Nelson Jovel
ed7a3b8a3d Autoformat code with rubocop 2022-03-04 15:29:54 +01:00
Nelson Jovel
ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
2021-12-28 14:10:34 +01:00
Liam Morley
65ee27742a Perform single lookup for survey items rather than n lookups 2021-12-02 08:51:36 -05:00
Liam Morley
6477792f1d Improve efficiency when checking whether survey item responses already exist
- see https://semaphoreci.com/blog/2017/03/14/faster-rails-how-to-check-if-a-record-exists.html for more info if curious
2021-12-01 14:24:53 -05:00
Alex Basson
4d5335491b Inline the SurveyResponseAggregator 2021-10-01 14:16:38 -04:00
Liam Morley
25578a896f we have a gauge! next up, let's style the page 2021-10-01 13:32:10 -04:00
rebuilt
cc2f3f9352 Expand the Measured Dashboard to All Schools and Districts. [Finishes #179727798] 2021-09-30 21:18:51 +02:00
rebuilt
666eec9a20 Removed print statements from data loader output 2021-09-28 18:03:14 +02:00
Alex Basson
b4f6daa406 Process CSV file rows in batches 2021-09-27 17:04:16 -04:00
Alex Basson
a269bb0ec1 Try reporting on batch inserts 2021-09-27 16:30:23 -04:00
Alex Basson
a41d5bb4c9 Update survey data loader for new student survey responses csv 2021-09-27 13:54:25 -04:00
Alex Basson
acfc2fde63 Make SurveyResponseDataLoader.process_row a private class method 2021-09-24 11:52:17 -04:00
Alex Basson
98e7f3ce57 Update survey response data load to conform to survey response CSV standard 2021-09-24 10:52:29 -04:00
Alex Basson
16734f9ce7 Refactor survey response loader to use functional style 2021-09-23 14:29:25 -04:00
Alex Basson
fd55c7c82a Optimize School lookup by qualtrics code query 2021-09-23 07:30:27 -04:00
Alex Basson
c66134e25e Move School and AcademicYear lookup methods into models 2021-09-22 21:20:17 -04:00
rebuilt
d6fddb9f7b use activerecord-import gem to speed up csv uploads 2021-09-22 21:03:12 -04:00
Alex Basson
fd091cfa4f Load 2020-21 student survey responses 2021-09-22 15:15:59 -04:00
Alex Basson
457615505f Move array monkey patch into its own file 2021-09-22 08:45:09 -04:00
Alex Basson
18ddfaaaf8 Optimize SurveyResponseAggregator via a join
[Finishes #179425717]
2021-09-22 08:44:57 -04:00
Alex Basson
f5724407f2 Load teacher survey responses 2021-09-22 08:44:54 -04:00