Commit graph

268 commits

Author SHA1 Message Date
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' 2023-06-07 12:36:56 -07:00
8f0deab53b Use weighted average instead of simple average when calculating response rates 2023-06-07 03:38:56 +00:00
rebuilt
391cfdc49a specify that we are using the top level Subcategory class instead of the Report::Subcategory class 2023-05-23 20:19:53 -07:00
rebuilt
08c946a469 Add subcategory report 2023-05-23 18:59:05 -07:00
rebuilt
f590bc9dd5 Add subcategory report 2023-05-22 16:40:39 -07:00
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
2023-05-16 13:39:12 -07:00
rebuilt
1a27b980d0 Round all averages to two decimal places 2023-05-12 13:13:20 -07:00
rebuilt
9f21a76ba4 Fix response rates for small schools by accounting for expected minimum counts of responses less than 10 2023-05-12 12:34:42 -07:00
rebuilt
c33c00b845 Rename DataAvailability to Summary 2023-04-22 10:44:06 -07:00
rebuilt
0bd70ca452 Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations 2023-04-22 10:36:00 -07:00
rebuilt
aa3a67406b Set a minimum threshold of 10 survey item responses to calculate scores per survey item 2023-04-17 15:18:10 -07:00
rebuilt
c14960517b rename counts_by_grade method to the more descriptive enrollment_by_grade 2023-04-14 13:37:23 -07:00
rebuilt
65b8599c6e Update logic for calculating student response rate. Remove references
to survey table.  We no longer check or keep track of the survey type.
Instead we look in the database to see if a survey item has at least 10
responses.  If it does, that survey item was presented to the respondent
and we count it, and all responses when calculating the response rate.

Remove response rate timestamp from caching logic because we no longer
add the response rate to the database. All response rates are calculated
on the fly

Update three_b_two scraper to use teacher only numbers

swap over to using https://profiles.doe.mass.edu/statereport/gradesubjectstaffing.aspx as the source of staffing information
2023-04-08 10:59:48 -07:00
rebuilt
282a671531 Change survey data loader spec to use factorybot objects instead of loading seeds. Change databasecleaner to use transaction. Add back babel-preset dependency to fix failing javascript test in production. 2023-03-29 15:45:48 -07:00
rebuilt
825259bdd8 Merge branch 'rpp-response-rate' into rpp-main to bring in improvements
to how we get enrollment and staffing information.  Also speed up tests
2023-03-22 16:52:55 -07:00
rebuilt
eb043f2b2d Add placeholder for testing response rate calculation 2023-03-10 14:50:09 -08:00
rebuilt
e6f7d27e0c Implement bullet suggestions for GPS report 2023-03-01 10:53:45 -08:00
rebuilt
b6b88da328 Add all pillars 2023-02-28 19:08:11 -08:00
rebuilt
8128af200b add first pillar 2023-02-28 17:50:21 -08:00
rebuilt
c0332955f3 move csv require statement to application.rb 2023-02-27 15:47:20 -08:00
rebuilt
d9c47dbc4d fix boston usage 2023-02-27 12:48:14 -08:00
rebuilt
045bd15485 Fix boston 2023-02-27 12:47:47 -08:00
rebuilt
cb970895ac Scope doesn't work. Revert to using class method. 2023-02-27 12:39:19 -08:00
rebuilt
bdb9455919 Move raw_response_rate method down to student/teacher classes 2023-02-27 12:36:33 -08:00
rebuilt
5d07f06a65 Add scope for boston 2023-02-27 12:35:44 -08:00
rebuilt
79f7915edf Add scopes to SurveyItem for selecting survey items by grade and
subcategory.   Add notes to student response rate calculator
2023-02-24 00:41:01 -08:00
rebuilt
5e0ba556bf Automatically detect the survey type by grade 2023-02-23 14:20:21 -08:00
Nelson Jovel
cfece47993 document other queries for story 2023-02-23 09:58:35 -08:00
rebuilt
396e8e9008 example queries 2023-02-22 21:26:08 -08:00
rebuilt
52d2676f80 Populate db with grade level data 2023-02-21 16:58:08 -08:00
rebuilt
03c6bff7bb Load survey responses from sftp folder 2023-01-12 17:04:57 -08:00
rebuilt
72c90b8f47 Add selector for all data 2022-11-18 08:20:26 -08:00
rebuilt
7d7bee6498 Add gender disagreggation 2022-10-27 15:56:50 -07:00
rebuilt
a1f3dfaa33 Load gender information to survey item responses 2022-10-21 21:38:33 -07:00
rebuilt
8cdd1b6285 Create gender class. Load genders to database from demographics file 2022-10-21 17:47:52 -07:00
rebuilt
89a7f27b88 Finishes #183092367. Adds ui and graphs to show grade level disaggregations 2022-10-16 22:03:25 -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
191abdbd50 Align styling to closer match design 2022-08-15 13:46:19 -07:00
rebuilt
a4dbeb6718 Change logic on analyze page to include admin data when presenting insufficiency messages and enable/disable academic year checkboxes 2022-08-15 13:31:36 -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
ff14bad102 Rename Student column to AllStudent so there isn't a naming clash with
the Student model.
2022-08-03 17:53:23 -07:00
rebuilt
26f739090b add race columns to graph 2022-08-02 21:28:25 -07:00
rebuilt
94a58a87d7 Use modules to namespace classes for analyze page 2022-08-02 18:16:33 -07:00
rebuilt
c568e8bc06 move methods from analyze helper to background presenter 2022-08-01 19:17:06 -07:00
rebuilt
d44a5275b4 Address bug related to story #182855028 2022-07-29 16:04:43 -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
b7abf2bc8b continue refactoring 2022-07-12 20:31:53 -07:00