Commit graph

333 commits

Author SHA1 Message Date
rebuilt
596ce25737 Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations 2023-04-20 20:51:04 -07:00
rebuilt
28f7d5647e Set a minimum threshold of 10 survey item responses to calculate scores per survey item 2023-04-18 14:05:09 -07:00
rebuilt
128748addd 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-18 13:59:29 -07:00
rebuilt
aaf1c8906e Add tests to make sure teacher survey items don't pollute the graphs for
students of unknown genders
2023-04-05 16:14:59 -07:00
rebuilt
b250ebe415 Memoize schools in SurveyItemValues and academic_years in AcademicYear
for performace improvement
2023-03-28 03:38:52 -07:00
rebuilt
c15cb7b483 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-28 03:06:17 -07:00
rebuilt
d7fa505285 remove unneeded column 2023-03-23 13:31:19 -07:00
rebuilt
8ea793d019 Remove redundant DatabaseCleaner config setup 2023-03-22 17:07:34 -07:00
rebuilt
da103ea95b Remove file that should not have been committed 2023-03-21 16:16:18 -07:00
rebuilt
dcade06ce2 Fix failing tests 2023-03-21 16:16:07 -07:00
rebuilt
3c5e743649 Turn off journey spec 2023-03-16 16:57:48 -07:00
rebuilt
a21554c215 Fix failing test 2023-03-16 16:56:56 -07:00
rebuilt
10bf7177e4 Fix icon not showing up on category page 2023-03-16 16:23:17 -07:00
rebuilt
fbfaafa996 Update school/framework files for ecp schools. Fix tests. Update fixture files with dese ids of schools in the consortium. 2023-03-15 18:04:09 -07:00
rebuilt
4c4ccc01cc Merge branch 'rpp-response-rate' to bring in changes to test files 2023-03-15 15:00:25 -07:00
rebuilt
eb043f2b2d Add placeholder for testing response rate calculation 2023-03-10 14:50:09 -08:00
rebuilt
6b31fa9115 Batch imports for staffing data 2023-03-08 04:51:15 -08:00
rebuilt
d059177f0c load total students and batch importing records 2023-03-08 04:48:25 -08:00
Nelson Jovel
bfa5f28d7b Convert dese::loader from using seeder to factories 2023-03-07 22:38:52 -08:00
Nelson Jovel
7a7b78a9e0 convert student loader from seeding to factories 2023-03-07 22:09:58 -08:00
rebuilt
2cf2b7d7c1 turn off some slow tests that don't add value 2023-03-07 19:16:22 -08:00
rebuilt
2362d884eb Convert admin data loader from using seeder to using factory 2023-03-07 11:12:52 -08:00
rebuilt
d0219217de Convert response rate loader spec from using the seeder to using the factory 2023-03-07 10:35:38 -08:00
rebuilt
06f9d2f0e9 Scrape enrollment and staffing information. Seed enrollment and staffing information. Update DatabaseCleaner so it cleans up leftover information in the database. Remove old admin csvs from codebase. 2023-03-05 16:15:35 -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
20d4f966e7 singularize respondents 2023-02-27 13:02:34 -08:00
rebuilt
7915a1bc7c rename respondents to repondent 2023-02-27 12:48:37 -08:00
rebuilt
ae6d7151b3 Load student respondent information from enrollment loader 2023-02-27 12:29:16 -08:00
rebuilt
5e0ba556bf Automatically detect the survey type by grade 2023-02-23 14:20:21 -08:00
rebuilt
52d2676f80 Populate db with grade level data 2023-02-21 16:58:08 -08:00
rebuilt
7a5e02eed9 Remove unused method item_descriptions from admin_data_presenter and
student_survey_presenter.
2023-02-13 17:57:07 -08:00
rebuilt
a72fd373dc Remove unused method; item_descriptions 2023-02-13 17:49:38 -08:00
rebuilt
01851d8527 Make sure blank grades in csv load as nils instead of zeros 2023-02-10 13:44:48 -08:00
rebuilt
05ae1cd94b fix failing tests 2023-01-17 15:26:56 -08:00
rebuilt
10515893ff Add elementary school questions to framework. 2023-01-12 17:05:00 -08:00
rebuilt
03c6bff7bb Load survey responses from sftp folder 2023-01-12 17:04:57 -08:00
rebuilt
a2caf42fee merge disagreggation features 2023-01-12 17:02:34 -08:00
rebuilt
d5533bb756 Support survey item variants. Survey item id's in the format s-sbel-q1-1 will load into s-sbel-q1 2023-01-12 17:02:05 -08:00
rebuilt
4c2a299510 Fix hotwire test 2022-12-15 09:19:18 -08:00
rebuilt
69179ce157 Replace javascript logic with hotwire. Also hide district dropdown on
home page if there is only one district.
2022-12-14 13:41:34 -08:00
rebuilt
87802c034e Add specs for admin bar messages 2022-12-13 10:10:32 -08:00
rebuilt
c58686c032 rename race and gender modules to avoid naming collision with race and gender classes 2022-12-12 16:38:37 -08:00
rebuilt
bb9ea9b22d Add admin data messages to analyze page for insufficient/irrelevant states 2022-12-11 16:00:44 -08:00
rebuilt
53a08d41bf Change label for unknown race 2022-12-10 15:44:56 -08:00
rebuilt
a1b7db9b2e Add ability to load student demographic information for only lowell 2022-12-03 11:33:11 -08:00
rebuilt
d49cf918ac Add a way to seed only lowell schools 2022-12-03 10:23:02 -08:00
rebuilt
fc9e73f656 make sure survey responses for Butler get loaded correctly 2022-12-02 14:11:54 -08:00
rebuilt
9bbba64e9e Add rules to the survey data loader to allow skipping non-lowell schools 2022-12-01 16:15:45 -08:00